guard-frank 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/lib/guard/frank/runner.rb +9 -1
- data/lib/guard/frank/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
data/lib/guard/frank/runner.rb
CHANGED
@@ -19,12 +19,20 @@ module Guard
|
|
19
19
|
UI.info "Could not run Frank. \n'#{self.bundle_path}' not found."
|
20
20
|
return false
|
21
21
|
end
|
22
|
-
|
22
|
+
if features.eql?("features")
|
23
|
+
start_message = "Run all features"
|
24
|
+
else
|
25
|
+
features = features.join(' ') if features.kind_of? Array
|
26
|
+
start_message = "Run #{features}"
|
27
|
+
end
|
23
28
|
UI.info start_message
|
24
29
|
system(command(features))
|
25
30
|
end
|
26
31
|
|
27
32
|
def command(features)
|
33
|
+
if features.kind_of? Array
|
34
|
+
features = features.join(' ')
|
35
|
+
end
|
28
36
|
"APP_BUNDLE_PATH='#{self.bundle_path}' cucumber #{features} --require features"
|
29
37
|
end
|
30
38
|
|
data/lib/guard/frank/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-frank
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alex Denisov
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-05-
|
18
|
+
date: 2012-05-04 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: guard
|