dry_require_spec_helper 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dry_require_spec_helper +1 -1
- data/lib/dry_require_spec_helper/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: 9fce3144d6c24dd13ac786a2dd09e727f82e9996
|
4
|
+
data.tar.gz: 79d206d60fce033b1a963478a9e7348935ef6a70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b371b82c21e50a8e7d18deb61eb1a8bfb50c7acfcd25556c319420aae6c6e58bb624bc951d1a37751ecea772ba1fe0037ce999bb8d2234b6150d5b78a3745bf
|
7
|
+
data.tar.gz: 31830513d896e8c2ba9b54dcc12d66e49e7bbf2bc5054fea292f15df514900177f0fdd334ec2f81cb2c4efb59359e1bf6a893634dd2f87bf8e42ae4fa284d8ff
|
data/bin/dry_require_spec_helper
CHANGED
@@ -7,7 +7,7 @@ unless File.exist?('.rspec')
|
|
7
7
|
end
|
8
8
|
|
9
9
|
helper_name = if File.exist?('Gemfile.lock') &&
|
10
|
-
File.read('Gemfile.lock').split("\n").detect {|gem| /rspec-rails \((\d)\.(\d)\.(\d)\)$/ === gem } &&
|
10
|
+
File.read('Gemfile.lock').split("\n").detect {|gem| /rspec-rails \((\d)\.(\d)\.(\d)([0-9A-Za-z-]*)\)$/ === gem } &&
|
11
11
|
$1.to_i >= 3
|
12
12
|
'rails_helper'
|
13
13
|
else
|