conjoin 0.0.39 → 0.0.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/conjoin +6 -3
  3. data/lib/conjoin/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3210594323dc988edff8cfbd3c141ad81ce39685
4
- data.tar.gz: 369fd45b38cac86881f8f15a87596b33166e6c00
3
+ metadata.gz: a81b94f652c67ec99723599b52c64bbe09a85565
4
+ data.tar.gz: 6a3bd7813ff496ab6c403b285ccfcc4527d18191
5
5
  SHA512:
6
- metadata.gz: 842c6c45c9f239edab4aa0aac1ec410488ce10544ba7691d6d87494ec21332603095e2db02cad514bf33ba2e11e6cf2765b6e40f5ce4eb87721dd20da728270d
7
- data.tar.gz: 61dc813079a31f7b3100b666ac529d74bfb5d59342d2b8d6c2b61cd47737cf09694525b294ff3c34a54164da6995d7e54d298eaf70ea5ab97027fa048ce9f389
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] = '"#{arg}"'
142
+ @args[i] = "\"#{arg}\""
140
143
  else
141
144
  @args[i] = arg
142
145
  end
@@ -1,3 +1,3 @@
1
1
  module Conjoin
2
- VERSION = "0.0.39"
2
+ VERSION = "0.0.40"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conjoin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39
4
+ version: 0.0.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj