nxt_cop 1.0.10 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +20 -1
- data/Gemfile.lock +29 -32
- data/README.md +18 -0
- data/default.yml +4 -1
- data/lib/nxt_cop/version.rb +1 -1
- data/nxt_cop.gemspec +2 -1
- metadata +7 -7
- data/bin/release +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f8ca722a37d92cce8e319a8c5b960aaa85e59305ba962865a34a1fd67fcef94
|
4
|
+
data.tar.gz: a0e45473098d1cf3ff7dca290216c8c1e047e9328bd8cee5211e81abab18ca76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6a92736ce51ada736dffb01fc0ae69d5f6ca4e5165a187a7b5d98964d115cb7c3a4746bb39981a4c239dc4950137c296b0f8ce114ee4f00e4e7281e314551ea
|
7
|
+
data.tar.gz: 6adc418f9df86917725f001cc9b9f1f95b8f31cfe45e67d8255d374af452750199837c2f362a7b1d09d32a5352ff4c4070e4e34d04f82400b46a70c79376dfe0
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
# v1.0.14 2022-05-04
|
2
|
+
|
3
|
+
## What's Changed
|
4
|
+
* 🚨 [security] Upgrade rubocop: 0.92.0 → 1.25.1 (major) by @depfu in https://github.com/nxt-insurance/nxt_cop/pull/19
|
5
|
+
* Upgrade rubocop: 1.25.1 → 1.28.2 (minor) by @depfu in https://github.com/nxt-insurance/nxt_cop/pull/26
|
6
|
+
* Allow including repos use their own ruby version by @shalvah-gs in https://github.com/nxt-insurance/nxt_cop/pull/27
|
7
|
+
* Update rubocop-rails: 2.13.2 → 2.14.2 (minor) by @depfu in https://github.com/nxt-insurance/nxt_cop/pull/22
|
8
|
+
|
9
|
+
**Full Changelog**: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.13...v1.0.14
|
10
|
+
|
11
|
+
# v1.0.12 2020-12-29
|
12
|
+
|
13
|
+
### Update Gems
|
14
|
+
|
15
|
+
# v1.0.11 2020-12-29
|
16
|
+
|
17
|
+
### Fix
|
18
|
+
- Add `require: rubocop-rails` to `default.yml`
|
19
|
+
|
1
20
|
# v1.0.10 2020-12-01
|
2
21
|
|
3
22
|
### Added
|
@@ -39,7 +58,7 @@ Updated Rubocop Version
|
|
39
58
|
|
40
59
|
### Added
|
41
60
|
|
42
|
-
- Style/TrailingCommaInArguments`
|
61
|
+
- `Style/TrailingCommaInArguments`
|
43
62
|
|
44
63
|
### Removed
|
45
64
|
|
data/Gemfile.lock
CHANGED
@@ -1,53 +1,50 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
nxt_cop (1.0.
|
5
|
-
rubocop (=
|
4
|
+
nxt_cop (1.0.14)
|
5
|
+
rubocop (= 1.28.2)
|
6
6
|
rubocop-rails (~> 2.8)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (
|
11
|
+
activesupport (7.0.2.4)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
i18n (>=
|
14
|
-
minitest (
|
15
|
-
tzinfo (~>
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
i18n (1.8.5)
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
ast (2.4.2)
|
17
|
+
concurrent-ruby (1.1.10)
|
18
|
+
i18n (1.10.0)
|
20
19
|
concurrent-ruby (~> 1.0)
|
21
|
-
minitest (5.
|
22
|
-
parallel (1.
|
23
|
-
parser (
|
20
|
+
minitest (5.15.0)
|
21
|
+
parallel (1.22.1)
|
22
|
+
parser (3.1.2.0)
|
24
23
|
ast (~> 2.4.1)
|
25
24
|
rack (2.2.3)
|
26
|
-
rainbow (3.
|
27
|
-
rake (13.0.
|
28
|
-
regexp_parser (
|
29
|
-
rexml (3.2.
|
30
|
-
rubocop (
|
25
|
+
rainbow (3.1.1)
|
26
|
+
rake (13.0.6)
|
27
|
+
regexp_parser (2.3.1)
|
28
|
+
rexml (3.2.5)
|
29
|
+
rubocop (1.28.2)
|
31
30
|
parallel (~> 1.10)
|
32
|
-
parser (>=
|
31
|
+
parser (>= 3.1.0.0)
|
33
32
|
rainbow (>= 2.2.2, < 4.0)
|
34
|
-
regexp_parser (>= 1.
|
33
|
+
regexp_parser (>= 1.8, < 3.0)
|
35
34
|
rexml
|
36
|
-
rubocop-ast (>=
|
35
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
37
36
|
ruby-progressbar (~> 1.7)
|
38
|
-
unicode-display_width (>= 1.4.0, <
|
39
|
-
rubocop-ast (1.
|
40
|
-
parser (>=
|
41
|
-
rubocop-rails (2.
|
37
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
38
|
+
rubocop-ast (1.17.0)
|
39
|
+
parser (>= 3.1.1.0)
|
40
|
+
rubocop-rails (2.14.2)
|
42
41
|
activesupport (>= 4.2.0)
|
43
42
|
rack (>= 1.1)
|
44
|
-
rubocop (>=
|
45
|
-
ruby-progressbar (1.
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
unicode-display_width (1.7.0)
|
50
|
-
zeitwerk (2.4.1)
|
43
|
+
rubocop (>= 1.7.0, < 2.0)
|
44
|
+
ruby-progressbar (1.11.0)
|
45
|
+
tzinfo (2.0.4)
|
46
|
+
concurrent-ruby (~> 1.0)
|
47
|
+
unicode-display_width (2.1.0)
|
51
48
|
|
52
49
|
PLATFORMS
|
53
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
@@ -1,3 +1,4 @@
|
|
1
|
+
require: rubocop-rails
|
1
2
|
AllCops:
|
2
3
|
Exclude:
|
3
4
|
# generated files
|
@@ -10,7 +11,6 @@ AllCops:
|
|
10
11
|
- db/migrate/*
|
11
12
|
- vendor/**/*
|
12
13
|
- node_modules/**/*
|
13
|
-
TargetRubyVersion: 2.6
|
14
14
|
DisabledByDefault: true
|
15
15
|
Layout/DotPosition:
|
16
16
|
EnforcedStyle: trailing
|
@@ -34,6 +34,8 @@ Layout/EmptyLinesAroundClassBody:
|
|
34
34
|
EnforcedStyle: no_empty_lines
|
35
35
|
Layout/EmptyLinesAroundBlockBody:
|
36
36
|
EnforcedStyle: no_empty_lines
|
37
|
+
Layout/TrailingWhitespace:
|
38
|
+
AllowInHeredoc: false
|
37
39
|
Lint:
|
38
40
|
Enabled: true
|
39
41
|
Lint/AmbiguousBlockAssociation:
|
@@ -97,6 +99,7 @@ Style/WordArray:
|
|
97
99
|
Enabled: true
|
98
100
|
Style/HashSyntax:
|
99
101
|
Enabled: true
|
102
|
+
EnforcedShorthandSyntax: either
|
100
103
|
Security:
|
101
104
|
Enabled: true
|
102
105
|
Style/Semicolon:
|
data/lib/nxt_cop/version.rb
CHANGED
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', '
|
35
|
+
spec.add_dependency 'rubocop', '1.28.2'
|
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.
|
4
|
+
version: 1.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Livingstone
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-04 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:
|
19
|
+
version: 1.28.2
|
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:
|
26
|
+
version: 1.28.2
|
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.
|
113
|
+
rubygems_version: 3.3.11
|
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
|