rubocop-netlify 0.3.0 → 0.4.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: ce6baef51d9216a8ecfc9cbbf35163fcdf3ce7b31233786510341863e7d30e99
4
- data.tar.gz: d52f7eec3ee5a477e4ee66ea45c0f18022627e0f4bf82db018a5314aa8b6ed5a
3
+ metadata.gz: 14ac9b91a394e30090e1f4f99216db1f5f5e13f5d6cd08a712d655305a9df733
4
+ data.tar.gz: 1baf31dc8a12f876322724a2941e93bd455b813ea07abe57aa15fb311519e55b
5
5
  SHA512:
6
- metadata.gz: a8aa1e26af13c7af74662861450b4a77f2cfe32e5c0e791e463800d2ec5c764e46ecdbbbf904f6e05c0d6846f7ac4eb7c44efbae2823d910a1675f61957ae432
7
- data.tar.gz: cf4d5624b1431e5b6b6e40c69d1d0cc67c4ceb15a0ec244cb8a3e2ab3332293434286e0118b3b1397550f9bc650121db6a0b5da726ed5c80c71fcff48e963168
6
+ metadata.gz: c1b35300934ab6fa79388c1ff2897749f34c866f1868eb005b6815b78ab7e2cf098fcbb8edca44cd400419f982e1f2fdf6c457976d742c7980b27ff4dd3b645b
7
+ data.tar.gz: 50da279bb3147da507117b36421a48c9c6b93368658cae3b4527b4f4dbbbd2d1b9a2a6252321100f23cd1b8ffdd83bee7a2f5a9bb30bb3e130cef19ba187954b
@@ -13,7 +13,6 @@ module RuboCop
13
13
  # form.email = "bettse@netlify.com"
14
14
  class InvalidModelAssignment < Cop
15
15
  MSG = "Assigning to `attributes` will not update record"
16
- RESTRICT_ON_SEND = [:attributes].freeze
17
16
 
18
17
  def_node_matcher :assign_attributes?, <<~PATTERN
19
18
  (send (send (...) :attributes) :[]= _ _)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Netlify
5
- VERSION = "0.3.0"
5
+ VERSION = "0.4.0"
6
6
  end
7
7
  end
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
16
16
 
17
- spec.add_dependency "rubocop", "~> 0.72", "< 0.83"
17
+ spec.add_dependency "rubocop", "~> 0.72", "< 2.0"
18
18
  spec.add_development_dependency "minitest", "~> 5.10"
19
19
 
20
20
  # Specify which files should be added to the gem when it is released.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-netlify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esteban Pastorino
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '0.72'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '0.83'
22
+ version: '2.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '0.72'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '0.83'
32
+ version: '2.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: minitest
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -55,7 +55,6 @@ files:
55
55
  - ".github/workflows/fossa.yml"
56
56
  - ".gitignore"
57
57
  - Gemfile
58
- - Gemfile.lock
59
58
  - LICENSE.txt
60
59
  - README.md
61
60
  - Rakefile
@@ -88,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
87
  - !ruby/object:Gem::Version
89
88
  version: '0'
90
89
  requirements: []
91
- rubygems_version: 3.0.3
90
+ rubygems_version: 3.1.4
92
91
  signing_key:
93
92
  specification_version: 4
94
93
  summary: RuboCop Netlify