nxt_cop 1.0.12 → 1.0.13

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: 9ad9ac0bd5f6dae4ead0f97fdcb994717ff15bf73de33b27833ad158d984a887
4
- data.tar.gz: 687a35b7e10e272c4bf4489e53d29b9a0b0f7de501f34ae34a14fdd4dd03c98b
3
+ metadata.gz: 693dee6a08736d3ed135465a31d306818c67297e76201fb103bf598473904ec2
4
+ data.tar.gz: 3ebc1dda244090349ae5af05d69635c5a2f65e0743a5433191192b5314bd5a13
5
5
  SHA512:
6
- metadata.gz: f7c60202dfcb21defcdc40d7160804c3761fb5ab082ce1a90f52a81b879a36d5e61bad7445414cc30a4fd6a6301c7169a6b1189d80c710d66da691bbc61959f5
7
- data.tar.gz: bd0d3a413be302b40c9ca6628ca9f4cba62d52b19a95ae37df9c5116cb2fe4f84eafd492ee03b6154ab5caf8e4f75f0f6a6c3fabed05fe74f0d60a567d28f9ce
6
+ metadata.gz: 6518c9266fe044a455cf35e4d82a55d0224e70a4872cfef901b6bf07cc6ee98714bdac917d6f6b757f1bc3516a7d8d9dce0790cc91c2b0eb65da362ec713e6d7
7
+ data.tar.gz: dac1ea95190b53635e261fc66167bf465d1806dbae5e24d6f5a8f72fa8711d167fba63237a76d36c4a80d3117b5cf637466be486e7af6474d678052401a9979b
data/CHANGELOG.md CHANGED
@@ -1,7 +1,9 @@
1
1
  # v1.0.12 2020-12-29
2
+
2
3
  ### Update Gems
3
4
 
4
5
  # v1.0.11 2020-12-29
6
+
5
7
  ### Fix
6
8
  - Add `require: rubocop-rails` to `default.yml`
7
9
 
@@ -46,7 +48,7 @@ Updated Rubocop Version
46
48
 
47
49
  ### Added
48
50
 
49
- - Style/TrailingCommaInArguments`
51
+ - `Style/TrailingCommaInArguments`
50
52
 
51
53
  ### Removed
52
54
 
data/Gemfile.lock CHANGED
@@ -1,52 +1,50 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_cop (1.0.12)
5
- rubocop (= 0.92.0)
4
+ nxt_cop (1.0.13)
5
+ rubocop (= 1.25.1)
6
6
  rubocop-rails (~> 2.8)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (6.1.0)
11
+ activesupport (7.0.2)
12
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
13
13
  i18n (>= 1.6, < 2)
14
14
  minitest (>= 5.1)
15
15
  tzinfo (~> 2.0)
16
- zeitwerk (~> 2.3)
17
- ast (2.4.1)
18
- concurrent-ruby (1.1.7)
19
- i18n (1.8.5)
16
+ ast (2.4.2)
17
+ concurrent-ruby (1.1.9)
18
+ i18n (1.9.1)
20
19
  concurrent-ruby (~> 1.0)
21
- minitest (5.14.2)
22
- parallel (1.20.1)
23
- parser (3.0.0.0)
20
+ minitest (5.15.0)
21
+ parallel (1.21.0)
22
+ parser (3.1.0.0)
24
23
  ast (~> 2.4.1)
25
24
  rack (2.2.3)
26
- rainbow (3.0.0)
27
- rake (13.0.1)
28
- regexp_parser (2.0.3)
29
- rexml (3.2.4)
30
- rubocop (0.92.0)
25
+ rainbow (3.1.1)
26
+ rake (13.0.6)
27
+ regexp_parser (2.2.0)
28
+ rexml (3.2.5)
29
+ rubocop (1.25.1)
31
30
  parallel (~> 1.10)
32
- parser (>= 2.7.1.5)
31
+ parser (>= 3.1.0.0)
33
32
  rainbow (>= 2.2.2, < 4.0)
34
- regexp_parser (>= 1.7)
33
+ regexp_parser (>= 1.8, < 3.0)
35
34
  rexml
36
- rubocop-ast (>= 0.5.0)
35
+ rubocop-ast (>= 1.15.1, < 2.0)
37
36
  ruby-progressbar (~> 1.7)
38
- unicode-display_width (>= 1.4.0, < 2.0)
39
- rubocop-ast (1.3.0)
40
- parser (>= 2.7.1.5)
41
- rubocop-rails (2.9.1)
37
+ unicode-display_width (>= 1.4.0, < 3.0)
38
+ rubocop-ast (1.15.1)
39
+ parser (>= 3.0.1.1)
40
+ rubocop-rails (2.13.2)
42
41
  activesupport (>= 4.2.0)
43
42
  rack (>= 1.1)
44
- rubocop (>= 0.90.0, < 2.0)
45
- ruby-progressbar (1.10.1)
43
+ rubocop (>= 1.7.0, < 2.0)
44
+ ruby-progressbar (1.11.0)
46
45
  tzinfo (2.0.4)
47
46
  concurrent-ruby (~> 1.0)
48
- unicode-display_width (1.7.0)
49
- zeitwerk (2.4.2)
47
+ unicode-display_width (2.1.0)
50
48
 
51
49
  PLATFORMS
52
50
  ruby
data/README.md CHANGED
@@ -56,3 +56,21 @@ Lint/Style:
56
56
  - db/schema.rb
57
57
  - db/migrate/*.rb
58
58
  ```
