drg 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/drg/tasks/upgrade_file.rb +1 -1
- data/lib/drg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c57160d7560cae2722f61cdb40bb0805eb929c7
|
4
|
+
data.tar.gz: 519e48995c57bbfd268d9d8012995738b8b6b329
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85bf6b7c9189c415ec71a291dc4a915334c1919f3931aba8dd3c09760f0ad83347095dd9a740aff3dafc112c275e7a39dc093dfc960287f94e1c4030cbb19c05
|
7
|
+
data.tar.gz: 0f6ab838160fade27659c7ec91fc1c1083cf6be47e3bafcfd387eba77591f03aa6d652bf8b5ed03b550a55fbb6ee600e944d3c87817c392063d979b42fffcea8
|
@@ -14,7 +14,7 @@ module DRG
|
|
14
14
|
contents = File.read(ruby_file)
|
15
15
|
log %(Updating "#{ruby_file}")
|
16
16
|
contents.gsub! /:(\w+)\s?=>/, '\1:'
|
17
|
-
contents.gsub!(/([A-Z]*[a-z0-9_!?.\[\]'()+=>:,&]+)\.(should)\s?==/, 'expect(\1).to eq')
|
17
|
+
# contents.gsub!(/([A-Z]*[a-z0-9_!?.\[\]'()+=>:,&]+)\.(should)\s?==/, 'expect(\1).to eq')
|
18
18
|
contents.gsub! /Factory\.create/, 'create'
|
19
19
|
contents.gsub! /Factory\.build/, 'build'
|
20
20
|
contents.gsub! /Factory\.next/, 'generate'
|
data/lib/drg/version.rb
CHANGED