guard-cucumber 0.5.2 → 0.6.0

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.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Guard::Cucumber allows you to automatically run Cucumber features when files are modified.
6
6
 
7
- Tested on MRI Ruby 1.8.6, 1.8.7, 1.9.2 and the latest versions of JRuby & Rubinius.
7
+ Tested on MRI Ruby 1.8.7, 1.9.2 and the latest versions of JRuby & Rubinius.
8
8
 
9
9
  If you have any questions please join us on our [Google group](http://groups.google.com/group/guard-dev) or on `#guard` (irc.freenode.net).
10
10
 
@@ -91,6 +91,9 @@ Former `:color`, `:drb`, `:port` and `:profile` options are thus deprecated and
91
91
  :keep_failed => false # Keep failed features until them pass
92
92
  # default: true
93
93
 
94
+ :run_all => { :cli => "-p" } # Override any option when running all specs
95
+ # default: {}
96
+
94
97
  :change_format => 'pretty' # Use a different cucumber format when running individual features
95
98
  # This replaces the Cucumber --format option within the :cli option
96
99
  # default: nil
@@ -137,7 +140,7 @@ Now you want to make guard-cucumber use that profile by passing '--profile guard
137
140
  ## Cucumber with Spork
138
141
 
139
142
  To use Guard::Cucumber with [Spork](https://github.com/timcharper/spork), you should install
140
- [Guard::Spork](https://github.com/guard/guard-spork)) and use the following configuration:
143
+ [Guard::Spork](https://github.com/guard/guard-spork) and use the following configuration:
141
144
 
142
145
  ```ruby
143
146
  guard 'spork' do
@@ -155,6 +158,8 @@ guard 'cucumber', :cli => '--drb --format progress --no-profile' do
155
158
  end
156
159
  ```
157
160
 
161
+ There is a section with alternative configurations on the [Wiki](https://github.com/netzpirat/guard-cucumber/wiki/Spork-configurations).
162
+
158
163
  ## Development
159
164
 
160
165
  - Source hosted at [GitHub](https://github.com/netzpirat/guard-cucumber)
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 6235178746665710376
3
3
  x
4
4
  M
5
5
  1
@@ -181,33 +181,35 @@ x
181
181
  9
182
182
  Inspector
183
183
  i
184
- 28
184
+ 30
185
185
  5
186
186
  66
187
187
  5
188
188
  99
189
+ 43
190
+ 0
189
191
  12
190
192
  49
191
- 0
193
+ 1
192
194
  1
193
195
  13
194
196
  99
195
197
  12
196
198
  7
197
- 1
199
+ 2
198
200
  12
199
201
  7
200
- 2
202
+ 3
201
203
  12
202
204
  65
203
205
  12
204
206
  49
205
- 3
207
+ 4
206
208
  4
207
209
  15
208
210
  54
209
211
  50
210
- 1
212
+ 2
211
213
  0
212
214
  11
213
215
  I
@@ -220,10 +222,13 @@ I
220
222
  0
221
223
  n
222
224
  p
225
+ 5
226
+ x
223
227
  4
228
+ Type
224
229
  x
225
- 16
226
- object_metaclass
230
+ 22
231
+ object_singleton_class
227
232
  x
228
233
  18
229
234
  __metaclass_init__
@@ -1155,7 +1160,7 @@ I
1155
1160
  I
1156
1161
  4
1157
1162
  I
1158
- 1c
1163
+ 1e
1159
1164
  x
1160
1165
  72
1161
1166
  /Users/michi/Repositories/guard-cucumber/lib/guard/cucumber/inspector.rb
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 6235178746665710376
3
3
  x
4
4
  M
5
5
  1
@@ -181,33 +181,35 @@ x
181
181
  6
182
182
  Runner
183
183
  i
184
- 28
184
+ 30
185
185
  5
186
186
  66
187
187
  5
188
188
  99
189
+ 43
190
+ 0
189
191
  12
190
192
  49
191
- 0
193
+ 1
192
194
  1
193
195
  13
194
196
  99
195
197
  12
196
198
  7
197
- 1
199
+ 2
198
200
  12
199
201
  7
200
- 2
202
+ 3
201
203
  12
202
204
  65
203
205
  12
204
206
  49
205
- 3
207
+ 4
206
208
  4
207
209
  15
208
210
  54
209
211
  50
210
- 1
212
+ 2
211
213
  0
212
214
  11
213
215
  I
@@ -220,10 +222,13 @@ I
220
222
  0
221
223
  n
222
224
  p
225
+ 5
226
+ x
223
227
  4
228
+ Type
224
229
  x
225
- 16
226
- object_metaclass
230
+ 22
231
+ object_singleton_class
227
232
  x
228
233
  18
229
234
  __metaclass_init__
@@ -499,7 +504,7 @@ x
499
504
  6
500
505
  system
501
506
  p
502
- 11
507
+ 15
503
508
  I
504
509
  -1
505
510
  I
@@ -509,10 +514,18 @@ e
509
514
  I
510
515
  7
511
516
  I
517
+ 1a
518
+ I
519
+ 0
520
+ I
512
521
  1b
513
522
  I
514
523
  8
515
524
  I
525
+ 45
526
+ I
527
+ 8
528
+ I
516
529
  48
517
530
  I
518
531
  9
@@ -889,7 +902,7 @@ s
889
902
  1
890
903
 
891
904
  p
892
- 27
905
+ 35
893
906
  I
894
907
  -1
895
908
  I
@@ -903,10 +916,18 @@ I
903
916
  I
904
917
  11
905
918
  I
919
+ 32
920
+ I
921
+ 0
922
+ I
906
923
  33
907
924
  I
908
925
  12
909
926
  I
927
+ 59
928
+ I
929
+ 0
930
+ I
910
931
  5a
911
932
  I
912
933
  14
@@ -915,6 +936,10 @@ I
915
936
  I
916
937
  15
917
938
  I
939
+ 7b
940
+ I
941
+ 0
942
+ I
918
943
  7c
919
944
  I
920
945
  17
@@ -939,6 +964,10 @@ cf
939
964
  I
940
965
  1c
941
966
  I
967
+ d7
968
+ I
969
+ 0
970
+ I
942
971
  d8
943
972
  I
944
973
  1f
@@ -1112,7 +1141,7 @@ s
1112
1141
  9
1113
1142
  /dev/null
1114
1143
  p
1115
- 5
1144
+ 7
1116
1145
  I
1117
1146
  -1
1118
1147
  I
@@ -1122,6 +1151,10 @@ I
1122
1151
  I
1123
1152
  27
1124
1153
  I
1154
+ 13
1155
+ I
1156
+ 0
1157
+ I
1125
1158
  14
1126
1159
  x
1127
1160
  69
@@ -1167,7 +1200,7 @@ I
1167
1200
  I
1168
1201
  4
1169
1202
  I
1170
- 1c
1203
+ 1e
1171
1204
  x
1172
1205
  69
1173
1206
  /Users/michi/Repositories/guard-cucumber/lib/guard/cucumber/runner.rb
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module CucumberVersion
3
- VERSION = '0.5.2'
3
+ VERSION = '0.6.0'
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 6235178746665710376
3
3
  x
4
4
  M
5
5
  1
@@ -26,7 +26,7 @@ module Guard
26
26
  end
27
27
 
28
28
  def run_all
29
- passed = Runner.run(['features'], options.merge({ :message => 'Running all features' }))
29
+ passed = Runner.run(['features'], options.merge(options[:run_all] || {}).merge(:message => 'Running all features'))
30
30
 
31
31
  if passed
32
32
  @failed_paths = []
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 333337424968067900
2
+ 6235178746665710376
3
3
  x
4
4
  M
5
5
  1
@@ -587,7 +587,7 @@ x
587
587
  7
588
588
  run_all
589
589
  p
590
- 5
590
+ 7
591
591
  I
592
592
  -1
593
593
  I
@@ -597,6 +597,10 @@ I
597
597
  I
598
598
  19
599
599
  I
600
+ f
601
+ I
602
+ 0
603
+ I
600
604
  10
601
605
  x
602
606
  62
@@ -755,7 +759,7 @@ x
755
759
  12
756
760
  @last_failed
757
761
  p
758
- 15
762
+ 17
759
763
  I
760
764
  -1
761
765
  I
@@ -777,6 +781,10 @@ I
777
781
  I
778
782
  22
779
783
  I
784
+ 40
785
+ I
786
+ 0
787
+ I
780
788
  41
781
789
  I
782
790
  25
@@ -1127,7 +1135,7 @@ x
1127
1135
  20
1128
1136
  read_failed_features
1129
1137
  p
1130
- 23
1138
+ 37
1131
1139
  I
1132
1140
  -1
1133
1141
  I
@@ -1137,6 +1145,10 @@ I
1137
1145
  I
1138
1146
  31
1139
1147
  I
1148
+ 14
1149
+ I
1150
+ 0
1151
+ I
1140
1152
  15
1141
1153
  I
1142
1154
  32
@@ -1145,10 +1157,18 @@ I
1145
1157
  I
1146
1158
  33
1147
1159
  I
1160
+ 39
1161
+ I
1162
+ 33
1163
+ I
1148
1164
  3c
1149
1165
  I
1150
1166
  34
1151
1167
  I
1168
+ 65
1169
+ I
1170
+ 34
1171
+ I
1152
1172
  6b
1153
1173
  I
1154
1174
  36
@@ -1157,18 +1177,34 @@ I
1157
1177
  I
1158
1178
  38
1159
1179
  I
1180
+ 83
1181
+ I
1182
+ 0
1183
+ I
1160
1184
  84
1161
1185
  I
1162
1186
  3a
1163
1187
  I
1188
+ 99
1189
+ I
1190
+ 0
1191
+ I
1164
1192
  9b
1165
1193
  I
1166
1194
  3d
1167
1195
  I
1196
+ b0
1197
+ I
1198
+ 0
1199
+ I
1168
1200
  b1
1169
1201
  I
1170
1202
  3f
1171
1203
  I
1204
+ b4
1205
+ I
1206
+ 0
1207
+ I
1172
1208
  b5
1173
1209
  I
1174
1210
  42
@@ -1295,7 +1331,7 @@ x
1295
1331
  6
1296
1332
  delete
1297
1333
  p
1298
- 15
1334
+ 17
1299
1335
  I
1300
1336
  -1
1301
1337
  I
@@ -1321,6 +1357,10 @@ I
1321
1357
  I
1322
1358
  4a
1323
1359
  I
1360
+ 31
1361
+ I
1362
+ 0
1363
+ I
1324
1364
  32
1325
1365
  I
1326
1366
  4f
@@ -1535,7 +1575,7 @@ x
1535
1575
  3
1536
1576
  []=
1537
1577
  p
1538
- 9
1578
+ 11
1539
1579
  I
1540
1580
  0
1541
1581
  I
@@ -1553,6 +1593,10 @@ I
1553
1593
  I
1554
1594
  55
1555
1595
  I
1596
+ 42
1597
+ I
1598
+ 0
1599
+ I
1556
1600
  43
1557
1601
  x
1558
1602
  62
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: 15
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 5
9
- - 2
10
- version: 0.5.2
8
+ - 6
9
+ - 0
10
+ version: 0.6.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Kessler
@@ -15,7 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-04 00:00:00 Z
18
+ date: 2011-08-15 00:00:00 +02:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: guard
@@ -116,6 +117,7 @@ files:
116
117
  - lib/guard/cucumber.rbc
117
118
  - LICENSE
118
119
  - README.md
120
+ has_rdoc: true
119
121
  homepage: http://github.com/netzpirat/guard-cucumber
120
122
  licenses: []
121
123
 
@@ -147,10 +149,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
149
  requirements: []
148
150
 
149
151
  rubyforge_project: guard-cucumber
150
- rubygems_version: 1.7.2
152
+ rubygems_version: 1.6.2
151
153
  signing_key:
152
154
  specification_version: 3
153
155
  summary: Guard gem for Cucumber
154
156
  test_files: []
155
157
 
156
- has_rdoc: