rubocop_coffeeandcode 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +22 -11
- data/README.md +14 -8
- data/certs/coffeeandcode.pem +13 -14
- data/config/default.yml +4 -4
- data/lib/rubocop_coffeeandcode/version.rb +1 -1
- data/rubocop_coffeeandcode.gemspec +4 -4
- metadata +23 -24
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2dc967efd2ec11a192f212ad799a57dcece87a858b673cdf99fefb7e790b4f79
|
|
4
|
+
data.tar.gz: 7da31183b5aac8db170953b87dbf62e4a5c1e00b7af23c2f5bc1f2536a6817d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5b394275b0e167b2ba1f0474bc706d6276373f3550e2b3dbb461a8244a07d7f6893b817b128ae12f267d1f5c3c799d1e6b745a19c7da787cc81ebaa670b8989
|
|
7
|
+
data.tar.gz: 55ad2cea0551b90d979d94bb22b5709fcebdb12134d8223c08f4554c6afff66e04b13abbadc58c0305be820143998c201ff94b5f2294138dbcd437a33771ac04
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -5,45 +5,56 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
5
5
|
|
|
6
6
|
## [unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.0.4] - 2020-01-06
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Update rubocop
|
|
13
|
+
- Change Metrics/LineLength to Layout/LineLength
|
|
14
|
+
- Use Lint/SuppressedException instead of Lint/HandleExceptions
|
|
15
|
+
- Update default ruby version
|
|
16
|
+
- Reformat Markdown list chars to match default prettier formatting
|
|
17
|
+
|
|
8
18
|
## [0.0.3] - 2019-02-03
|
|
9
19
|
|
|
10
20
|
### Changed
|
|
11
21
|
|
|
12
|
-
|
|
22
|
+
- Do not treat comments in bundler files as group separators
|
|
13
23
|
|
|
14
24
|
## [0.0.2] - 2018-04-25
|
|
15
25
|
|
|
16
26
|
### Changed
|
|
17
27
|
|
|
18
|
-
|
|
28
|
+
- Bump rubocop_method_order dependency from 0.2.1 to 0.3.0
|
|
19
29
|
|
|
20
30
|
## [0.0.1] - 2018-04-20
|
|
21
31
|
|
|
22
32
|
### Added
|
|
23
33
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
- Info about `inherit_mode` to allow exclusions from included configs.
|
|
35
|
+
- New `bin/release` script to make sure tests are ran before release.
|
|
36
|
+
- Add git commit with checksums as part of release task.
|
|
27
37
|
|
|
28
38
|
### Changed
|
|
29
39
|
|
|
30
|
-
|
|
40
|
+
- Increase max line length to 120 characters from 100.
|
|
31
41
|
|
|
32
42
|
## [0.0.1.beta2] - 2018-03-24
|
|
33
43
|
|
|
34
44
|
### Fixed
|
|
35
45
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
46
|
+
- Checksum creation code after running `rake release`.
|
|
47
|
+
- Add rubocop_method_order as runtime dependency.
|
|
48
|
+
- Clean up changelog version numbers used to match what was released.
|
|
39
49
|
|
|
40
50
|
## [0.0.1.beta1] - 2018-03-24
|
|
41
51
|
|
|
42
52
|
### Added
|
|
43
53
|
|
|
44
|
-
|
|
54
|
+
- Initial version of the gem.
|
|
45
55
|
|
|
46
|
-
[unreleased]: https://github.com/CoffeeAndCode/rubocop_coffeeandcode/compare/v0.0.
|
|
56
|
+
[unreleased]: https://github.com/CoffeeAndCode/rubocop_coffeeandcode/compare/v0.0.4...HEAD
|
|
57
|
+
[0.0.4]: https://github.com/CoffeeAndCode/rubocop_method_order/compare/v0.0.3...v0.0.4
|
|
47
58
|
[0.0.3]: https://github.com/CoffeeAndCode/rubocop_method_order/compare/v0.0.2...v0.0.3
|
|
48
59
|
[0.0.2]: https://github.com/CoffeeAndCode/rubocop_method_order/compare/v0.0.1...v0.0.2
|
|
49
60
|
[0.0.1]: https://github.com/CoffeeAndCode/rubocop_method_order/compare/v0.0.1.beta1...v0.0.1
|
data/README.md
CHANGED
|
@@ -44,7 +44,6 @@ inherit_gem:
|
|
|
44
44
|
inherit_mode:
|
|
45
45
|
merge:
|
|
46
46
|
- Exclude
|
|
47
|
-
|
|
48
47
|
# the rest of your app's custom config...
|
|
49
48
|
```
|
|
50
49
|
|
|
@@ -62,13 +61,20 @@ will run `rubocop` on the project source and `bundle exec rake test`.
|
|
|
62
61
|
To release a new version, update the version number in `lib/rubocop_coffeeandcode/version.rb` and run `bin/release`, which will do
|
|
63
62
|
the following:
|
|
64
63
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
- run tests
|
|
65
|
+
- run linters
|
|
66
|
+
- create a git tag for the version
|
|
67
|
+
- push git commits and tags
|
|
68
|
+
- push the `.gem` file to [rubygems.org][2]
|
|
69
|
+
- create checksums of new version
|
|
70
|
+
- create new git commit that adds new checksum files to the repo
|
|
71
|
+
|
|
72
|
+
### Increasing Current Certificate Expiration
|
|
73
|
+
|
|
74
|
+
Once a certificate expires, it can be re-signed to extend the expiration using the existing
|
|
75
|
+
private key with:
|
|
76
|
+
|
|
77
|
+
`gem cert --certificate ./certs/coffeeandcode.pem --days 365 --private-key ~/.ssh/gem-private_key.pem --re-sign`
|
|
72
78
|
|
|
73
79
|
## Contributing
|
|
74
80
|
|
data/certs/coffeeandcode.pem
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
-----B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|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
DVnSbPSTRxaM+9Hds4CAzdoo5hIiLyvSXSqSRGgQEMT0yiFdK+6kRw==
|
|
15
|
+
MA0GCSqGSIb3DQEBCwUAA4IBgQB390BIu7AHpDCCP/Gj2dWpcYIDuAo1m3OKrYYn
|
|
16
|
+
PV9jq5TMQie4/lAQzrMVWLUFoWRbZ8DZaLfTH5tQYcRCAP+YdBR6Vjo4yMLioyFE
|
|
17
|
+
PvgoL4Zl9WFPVrs6xVfK640FxtlngB88CHgr2QCaXHngd+b0btZXgveWnooNGa/I
|
|
18
|
+
31S8sCvvRihtUSOpUTGHZdWMDbu0+mFDysDJwBF4LYfI2twnegkFoWVf5Hul2Lzf
|
|
19
|
+
75KShUKTB7g/r2UsVU4gL9MKwJsoQKjGGfrV/vSwsm7l/PqvjPSTsUlAU7lkTDg9
|
|
20
|
+
RmmO/XUh0sVyhVdtZ0ZCF5P+MaQTRIvKRzqebmeqFqzcfr+YSw7UcNC/9HvWyThN
|
|
21
|
+
EfyaqYY9oDdJIEZQ6KsnIEdaR5ewQSwR1GPHMSLR9Je5jt2raCobR9smGlHBP7gD
|
|
22
|
+
dkL46SfHKtTBGBrjb7224Kg6ycpmEkrUssWGlJGLbjIROlaEAw4eFbJlCs/M8rr0
|
|
23
|
+
sU5qdkPMDQwwY05HCG70jWgm3MU=
|
|
25
24
|
-----END CERTIFICATE-----
|
data/config/default.yml
CHANGED
|
@@ -5,7 +5,7 @@ AllCops:
|
|
|
5
5
|
Exclude:
|
|
6
6
|
- bin/bundle
|
|
7
7
|
- node_modules/**/*
|
|
8
|
-
TargetRubyVersion: 2.
|
|
8
|
+
TargetRubyVersion: 2.6
|
|
9
9
|
|
|
10
10
|
Bundler/OrderedGems:
|
|
11
11
|
TreatCommentsAsGroupSeparators: false
|
|
@@ -13,6 +13,9 @@ Bundler/OrderedGems:
|
|
|
13
13
|
Layout/EmptyLinesAroundArguments:
|
|
14
14
|
Enabled: false # disabled as current implimentation is buggy
|
|
15
15
|
|
|
16
|
+
Layout/LineLength:
|
|
17
|
+
Max: 120
|
|
18
|
+
|
|
16
19
|
Metrics/BlockLength:
|
|
17
20
|
Exclude:
|
|
18
21
|
- test/**/*_test.rb
|
|
@@ -21,9 +24,6 @@ Metrics/ClassLength:
|
|
|
21
24
|
Exclude:
|
|
22
25
|
- test/**/*_test.rb
|
|
23
26
|
|
|
24
|
-
Metrics/LineLength:
|
|
25
|
-
Max: 120
|
|
26
|
-
|
|
27
27
|
Metrics/MethodLength:
|
|
28
28
|
Exclude:
|
|
29
29
|
- test/**/*_test.rb
|
|
@@ -23,17 +23,17 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
|
23
23
|
spec.bindir = 'exe'
|
|
24
24
|
spec.executables = spec.files.grep(/^exe/) { |file| File.basename(file) }
|
|
25
25
|
spec.require_paths = ['lib']
|
|
26
|
-
spec.required_ruby_version = '>= 2.
|
|
26
|
+
spec.required_ruby_version = '>= 2.6.0'
|
|
27
27
|
spec.cert_chain = ['certs/coffeeandcode.pem']
|
|
28
28
|
|
|
29
29
|
if $PROGRAM_NAME.end_with?('gem')
|
|
30
30
|
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
spec.add_runtime_dependency 'rubocop', '~> 0.
|
|
33
|
+
spec.add_runtime_dependency 'rubocop', '~> 0.79'
|
|
34
34
|
spec.add_runtime_dependency 'rubocop_method_order', '~> 0.3.0'
|
|
35
35
|
|
|
36
|
-
spec.add_development_dependency 'bundler', '~> 1
|
|
36
|
+
spec.add_development_dependency 'bundler', '~> 2.1'
|
|
37
37
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
|
38
|
-
spec.add_development_dependency 'rake', '~>
|
|
38
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
|
39
39
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop_coffeeandcode
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Knapp
|
|
@@ -10,9 +10,9 @@ bindir: exe
|
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MIIEADCCAmigAwIBAgIBAjANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtqb24v
|
|
14
|
+
REM9Y29mZmVlYW5kY29kZS9EQz1jb20wHhcNMjAwMTA2MTY1ODMxWhcNMjEwMTA1
|
|
15
|
+
MTY1ODMxWjAmMSQwIgYDVQQDDBtqb24vREM9Y29mZmVlYW5kY29kZS9EQz1jb20w
|
|
16
16
|
ggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCwhpj30UpL3zNnh+oC/QeA
|
|
17
17
|
oADSvODuNGaZO2THz4UVoXvtlVmOvrMOHqxdAvf4rfv8Rw4U8TUn+5c/E76NWttU
|
|
18
18
|
EYwPs9wB8HrQWxzutsbhGBBcCCyIClbrf5kLTjCIE0UIa4M1gTdUnneWJzyHCNoU
|
|
@@ -21,20 +21,19 @@ cert_chain:
|
|
|
21
21
|
0gxhx9lIDtduGhgCL6ZsEGV0Yxy7RI8ylILfM/MbdckJ4KVT9UT0yL3lVoQjjr3t
|
|
22
22
|
ZyIZnIRYj/eafol0sNrJo5MeJoCZaHWS25fE8pYrxJhv7beO9GMNpjGtUzgF11IW
|
|
23
23
|
3i5Ok/a1+R4SRFIs65+ap5br6fPiYKXxThWJBTweOUMoBpEK5q+kN9M74lvrjSw3
|
|
24
|
-
sZZevUtUprwu9WUeUtTxbkONP58PFdIm5az+
|
|
24
|
+
sZZevUtUprwu9WUeUtTxbkONP58PFdIm5az+qxuMYCMCAwEAAaM5MDcwCQYDVR0T
|
|
25
25
|
BAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFAF+y9VjIuh5VVlw69vYwQNnkjoB
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
DVnSbPSTRxaM+9Hds4CAzdoo5hIiLyvSXSqSRGgQEMT0yiFdK+6kRw==
|
|
26
|
+
MA0GCSqGSIb3DQEBCwUAA4IBgQB390BIu7AHpDCCP/Gj2dWpcYIDuAo1m3OKrYYn
|
|
27
|
+
PV9jq5TMQie4/lAQzrMVWLUFoWRbZ8DZaLfTH5tQYcRCAP+YdBR6Vjo4yMLioyFE
|
|
28
|
+
PvgoL4Zl9WFPVrs6xVfK640FxtlngB88CHgr2QCaXHngd+b0btZXgveWnooNGa/I
|
|
29
|
+
31S8sCvvRihtUSOpUTGHZdWMDbu0+mFDysDJwBF4LYfI2twnegkFoWVf5Hul2Lzf
|
|
30
|
+
75KShUKTB7g/r2UsVU4gL9MKwJsoQKjGGfrV/vSwsm7l/PqvjPSTsUlAU7lkTDg9
|
|
31
|
+
RmmO/XUh0sVyhVdtZ0ZCF5P+MaQTRIvKRzqebmeqFqzcfr+YSw7UcNC/9HvWyThN
|
|
32
|
+
EfyaqYY9oDdJIEZQ6KsnIEdaR5ewQSwR1GPHMSLR9Je5jt2raCobR9smGlHBP7gD
|
|
33
|
+
dkL46SfHKtTBGBrjb7224Kg6ycpmEkrUssWGlJGLbjIROlaEAw4eFbJlCs/M8rr0
|
|
34
|
+
sU5qdkPMDQwwY05HCG70jWgm3MU=
|
|
36
35
|
-----END CERTIFICATE-----
|
|
37
|
-
date:
|
|
36
|
+
date: 2020-01-06 00:00:00.000000000 Z
|
|
38
37
|
dependencies:
|
|
39
38
|
- !ruby/object:Gem::Dependency
|
|
40
39
|
name: rubocop
|
|
@@ -42,14 +41,14 @@ dependencies:
|
|
|
42
41
|
requirements:
|
|
43
42
|
- - "~>"
|
|
44
43
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: '0.
|
|
44
|
+
version: '0.79'
|
|
46
45
|
type: :runtime
|
|
47
46
|
prerelease: false
|
|
48
47
|
version_requirements: !ruby/object:Gem::Requirement
|
|
49
48
|
requirements:
|
|
50
49
|
- - "~>"
|
|
51
50
|
- !ruby/object:Gem::Version
|
|
52
|
-
version: '0.
|
|
51
|
+
version: '0.79'
|
|
53
52
|
- !ruby/object:Gem::Dependency
|
|
54
53
|
name: rubocop_method_order
|
|
55
54
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -70,14 +69,14 @@ dependencies:
|
|
|
70
69
|
requirements:
|
|
71
70
|
- - "~>"
|
|
72
71
|
- !ruby/object:Gem::Version
|
|
73
|
-
version: '1
|
|
72
|
+
version: '2.1'
|
|
74
73
|
type: :development
|
|
75
74
|
prerelease: false
|
|
76
75
|
version_requirements: !ruby/object:Gem::Requirement
|
|
77
76
|
requirements:
|
|
78
77
|
- - "~>"
|
|
79
78
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: '1
|
|
79
|
+
version: '2.1'
|
|
81
80
|
- !ruby/object:Gem::Dependency
|
|
82
81
|
name: minitest
|
|
83
82
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -98,14 +97,14 @@ dependencies:
|
|
|
98
97
|
requirements:
|
|
99
98
|
- - "~>"
|
|
100
99
|
- !ruby/object:Gem::Version
|
|
101
|
-
version: '
|
|
100
|
+
version: '13.0'
|
|
102
101
|
type: :development
|
|
103
102
|
prerelease: false
|
|
104
103
|
version_requirements: !ruby/object:Gem::Requirement
|
|
105
104
|
requirements:
|
|
106
105
|
- - "~>"
|
|
107
106
|
- !ruby/object:Gem::Version
|
|
108
|
-
version: '
|
|
107
|
+
version: '13.0'
|
|
109
108
|
description:
|
|
110
109
|
email: jon@coffeeandcode.com
|
|
111
110
|
executables: []
|
|
@@ -142,14 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
142
141
|
requirements:
|
|
143
142
|
- - ">="
|
|
144
143
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 2.
|
|
144
|
+
version: 2.6.0
|
|
146
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
146
|
requirements:
|
|
148
147
|
- - ">="
|
|
149
148
|
- !ruby/object:Gem::Version
|
|
150
149
|
version: '0'
|
|
151
150
|
requirements: []
|
|
152
|
-
rubygems_version: 3.
|
|
151
|
+
rubygems_version: 3.1.2
|
|
153
152
|
signing_key:
|
|
154
153
|
specification_version: 4
|
|
155
154
|
summary: Base rubocop configuration preferences for Coffee and Code.
|
metadata.gz.sig
CHANGED
|
Binary file
|