cucumber 1.3.17 → 1.3.18
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/.travis.yml +1 -0
- data/History.md +9 -1
- data/cucumber.gemspec +1 -0
- data/cucumber.yml +1 -0
- data/features/bootstrap.feature +3 -4
- data/gem_tasks/cucumber.rake +2 -0
- data/lib/cucumber/ast/step.rb +1 -1
- data/lib/cucumber/core_ext/instance_exec.rb +1 -1
- data/lib/cucumber/platform.rb +2 -1
- metadata +19 -3
data/History.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
## [In Git](https://github.com/cucumber/cucumber/compare/v1.3.
|
1
|
+
## [In Git](https://github.com/cucumber/cucumber/compare/v1.3.18...v1.3.x-bugfix)
|
2
|
+
|
3
|
+
* Your change here?
|
4
|
+
|
5
|
+
## [v1.3.18](https://github.com/cucumber/cucumber/compare/v1.3.17...v1.3.18)
|
6
|
+
|
7
|
+
* Ruby 2.2 support ([774](https://github.com/cucumber/cucumber/pull/774) @tricknotes)
|
8
|
+
|
9
|
+
## [v1.3.17](https://github.com/cucumber/cucumber/compare/v1.3.16...v1.3.17)
|
2
10
|
|
3
11
|
* Rescue ArgumentError on split so formatters don't fail due to bad encoding ([692](https://github.com/cucumber/cucumber/pull/692) Arthur Silva)
|
4
12
|
* Support embedding images directly in HTML files ([696](https://github.com/cucumber/cucumber/pull/696) @brasmusson)
|
data/cucumber.gemspec
CHANGED
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_development_dependency 'nokogiri', '~> 1.5.2'
|
25
25
|
s.add_development_dependency 'rake', '>= 0.9.2', '< 10.2'
|
26
26
|
s.add_development_dependency 'rspec', '~> 2'
|
27
|
+
s.add_development_dependency 'test-unit'
|
27
28
|
s.add_development_dependency 'simplecov', '>= 0.6.2'
|
28
29
|
s.add_development_dependency 'spork', '>= 1.0.0.rc2'
|
29
30
|
s.add_development_dependency 'syntax', '>= 1.0.0'
|
data/cucumber.yml
CHANGED
@@ -25,6 +25,7 @@ ruby_1_8_7: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_8_7
|
|
25
25
|
ruby_1_9: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
|
26
26
|
ruby_2_0: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
|
27
27
|
ruby_2_1: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
|
28
|
+
ruby_2_2: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
|
28
29
|
wip: --wip <%= wip_opts %> features
|
29
30
|
none: --format pretty
|
30
31
|
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|
data/features/bootstrap.feature
CHANGED
@@ -9,7 +9,7 @@ Feature: Bootstrapping a new project
|
|
9
9
|
When I run `cucumber`
|
10
10
|
Then it should fail with:
|
11
11
|
"""
|
12
|
-
|
12
|
+
Please create a features directory to get started. (Errno::ENOENT)
|
13
13
|
"""
|
14
14
|
|
15
15
|
@spawn
|
@@ -20,8 +20,7 @@ Feature: Bootstrapping a new project
|
|
20
20
|
puts 'this will not be shown'
|
21
21
|
"""
|
22
22
|
When I run `cucumber`
|
23
|
-
Then it should fail with
|
23
|
+
Then it should fail with:
|
24
24
|
"""
|
25
|
-
|
26
|
-
|
25
|
+
Please create a features directory to get started. (Errno::ENOENT)
|
27
26
|
"""
|
data/gem_tasks/cucumber.rake
CHANGED
data/lib/cucumber/ast/step.rb
CHANGED
@@ -74,7 +74,7 @@ class Object #:nodoc:
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
INSTANCE_EXEC_OFFSET = (Cucumber::RUBY_2_1 || Cucumber::RUBY_2_0 || Cucumber::RUBY_1_9 || Cucumber::RUBY_1_8_7 || Cucumber::JRUBY) ? -3 : -4
|
77
|
+
INSTANCE_EXEC_OFFSET = (Cucumber::RUBY_2_2 || Cucumber::RUBY_2_1 || Cucumber::RUBY_2_0 || Cucumber::RUBY_1_9 || Cucumber::RUBY_1_8_7 || Cucumber::JRUBY) ? -3 : -4
|
78
78
|
|
79
79
|
def replace_instance_exec_invocation_line!(backtrace, instance_exec_invocation_line, pseudo_method)
|
80
80
|
return if Cucumber.use_full_backtrace
|
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 = '1.3.
|
7
|
+
VERSION = '1.3.18'
|
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)
|
@@ -14,6 +14,7 @@ unless defined?(Cucumber::VERSION)
|
|
14
14
|
WINDOWS_MRI = WINDOWS && !JRUBY && !IRONRUBY
|
15
15
|
RAILS = defined?(Rails)
|
16
16
|
RUBY_BINARY = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
|
17
|
+
RUBY_2_2 = RUBY_VERSION =~ /^2\.2/
|
17
18
|
RUBY_2_1 = RUBY_VERSION =~ /^2\.1/
|
18
19
|
RUBY_2_0 = RUBY_VERSION =~ /^2\.0/
|
19
20
|
RUBY_1_9 = RUBY_VERSION =~ /^1\.9/
|
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.3.
|
4
|
+
version: 1.3.18
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-12-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|
@@ -183,6 +183,22 @@ dependencies:
|
|
183
183
|
- - ~>
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '2'
|
186
|
+
- !ruby/object:Gem::Dependency
|
187
|
+
name: test-unit
|
188
|
+
requirement: !ruby/object:Gem::Requirement
|
189
|
+
none: false
|
190
|
+
requirements:
|
191
|
+
- - ! '>='
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0'
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
none: false
|
198
|
+
requirements:
|
199
|
+
- - ! '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
186
202
|
- !ruby/object:Gem::Dependency
|
187
203
|
name: simplecov
|
188
204
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1017,7 +1033,7 @@ rubyforge_project:
|
|
1017
1033
|
rubygems_version: 1.8.23
|
1018
1034
|
signing_key:
|
1019
1035
|
specification_version: 3
|
1020
|
-
summary: cucumber-1.3.
|
1036
|
+
summary: cucumber-1.3.18
|
1021
1037
|
test_files:
|
1022
1038
|
- features/assertions.feature
|
1023
1039
|
- features/autoformat_profile_output.feature
|