calasmash 1.0.1 → 1.0.2
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.
- data/Gemfile.lock +2 -2
- data/calasmash.gemspec +1 -1
- data/lib/calasmash/cucumber.rb +3 -3
- data/spec/cucumber_spec.rb +6 -0
- metadata +27 -16
- checksums.yaml +0 -7
data/Gemfile.lock
CHANGED
data/calasmash.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "calasmash"
|
7
|
-
spec.version = "1.0.
|
7
|
+
spec.version = "1.0.2"
|
8
8
|
spec.authors = ["Alex Fish"]
|
9
9
|
spec.email = ["fish@ustwo.co.uk"]
|
10
10
|
spec.description = "A gift for Juan"
|
data/lib/calasmash/cucumber.rb
CHANGED
@@ -40,8 +40,7 @@ module Calasmash
|
|
40
40
|
[out, err].each do |stream|
|
41
41
|
Thread.new do
|
42
42
|
until (line = stream.gets).nil? do
|
43
|
-
|
44
|
-
output << line
|
43
|
+
puts line
|
45
44
|
end
|
46
45
|
end
|
47
46
|
end
|
@@ -51,7 +50,7 @@ module Calasmash
|
|
51
50
|
end
|
52
51
|
|
53
52
|
if status != 0
|
54
|
-
puts "\n
|
53
|
+
puts "\n Cucumber failed"
|
55
54
|
exit status
|
56
55
|
else
|
57
56
|
completed
|
@@ -87,6 +86,7 @@ module Calasmash
|
|
87
86
|
command += " --format #{self.format}" if self.format
|
88
87
|
command += " --out #{self.output}" if self.output
|
89
88
|
command += @tags.to_a.empty? ? "" : tag_arguments
|
89
|
+
command += " -c"
|
90
90
|
|
91
91
|
command
|
92
92
|
end
|
data/spec/cucumber_spec.rb
CHANGED
@@ -83,5 +83,11 @@ describe Calasmash::Cucumber do
|
|
83
83
|
@cucumber = Calasmash::Cucumber.new(nil, nil)
|
84
84
|
@cucumber.instance_eval{command}.should_not match(/--tags/)
|
85
85
|
end
|
86
|
+
|
87
|
+
it "should add the color flag" do
|
88
|
+
@cucumber = Calasmash::Cucumber.new(nil, nil)
|
89
|
+
@cucumber.instance_eval{command}.should match(/-c/)
|
90
|
+
end
|
91
|
+
|
86
92
|
end
|
87
93
|
end
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calasmash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Alex Fish
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-23 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :development
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,57 +30,65 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rake
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '0'
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- - '>='
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '0'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rspec
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- - '>='
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- - '>='
|
59
|
+
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: guard-rspec
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- - '>='
|
67
|
+
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0'
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- - '>='
|
75
|
+
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: CFPropertyList
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- - '>='
|
83
|
+
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
85
|
version: '0'
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- - '>='
|
91
|
+
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: '0'
|
83
94
|
description: A gift for Juan
|
@@ -112,26 +123,27 @@ files:
|
|
112
123
|
homepage: ''
|
113
124
|
licenses:
|
114
125
|
- MIT
|
115
|
-
metadata: {}
|
116
126
|
post_install_message:
|
117
127
|
rdoc_options: []
|
118
128
|
require_paths:
|
119
129
|
- lib
|
120
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
121
132
|
requirements:
|
122
|
-
- - '>='
|
133
|
+
- - ! '>='
|
123
134
|
- !ruby/object:Gem::Version
|
124
135
|
version: '0'
|
125
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
126
138
|
requirements:
|
127
|
-
- - '>='
|
139
|
+
- - ! '>='
|
128
140
|
- !ruby/object:Gem::Version
|
129
141
|
version: '0'
|
130
142
|
requirements: []
|
131
143
|
rubyforge_project:
|
132
|
-
rubygems_version:
|
144
|
+
rubygems_version: 1.8.23
|
133
145
|
signing_key:
|
134
|
-
specification_version:
|
146
|
+
specification_version: 3
|
135
147
|
summary: Compile an app, point the app at sinatra, run cucumber
|
136
148
|
test_files:
|
137
149
|
- spec/command_spec.rb
|
@@ -139,4 +151,3 @@ test_files:
|
|
139
151
|
- spec/cucumber_spec.rb
|
140
152
|
- spec/plist_spec.rb
|
141
153
|
- spec/spec_helper.rb
|
142
|
-
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 31b6402bd154702609ea5ac933464abd07256a51
|
4
|
-
data.tar.gz: 03f66917046383fb0c2b175455c1c875e446cf36
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 89f16c3946b8aa5bfc74200a9931e6633400ee858ab91cf5192b8bde5b033229d9ffcb150c7b5b36303b569f4e575e22e859f328e0bc8bf7adbe2b8e4c921577
|
7
|
-
data.tar.gz: 6207e9aa1773c4da3fdbd1810f33981fd6a75847f4c7dab4313da916e5afa38a38c712a69f72fbecb0541c2283847e9f2b7f8ca88323d5916ff36bfa164957cb
|