rubocop-elegant 0.0.7 → 0.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f7c0aef0e7b019ddcf1407cbb966e2547ff955cca1ffe8d3ec78a8d22eda8e6
4
- data.tar.gz: 66f52927f1f7259b0fcf8d2f901aa2926f40e5097e53a301468bc5b4c38e847d
3
+ metadata.gz: '0539949abeb53317287379d9fd13d4c2f672aefe830d40b8075e62c5550cda76'
4
+ data.tar.gz: 890fa74b0264add82bee3d266420625e4e95c5b79109c5b61b35b7babbee8a56
5
5
  SHA512:
6
- metadata.gz: f109d30c32086be17e951884f862da17a291de33b3a5cfc6a1327b1d6446ac4a4d207f68a9356d7c72f1c212f31cac81afa9f075666b471e0c75a9ffb8185460
7
- data.tar.gz: 622118dad505c7affc71c01070734a7e370a30d967752a30c204c1b77267dbb6d48640c58e8df81f1c1922cd149e8a491bcb898a11efa5e191670153f2d633ae
6
+ metadata.gz: 24621f1ff1a81e8ef550e61c0aa8126658a2a087afea620428850ffd554ab7e525efd1aae365967e351cf3930ce7baeaf952b13994a2b3e171722fa89d2f7383
7
+ data.tar.gz: a2bde4c190887c1572c5c4500c3eb8c2f4bd5b11002dd8cce9f3931169ff4b611f413152ed90887fdb8514e766051fa59a40a662a0b4fe6aa5d572258a2f470a
data/config/default.yml CHANGED
@@ -16,7 +16,7 @@ Elegant/GoodVariableName:
16
16
  Description: 'Checks that variable names match the configured pattern'
17
17
  Enabled: true
18
18
  VersionAdded: '0.0.3'
19
- Pattern: '^(@|@@|\$|the_|test_|fake_)?[a-z]{1,16}$'
19
+ Pattern: '^(@{1,2}|\$)?(the_|test_|fake_)?[a-z]{1,16}$'
20
20
  Elegant/GoodMethodName:
21
21
  Description: 'Checks that method names match the configured pattern'
22
22
  Enabled: true
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
10
10
  s.required_ruby_version = '>=2.2'
11
11
  s.name = 'rubocop-elegant'
12
- s.version = '0.0.7'
12
+ s.version = '0.0.8'
13
13
  s.license = 'MIT'
14
14
  s.summary = 'Set of custom RuboCop cops for elegant Ruby coding'
15
15
  s.description =
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-elegant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko