cucumber 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -24,3 +24,4 @@ rerun.txt
24
24
  .sass-cache
25
25
  doc/
26
26
  *.tgz
27
+ Gemfile.lock
@@ -1,7 +1,3 @@
1
1
  rvm:
2
2
  - 1.9.2
3
- - 1.8.7
4
- - rbx
5
- - ree
6
- - jruby
7
- - 1.8.6
3
+ - 1.9.3
data/History.md CHANGED
@@ -1,4 +1,8 @@
1
- ## [v1.1.1](https://github.com/cucumber/cucumber/compare/v1.1.0...v1.1.1)
1
+ ## [v1.1.2](https://github.com/cucumber/cucumber/compare/v1.1.1...v1.1.2)
2
+
3
+ ### Changed features
4
+
5
+ * Break long lines in output. Only needed for better output formatting in the Cucumber Book! (Aslak Hellesøy)
2
6
 
3
7
  ### Changed features
4
8
 
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Build Status](https://secure.travis-ci.org/cucumber/cucumber.png)](http://travis-ci.org/cucumber/cucumber)
2
+
1
3
  The main website is at http://cukes.info/
2
4
  The documentation is at https://wiki.github.com/cucumber/cucumber/
3
5
 
@@ -23,13 +23,13 @@ for important information about this release. Happy cuking!
23
23
 
24
24
  }
25
25
 
26
- s.add_runtime_dependency 'gherkin', '~> 2.6.0'
26
+ s.add_runtime_dependency 'gherkin', '~> 2.6.2'
27
27
  s.add_runtime_dependency 'term-ansicolor', '>= 1.0.6'
28
28
  s.add_runtime_dependency 'builder', '>= 2.1.2'
29
29
  s.add_runtime_dependency 'diff-lcs', '>= 1.1.2'
30
30
  s.add_runtime_dependency 'json', '>= 1.4.6'
31
31
 
32
- s.add_development_dependency 'aruba', '~> 0.4.6'
32
+ s.add_development_dependency 'aruba', '~> 0.4.7'
33
33
  s.add_development_dependency 'rake', '>= 0.9.2'
34
34
  s.add_development_dependency 'rspec', '>= 2.7.0'
35
35
  s.add_development_dependency 'nokogiri', '>= 1.5.0'
@@ -34,8 +34,9 @@ Feature: Print snippets
34
34
  pending # express the regexp above with the code you wish you had
35
35
  end
36
36
 
37
- If you want snippets in a different programming language, just make sure a file
38
- with the appropriate file extension exists where cucumber looks for step definitions.
37
+ If you want snippets in a different programming language,
38
+ just make sure a file with the appropriate file extension
39
+ exists where cucumber looks for step definitions.
39
40
 
40
41
 
41
42
  """
@@ -29,8 +29,9 @@ Feature: Use * keywords and still get snippets
29
29
  pending # express the regexp above with the code you wish you had
30
30
  end
31
31
 
32
- If you want snippets in a different programming language, just make sure a file
33
- with the appropriate file extension exists where cucumber looks for step definitions.
32
+ If you want snippets in a different programming language,
33
+ just make sure a file with the appropriate file extension
34
+ exists where cucumber looks for step definitions.
34
35
 
35
36
 
36
37
  """
@@ -114,8 +114,9 @@ module Cucumber
114
114
  @io.puts format_string(text, :undefined)
115
115
 
116
116
  if unknown_programming_language
117
- @io.puts format_string("\nIf you want snippets in a different programming language, just make sure a file\n" +
118
- "with the appropriate file extension exists where cucumber looks for step definitions.", :failed)
117
+ @io.puts format_string("\nIf you want snippets in a different programming language,\n" +
118
+ "just make sure a file with the appropriate file extension\n" +
119
+ "exists where cucumber looks for step definitions.", :failed)
119
120
  end
120
121
 
121
122
  @io.puts
@@ -4,7 +4,7 @@ require 'rbconfig'
4
4
 
5
5
  module Cucumber
6
6
  unless defined?(Cucumber::VERSION)
7
- VERSION = '1.1.1'
7
+ VERSION = '1.1.2'
8
8
  BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
9
9
  LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
10
10
  JRUBY = defined?(JRUBY_VERSION)
@@ -21,7 +21,7 @@ module Cucumber
21
21
  attr_writer :__cucumber_step_mother, :__natural_language
