conjoin 0.0.35 → 0.0.36
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 +4 -4
- data/bin/conjoin +4 -3
- data/lib/conjoin/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: 0cc21fe1a899bb9c1b944666e88f434535b0b7cc
|
|
4
|
+
data.tar.gz: 13d32e11b521a781f7153bba17cc5db747385e2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc4d36549f8472997d05cb62d693ae7bb0df5e6144afe5cb1e5dd84aebd12a287035bf407f1ea556ee4ab769a3eff3fe46b3a64127e0abccb97538ffd749354a
|
|
7
|
+
data.tar.gz: 657cf0881355e0aa4992a7b2b16a4904bef46999ff8f0e3554f797e43f5890d0e5c2634d59a312dbdc8986bd8af02360b1c55816601854e48d7ee2cf7bab6c72
|
data/bin/conjoin
CHANGED
|
@@ -35,7 +35,7 @@ module Conjoin
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def tests
|
|
38
|
-
env =
|
|
38
|
+
@env = 'test'
|
|
39
39
|
|
|
40
40
|
Dir["./test/**/*_test.rb"].each_with_index do |file, i|
|
|
41
41
|
if i != 0
|
|
@@ -49,6 +49,8 @@ module Conjoin
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def cutest
|
|
52
|
+
@env = 'test'
|
|
53
|
+
|
|
52
54
|
system_with_env "bundle exec cutest #{argv_string}"
|
|
53
55
|
end
|
|
54
56
|
|
|
@@ -76,8 +78,6 @@ module Conjoin
|
|
|
76
78
|
end
|
|
77
79
|
|
|
78
80
|
if !no_changed_assets
|
|
79
|
-
env = ENV['RACK_ENV']
|
|
80
|
-
|
|
81
81
|
File.foreach ".#{env}.env" do |line|
|
|
82
82
|
key, value = line.split "="
|
|
83
83
|
ENV[key] = value.gsub('\n', '').strip
|
|
@@ -155,6 +155,7 @@ module Conjoin
|
|
|
155
155
|
|
|
156
156
|
def system_with_env command
|
|
157
157
|
env_file = ".#{env}.env"
|
|
158
|
+
|
|
158
159
|
if File.file? env_file
|
|
159
160
|
system "env $(cat #{env_file}) #{command}"
|
|
160
161
|
else
|
data/lib/conjoin/version.rb
CHANGED