cutest-cj 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cutest +11 -3
- data/lib/cutest.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93bd1fd9e92fd102a03bd852d06d0ede5bebcc60
|
4
|
+
data.tar.gz: 3bbd70e3de39fd1de498d50a4677c45b75651fea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d141b7f6dd9671fa445c768815a31d75d0f403643bf39f4cf23ab6ab13d358a58bb1bb393e80a68cedc7ca96d77b3a81aed62c99ec0b835f8a293a150fcd5380
|
7
|
+
data.tar.gz: c4a98e5cadc4a0c5e79977ede010b727b5d923bf1ddfd22dadd3f4403d50097721b3806b692532bf0638e3f8fc2f778f22fbfaa844e9be889b0822b9b49560d9
|
data/bin/cutest
CHANGED
@@ -34,12 +34,20 @@ if files.any?
|
|
34
34
|
env = '.env'
|
35
35
|
rack_env = "#{env}.#{ENV['RACK_ENV']}"
|
36
36
|
|
37
|
+
File.foreach env do |line|
|
38
|
+
key, value = line.split "="
|
39
|
+
ENV[key] = value.gsub('\n', '').strip
|
40
|
+
end
|
41
|
+
|
37
42
|
if File.file? rack_env
|
38
|
-
|
39
|
-
|
40
|
-
|
43
|
+
File.foreach rack_env do |line|
|
44
|
+
key, value = line.split "="
|
45
|
+
ENV[key] = value.gsub('\n', '').strip
|
46
|
+
end
|
41
47
|
end
|
42
48
|
|
49
|
+
Gem.clear_paths
|
50
|
+
|
43
51
|
success = Cutest.run(Dir[*files])
|
44
52
|
|
45
53
|
exit(1) unless success
|
data/lib/cutest.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cutest-cj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damian Janowski
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-08-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pry
|