cucumber 0.9.0 → 0.9.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/Gemfile +7 -2
- data/History.txt +5 -0
- data/Rakefile +1 -1
- data/cucumber.gemspec +2 -2
- data/features/api/list_step_defs_as_json.feature +45 -0
- data/features/step_definitions/cucumber_steps.rb +8 -5
- data/features/support/env.rb +7 -0
- data/lib/cucumber.rb +5 -1
- data/lib/cucumber/configuration.rb +14 -2
- data/lib/cucumber/platform.rb +5 -4
- data/lib/cucumber/rb_support/rb_language.rb +6 -5
- data/lib/cucumber/runtime.rb +2 -1
- data/lib/cucumber/runtime/support_code.rb +11 -0
- data/lib/cucumber/step_definitions.rb +16 -0
- data/spec/cucumber/configuration_spec.rb +23 -0
- data/spec/cucumber/rb_support/rb_language_spec.rb +28 -0
- metadata +55 -83
data/Gemfile
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
gemspec
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
# Use source from sibling folders (if available) instead of gems
|
5
|
+
%w[gherkin].each do |g|
|
6
|
+
if File.directory?(File.dirname(__FILE__) + "/../#{g}")
|
7
|
+
@dependencies.reject!{|dep| dep.name == g}
|
8
|
+
gem g, :path => "../#{g}"
|
9
|
+
end
|
10
|
+
end
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
data/cucumber.gemspec
CHANGED
@@ -24,7 +24,7 @@ for important information about this release. Happy cuking!
|
|
24
24
|
|
25
25
|
}
|
26
26
|
|
27
|
-
s.add_dependency 'gherkin', '~> 2.2.
|
27
|
+
s.add_dependency 'gherkin', '~> 2.2.5'
|
28
28
|
s.add_dependency 'term-ansicolor', '~> 1.0.5'
|
29
29
|
s.add_dependency 'builder', '~> 2.1.2'
|
30
30
|
s.add_dependency 'diff-lcs', '~> 1.1.2'
|
@@ -37,7 +37,7 @@ for important information about this release. Happy cuking!
|
|
37
37
|
s.add_development_dependency 'prawn-layout', '= 0.8.4'
|
38
38
|
s.add_development_dependency 'syntax', '~> 1.0.0'
|
39
39
|
s.add_development_dependency 'spork', '~> 0.8.4'
|
40
|
-
s.add_development_dependency 'rcov', '~> 0.9.9'
|
40
|
+
# s.add_development_dependency 'rcov', '~> 0.9.9'
|
41
41
|
|
42
42
|
s.rubygems_version = "1.3.7"
|
43
43
|
s.files = `git ls-files`.split("\n")
|
@@ -0,0 +1,45 @@
|
|
1
|
+
Feature: List step defs as json
|
2
|
+
In order to build tools on top of Cucumber
|
3
|
+
As a tool developer
|
4
|
+
I want to be able to query a features directory for all the step definitions it contains
|
5
|
+
|
6
|
+
Background:
|
7
|
+
Given a standard Cucumber project directory structure
|
8
|
+
|
9
|
+
Scenario: Two Ruby step definitions, in the same file
|
10
|
+
Given a file named "features/step_definitions/foo_steps.rb" with:
|
11
|
+
"""
|
12
|
+
Given(/foo/) {}
|
13
|
+
Given(/b.r/) {}
|
14
|
+
"""
|
15
|
+
When I run the following Ruby code:
|
16
|
+
"""
|
17
|
+
require 'cucumber'
|
18
|
+
puts Cucumber::StepDefinitions.new.to_json
|
19
|
+
|
20
|
+
"""
|
21
|
+
Then it should pass
|
22
|
+
And the output should contain the following JSON:
|
23
|
+
"""
|
24
|
+
[ "/foo/", "/b.r/" ]
|
25
|
+
|
26
|
+
"""
|
27
|
+
|
28
|
+
Scenario: Non-default directory structure
|
29
|
+
Given a file named "my_weird/place/foo_steps.rb" with:
|
30
|
+
"""
|
31
|
+
Given(/foo/) {}
|
32
|
+
Given(/b.r/) {}
|
33
|
+
"""
|
34
|
+
When I run the following Ruby code:
|
35
|
+
"""
|
36
|
+
require 'cucumber'
|
37
|
+
puts Cucumber::StepDefinitions.new(:autoload_code_paths => ['my_weird']).to_json
|
38
|
+
|
39
|
+
"""
|
40
|
+
Then it should pass
|
41
|
+
And the output should contain the following JSON:
|
42
|
+
"""
|
43
|
+
[ "/foo/", "/b.r/" ]
|
44
|
+
|
45
|
+
"""
|
@@ -50,10 +50,6 @@ Given /^I have environment variable (\w+) set to "([^"]*)"$/ do |variable, value
|
|
50
50
|
end
|
51
51
|
|
52
52
|
When /^I run cucumber (.*)$/ do |cucumber_opts|
|
53
|
-
# Don't use Cucumber::BINARY (which is the binary used to start the "outer" cucumber)
|
54
|
-
# Instead we force the use of this codebase's cucumber bin script.
|
55
|
-
# This allows us to run cucumber's cukes with an older, stable cucumber.
|
56
|
-
cucumber_bin = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
|
57
53
|
run "#{Cucumber::RUBY_BINARY} -I rubygems #{cucumber_bin} --no-color #{cucumber_opts} CUCUMBER_OUTPUT_ENCODING=UTF-8"
|
58
54
|
end
|
59
55
|
|
@@ -61,6 +57,11 @@ When /^I run rake (.*)$/ do |rake_opts|
|
|
61
57
|
run "rake #{rake_opts} --trace"
|
62
58
|
end
|
63
59
|
|
60
|
+
When /^I run the following Ruby code:$/ do |code|
|
61
|
+
run %{#{Cucumber::RUBY_BINARY} -r rubygems -I #{cucumber_lib_dir} -e "#{code}"}
|
62
|
+
end
|
63
|
+
|
64
|
+
|
64
65
|
Then /^it should (fail|pass)$/ do |success|
|
65
66
|
if success == 'fail'
|
66
67
|
last_exit_status.should_not == 0
|
@@ -161,4 +162,6 @@ Then /^print output$/ do
|
|
161
162
|
puts last_stdout
|
162
163
|
end
|
163
164
|
|
164
|
-
|
165
|
+
Then /^the output should contain the following JSON:$/ do |json_string|
|
166
|
+
JSON.parse(last_stdout).should == JSON.parse(json_string)
|
167
|
+
end
|
data/features/support/env.rb
CHANGED
@@ -26,6 +26,13 @@ class CucumberWorld
|
|
26
26
|
def cucumber_lib_dir
|
27
27
|
@cucumber_lib_dir ||= File.expand_path(File.join(File.dirname(__FILE__), '../../lib'))
|
28
28
|
end
|
29
|
+
|
30
|
+
# Don't use Cucumber::BINARY (which is the binary used to start the "outer" cucumber)
|
31
|
+
# Instead we force the use of this codebase's cucumber bin script.
|
32
|
+
# This allows us to run cucumber's cukes with an older, stable cucumber.
|
33
|
+
def cucumber_bin
|
34
|
+
File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
|
35
|
+
end
|
29
36
|
|
30
37
|
def initialize
|
31
38
|
@current_dir = self_test_dir
|
data/lib/cucumber.rb
CHANGED
@@ -7,13 +7,17 @@ require 'cucumber/parser'
|
|
7
7
|
require 'cucumber/step_mother'
|
8
8
|
require 'cucumber/cli/main'
|
9
9
|
require 'cucumber/broadcaster'
|
10
|
+
require 'cucumber/step_definitions'
|
10
11
|
|
11
12
|
module Cucumber
|
12
13
|
class << self
|
13
14
|
attr_accessor :wants_to_quit
|
14
15
|
|
15
16
|
def logger
|
16
|
-
@log
|
17
|
+
return @log if @log
|
18
|
+
@log = Logger.new(STDOUT)
|
19
|
+
@log.level = Logger::INFO
|
20
|
+
@log
|
17
21
|
end
|
18
22
|
|
19
23
|
def logger=(logger)
|
@@ -10,8 +10,8 @@ module Cucumber
|
|
10
10
|
argument
|
11
11
|
end
|
12
12
|
|
13
|
-
def initialize(
|
14
|
-
@options =
|
13
|
+
def initialize(user_options = {})
|
14
|
+
@options = default_options.merge(user_options)
|
15
15
|
end
|
16
16
|
|
17
17
|
def dry_run?
|
@@ -33,5 +33,17 @@ module Cucumber
|
|
33
33
|
def paths
|
34
34
|
@options[:paths]
|
35
35
|
end
|
36
|
+
|
37
|
+
def autoload_code_paths
|
38
|
+
@options[:autoload_code_paths]
|
39
|
+
end
|
40
|
+
|
41
|
+
private
|
42
|
+
|
43
|
+
def default_options
|
44
|
+
{
|
45
|
+
:autoload_code_paths => ['features/support', 'features/step_definitions']
|
46
|
+
}
|
47
|
+
end
|
36
48
|
end
|
37
49
|
end
|
data/lib/cucumber/platform.rb
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
# Detect the platform we're running on so we can tweak behaviour
|
2
2
|
# in various places.
|
3
|
+
require 'rbconfig'
|
3
4
|
|
4
5
|
module Cucumber
|
5
6
|
unless defined?(Cucumber::VERSION)
|
6
|
-
VERSION = '0.9.
|
7
|
+
VERSION = '0.9.1'
|
7
8
|
BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
|
8
9
|
LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
|
9
10
|
JRUBY = defined?(JRUBY_VERSION)
|
10
11
|
IRONRUBY = defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby"
|
11
|
-
WINDOWS =
|
12
|
-
OS_X =
|
12
|
+
WINDOWS = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
|
13
|
+
OS_X = RbConfig::CONFIG['host_os'] =~ /darwin/
|
13
14
|
WINDOWS_MRI = WINDOWS && !JRUBY && !IRONRUBY
|
14
15
|
RAILS = defined?(Rails)
|
15
|
-
RUBY_BINARY = File.join(
|
16
|
+
RUBY_BINARY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
|
16
17
|
RUBY_1_9 = RUBY_VERSION =~ /^1\.9/
|
17
18
|
RUBY_1_8_7 = RUBY_VERSION =~ /^1\.8\.7/
|
18
19
|
|
@@ -30,7 +30,8 @@ module Cucumber
|
|
30
30
|
# The Ruby implementation of the programming language API.
|
31
31
|
class RbLanguage
|
32
32
|
include LanguageSupport::LanguageMethods
|
33
|
-
attr_reader :current_world
|
33
|
+
attr_reader :current_world,
|
34
|
+
:step_definitions
|
34
35
|
|
35
36
|
Gherkin::I18n.code_keywords.each do |adverb|
|
36
37
|
RbDsl.alias_adverb(adverb)
|
@@ -66,7 +67,7 @@ module Cucumber
|
|
66
67
|
|
67
68
|
# Gets called for each file under features (or whatever is overridden
|
68
69
|
# with --require).
|
69
|
-
def step_definitions_for(rb_file)
|
70
|
+
def step_definitions_for(rb_file) # Looks Unused - Delete?
|
70
71
|
begin
|
71
72
|
require rb_file # This will cause self.add_step_definition and self.add_hook to be called from RbDsl
|
72
73
|
step_definitions
|
@@ -77,7 +78,7 @@ module Cucumber
|
|
77
78
|
@step_definitions = nil
|
78
79
|
end
|
79
80
|
end
|
80
|
-
|
81
|
+
|
81
82
|
def step_matches(name_to_match, name_to_format)
|
82
83
|
@step_definitions.map do |step_definition|
|
83
84
|
if(arguments = step_definition.arguments_from(name_to_match))
|
@@ -139,9 +140,9 @@ module Cucumber
|
|
139
140
|
end
|
140
141
|
|
141
142
|
def load_code_file(code_file)
|
142
|
-
|
143
|
+
load File.expand_path(code_file) # This will cause self.add_step_definition, self.add_hook, and self.add_transform to be called from RbDsl
|
143
144
|
end
|
144
|
-
|
145
|
+
|
145
146
|
protected
|
146
147
|
|
147
148
|
def begin_scenario(scenario)
|
data/lib/cucumber/runtime.rb
CHANGED
@@ -56,7 +56,8 @@ module Cucumber
|
|
56
56
|
@support_code.load_programming_language!(ext)
|
57
57
|
end
|
58
58
|
|
59
|
-
def invoke(step_name, multiline_argument)
|
59
|
+
def invoke(step_name, multiline_argument=nil)
|
60
|
+
# It is very important to leave multiline_argument=nil as a vararg. Cuke4Duke needs it that way.
|
60
61
|
@support_code.invoke(step_name, multiline_argument)
|
61
62
|
end
|
62
63
|
|
@@ -62,6 +62,11 @@ module Cucumber
|
|
62
62
|
end
|
63
63
|
log.debug("\n")
|
64
64
|
end
|
65
|
+
|
66
|
+
def load_files_from_paths(paths)
|
67
|
+
files = paths.map { |path| Dir["#{path}/**/*"] }.flatten
|
68
|
+
load_files! files
|
69
|
+
end
|
65
70
|
|
66
71
|
def unmatched_step_definitions
|
67
72
|
@programming_languages.map do |programming_language|
|
@@ -95,6 +100,12 @@ module Cucumber
|
|
95
100
|
end
|
96
101
|
end.call
|
97
102
|
end
|
103
|
+
|
104
|
+
def step_definitions
|
105
|
+
@programming_languages.map do |programming_language|
|
106
|
+
programming_language.step_definitions
|
107
|
+
end.flatten
|
108
|
+
end
|
98
109
|
|
99
110
|
def step_match(step_name, name_to_report=nil) #:nodoc:
|
100
111
|
matches = matches(step_name, name_to_report)
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'json'
|
2
|
+
module Cucumber
|
3
|
+
class StepDefinitions
|
4
|
+
def initialize(configuration = Configuration.default)
|
5
|
+
configuration = Configuration.parse(configuration)
|
6
|
+
@support_code = Runtime::SupportCode.new(nil, false)
|
7
|
+
@support_code.load_files_from_paths(configuration.autoload_code_paths)
|
8
|
+
end
|
9
|
+
|
10
|
+
def to_json
|
11
|
+
@support_code.step_definitions.map do |step_definition|
|
12
|
+
step_definition.regexp_source
|
13
|
+
end.to_json
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
module Cucumber
|
4
|
+
describe Configuration do
|
5
|
+
describe ".default" do
|
6
|
+
subject { Configuration.default }
|
7
|
+
|
8
|
+
it "has an autoload_code_paths containing the standard support and step_definitions folders" do
|
9
|
+
subject.autoload_code_paths.should include('features/support')
|
10
|
+
subject.autoload_code_paths.should include('features/step_definitions')
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
describe "with custom user options" do
|
15
|
+
let(:user_options) { { :autoload_code_paths => ['foo/bar/baz'] } }
|
16
|
+
subject { Configuration.new(user_options) }
|
17
|
+
|
18
|
+
it "allows you to override the defaults" do
|
19
|
+
subject.autoload_code_paths.should == ['foo/bar/baz']
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -64,6 +64,34 @@ module Cucumber
|
|
64
64
|
end
|
65
65
|
})
|
66
66
|
end
|
67
|
+
|
68
|
+
describe "#load_code_file" do
|
69
|
+
after do
|
70
|
+
FileUtils.rm_rf('tmp.rb')
|
71
|
+
end
|
72
|
+
|
73
|
+
def a_file_called(name)
|
74
|
+
File.open('tmp.rb', 'w') do |f|
|
75
|
+
f.puts yield
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
it "re-loads the file when called multiple times" do
|
80
|
+
a_file_called('tmp.rb') do
|
81
|
+
"$foo = 1"
|
82
|
+
end
|
83
|
+
|
84
|
+
@rb.load_code_file('tmp.rb')
|
85
|
+
$foo.should == 1
|
86
|
+
|
87
|
+
a_file_called('tmp.rb') do
|
88
|
+
"$foo = 2"
|
89
|
+
end
|
90
|
+
|
91
|
+
@rb.load_code_file('tmp.rb')
|
92
|
+
$foo.should == 2
|
93
|
+
end
|
94
|
+
end
|
67
95
|
end
|
68
96
|
end
|
69
97
|
end
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 59
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
8
|
+
- 1
|
9
|
+
version: 0.9.1
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- "Aslak Helles\xC3\xB8y"
|
@@ -15,112 +14,106 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-
|
17
|
+
date: 2010-10-02 00:00:00 +02:00
|
19
18
|
default_executable: cucumber
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
21
|
+
name: gherkin
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
hash: 3
|
28
27
|
segments:
|
29
28
|
- 2
|
30
29
|
- 2
|
31
|
-
-
|
32
|
-
version: 2.2.
|
33
|
-
requirement: *id001
|
30
|
+
- 5
|
31
|
+
version: 2.2.5
|
34
32
|
type: :runtime
|
35
|
-
name: gherkin
|
36
33
|
prerelease: false
|
34
|
+
version_requirements: *id001
|
37
35
|
- !ruby/object:Gem::Dependency
|
38
|
-
|
36
|
+
name: term-ansicolor
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
38
|
none: false
|
40
39
|
requirements:
|
41
40
|
- - ~>
|
42
41
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 29
|
44
42
|
segments:
|
45
43
|
- 1
|
46
44
|
- 0
|
47
45
|
- 5
|
48
46
|
version: 1.0.5
|
49
|
-
requirement: *id002
|
50
47
|
type: :runtime
|
51
|
-
name: term-ansicolor
|
52
48
|
prerelease: false
|
49
|
+
version_requirements: *id002
|
53
50
|
- !ruby/object:Gem::Dependency
|
54
|
-
|
51
|
+
name: builder
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
53
|
none: false
|
56
54
|
requirements:
|
57
55
|
- - ~>
|
58
56
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 15
|
60
57
|
segments:
|
61
58
|
- 2
|
62
59
|
- 1
|
63
60
|
- 2
|
64
61
|
version: 2.1.2
|
65
|
-
requirement: *id003
|
66
62
|
type: :runtime
|
67
|
-
name: builder
|
68
63
|
prerelease: false
|
64
|
+
version_requirements: *id003
|
69
65
|
- !ruby/object:Gem::Dependency
|
70
|
-
|
66
|
+
name: diff-lcs
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
68
|
none: false
|
72
69
|
requirements:
|
73
70
|
- - ~>
|
74
71
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 23
|
76
72
|
segments:
|
77
73
|
- 1
|
78
74
|
- 1
|
79
75
|
- 2
|
80
76
|
version: 1.1.2
|
81
|
-
requirement: *id004
|
82
77
|
type: :runtime
|
83
|
-
name: diff-lcs
|
84
78
|
prerelease: false
|
79
|
+
version_requirements: *id004
|
85
80
|
- !ruby/object:Gem::Dependency
|
86
|
-
|
81
|
+
name: json
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
87
83
|
none: false
|
88
84
|
requirements:
|
89
85
|
- - ~>
|
90
86
|
- !ruby/object:Gem::Version
|
91
|
-
hash: 11
|
92
87
|
segments:
|
93
88
|
- 1
|
94
89
|
- 4
|
95
90
|
- 6
|
96
91
|
version: 1.4.6
|
97
|
-
requirement: *id005
|
98
92
|
type: :runtime
|
99
|
-
name: json
|
100
93
|
prerelease: false
|
94
|
+
version_requirements: *id005
|
101
95
|
- !ruby/object:Gem::Dependency
|
102
|
-
|
96
|
+
name: rake
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
103
98
|
none: false
|
104
99
|
requirements:
|
105
100
|
- - ~>
|
106
101
|
- !ruby/object:Gem::Version
|
107
|
-
hash: 49
|
108
102
|
segments:
|
109
103
|
- 0
|
110
104
|
- 8
|
111
105
|
- 7
|
112
106
|
version: 0.8.7
|
113
|
-
requirement: *id006
|
114
107
|
type: :development
|
115
|
-
name: rake
|
116
108
|
prerelease: false
|
109
|
+
version_requirements: *id006
|
117
110
|
- !ruby/object:Gem::Dependency
|
118
|
-
|
111
|
+
name: rspec
|
112
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
119
113
|
none: false
|
120
114
|
requirements:
|
121
115
|
- - ~>
|
122
116
|
- !ruby/object:Gem::Version
|
123
|
-
hash: 62196427
|
124
117
|
segments:
|
125
118
|
- 2
|
126
119
|
- 0
|
@@ -128,106 +121,84 @@ dependencies:
|
|
128
121
|
- beta
|
129
122
|
- 20
|
130
123
|
version: 2.0.0.beta.20
|
131
|
-
requirement: *id007
|
132
124
|
type: :development
|
133
|
-
name: rspec
|
134
125
|
prerelease: false
|
126
|
+
version_requirements: *id007
|
135
127
|
- !ruby/object:Gem::Dependency
|
136
|
-
|
128
|
+
name: nokogiri
|
129
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
137
130
|
none: false
|
138
131
|
requirements:
|
139
132
|
- - ~>
|
140
133
|
- !ruby/object:Gem::Version
|
141
|
-
hash: 1
|
142
134
|
segments:
|
143
135
|
- 1
|
144
136
|
- 4
|
145
137
|
- 3
|
146
138
|
version: 1.4.3
|
147
|
-
requirement: *id008
|
148
139
|
type: :development
|
149
|
-
name: nokogiri
|
150
140
|
prerelease: false
|
141
|
+
version_requirements: *id008
|
151
142
|
- !ruby/object:Gem::Dependency
|
152
|
-
|
143
|
+
name: prawn
|
144
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
153
145
|
none: false
|
154
146
|
requirements:
|
155
147
|
- - "="
|
156
148
|
- !ruby/object:Gem::Version
|
157
|
-
hash: 55
|
158
149
|
segments:
|
159
150
|
- 0
|
160
151
|
- 8
|
161
152
|
- 4
|
162
153
|
version: 0.8.4
|
163
|
-
requirement: *id009
|
164
154
|
type: :development
|
165
|
-
name: prawn
|
166
155
|
prerelease: false
|
156
|
+
version_requirements: *id009
|
167
157
|
- !ruby/object:Gem::Dependency
|
168
|
-
|
158
|
+
name: prawn-layout
|
159
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
169
160
|
none: false
|
170
161
|
requirements:
|
171
162
|
- - "="
|
172
163
|
- !ruby/object:Gem::Version
|
173
|
-
hash: 55
|
174
164
|
segments:
|
175
165
|
- 0
|
176
166
|
- 8
|
177
167
|
- 4
|
178
168
|
version: 0.8.4
|
179
|
-
requirement: *id010
|
180
169
|
type: :development
|
181
|
-
name: prawn-layout
|
182
170
|
prerelease: false
|
171
|
+
version_requirements: *id010
|
183
172
|
- !ruby/object:Gem::Dependency
|
184
|
-
|
173
|
+
name: syntax
|
174
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
185
175
|
none: false
|
186
176
|
requirements:
|
187
177
|
- - ~>
|
188
178
|
- !ruby/object:Gem::Version
|
189
|
-
hash: 23
|
190
179
|
segments:
|
191
180
|
- 1
|
192
181
|
- 0
|
193
182
|
- 0
|
194
183
|
version: 1.0.0
|
195
|
-
requirement: *id011
|
196
184
|
type: :development
|
197
|
-
name: syntax
|
198
185
|
prerelease: false
|
186
|
+
version_requirements: *id011
|
199
187
|
- !ruby/object:Gem::Dependency
|
200
|
-
|
188
|
+
name: spork
|
189
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
201
190
|
none: false
|
202
191
|
requirements:
|
203
192
|
- - ~>
|
204
193
|
- !ruby/object:Gem::Version
|
205
|
-
hash: 55
|
206
194
|
segments:
|
207
195
|
- 0
|
208
196
|
- 8
|
209
197
|
- 4
|
210
198
|
version: 0.8.4
|
211
|
-
requirement: *id012
|
212
|
-
type: :development
|
213
|
-
name: spork
|
214
|
-
prerelease: false
|
215
|
-
- !ruby/object:Gem::Dependency
|
216
|
-
version_requirements: &id013 !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
|
-
requirements:
|
219
|
-
- - ~>
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
hash: 41
|
222
|
-
segments:
|
223
|
-
- 0
|
224
|
-
- 9
|
225
|
-
- 9
|
226
|
-
version: 0.9.9
|
227
|
-
requirement: *id013
|
228
199
|
type: :development
|
229
|
-
name: rcov
|
230
200
|
prerelease: false
|
201
|
+
version_requirements: *id012
|
231
202
|
description: Behaviour Driven Development with elegance and joy
|
232
203
|
email: cukes@googlegroups.com
|
233
204
|
executables:
|
@@ -499,6 +470,7 @@ files:
|
|
499
470
|
- examples/watir/features/support/env.rb
|
500
471
|
- examples/watir/features/support/screenshots.rb
|
501
472
|
- features/announce.feature
|
473
|
+
- features/api/list_step_defs_as_json.feature
|
502
474
|
- features/around_hooks.feature
|
503
475
|
- features/background.feature
|
504
476
|
- features/bug_371.feature
|
@@ -729,6 +701,7 @@ files:
|
|
729
701
|
- lib/cucumber/runtime/user_interface.rb
|
730
702
|
- lib/cucumber/step_argument.rb
|
731
703
|
- lib/cucumber/step_definition_light.rb
|
704
|
+
- lib/cucumber/step_definitions.rb
|
732
705
|
- lib/cucumber/step_match.rb
|
733
706
|
- lib/cucumber/step_mother.rb
|
734
707
|
- lib/cucumber/wire_support/configuration.rb
|
@@ -756,6 +729,7 @@ files:
|
|
756
729
|
- spec/cucumber/cli/main_spec.rb
|
757
730
|
- spec/cucumber/cli/options_spec.rb
|
758
731
|
- spec/cucumber/cli/profile_loader_spec.rb
|
732
|
+
- spec/cucumber/configuration_spec.rb
|
759
733
|
- spec/cucumber/core_ext/proc_spec.rb
|
760
734
|
- spec/cucumber/formatter/ansicolor_spec.rb
|
761
735
|
- spec/cucumber/formatter/color_io_spec.rb
|
@@ -782,16 +756,12 @@ has_rdoc: true
|
|
782
756
|
homepage: http://cukes.info
|
783
757
|
licenses: []
|
784
758
|
|
785
|
-
post_install_message:
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
for important information about this release. Happy cuking!
|
792
|
-
|
793
|
-
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
794
|
-
|
759
|
+
post_install_message: "\n\
|
760
|
+
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n\
|
761
|
+
Thank you for installing cucumber-0.9.1.\n\
|
762
|
+
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading\n\
|
763
|
+
for important information about this release. Happy cuking!\n\n\
|
764
|
+
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n"
|
795
765
|
rdoc_options:
|
796
766
|
- --charset=UTF-8
|
797
767
|
require_paths:
|
@@ -801,7 +771,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
801
771
|
requirements:
|
802
772
|
- - ">="
|
803
773
|
- !ruby/object:Gem::Version
|
804
|
-
hash:
|
774
|
+
hash: -2926991703887616495
|
805
775
|
segments:
|
806
776
|
- 0
|
807
777
|
version: "0"
|
@@ -810,7 +780,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
810
780
|
requirements:
|
811
781
|
- - ">="
|
812
782
|
- !ruby/object:Gem::Version
|
813
|
-
hash:
|
783
|
+
hash: -2926991703887616495
|
814
784
|
segments:
|
815
785
|
- 0
|
816
786
|
version: "0"
|
@@ -820,9 +790,10 @@ rubyforge_project:
|
|
820
790
|
rubygems_version: 1.3.7
|
821
791
|
signing_key:
|
822
792
|
specification_version: 3
|
823
|
-
summary: cucumber-0.9.
|
793
|
+
summary: cucumber-0.9.1
|
824
794
|
test_files:
|
825
795
|
- features/announce.feature
|
796
|
+
- features/api/list_step_defs_as_json.feature
|
826
797
|
- features/around_hooks.feature
|
827
798
|
- features/background.feature
|
828
799
|
- features/bug_371.feature
|
@@ -893,6 +864,7 @@ test_files:
|
|
893
864
|
- spec/cucumber/cli/main_spec.rb
|
894
865
|
- spec/cucumber/cli/options_spec.rb
|
895
866
|
- spec/cucumber/cli/profile_loader_spec.rb
|
867
|
+
- spec/cucumber/configuration_spec.rb
|
896
868
|
- spec/cucumber/core_ext/proc_spec.rb
|
897
869
|
- spec/cucumber/formatter/ansicolor_spec.rb
|
898
870
|
- spec/cucumber/formatter/color_io_spec.rb
|