guard-cucumber 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +17 -14
- data/lib/guard/cucumber/version.rb +1 -1
- metadata +8 -8
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Guard::Cucumber
|
2
2
|
|
3
|
-
|
3
|
+
Guard::Cucumber allows to automatically run Cucumber features when files are modified.
|
4
4
|
|
5
5
|
- Tested on Ruby 1.8.7 & 1.9.2.
|
6
6
|
|
@@ -26,25 +26,28 @@ Please read {guard usage doc}[http://github.com/guard/guard#readme]
|
|
26
26
|
|
27
27
|
== Guardfile
|
28
28
|
|
29
|
-
Cucumber guard can be
|
29
|
+
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
33
|
watch('^features/(.*).feature')
|
34
|
-
watch('^features/support')
|
35
|
-
watch('^features/step_definitions')
|
34
|
+
watch('^features/support') { 'features' }
|
35
|
+
watch('^features/step_definitions') { 'features' }
|
36
36
|
end
|
37
37
|
|
38
38
|
== Options
|
39
39
|
|
40
|
-
There are several options you can pass to the
|
40
|
+
There are several options you can pass to the Cucumber Guard to customize the arguments when calling Cucumber:
|
41
41
|
|
42
|
-
:color => false
|
43
|
-
:drb => true
|
44
|
-
:port => 1234
|
45
|
-
:bundler => false
|
46
|
-
:rvm => ['1.8.7', '1.9.2']
|
47
|
-
|
42
|
+
:color => false # Disable colored output
|
43
|
+
:drb => true # Enable Spork DRb server
|
44
|
+
:port => 1234 # Set custom Spork port
|
45
|
+
:bundler => false # Don't use "bundle exec"
|
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
|
48
51
|
|
49
52
|
== Development
|
50
53
|
|
@@ -57,7 +60,7 @@ Pull requests are very welcome! Make sure your patches are well tested.
|
|
57
60
|
|
58
61
|
{Michael Kessler}[http://github.com/netzpirat]
|
59
62
|
|
60
|
-
==
|
63
|
+
== Acknowledgment
|
64
|
+
|
65
|
+
Many thanks to the {Guard Team}[https://github.com/guard/guard/contributors] and all the authors of the numerous {Guards}[http://github.com/guard]
|
61
66
|
|
62
|
-
Many thanks to {Thibaud Guillaume-Gentil}[http://github.com/thibaudgg] for creating the excellent {guard}[http://github.com/guard/guard]
|
63
|
-
gem.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Kessler
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-09 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -42,12 +42,12 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 55
|
46
46
|
segments:
|
47
47
|
- 0
|
48
|
-
-
|
49
|
-
-
|
50
|
-
version: 0.
|
48
|
+
- 10
|
49
|
+
- 0
|
50
|
+
version: 0.10.0
|
51
51
|
type: :runtime
|
52
52
|
version_requirements: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|