cucumber 0.10.0 → 0.10.1
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/.gitignore +1 -0
- data/Gemfile +1 -1
- data/History.txt +20 -0
- data/README.rdoc +1 -1
- data/bin/cucumber +1 -1
- data/cucumber.gemspec +19 -12
- data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +1 -1
- data/examples/i18n/he/features/step_definitons/calculator_steps.rb +1 -1
- data/examples/i18n/ro/features/adunare.feature +12 -0
- data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +4 -7
- data/examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb +3 -3
- data/features/background.feature +10 -10
- data/features/bootstrap.feature +13 -0
- data/features/execute_with_tag_filter.feature +2 -2
- data/features/hooks.feature +2 -2
- data/features/iso-8859-1.feature +6 -0
- data/features/stats_formatters.feature +2 -2
- data/features/step_definitions/cucumber_steps.rb +8 -2
- data/features/step_definitions/iso-8859-1_steps.rb +24 -0
- data/features/support/env.rb +2 -2
- data/features/tagged_hooks.feature +5 -5
- data/features/transforms.feature +63 -0
- data/gem_tasks/examples.rake +1 -1
- data/legacy_features/diffing.feature +1 -1
- data/legacy_features/html_formatter.feature +1 -1
- data/legacy_features/html_formatter/a.html +68 -116
- data/legacy_features/language_help.feature +44 -45
- data/legacy_features/wire_protocol.feature +2 -2
- data/legacy_features/wire_protocol_erb.feature +57 -0
- data/lib/cucumber/ast/table.rb +2 -2
- data/lib/cucumber/ast/tree_walker.rb +2 -2
- data/lib/cucumber/cli/configuration.rb +1 -1
- data/lib/cucumber/cli/options.rb +4 -0
- data/lib/cucumber/feature_file.rb +45 -6
- data/lib/cucumber/formatter/console.rb +1 -1
- data/lib/cucumber/formatter/cucumber.css +21 -17
- data/lib/cucumber/formatter/cucumber.sass +170 -194
- data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +2 -2
- data/lib/cucumber/formatter/html.rb +8 -5
- data/lib/cucumber/platform.rb +3 -3
- data/lib/cucumber/rake/task.rb +22 -15
- data/lib/cucumber/rb_support/rb_transform.rb +17 -0
- data/lib/cucumber/rb_support/rb_world.rb +2 -2
- data/lib/cucumber/runtime/for_programming_languages.rb +3 -1
- data/lib/cucumber/runtime/user_interface.rb +2 -2
- data/lib/cucumber/wire_support/configuration.rb +2 -1
- data/spec/cucumber/ast/table_spec.rb +10 -0
- data/spec/cucumber/cli/options_spec.rb +7 -0
- data/spec/cucumber/formatter/html_spec.rb +1 -3
- data/spec/cucumber/rb_support/rb_transform_spec.rb +21 -0
- metadata +104 -98
- data/examples/i18n/ro/features/suma.feature +0 -11
@@ -64,7 +64,7 @@ module Cucumber
|
|
64
64
|
|
65
65
|
error_message = exception ? "#{exception.message} (#{exception.class})\n#{exception.backtrace.join("\n")}" : nil
|
66
66
|
unless @outline
|
67
|
-
@gf.result(Gherkin::Formatter::Model::Result.new(status, error_message))
|
67
|
+
@gf.result(Gherkin::Formatter::Model::Result.new(status, nil, error_message))
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
@@ -76,7 +76,7 @@ module Cucumber
|
|
76
76
|
@gf.eof
|
77
77
|
end
|
78
78
|
|
79
|
-
def embed(file, mime_type)
|
79
|
+
def embed(file, mime_type, label)
|
80
80
|
@gf.embedding(mime_type, File.read(file))
|
81
81
|
end
|
82
82
|
end
|
@@ -23,17 +23,17 @@ module Cucumber
|
|
23
23
|
@delayed_announcements = []
|
24
24
|
end
|
25
25
|
|
26
|
-
def embed(file, mime_type)
|
26
|
+
def embed(file, mime_type, label)
|
27
27
|
case(mime_type)
|
28
28
|
when /^image\/(png|gif|jpg|jpeg)/
|
29
|
-
embed_image(file)
|
29
|
+
embed_image(file, label)
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
def embed_image(file)
|
33
|
+
def embed_image(file, label)
|
34
34
|
id = file.hash
|
35
35
|
@builder.span(:class => 'embed') do |pre|
|
36
|
-
pre << %{<a href="" onclick="img=document.getElementById('#{id}'); img.style.display = (img.style.display == 'none' ? 'block' : 'none');return false"
|
36
|
+
pre << %{<a href="" onclick="img=document.getElementById('#{id}'); img.style.display = (img.style.display == 'none' ? 'block' : 'none');return false">#{label}</a><br>
|
37
37
|
<img id="#{id}" style="display: none" src="#{file}"/>}
|
38
38
|
end
|
39
39
|
end
|
@@ -164,6 +164,9 @@ module Cucumber
|
|
164
164
|
end
|
165
165
|
|
166
166
|
def scenario_name(keyword, name, file_colon_line, source_indent)
|
167
|
+
@builder.span(:class => 'scenario_file') do
|
168
|
+
@builder << file_colon_line
|
169
|
+
end
|
167
170
|
@listing_background = false
|
168
171
|
@builder.h3(:id => "scenario_#{@scenario_number}") do
|
169
172
|
@builder.span(keyword + ':', :class => 'keyword')
|
@@ -553,7 +556,7 @@ module Cucumber
|
|
553
556
|
end
|
554
557
|
|
555
558
|
def backtrace_line(line)
|
556
|
-
line.gsub(
|
559
|
+
line.gsub(/\A([^:]*\.(?:rb|feature|haml)):(\d*).*\z/) do
|
557
560
|
if ENV['TM_PROJECT_DIRECTORY']
|
558
561
|
"<a href=\"txmt://open?url=file://#{File.expand_path($1)}&line=#{$2}\">#{$1}:#{$2}</a> "
|
559
562
|
else
|
data/lib/cucumber/platform.rb
CHANGED
@@ -4,7 +4,7 @@ require 'rbconfig'
|
|
4
4
|
|
5
5
|
module Cucumber
|
6
6
|
unless defined?(Cucumber::VERSION)
|
7
|
-
VERSION = '0.10.
|
7
|
+
VERSION = '0.10.1'
|
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)
|
@@ -20,8 +20,8 @@ unless defined?(Cucumber::VERSION)
|
|
20
20
|
class << self
|
21
21
|
attr_accessor :use_full_backtrace
|
22
22
|
|
23
|
-
def file_mode(m) #:nodoc:
|
24
|
-
RUBY_1_9 ? "#{m}
|
23
|
+
def file_mode(m, encoding="UTF-8") #:nodoc:
|
24
|
+
RUBY_1_9 ? "#{m}:#{encoding}" : m
|
25
25
|
end
|
26
26
|
end
|
27
27
|
self.use_full_backtrace = false
|
data/lib/cucumber/rake/task.rb
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
require 'cucumber/platform'
|
2
2
|
|
3
|
+
begin
|
4
|
+
# Support Rake > 0.8.7
|
5
|
+
require 'rake/dsl_definition'
|
6
|
+
include Rake::DSL
|
7
|
+
rescue LoadError
|
8
|
+
end
|
9
|
+
|
3
10
|
module Cucumber
|
4
11
|
module Rake
|
5
12
|
# Defines a Rake task for running features.
|
@@ -8,7 +15,7 @@ module Cucumber
|
|
8
15
|
#
|
9
16
|
# Cucumber::Rake::Task.new
|
10
17
|
#
|
11
|
-
# This will define a task named <tt>cucumber</tt> described as 'Run Cucumber features'.
|
18
|
+
# This will define a task named <tt>cucumber</tt> described as 'Run Cucumber features'.
|
12
19
|
# It will use steps from 'features/**/*.rb' and features in 'features/**/*.feature'.
|
13
20
|
#
|
14
21
|
# To further configure the task, you can pass a block:
|
@@ -22,36 +29,36 @@ module Cucumber
|
|
22
29
|
# Cucumber::Rake::Task.new do |t|
|
23
30
|
# t.rcov = true
|
24
31
|
# end
|
25
|
-
#
|
32
|
+
#
|
26
33
|
# See the attributes for additional configuration possibilities.
|
27
34
|
class Task
|
28
35
|
class InProcessCucumberRunner #:nodoc:
|
29
36
|
attr_reader :args
|
30
|
-
|
37
|
+
|
31
38
|
def initialize(libs, cucumber_opts, feature_files)
|
32
39
|
raise "libs must be an Array when running in-process" unless Array === libs
|
33
40
|
libs.reverse.each{|lib| $LOAD_PATH.unshift(lib)}
|
34
41
|
@args = (
|
35
|
-
cucumber_opts +
|
42
|
+
cucumber_opts +
|
36
43
|
feature_files
|
37
44
|
).flatten.compact
|
38
45
|
end
|
39
|
-
|
46
|
+
|
40
47
|
def run
|
41
48
|
require 'cucumber/cli/main'
|
42
49
|
failure = Cucumber::Cli::Main.execute(args)
|
43
50
|
raise "Cucumber failed" if failure
|
44
51
|
end
|
45
52
|
end
|
46
|
-
|
53
|
+
|
47
54
|
class ForkedCucumberRunner #:nodoc:
|
48
55
|
attr_reader :args
|
49
|
-
|
56
|
+
|
50
57
|
def initialize(libs, cucumber_bin, cucumber_opts, feature_files)
|
51
58
|
@args = (
|
52
|
-
['-I'] + load_path(libs) +
|
53
|
-
quoted_binary(cucumber_bin) +
|
54
|
-
cucumber_opts +
|
59
|
+
['-I'] + load_path(libs) +
|
60
|
+
quoted_binary(cucumber_bin) +
|
61
|
+
cucumber_opts +
|
55
62
|
feature_files
|
56
63
|
).flatten
|
57
64
|
end
|
@@ -76,11 +83,11 @@ module Cucumber
|
|
76
83
|
class RCovCucumberRunner < ForkedCucumberRunner #:nodoc:
|
77
84
|
def initialize(libs, cucumber_bin, cucumber_opts, feature_files, rcov_opts)
|
78
85
|
@args = (
|
79
|
-
['-I'] + load_path(libs) +
|
86
|
+
['-I'] + load_path(libs) +
|
80
87
|
['-S', 'rcov'] + rcov_opts +
|
81
|
-
quoted_binary(cucumber_bin) +
|
82
|
-
['--'] +
|
83
|
-
cucumber_opts +
|
88
|
+
quoted_binary(cucumber_bin) +
|
89
|
+
['--'] +
|
90
|
+
cucumber_opts +
|
84
91
|
feature_files
|
85
92
|
).flatten
|
86
93
|
end
|
@@ -117,7 +124,7 @@ module Cucumber
|
|
117
124
|
# your load path and gems.
|
118
125
|
attr_accessor :fork
|
119
126
|
|
120
|
-
# Define what profile to be used. When used with cucumber_opts it is simply appended
|
127
|
+
# Define what profile to be used. When used with cucumber_opts it is simply appended
|
121
128
|
# to it. Will be ignored when CUCUMBER_OPTS is used.
|
122
129
|
attr_accessor :profile
|
123
130
|
|
@@ -32,6 +32,23 @@ module Cucumber
|
|
32
32
|
@rb_language.current_world.cucumber_instance_exec(true, @regexp.inspect, *args, &@proc)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
|
36
|
+
def to_s
|
37
|
+
strip_captures(strip_anchors(@regexp.source))
|
38
|
+
end
|
39
|
+
|
40
|
+
private
|
41
|
+
|
42
|
+
def strip_captures(regexp_source)
|
43
|
+
regexp_source.
|
44
|
+
gsub(/(\()/, '').
|
45
|
+
gsub(/(\))/, '')
|
46
|
+
end
|
47
|
+
|
48
|
+
def strip_anchors(regexp_source)
|
49
|
+
regexp_source.
|
50
|
+
gsub(/(^\^|\$$)/, '')
|
51
|
+
end
|
35
52
|
end
|
36
53
|
end
|
37
54
|
end
|
@@ -48,8 +48,8 @@ module Cucumber
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# See StepMother#embed
|
51
|
-
def embed(file, mime_type)
|
52
|
-
@__cucumber_step_mother.embed(file, mime_type)
|
51
|
+
def embed(file, mime_type, label='Screenshot')
|
52
|
+
@__cucumber_step_mother.embed(file, mime_type, label)
|
53
53
|
end
|
54
54
|
|
55
55
|
# Prints out the world class, followed by all included modules.
|
@@ -49,8 +49,8 @@ module Cucumber
|
|
49
49
|
# Embed +file+ of MIME type +mime_type+ into the output. This may or may
|
50
50
|
# not be ignored, depending on what kind of formatter(s) are active.
|
51
51
|
#
|
52
|
-
def embed(file, mime_type)
|
53
|
-
@visitor.embed(file, mime_type)
|
52
|
+
def embed(file, mime_type, label)
|
53
|
+
@visitor.embed(file, mime_type, label)
|
54
54
|
end
|
55
55
|
|
56
56
|
private
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'yaml'
|
2
|
+
require 'erb'
|
2
3
|
|
3
4
|
module Cucumber
|
4
5
|
module WireSupport
|
@@ -6,7 +7,7 @@ module Cucumber
|
|
6
7
|
attr_reader :host, :port
|
7
8
|
|
8
9
|
def initialize(wire_file)
|
9
|
-
params = YAML.
|
10
|
+
params = YAML.load(ERB.new(File.read(wire_file)).result)
|
10
11
|
@host = params['host']
|
11
12
|
@port = params['port']
|
12
13
|
@timeouts = default_timeouts.merge(params['timeout'] || {})
|
@@ -55,6 +55,12 @@ module Cucumber
|
|
55
55
|
@table.hashes.first['one'].should == 4444
|
56
56
|
end
|
57
57
|
|
58
|
+
it "should allow mapping columns and modify the rows as well" do
|
59
|
+
@table.map_column!(:one) { |v| v.to_i }
|
60
|
+
@table.rows.first.should include(4444)
|
61
|
+
@table.rows.first.should_not include('4444')
|
62
|
+
end
|
63
|
+
|
58
64
|
it "should pass silently if a mapped column does not exist in non-strict mode" do
|
59
65
|
lambda {
|
60
66
|
@table.map_column!('two', false) { |v| v.to_i }
|
@@ -67,6 +73,10 @@ module Cucumber
|
|
67
73
|
}.should raise_error('The column named "two" does not exist')
|
68
74
|
end
|
69
75
|
|
76
|
+
it "should return the table" do
|
77
|
+
(@table.map_column!(:one) { |v| v.to_i }).should == @table
|
78
|
+
end
|
79
|
+
|
70
80
|
describe "#match" do
|
71
81
|
before(:each) do
|
72
82
|
@table = Table.new([
|
@@ -112,6 +112,13 @@ module Cli
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
115
|
+
context '-l LINES or --lines LINES' do
|
116
|
+
it "adds line numbers to args" do
|
117
|
+
options.parse!(%w{-l24 FILE})
|
118
|
+
options.instance_variable_get(:@args).should == ['FILE:24']
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
115
122
|
context '-p PROFILE or --profile PROFILE' do
|
116
123
|
|
117
124
|
it "notifies the user that an individual profile is being used" do
|
@@ -11,9 +11,7 @@ module Cucumber
|
|
11
11
|
extend SpecHelperDsl
|
12
12
|
include SpecHelper
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
matcher.define :have_css_node do |css, regexp|
|
14
|
+
RSpec::Matchers.define :have_css_node do |css, regexp|
|
17
15
|
match do |doc|
|
18
16
|
nodes = doc.css(css)
|
19
17
|
nodes.detect{ |node| node.text =~ regexp }
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'cucumber/rb_support/rb_transform'
|
3
|
+
|
4
|
+
module Cucumber
|
5
|
+
module RbSupport
|
6
|
+
describe RbTransform do
|
7
|
+
def transform(regexp)
|
8
|
+
RbTransform.new(nil, regexp, lambda { |a| })
|
9
|
+
end
|
10
|
+
describe "#to_s" do
|
11
|
+
it "removes the capture group parentheses" do
|
12
|
+
transform(/(a)bc/).to_s.should == "abc"
|
13
|
+
end
|
14
|
+
|
15
|
+
it "strips away anchors" do
|
16
|
+
transform(/^xyz$/).to_s.should == "xyz"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 10
|
8
|
-
- 0
|
9
|
-
version: 0.10.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.10.1
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- "Aslak Helles\xC3\xB8y"
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
13
|
+
date: 2011-03-20 00:00:00 +00:00
|
18
14
|
default_executable: cucumber
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -22,13 +18,9 @@ dependencies:
|
|
22
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
23
19
|
none: false
|
24
20
|
requirements:
|
25
|
-
- -
|
21
|
+
- - ">="
|
26
22
|
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
- 2
|
29
|
-
- 3
|
30
|
-
- 2
|
31
|
-
version: 2.3.2
|
23
|
+
version: 2.3.5
|
32
24
|
type: :runtime
|
33
25
|
prerelease: false
|
34
26
|
version_requirements: *id001
|
@@ -37,12 +29,8 @@ dependencies:
|
|
37
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
38
30
|
none: false
|
39
31
|
requirements:
|
40
|
-
- -
|
32
|
+
- - ">="
|
41
33
|
- !ruby/object:Gem::Version
|
42
|
-
segments:
|
43
|
-
- 1
|
44
|
-
- 0
|
45
|
-
- 5
|
46
34
|
version: 1.0.5
|
47
35
|
type: :runtime
|
48
36
|
prerelease: false
|
@@ -54,10 +42,6 @@ dependencies:
|
|
54
42
|
requirements:
|
55
43
|
- - ">="
|
56
44
|
- !ruby/object:Gem::Version
|
57
|
-
segments:
|
58
|
-
- 2
|
59
|
-
- 1
|
60
|
-
- 2
|
61
45
|
version: 2.1.2
|
62
46
|
type: :runtime
|
63
47
|
prerelease: false
|
@@ -67,12 +51,8 @@ dependencies:
|
|
67
51
|
requirement: &id004 !ruby/object:Gem::Requirement
|
68
52
|
none: false
|
69
53
|
requirements:
|
70
|
-
- -
|
54
|
+
- - ">="
|
71
55
|
- !ruby/object:Gem::Version
|
72
|
-
segments:
|
73
|
-
- 1
|
74
|
-
- 1
|
75
|
-
- 2
|
76
56
|
version: 1.1.2
|
77
57
|
type: :runtime
|
78
58
|
prerelease: false
|
@@ -82,133 +62,97 @@ dependencies:
|
|
82
62
|
requirement: &id005 !ruby/object:Gem::Requirement
|
83
63
|
none: false
|
84
64
|
requirements:
|
85
|
-
- -
|
65
|
+
- - ">="
|
86
66
|
- !ruby/object:Gem::Version
|
87
|
-
segments:
|
88
|
-
- 1
|
89
|
-
- 4
|
90
|
-
- 6
|
91
67
|
version: 1.4.6
|
92
68
|
type: :runtime
|
93
69
|
prerelease: false
|
94
70
|
version_requirements: *id005
|
95
71
|
- !ruby/object:Gem::Dependency
|
96
|
-
name:
|
72
|
+
name: aruba
|
97
73
|
requirement: &id006 !ruby/object:Gem::Requirement
|
98
74
|
none: false
|
99
75
|
requirements:
|
100
|
-
- -
|
76
|
+
- - ">="
|
101
77
|
- !ruby/object:Gem::Version
|
102
|
-
|
103
|
-
- 0
|
104
|
-
- 8
|
105
|
-
- 7
|
106
|
-
version: 0.8.7
|
78
|
+
version: 0.3.4
|
107
79
|
type: :development
|
108
80
|
prerelease: false
|
109
81
|
version_requirements: *id006
|
110
82
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
83
|
+
name: rake
|
112
84
|
requirement: &id007 !ruby/object:Gem::Requirement
|
113
85
|
none: false
|
114
86
|
requirements:
|
115
|
-
- -
|
87
|
+
- - ">="
|
116
88
|
- !ruby/object:Gem::Version
|
117
|
-
|
118
|
-
- 2
|
119
|
-
- 2
|
120
|
-
- 0
|
121
|
-
version: 2.2.0
|
89
|
+
version: 0.8.7
|
122
90
|
type: :development
|
123
91
|
prerelease: false
|
124
92
|
version_requirements: *id007
|
125
93
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
94
|
+
name: rspec
|
127
95
|
requirement: &id008 !ruby/object:Gem::Requirement
|
128
96
|
none: false
|
129
97
|
requirements:
|
130
|
-
- -
|
98
|
+
- - ">="
|
131
99
|
- !ruby/object:Gem::Version
|
132
|
-
|
133
|
-
- 1
|
134
|
-
- 4
|
135
|
-
- 3
|
136
|
-
version: 1.4.3
|
100
|
+
version: 2.5.0
|
137
101
|
type: :development
|
138
102
|
prerelease: false
|
139
103
|
version_requirements: *id008
|
140
104
|
- !ruby/object:Gem::Dependency
|
141
|
-
name:
|
105
|
+
name: nokogiri
|
142
106
|
requirement: &id009 !ruby/object:Gem::Requirement
|
143
107
|
none: false
|
144
108
|
requirements:
|
145
|
-
- - "
|
109
|
+
- - ">="
|
146
110
|
- !ruby/object:Gem::Version
|
147
|
-
|
148
|
-
- 0
|
149
|
-
- 8
|
150
|
-
- 4
|
151
|
-
version: 0.8.4
|
111
|
+
version: 1.4.4
|
152
112
|
type: :development
|
153
113
|
prerelease: false
|
154
114
|
version_requirements: *id009
|
155
115
|
- !ruby/object:Gem::Dependency
|
156
|
-
name: prawn
|
116
|
+
name: prawn
|
157
117
|
requirement: &id010 !ruby/object:Gem::Requirement
|
158
118
|
none: false
|
159
119
|
requirements:
|
160
120
|
- - "="
|
161
121
|
- !ruby/object:Gem::Version
|
162
|
-
segments:
|
163
|
-
- 0
|
164
|
-
- 8
|
165
|
-
- 4
|
166
122
|
version: 0.8.4
|
167
123
|
type: :development
|
168
124
|
prerelease: false
|
169
125
|
version_requirements: *id010
|
170
126
|
- !ruby/object:Gem::Dependency
|
171
|
-
name:
|
127
|
+
name: prawn-layout
|
172
128
|
requirement: &id011 !ruby/object:Gem::Requirement
|
173
129
|
none: false
|
174
130
|
requirements:
|
175
|
-
- -
|
131
|
+
- - "="
|
176
132
|
- !ruby/object:Gem::Version
|
177
|
-
|
178
|
-
- 1
|
179
|
-
- 0
|
180
|
-
- 0
|
181
|
-
version: 1.0.0
|
133
|
+
version: 0.8.4
|
182
134
|
type: :development
|
183
135
|
prerelease: false
|
184
136
|
version_requirements: *id011
|
185
137
|
- !ruby/object:Gem::Dependency
|
186
|
-
name:
|
138
|
+
name: syntax
|
187
139
|
requirement: &id012 !ruby/object:Gem::Requirement
|
188
140
|
none: false
|
189
141
|
requirements:
|
190
|
-
- -
|
142
|
+
- - ">="
|
191
143
|
- !ruby/object:Gem::Version
|
192
|
-
|
193
|
-
- 0
|
194
|
-
- 8
|
195
|
-
- 4
|
196
|
-
version: 0.8.4
|
144
|
+
version: 1.0.0
|
197
145
|
type: :development
|
198
146
|
prerelease: false
|
199
147
|
version_requirements: *id012
|
200
148
|
- !ruby/object:Gem::Dependency
|
201
|
-
name:
|
149
|
+
name: spork
|
202
150
|
requirement: &id013 !ruby/object:Gem::Requirement
|
203
151
|
none: false
|
204
152
|
requirements:
|
205
|
-
- -
|
153
|
+
- - ">="
|
206
154
|
- !ruby/object:Gem::Version
|
207
|
-
|
208
|
-
- 0
|
209
|
-
- 2
|
210
|
-
- 7
|
211
|
-
version: 0.2.7
|
155
|
+
version: 0.8.4
|
212
156
|
type: :development
|
213
157
|
prerelease: false
|
214
158
|
version_requirements: *id013
|
@@ -217,16 +161,67 @@ dependencies:
|
|
217
161
|
requirement: &id014 !ruby/object:Gem::Requirement
|
218
162
|
none: false
|
219
163
|
requirements:
|
220
|
-
- -
|
164
|
+
- - ">="
|
221
165
|
- !ruby/object:Gem::Version
|
222
|
-
|
223
|
-
- 0
|
224
|
-
- 3
|
225
|
-
- 7
|
226
|
-
version: 0.3.7
|
166
|
+
version: 0.4.1
|
227
167
|
type: :development
|
228
168
|
prerelease: false
|
229
169
|
version_requirements: *id014
|
170
|
+
- !ruby/object:Gem::Dependency
|
171
|
+
name: ramaze
|
172
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: "0"
|
178
|
+
type: :development
|
179
|
+
prerelease: false
|
180
|
+
version_requirements: *id015
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rack-test
|
183
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
184
|
+
none: false
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 0.5.7
|
189
|
+
type: :development
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: *id016
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: webrat
|
194
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: 0.7.3
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: *id017
|
203
|
+
- !ruby/object:Gem::Dependency
|
204
|
+
name: sinatra
|
205
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
206
|
+
none: false
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: 1.2.0
|
211
|
+
type: :development
|
212
|
+
prerelease: false
|
213
|
+
version_requirements: *id018
|
214
|
+
- !ruby/object:Gem::Dependency
|
215
|
+
name: capybara
|
216
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 0.4.1
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: *id019
|
230
225
|
description: Behaviour Driven Development with elegance and joy
|
231
226
|
email: cukes@googlegroups.com
|
232
227
|
executables:
|
@@ -380,8 +375,8 @@ files:
|
|
380
375
|
- examples/i18n/pt/features/support/env.rb
|
381
376
|
- examples/i18n/pt/lib/calculadora.rb
|
382
377
|
- examples/i18n/ro/Rakefile
|
378
|
+
- examples/i18n/ro/features/adunare.feature
|
383
379
|
- examples/i18n/ro/features/step_definitons/calculator_steps.rb
|
384
|
-
- examples/i18n/ro/features/suma.feature
|
385
380
|
- examples/i18n/ro/lib/calculator.rb
|
386
381
|
- examples/i18n/ru/Rakefile
|
387
382
|
- examples/i18n/ru/features/addition.feature
|
@@ -498,14 +493,18 @@ files:
|
|
498
493
|
- examples/watir/features/support/env.rb
|
499
494
|
- examples/watir/features/support/screenshots.rb
|
500
495
|
- features/background.feature
|
496
|
+
- features/bootstrap.feature
|
501
497
|
- features/custom_formatter.feature
|
502
498
|
- features/execute_with_tag_filter.feature
|
503
499
|
- features/hooks.feature
|
500
|
+
- features/iso-8859-1.feature
|
504
501
|
- features/json_formatter.feature
|
505
502
|
- features/stats_formatters.feature
|
506
503
|
- features/step_definitions/cucumber_steps.rb
|
504
|
+
- features/step_definitions/iso-8859-1_steps.rb
|
507
505
|
- features/support/env.rb
|
508
506
|
- features/tagged_hooks.feature
|
507
|
+
- features/transforms.feature
|
509
508
|
- fixtures/json/features/background.feature
|
510
509
|
- fixtures/json/features/embed.feature
|
511
510
|
- fixtures/json/features/one_passing_one_failing.feature
|
@@ -626,6 +625,7 @@ files:
|
|
626
625
|
- legacy_features/transform.feature
|
627
626
|
- legacy_features/unicode_table.feature
|
628
627
|
- legacy_features/wire_protocol.feature
|
628
|
+
- legacy_features/wire_protocol_erb.feature
|
629
629
|
- legacy_features/wire_protocol_table_diffing.feature
|
630
630
|
- legacy_features/wire_protocol_tags.feature
|
631
631
|
- legacy_features/wire_protocol_timeouts.feature
|
@@ -763,6 +763,7 @@ files:
|
|
763
763
|
- spec/cucumber/formatter/spec_helper.rb
|
764
764
|
- spec/cucumber/rb_support/rb_language_spec.rb
|
765
765
|
- spec/cucumber/rb_support/rb_step_definition_spec.rb
|
766
|
+
- spec/cucumber/rb_support/rb_transform_spec.rb
|
766
767
|
- spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
|
767
768
|
- spec/cucumber/runtime/support_code_spec.rb
|
768
769
|
- spec/cucumber/runtime_spec.rb
|
@@ -782,7 +783,7 @@ licenses: []
|
|
782
783
|
|
783
784
|
post_install_message: "\n\
|
784
785
|
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n\
|
785
|
-
Thank you for installing cucumber-0.10.
|
786
|
+
Thank you for installing cucumber-0.10.1.\n\
|
786
787
|
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading\n\
|
787
788
|
for important information about this release. Happy cuking!\n\n\
|
788
789
|
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n"
|
@@ -795,7 +796,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
795
796
|
requirements:
|
796
797
|
- - ">="
|
797
798
|
- !ruby/object:Gem::Version
|
798
|
-
hash: -
|
799
|
+
hash: -4213399443349988344
|
799
800
|
segments:
|
800
801
|
- 0
|
801
802
|
version: "0"
|
@@ -804,27 +805,31 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
804
805
|
requirements:
|
805
806
|
- - ">="
|
806
807
|
- !ruby/object:Gem::Version
|
807
|
-
hash: -
|
808
|
+
hash: -4213399443349988344
|
808
809
|
segments:
|
809
810
|
- 0
|
810
811
|
version: "0"
|
811
812
|
requirements: []
|
812
813
|
|
813
814
|
rubyforge_project:
|
814
|
-
rubygems_version: 1.
|
815
|
+
rubygems_version: 1.6.2
|
815
816
|
signing_key:
|
816
817
|
specification_version: 3
|
817
|
-
summary: cucumber-0.10.
|
818
|
+
summary: cucumber-0.10.1
|
818
819
|
test_files:
|
819
820
|
- features/background.feature
|
821
|
+
- features/bootstrap.feature
|
820
822
|
- features/custom_formatter.feature
|
821
823
|
- features/execute_with_tag_filter.feature
|
822
824
|
- features/hooks.feature
|
825
|
+
- features/iso-8859-1.feature
|
823
826
|
- features/json_formatter.feature
|
824
827
|
- features/stats_formatters.feature
|
825
828
|
- features/step_definitions/cucumber_steps.rb
|
829
|
+
- features/step_definitions/iso-8859-1_steps.rb
|
826
830
|
- features/support/env.rb
|
827
831
|
- features/tagged_hooks.feature
|
832
|
+
- features/transforms.feature
|
828
833
|
- spec/cucumber/ast/background_spec.rb
|
829
834
|
- spec/cucumber/ast/feature_factory.rb
|
830
835
|
- spec/cucumber/ast/feature_spec.rb
|
@@ -851,6 +856,7 @@ test_files:
|
|
851
856
|
- spec/cucumber/formatter/spec_helper.rb
|
852
857
|
- spec/cucumber/rb_support/rb_language_spec.rb
|
853
858
|
- spec/cucumber/rb_support/rb_step_definition_spec.rb
|
859
|
+
- spec/cucumber/rb_support/rb_transform_spec.rb
|
854
860
|
- spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
|
855
861
|
- spec/cucumber/runtime/support_code_spec.rb
|
856
862
|
- spec/cucumber/runtime_spec.rb
|