inherited_resources 1.13.1 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e985edc0b00007f056c8bab4bf65f18cb9ac7b087478390e12362b7a45868130
4
- data.tar.gz: 28d9210771402b65da33424ad31aec491b97db10764a58400e8b2c77206f2d61
3
+ metadata.gz: 87f659e1b778d34e1c7f04ef7e8eba386a5acbbb4488d01cc2bf8779d80836ce
4
+ data.tar.gz: 5b28af6d8a16a8c8e35e0422fcd052be9d4ec4080fec78a755d23078e9e71c9e
5
5
  SHA512:
6
- metadata.gz: 46791f6fbb49ffe7c997a794c58f46ede3473b26e6d1d9631e3cc541091fbfa070eef3610e32790e7e1dbff4b38148b243bf477514dfbfa88eaa407765cafd34
7
- data.tar.gz: 6ca9898f4c265ed6115116e2a6aa94358e497fea6320da6018c7dec01cb9731e29969ad27fcf58c981ad7ec95f6abf22a9e04ec5071d16001aba7e3f0b38ecd6
6
+ metadata.gz: dd3e8c0db5001b1ea10cbeee5f001e1528ece1e664f1f7113c742d0dd8aff769484593190c471e277c1cbc95b6d5ebae2244bdec0c950ecdf997e302ed5877fc
7
+ data.tar.gz: 1e6c02bd2a5ca5a141dc632e5afdb2def6532f300e729a3d0a150974788bad1575ef71ae12a84d04c966f8756037cd6a18d0d62bb9438208a4aeaab513203050
data/README.md CHANGED
@@ -741,7 +741,7 @@ Tidelift will coordinate the fix and disclosure.
741
741
  [rubygems]: https://rubygems.org/gems/inherited_resources
742
742
  [actions_badge]: https://github.com/activeadmin/inherited_resources/workflows/ci/badge.svg
743
743
  [actions]: https://github.com/activeadmin/inherited_resources/actions
744
- [tidelift_badge]: https://tidelift.com/badges/github/activeadmin/inherited_resources
744
+ [tidelift_badge]: https://tidelift.com/badges/package/rubygems/inherited_resources?style=flat
745
745
  [tidelift]: https://tidelift.com/subscription/pkg/rubygems-inherited-resources?utm_source=rubygems-inherited-resources&utm_medium=referral&utm_campaign=readme
746
746
 
747
747
  [Tidelift security contact]: https://tidelift.com/security
@@ -1,3 +1,3 @@
1
1
  module InheritedResources
2
- VERSION = '1.13.1'.freeze
2
+ VERSION = '1.14.0'.freeze
3
3
  end
@@ -25,16 +25,13 @@ module InheritedResources
25
25
  end
26
26
  end
27
27
 
28
- ActiveSupport.on_load(:action_controller) do
29
- # We can remove this check and change to `on_load(:action_controller_base)` in Rails 5.2.
30
- if self == ActionController::Base
31
- # If you cannot inherit from InheritedResources::Base you can call
32
- # inherit_resources in your controller to have all the required modules and
33
- # funcionality included.
34
- def self.inherit_resources
35
- InheritedResources::Base.inherit_resources(self)
36
- initialize_resources_class_accessors!
37
- create_resources_url_helpers!
38
- end
28
+ ActiveSupport.on_load(:action_controller_base) do
29
+ # If you cannot inherit from InheritedResources::Base you can call
30
+ # inherit_resources in your controller to have all the required modules and
31
+ # funcionality included.
32
+ def self.inherit_resources
33
+ InheritedResources::Base.inherit_resources(self)
34
+ initialize_resources_class_accessors!
35
+ create_resources_url_helpers!
39
36
  end
40
37
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inherited_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.1
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Valim
8
8
  - Rafael Mendonça França
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-01-19 00:00:00.000000000 Z
12
+ date: 2023-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: responders
@@ -18,9 +18,6 @@ dependencies:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '2'
21
- - - "<"
22
- - !ruby/object:Gem::Version
23
- version: '4'
24
21
  type: :runtime
25
22
  prerelease: false
26
23
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,67 +25,52 @@ dependencies:
28
25
  - - ">="
29
26
  - !ruby/object:Gem::Version
30
27
  version: '2'
31
- - - "<"
32
- - !ruby/object:Gem::Version
33
- version: '4'
34
28
  - !ruby/object:Gem::Dependency
35
29
  name: actionpack
36
30
  requirement: !ruby/object:Gem::Requirement
37
31
  requirements:
38
32
  - - ">="
39
33
  - !ruby/object:Gem::Version
40
- version: '5.2'
41
- - - "<"
42
- - !ruby/object:Gem::Version
43
- version: '7.1'
34
+ version: '6.0'
44
35
  type: :runtime
45
36
  prerelease: false
46
37
  version_requirements: !ruby/object:Gem::Requirement
47
38
  requirements:
48
39
  - - ">="
49
40
  - !ruby/object:Gem::Version
50
- version: '5.2'
51
- - - "<"
52
- - !ruby/object:Gem::Version
53
- version: '7.1'
41
+ version: '6.0'
54
42
  - !ruby/object:Gem::Dependency
55
43
  name: railties
56
44
  requirement: !ruby/object:Gem::Requirement
57
45
  requirements:
58
46
  - - ">="
59
47
  - !ruby/object:Gem::Version
60
- version: '5.2'
61
- - - "<"
62
- - !ruby/object:Gem::Version
63
- version: '7.1'
48
+ version: '6.0'
64
49
  type: :runtime
65
50
  prerelease: false
66
51
  version_requirements: !ruby/object:Gem::Requirement
67
52
  requirements:
68
53
  - - ">="
69
54
  - !ruby/object:Gem::Version
70
- version: '5.2'
71
- - - "<"
72
- - !ruby/object:Gem::Version
73
- version: '7.1'
55
+ version: '6.0'
74
56
  - !ruby/object:Gem::Dependency
75
57
  name: has_scope
76
58
  requirement: !ruby/object:Gem::Requirement
77
59
  requirements:
78
- - - "~>"
60
+ - - ">="
79
61
  - !ruby/object:Gem::Version
80
62
  version: '0.6'
81
63
  type: :runtime
82
64
  prerelease: false
83
65
  version_requirements: !ruby/object:Gem::Requirement
84
66
  requirements:
85
- - - "~>"
67
+ - - ">="
86
68
  - !ruby/object:Gem::Version
87
69
  version: '0.6'
88
70
  description: |
89
71
  Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important.
90
72
  It makes your controllers more powerful and cleaner at the same time.
91
- email:
73
+ email:
92
74
  executables: []
93
75
  extensions: []
94
76
  extra_rdoc_files: []
@@ -116,8 +98,9 @@ files:
116
98
  homepage: https://github.com/activeadmin/inherited_resources
117
99
  licenses:
118
100
  - MIT
119
- metadata: {}
120
- post_install_message:
101
+ metadata:
102
+ rubygems_mfa_required: 'true'
103
+ post_install_message:
121
104
  rdoc_options: []
122
105
  require_paths:
123
106
  - lib
@@ -125,15 +108,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
108
  requirements:
126
109
  - - ">="
127
110
  - !ruby/object:Gem::Version
128
- version: '2.5'
111
+ version: '2.7'
129
112
  required_rubygems_version: !ruby/object:Gem::Requirement
130
113
  requirements:
131
114
  - - ">="
132
115
  - !ruby/object:Gem::Version
133
116
  version: '0'
134
117
  requirements: []
135
- rubygems_version: 3.2.32
136
- signing_key:
118
+ rubygems_version: 3.4.13
119
+ signing_key:
137
120
  specification_version: 4
138
121
  summary: Inherited Resources speeds up development by making your controllers inherit
139
122
  all restful actions so you just have to focus on what is important.