59
+
60
+ ## Development
61
+
62
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
63
+
64
+ To install this gem onto your local machine, run `bundle exec rake install`.
65
+
66
+ ## Release a new version
67
+
68
+ To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
69
+
70
+ ## Contributing
71
+
72
+ Bug reports and pull requests are welcome on GitHub at https://github.com/nxt-insurance/nxt_cop.
73
+
74
+ ## License
75
+
76
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/default.yml CHANGED
@@ -35,6 +35,8 @@ Layout/EmptyLinesAroundClassBody:
35
35
  EnforcedStyle: no_empty_lines
36
36
  Layout/EmptyLinesAroundBlockBody:
37
37
  EnforcedStyle: no_empty_lines
38
+ Layout/TrailingWhitespace:
39
+ AllowInHeredoc: false
38
40
  Lint:
39
41
  Enabled: true
40
42
  Lint/AmbiguousBlockAssociation:
@@ -1,3 +1,3 @@
1
1
  module NxtCop
2
- VERSION = '1.0.12'.freeze
2
+ VERSION = '1.0.13'.freeze
3
3
  end
data/nxt_cop.gemspec CHANGED
@@ -10,6 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = 'Getsafe shared Rubocop.'
12
12
  spec.homepage = 'https://github.com/nxt-insurance/nxt_cop'
13
+ spec.license = 'MIT'
13
14
 
14
15
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
15
16
  # to allow pushing to a single host or delete this section to allow pushing to any host.
@@ -31,7 +32,7 @@ Gem::Specification.new do |spec|
31
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
33
  spec.require_paths = ['lib']
33
34
 
34
- spec.add_dependency 'rubocop', '0.92.0'
35
+ spec.add_dependency 'rubocop', '1.25.1'
35
36
  spec.add_dependency 'rubocop-rails', '~> 2.8'
36
37
  spec.add_development_dependency 'bundler', '~> 2.1'
37
38
  spec.add_development_dependency 'rake', '~> 13.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nxt_cop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Livingstone
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-05 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.92.0
19
+ version: 1.25.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.92.0
26
+ version: 1.25.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -82,14 +82,14 @@ files:
82
82
  - Rakefile
83
83
  - bin/console
84
84
  - bin/guard
85
- - bin/release
86
85
  - bin/rspec
87
86
  - bin/setup
88
87
  - default.yml
89
88
  - lib/nxt_cop/version.rb
90
89
  - nxt_cop.gemspec
91
90
  homepage: https://github.com/nxt-insurance/nxt_cop
92
- licenses: []
91
+ licenses:
92
+ - MIT
93
93
  metadata:
94
94
  allowed_push_host: https://rubygems.org
95
95
  homepage_uri: https://github.com/nxt-insurance/nxt_cop
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubygems_version: 3.0.3
113
+ rubygems_version: 3.1.6
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Getsafe shared Rubocop.
data/bin/release DELETED
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env sh
2
-
3
- GEM_VERSION=$(ruby -e '$LOAD_PATH << File.join(File.dirname(__FILE__), "lib"); require "nxt_cop/version"; print NxtCop::VERSION')
4
-
5
- gem build nxt_cop.gemspec
6
-
7
- if [ ! -d "pkg" ]; then
8
- mkdir pkg
9
- fi
10
-
11
- mv nxt_cop-$GEM_VERSION.gem pkg/nxt_cop-$GEM_VERSION.gem
12
-
13
- git tag -m "Release $GEM_VERSION" -a v$GEM_VERSION HEAD
14
- git push origin --tags
15
-
16
- gem push --key github --host https://rubygems.pkg.github.com/nxt-insurance pkg/nxt_cop-$GEM_VERSION.gem