conjoin 0.0.39 → 0.0.40
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 +6 -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: a81b94f652c67ec99723599b52c64bbe09a85565
|
|
4
|
+
data.tar.gz: 6a3bd7813ff496ab6c403b285ccfcc4527d18191
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbba590883e19b60f00259c61b9e0bbb24e7705995e036d1ae721c48d1f4a99cf40e6169873cd724800a3470eac526569ab73323381c1777c4545c50d8d703f4
|
|
7
|
+
data.tar.gz: 24787f4fa3fea1715ab83c52e2e1c4920dbc815fa0ee8d48cea486e33a31e8d054c5e1f774fe5819c2bb07d6dc909adf1170a099aff90fb1e5912dcc26f5cf18
|
data/bin/conjoin
CHANGED
|
@@ -35,7 +35,7 @@ module Conjoin
|
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def tests
|
|
38
|
-
@env = 'test'
|
|
38
|
+
ENV['RACK_ENV'] = @env = 'test'
|
|
39
39
|
|
|
40
40
|
Dir["./test/**/*_test.rb"].each_with_index do |file, i|
|
|
41
41
|
if i != 0
|
|
@@ -49,8 +49,11 @@ module Conjoin
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def cutest
|
|
52
|
-
@env = 'test'
|
|
52
|
+
ENV['RACK_ENV'] = @env = 'test'
|
|
53
53
|
|
|
54
|
+
require "cuba/test"
|
|
55
|
+
require 'awesome_print'
|
|
56
|
+
require 'pry'
|
|
54
57
|
system_with_env "bundle exec cutest #{argv_string}"
|
|
55
58
|
end
|
|
56
59
|
|
|
@@ -136,7 +139,7 @@ module Conjoin
|
|
|
136
139
|
|
|
137
140
|
@args.each_with_index do |arg, i|
|
|
138
141
|
if arg[/\s/]
|
|
139
|
-
@args[i] =
|
|
142
|
+
@args[i] = "\"#{arg}\""
|
|
140
143
|
else
|
|
141
144
|
@args[i] = arg
|
|
142
145
|
end
|
data/lib/conjoin/version.rb
CHANGED