guard-cucumber 0.2.2 → 0.2.3
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/README.rdoc +4 -7
- data/lib/guard/cucumber/runners/runner.rb +3 -1
- data/lib/guard/cucumber/templates/Guardfile +3 -3
- data/lib/guard/cucumber/version.rb +1 -1
- metadata +12 -20
data/README.rdoc
CHANGED
@@ -30,9 +30,9 @@ Cucumber guard can be adapated to all kind of projects.
|
|
30
30
|
Please read {guard doc}[http://github.com/guard/guard#readme] for more info about Guardfile DSL.
|
31
31
|
|
32
32
|
guard 'cucumber' do
|
33
|
-
watch(
|
34
|
-
watch(
|
35
|
-
watch(
|
33
|
+
watch(%r{features/.+\.feature})
|
34
|
+
watch(%r{features/support/.+}) { 'features' }
|
35
|
+
watch(%r{features/step_definitions/.+}) { 'features' }
|
36
36
|
end
|
37
37
|
|
38
38
|
== Options
|
@@ -44,10 +44,7 @@ There are several options you can pass to the Cucumber Guard to customize the ar
|
|
44
44
|
:port => 1234 # Set custom Spork port
|
45
45
|
:bundler => false # Don't use "bundle exec"
|
46
46
|
:rvm => ['1.8.7', '1.9.2'] # Directly run your specs on multiple ruby
|
47
|
-
|
48
|
-
OR you can enable the EXPERIMENTAL Cucumber environment preloader with:
|
49
|
-
|
50
|
-
:preload => true
|
47
|
+
:profile => 'cucumber_profile' # Let cucumber use another profile than the default one
|
51
48
|
|
52
49
|
== Development
|
53
50
|
|
@@ -17,6 +17,7 @@ module Guard
|
|
17
17
|
cmd << 'bundle exec' if bundler? && options[:bundler] != false
|
18
18
|
|
19
19
|
cmd << 'cucumber'
|
20
|
+
cmd << "--profile #{options[:profile]}" if options[:profile]
|
20
21
|
cmd << "--require #{ File.expand_path(File.join(File.dirname(__FILE__), '..', 'cucumber_formatter.rb')) } --format CucumberFormatter"
|
21
22
|
cmd << '--color' if options[:color] != false
|
22
23
|
cmd << "--drb" if options[:drb]
|
@@ -32,4 +33,5 @@ module Guard
|
|
32
33
|
end
|
33
34
|
end
|
34
35
|
end
|
35
|
-
end
|
36
|
+
end
|
37
|
+
|
@@ -1,5 +1,5 @@
|
|
1
1
|
guard 'cucumber' do
|
2
|
-
watch(
|
3
|
-
watch(
|
4
|
-
watch(
|
2
|
+
watch(%r{features/.+\.feature})
|
3
|
+
watch(%r{features/support/.+}) { 'features' }
|
4
|
+
watch(%r{features/step_definitions/.+}) { 'features' }
|
5
5
|
end
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 19
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
8
|
+
- 3
|
9
|
+
version: 0.2.3
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Michael Kessler
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date:
|
17
|
+
date: 2011-01-21 00:00:00 +01:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +25,11 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ~>
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 19
|
30
28
|
segments:
|
31
29
|
- 0
|
32
|
-
-
|
33
|
-
-
|
34
|
-
version: 0.
|
30
|
+
- 3
|
31
|
+
- 0
|
32
|
+
version: 0.3.0
|
35
33
|
type: :runtime
|
36
34
|
version_requirements: *id001
|
37
35
|
- !ruby/object:Gem::Dependency
|
@@ -42,7 +40,6 @@ dependencies:
|
|
42
40
|
requirements:
|
43
41
|
- - ~>
|
44
42
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 55
|
46
43
|
segments:
|
47
44
|
- 0
|
48
45
|
- 10
|
@@ -58,12 +55,11 @@ dependencies:
|
|
58
55
|
requirements:
|
59
56
|
- - ~>
|
60
57
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 17
|
62
58
|
segments:
|
63
59
|
- 1
|
64
60
|
- 0
|
65
|
-
-
|
66
|
-
version: 1.0.
|
61
|
+
- 9
|
62
|
+
version: 1.0.9
|
67
63
|
type: :development
|
68
64
|
version_requirements: *id003
|
69
65
|
- !ruby/object:Gem::Dependency
|
@@ -74,12 +70,11 @@ dependencies:
|
|
74
70
|
requirements:
|
75
71
|
- - ~>
|
76
72
|
- !ruby/object:Gem::Version
|
77
|
-
hash: 11
|
78
73
|
segments:
|
79
74
|
- 2
|
80
|
-
-
|
75
|
+
- 4
|
81
76
|
- 0
|
82
|
-
version: 2.
|
77
|
+
version: 2.4.0
|
83
78
|
type: :development
|
84
79
|
version_requirements: *id004
|
85
80
|
- !ruby/object:Gem::Dependency
|
@@ -90,12 +85,11 @@ dependencies:
|
|
90
85
|
requirements:
|
91
86
|
- - ~>
|
92
87
|
- !ruby/object:Gem::Version
|
93
|
-
hash: 11
|
94
88
|
segments:
|
95
89
|
- 0
|
96
90
|
- 1
|
97
|
-
-
|
98
|
-
version: 0.1.
|
91
|
+
- 9
|
92
|
+
version: 0.1.9
|
99
93
|
type: :development
|
100
94
|
version_requirements: *id005
|
101
95
|
description: Guard::Cucumber automatically run your features (much like autotest)
|
@@ -131,7 +125,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
125
|
requirements:
|
132
126
|
- - ">="
|
133
127
|
- !ruby/object:Gem::Version
|
134
|
-
hash: 3
|
135
128
|
segments:
|
136
129
|
- 0
|
137
130
|
version: "0"
|
@@ -140,7 +133,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
133
|
requirements:
|
141
134
|
- - ">="
|
142
135
|
- !ruby/object:Gem::Version
|
143
|
-
hash: 23
|
144
136
|
segments:
|
145
137
|
- 1
|
146
138
|
- 3
|