rubocop_coffeeandcode 0.0.3 → 0.0.4

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: 71679ecbac6ecfb5c18c9e244453f4b01f13930e6fb0a7eb6441c3bff1d05715
4
- data.tar.gz: f33e0b3f3403b4c3d2ef99fed8cd06ac469d59c29c9fc2c10f508512bd095a41
3
+ metadata.gz: 2dc967efd2ec11a192f212ad799a57dcece87a858b673cdf99fefb7e790b4f79
4
+ data.tar.gz: 7da31183b5aac8db170953b87dbf62e4a5c1e00b7af23c2f5bc1f2536a6817d5
5
5
  SHA512:
6
- metadata.gz: 989313d8942457afe63d34dfbb9ad046dff89bafdb379fdd13c9a856553b09efb23aa7ecc1405a2ba3f29c649f5fa908eafbfc3820c2328a2f0b7f96113323be
7
- data.tar.gz: 273ef9a46eea1999fded31dc194bf36d6e7ff2c6b10d4d5b70a9b91e6eb8cbb20fd5efcac57776aa86e286c913e115aa7dda110305eb456fff5db38db770dca6
6
+ metadata.gz: c5b394275b0e167b2ba1f0474bc706d6276373f3550e2b3dbb461a8244a07d7f6893b817b128ae12f267d1f5c3c799d1e6b745a19c7da787cc81ebaa670b8989
7
+ data.tar.gz: 55ad2cea0551b90d979d94bb22b5709fcebdb12134d8223c08f4554c6afff66e04b13abbadc58c0305be820143998c201ff94b5f2294138dbcd437a33771ac04
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
- * Do not treat comments in bundler files as group separators
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
- * Bump rubocop_method_order dependency from 0.2.1 to 0.3.0
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
- * Info about `inherit_mode` to allow exclusions from included configs.
25
- * New `bin/release` script to make sure tests are ran before release.
26
- * Add git commit with checksums as part of release task.
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
- * Increase max line length to 120 characters from 100.
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
- * Checksum creation code after running `rake release`.
37
- * Add rubocop_method_order as runtime dependency.
38
- * Clean up changelog version numbers used to match what was released.
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
- * Initial version of the gem.
54
+ - Initial version of the gem.
45
55
 
46
- [unreleased]: https://github.com/CoffeeAndCode/rubocop_coffeeandcode/compare/v0.0.3...HEAD
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
- * run tests
66
- * run linters
67
- * create a git tag for the version
68
- * push git commits and tags
69
- * push the `.gem` file to [rubygems.org][2]
70
- * create checksums of new version
71
- * create new git commit that adds new checksum files to the repo
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
 
@@ -1,7 +1,7 @@
1
1
  -----BEGIN CERTIFICATE-----
2
- MIIERDCCAqygAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtqb24v
3
- REM9Y29mZmVlYW5kY29kZS9EQz1jb20wHhcNMTgwMzIwMTAzNTQyWhcNMTkwMzIw
4
- MTAzNTQyWjAmMSQwIgYDVQQDDBtqb24vREM9Y29mZmVlYW5kY29kZS9EQz1jb20w
2
+ MIIEADCCAmigAwIBAgIBAjANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtqb24v
3
+ REM9Y29mZmVlYW5kY29kZS9EQz1jb20wHhcNMjAwMTA2MTY1ODMxWhcNMjEwMTA1
4
+ MTY1ODMxWjAmMSQwIgYDVQQDDBtqb24vREM9Y29mZmVlYW5kY29kZS9EQz1jb20w
5
5
  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33l+5rs+0yrChU7mpwcWVG7Qrbzr0mMUY
21
- BsLPoAKTL0tR2XOrduH0QCjHnHMCry0923zLj5eNPQwDhlXyDQC/fyIHto39IvIZ
22
- ZdB1asnPvD2q9n/KCWkCOnmcQ+V7sdmtEiHMuBFHTDhpBUr1DuYY9wvZwoHo8qGr
23
- XxvXYAfIUSbb6/CHtemZT4zsEprRuk8eADIYUTMyAt9d2roTcsRKgq20m+PZO+b+
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-----
@@ -5,7 +5,7 @@ AllCops:
5
5
  Exclude:
6
6
  - bin/bundle
7
7
  - node_modules/**/*
8
- TargetRubyVersion: 2.4
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
@@ -11,7 +11,7 @@ module RuboCopCoffeeAndCode
11
11
  module VERSION
12
12
  MAJOR = 0
13
13
  MINOR = 0
14
- PATCH = 3
14
+ PATCH = 4
15
15
  PRE = nil
16
16
 
17
17
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join('.')
@@ -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.4.0'
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.53'
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.16'
36
+ spec.add_development_dependency 'bundler', '~> 2.1'
37
37
  spec.add_development_dependency 'minitest', '~> 5.0'
38
- spec.add_development_dependency 'rake', '~> 12.3'
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.3
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
- MIIERDCCAqygAwIBAgIBATANBgkqhkiG9w0BAQsFADAmMSQwIgYDVQQDDBtqb24v
14
- REM9Y29mZmVlYW5kY29kZS9EQz1jb20wHhcNMTgwMzIwMTAzNTQyWhcNMTkwMzIw
15
- MTAzNTQyWjAmMSQwIgYDVQQDDBtqb24vREM9Y29mZmVlYW5kY29kZS9EQz1jb20w
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+qxuMY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Dbu0+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: 2019-02-03 00:00:00.000000000 Z
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.53'
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.53'
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.16'
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.16'
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: '12.3'
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: '12.3'
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.4.0
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.0.2
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