22
22
 
23
23
  def __cucumber_invoke(name, multiline_argument=nil) #:nodoc:
24
- STDERR.puts failed + "WARNING: i18n methods within step definitions are deprecated. Use #step instead:" + caller[0] + reset
24
+ STDERR.puts failed + "WARNING: Using 'Given/When/Then' in step definitions is deprecated, use 'step' to call other steps instead:" + caller[0] + reset
25
25
  @__cucumber_step_mother.invoke(name, multiline_argument)
26
26
  end
27
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-30 00:00:00.000000000Z
12
+ date: 2011-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gherkin
16
- requirement: &2157049740 !ruby/object:Gem::Requirement
16
+ requirement: &2157630140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.6.0
21
+ version: 2.6.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2157049740
24
+ version_requirements: *2157630140
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: term-ansicolor
27
- requirement: &2157048900 !ruby/object:Gem::Requirement
27
+ requirement: &2157629640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.6
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2157048900
35
+ version_requirements: *2157629640
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: builder
38
- requirement: &2157047600 !ruby/object:Gem::Requirement
38
+ requirement: &2157629180 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.1.2
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2157047600
46
+ version_requirements: *2157629180
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: diff-lcs
49
- requirement: &2157046160 !ruby/object:Gem::Requirement
49
+ requirement: &2157628720 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.1.2
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2157046160
57
+ version_requirements: *2157628720
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: json
60
- requirement: &2157045500 !ruby/object:Gem::Requirement
60
+ requirement: &2157628260 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,21 +65,21 @@ dependencies:
65
65
  version: 1.4.6
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *2157045500
68
+ version_requirements: *2157628260
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: aruba
71
- requirement: &2157044820 !ruby/object:Gem::Requirement
71
+ requirement: &2157627800 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
75
75
  - !ruby/object:Gem::Version
76
- version: 0.4.6
76
+ version: 0.4.7
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2157044820
79
+ version_requirements: *2157627800
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rake
82
- requirement: &2157044000 !ruby/object:Gem::Requirement
82
+ requirement: &2157627340 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 0.9.2
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2157044000
90
+ version_requirements: *2157627340
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: rspec
93
- requirement: &2157043280 !ruby/object:Gem::Requirement
93
+ requirement: &2151937020 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 2.7.0
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *2157043280
101
+ version_requirements: *2151937020
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: nokogiri
104
- requirement: &2157042660 !ruby/object:Gem::Requirement
104
+ requirement: &2157650660 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 1.5.0
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *2157042660
112
+ version_requirements: *2157650660
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: prawn
115
- requirement: &2157042000 !ruby/object:Gem::Requirement
115
+ requirement: &2157650200 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ~>
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 0.8.4
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *2157042000
123
+ version_requirements: *2157650200
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: prawn-layout
126
- requirement: &2157041060 !ruby/object:Gem::Requirement
126
+ requirement: &2157649740 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ~>
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: 0.8.4
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *2157041060
134
+ version_requirements: *2157649740
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: syntax
137
- requirement: &2157039000 !ruby/object:Gem::Requirement
137
+ requirement: &2157649280 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: 1.0.0
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *2157039000
145
+ version_requirements: *2157649280
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: spork
148
- requirement: &2157038340 !ruby/object:Gem::Requirement
148
+ requirement: &2157648820 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: 0.9.0.rc9
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *2157038340
156
+ version_requirements: *2157648820
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: simplecov
159
- requirement: &2157037460 !ruby/object:Gem::Requirement
159
+ requirement: &2157648360 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: 0.5.4
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *2157037460
167
+ version_requirements: *2157648360
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: yard
170
- requirement: &2157035140 !ruby/object:Gem::Requirement
170
+ requirement: &2157647900 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ~>
@@ -175,10 +175,10 @@ dependencies:
175
175
  version: 0.7.3
176
176
  type: :development
177
177
  prerelease: false
178
- version_requirements: *2157035140
178
+ version_requirements: *2157647900
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: rdiscount
181
- requirement: &2157034080 !ruby/object:Gem::Requirement
181
+ requirement: &2157647440 !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
184
184
  - - ~>
@@ -186,10 +186,10 @@ dependencies:
186
186
  version: 1.6.8
187
187
  type: :development
