inherited_resources 1.10.0 → 1.11.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: 5a694868a80988d0536c6f816004a01b8e5449cd330f3e53f74750f70e89b455
4
- data.tar.gz: 174db4d2de2cdcb90a69921df6a5ae10477809e428662e80dd1b756188875c77
3
+ metadata.gz: f79da737f0cd7d94a86924c2b71d980a28bb64e6f400fd8c041cd41d9206fe16
4
+ data.tar.gz: fc13cf38e7351c70e83d6ca6c48e932aab6cd5707f862d69edf2eb8abe8a6176
5
5
  SHA512:
6
- metadata.gz: 7bcd19d19b1abb3594475525462c6426e3554a59d34605b38c511f8e74e353150aad73712dd4fa02e27a780fdd2b41bb554c95a378520466ff2ccd658abd1fa8
7
- data.tar.gz: dd49bfa2cd8fd0095b7e84238f9c800486e0af0db57dcd0acddc7f37fbbc7c9a36ce07afcbd59b1814e36a1fc64ef3ee1cbbac3fe2bb7b1f6c4186f348478a46
6
+ metadata.gz: 714a9a25cc5eaa0ff758ebc1f83e7be4809119bf64a7628572041c86fc2eabe6502616e3013ace8866ae9240b741a193728639652a2a51cb2be4a8ff148ae8f1
7
+ data.tar.gz: c0c11bd2b6986c28a41cc8eed86e3684a9581bc17c0a2f7b093c600d07648a044303668ef8d08eb3b66d8353551292cb19d810ec0579224de3ea863267c4099b
data/README.md CHANGED
@@ -716,6 +716,13 @@ end
716
716
 
717
717
  In such case you should remove #permitted_params method because it has greater priority.
718
718
 
719
+ ## Funding
720
+
721
+ If you want to support us financially, you can [help fund the project
722
+ through a Tidelift subscription][tidelift]. By buying a Tidelift subscription
723
+ you make sure your whole dependency stack is properly maintained, while also
724
+ getting a comprehensive view of outdated dependencies, new releases, security
725
+ alerts, and licensing compatibility issues.
719
726
 
720
727
  ## Bugs and Feedback
721
728
 
@@ -735,6 +742,6 @@ Tidelift will coordinate the fix and disclosure.
735
742
  [circleci_badge]: https://circleci.com/gh/activeadmin/inherited_resources.svg?style=svg
736
743
  [circleci]: https://circleci.com/gh/activeadmin/inherited_resources
737
744
  [tidelift_badge]: https://tidelift.com/badges/github/activeadmin/inherited_resources
738
- [tidelift]: https://tidelift.com/subscription/pkg/rubygems-inherited-resources?utm_source=rubygems-inherited-resources&utm_medium=readme
745
+ [tidelift]: https://tidelift.com/subscription/pkg/rubygems-inherited-resources?utm_source=rubygems-inherited-resources&utm_medium=referral&utm_campaign=readme
739
746
 
740
747
  [Tidelift security contact]: https://tidelift.com/security
@@ -68,14 +68,14 @@ module InheritedResources
68
68
 
69
69
  # Responsible for updating the resource in :update method. This allow you
70
70
  # to handle how the resource is going to be updated, let's say in a different
71
- # way than the usual :update_attributes:
71
+ # way than the usual :update:
72
72
  #
73
73
  # def update_resource(object, attributes)
74
74
  # object.reset_password!(attributes)
75
75
  # end
76
76
  #
77
77
  def update_resource(object, attributes)
78
- object.update_attributes(*attributes)
78
+ object.update(*attributes)
79
79
  end
80
80
 
81
81
  # Handle the :destroy method for the resource. Overwrite it to call your
@@ -1,3 +1,3 @@
1
1
  module InheritedResources
2
- VERSION = '1.10.0'.freeze
2
+ VERSION = '1.11.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inherited_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - José Valim
@@ -9,22 +9,28 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-03 00:00:00.000000000 Z
12
+ date: 2019-08-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: responders
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - "~>"
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '2'
21
+ - - "<"
19
22
  - !ruby/object:Gem::Version
20
- version: '2.0'
23
+ version: '4'
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - "~>"
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: '2'
31
+ - - "<"
26
32
  - !ruby/object:Gem::Version
27
- version: '2.0'
33
+ version: '4'
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: actionpack
30
36
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +40,7 @@ dependencies:
34
40
  version: '5.0'
35
41
  - - "<"
36
42
  - !ruby/object:Gem::Version
37
- version: '6.0'
43
+ version: '6.1'
38
44
  type: :runtime
39
45
  prerelease: false
40
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +50,7 @@ dependencies:
44
50
  version: '5.0'
45
51
  - - "<"
46
52
  - !ruby/object:Gem::Version
47
- version: '6.0'
53
+ version: '6.1'
48
54
  - !ruby/object:Gem::Dependency
49
55
  name: railties
50
56
  requirement: !ruby/object:Gem::Requirement
@@ -54,7 +60,7 @@ dependencies:
54
60
  version: '5.0'
55
61
  - - "<"
56
62
  - !ruby/object:Gem::Version
57
- version: '6.0'
63
+ version: '6.1'
58
64
  type: :runtime
59
65
  prerelease: false
60
66
  version_requirements: !ruby/object:Gem::Requirement
@@ -64,7 +70,7 @@ dependencies:
64
70
  version: '5.0'
65
71
  - - "<"
66
72
  - !ruby/object:Gem::Version
67
- version: '6.0'
73
+ version: '6.1'
68
74
  - !ruby/object:Gem::Dependency
69
75
  name: has_scope
70
76
  requirement: !ruby/object:Gem::Requirement
@@ -119,14 +125,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
125
  requirements:
120
126
  - - ">="
121
127
  - !ruby/object:Gem::Version
122
- version: '2.3'
128
+ version: '2.4'
123
129
  required_rubygems_version: !ruby/object:Gem::Requirement
124
130
  requirements:
125
131
  - - ">="
126
132
  - !ruby/object:Gem::Version
127
133
  version: '0'
128
134
  requirements: []
129
- rubygems_version: 3.0.3
135
+ rubygems_version: 3.0.4
130
136
  signing_key:
131
137
  specification_version: 4
132
138
  summary: Inherited Resources speeds up development by making your controllers inherit