rubocop-rspec 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rubocop/cop/rspec/unit_spec_naming.rb +1 -1
- data/lib/rubocop/rspec/version.rb +1 -1
- data/pkg/rubocop-rspec-0.18.0.gem +0 -0
- data/pkg/rubocop-rspec-0.18.1.gem +0 -0
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c8a34ad0b9b0eeb621b444a9ea0ca5108fe7bbd
|
4
|
+
data.tar.gz: eae429b50571f8ae18345d3ce6bf647158bc13bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1df19a332dde5e17d88cc1ce1829248d937a19d548c56a38f48f700f65346a927b6f6182b6e2adb194706b69895594b0937bb2b76de17f7a3f8ba85c219accc
|
7
|
+
data.tar.gz: 90aa18dabf7f24951b73ff0deaa1d06f99448eed62f563c342b389d7dc4e65bb50a46cc669bc05a1da582fef5842c35eb84e2c69468cd55dbb58bab189638b15
|
data/Gemfile.lock
CHANGED
@@ -126,7 +126,7 @@ module Rubocop
|
|
126
126
|
def camel_to_underscore(string)
|
127
127
|
string.dup.tap do |result|
|
128
128
|
result.gsub!(/([^A-Z])([A-Z]+)/, '\\1_\\2')
|
129
|
-
result.gsub!(/([A-Z]
|
129
|
+
result.gsub!(/([A-Z]{2,})([A-Z][^A-Z]+)/, '\\1_\\2')
|
130
130
|
result.downcase!
|
131
131
|
end
|
132
132
|
end
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ian MacLeod
|
@@ -70,6 +70,8 @@ files:
|
|
70
70
|
- MIT-LICENSE.md
|
71
71
|
- pkg/rubocop-rspec-0.1.0.gem
|
72
72
|
- pkg/rubocop-rspec-0.17.0.gem
|
73
|
+
- pkg/rubocop-rspec-0.18.0.gem
|
74
|
+
- pkg/rubocop-rspec-0.18.1.gem
|
73
75
|
- Rakefile
|
74
76
|
- README.md
|
75
77
|
- rubocop-rspec.gemspec
|