188
188
  prerelease: false
189
- version_requirements: *2157034080
189
+ version_requirements: *2157647440
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: bcat
192
- requirement: &2157033360 !ruby/object:Gem::Requirement
192
+ requirement: &2157646980 !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
195
195
  - - ~>
@@ -197,10 +197,10 @@ dependencies:
197
197
  version: 0.6.1
198
198
  type: :development
199
199
  prerelease: false
200
- version_requirements: *2157033360
200
+ version_requirements: *2157646980
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: ramaze
203
- requirement: &2157032880 !ruby/object:Gem::Requirement
203
+ requirement: &2157646600 !ruby/object:Gem::Requirement
204
204
  none: false
205
205
  requirements:
206
206
  - - ! '>='
@@ -208,10 +208,10 @@ dependencies:
208
208
  version: '0'
209
209
  type: :development
210
210
  prerelease: false
211
- version_requirements: *2157032880
211
+ version_requirements: *2157646600
212
212
  - !ruby/object:Gem::Dependency
213
213
  name: rack-test
214
- requirement: &2157032000 !ruby/object:Gem::Requirement
214
+ requirement: &2157646060 !ruby/object:Gem::Requirement
215
215
  none: false
216
216
  requirements:
217
217
  - - ! '>='
@@ -219,10 +219,10 @@ dependencies:
219
219
  version: 0.6.1
220
220
  type: :development
221
221
  prerelease: false
222
- version_requirements: *2157032000
222
+ version_requirements: *2157646060
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: webrat
225
- requirement: &2157031080 !ruby/object:Gem::Requirement
225
+ requirement: &2157645560 !ruby/object:Gem::Requirement
226
226
  none: false
227
227
  requirements:
228
228
  - - ! '>='
@@ -230,10 +230,10 @@ dependencies:
230
230
  version: 0.7.3
231
231
  type: :development
232
232
  prerelease: false
233
- version_requirements: *2157031080
233
+ version_requirements: *2157645560
234
234
  - !ruby/object:Gem::Dependency
235
235
  name: sinatra
236
- requirement: &2157030360 !ruby/object:Gem::Requirement
236
+ requirement: &2157645100 !ruby/object:Gem::Requirement
237
237
  none: false
238
238
  requirements:
239
239
  - - ! '>='
@@ -241,10 +241,10 @@ dependencies:
241
241
  version: 1.3.1
242
242
  type: :development
243
243
  prerelease: false
244
- version_requirements: *2157030360
244
+ version_requirements: *2157645100
245
245
  - !ruby/object:Gem::Dependency
246
246
  name: capybara
247
- requirement: &2157029840 !ruby/object:Gem::Requirement
247
+ requirement: &2157644640 !ruby/object:Gem::Requirement
248
248
  none: false
249
249
  requirements:
250
250
  - - ! '>='
@@ -252,7 +252,7 @@ dependencies:
252
252
  version: 1.1.1
253
253
  type: :development
254
254
  prerelease: false
255
- version_requirements: *2157029840
255
+ version_requirements: *2157644640
256
256
  description: Behaviour Driven Development with elegance and joy
257
257
  email: cukes@googlegroups.com
258
258
  executables:
@@ -267,7 +267,6 @@ files:
267
267
  - .rvmrc
268
268
  - .travis.yml
269
269
  - Gemfile
270
- - Gemfile.lock
271
270
  - History.md
272
271
  - LICENSE
273
272
  - README.md
@@ -835,7 +834,7 @@ post_install_message: ! '
835
834
  (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
836
835
 
837
836
 
838
- Thank you for installing cucumber-1.1.1.
837
+ Thank you for installing cucumber-1.1.2.
839
838
 
840
839
  Please be sure to read http://wiki.github.com/cucumber/cucumber/upgrading
841
840
 
@@ -867,7 +866,7 @@ rubyforge_project:
867
866
  rubygems_version: 1.8.10
868
867
  signing_key:
869
868
  specification_version: 3
870
- summary: cucumber-1.1.1
869
+ summary: cucumber-1.1.2
871
870
  test_files:
872
871
  - features/background.feature
873
872
  - features/bootstrap.feature
@@ -1,114 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- cucumber (1.1.1)
5
- builder (>= 2.1.2)
6
- diff-lcs (>= 1.1.2)
7
- gherkin (~> 2.6.0)
8
- json (>= 1.4.6)
9
- term-ansicolor (>= 1.0.6)
10
-
11
- GEM
12
- remote: http://rubygems.org/
13
- specs:
14
- aruba (0.4.6)
15
- bcat (>= 0.6.1)
16
- childprocess (>= 0.2.0)
17
- cucumber (>= 1.0.2)
18
- rdiscount (>= 1.6.8)
19
- rspec (>= 2.6.0)
20
- bcat (0.6.2)
21
- rack (~> 1.0)
22
- builder (3.0.0)
23
- capybara (1.1.1)
24
- mime-types (>= 1.16)
25
- nokogiri (>= 1.3.3)
26
- rack (>= 1.0.0)
27
- rack-test (>= 0.5.4)
28
- selenium-webdriver (~> 2.0)
29
- xpath (~> 0.1.4)
30
- childprocess (0.2.2)
31
- ffi (~> 1.0.6)
32
- diff-lcs (1.1.3)
33
- ffi (1.0.10)
34
- gherkin (2.6.0)
35
- json (>= 1.4.6)
36
- innate (2011.10)
37
- rack (>= 1.1.0)
38
- json (1.6.1)
39
- json_pure (1.6.1)
40
- mime-types (1.17.2)
41
- multi_json (1.0.3)
42
- nokogiri (1.5.0)
43
- prawn (0.8.4)
44
- prawn-core (>= 0.8.4, < 0.9)
45
- prawn-layout (>= 0.8.4, < 0.9)
46
- prawn-security (>= 0.8.4, < 0.9)
47
- prawn-core (0.8.4)
48
- prawn-layout (0.8.4)
49
- prawn-security (0.8.4)
50
- rack (1.3.5)
51
- rack-protection (1.1.4)
52
- rack
53
- rack-test (0.6.1)
54
- rack (>= 1.0)
55
- rake (0.9.2.2)
56
- ramaze (2011.10.23)
57
- innate (>= 2010.03)
58
- rdiscount (1.6.8)
59
- rspec (2.7.0)
60
- rspec-core (~> 2.7.0)
61
- rspec-expectations (~> 2.7.0)
62
- rspec-mocks (~> 2.7.0)
63
- rspec-core (2.7.1)
64
- rspec-expectations (2.7.0)
65
- diff-lcs (~> 1.1.2)
66
- rspec-mocks (2.7.0)
67
- rubyzip (0.9.4)
68
- selenium-webdriver (2.8.0)
69
- childprocess (>= 0.2.1)
70
- ffi (>= 1.0.7)
71
- json_pure
72
- rubyzip
73
- simplecov (0.5.4)
74
- multi_json (~> 1.0.3)
75
- simplecov-html (~> 0.5.3)
76
- simplecov-html (0.5.3)
77
- sinatra (1.3.1)
78
- rack (~> 1.3, >= 1.3.4)
79
- rack-protection (~> 1.1, >= 1.1.2)
80
- tilt (~> 1.3, >= 1.3.3)
81
- spork (0.9.0.rc9)
82
- syntax (1.0.0)
83
- term-ansicolor (1.0.7)
84
- tilt (1.3.3)
85
- webrat (0.7.3)
86
- nokogiri (>= 1.2.0)
87
- rack (>= 1.0)
88
- rack-test (>= 0.5.3)
89
- xpath (0.1.4)
90
- nokogiri (~> 1.3)
91
- yard (0.7.3)
92
-
93
- PLATFORMS
94
- ruby
95
-
96
- DEPENDENCIES
97
- aruba (~> 0.4.6)
98
- bcat (~> 0.6.1)
99
- capybara (>= 1.1.1)
100
- cucumber!
101
- nokogiri (>= 1.5.0)
102
- prawn (~> 0.8.4)
103
- prawn-layout (~> 0.8.4)
104
- rack-test (>= 0.6.1)
105
- rake (>= 0.9.2)
106
- ramaze
107
- rdiscount (~> 1.6.8)
108
- rspec (>= 2.7.0)
109
- simplecov (>= 0.5.4)
110
- sinatra (>= 1.3.1)
111
- spork (>= 0.9.0.rc9)
112
- syntax (>= 1.0.0)
113
- webrat (>= 0.7.3)
114
- yard (~> 0.7.3)