cucumber 1.3.17 → 1.3.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  rvm:
2
+ - 2.2
2
3
  - 2.1.0
3
4
  - 2.0.0
4
5
  - 1.9.3
data/History.md CHANGED
@@ -1,4 +1,12 @@
1
- ## [In Git](https://github.com/cucumber/cucumber/compare/v1.3.16...v1.3.x-bugfix)
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)
@@ -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'
@@ -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
@@ -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
- No such file or directory - features. Please create a features directory to get started. (Errno::ENOENT)
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 exactly:
23
+ Then it should fail with:
24
24
  """
25
- No such file or directory - features. Please create a features directory to get started. (Errno::ENOENT)
26
-
25
+ Please create a features directory to get started. (Errno::ENOENT)
27
26
  """
@@ -15,6 +15,8 @@ class Cucumber::Rake::Task
15
15
  'ruby_2_0'
16
16
  elsif Cucumber::RUBY_2_1
17
17
  'ruby_2_1'
18
+ elsif Cucumber::RUBY_2_2
19
+ 'ruby_2_2'
18
20
  end
19
21
  end
20
22
  end
@@ -77,7 +77,7 @@ module Cucumber
77
77
  feature_element.source_indent(text_length)
78
78
  end
79
79
 
80
- def text_length(name=name)
80
+ def text_length(name=name())
81
81
  INDENT + INDENT + keyword.unpack('U*').length + name.unpack('U*').length
82
82
  end
83
83
 
@@ -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
@@ -4,7 +4,7 @@ require 'rbconfig'
4
4
 
5
5
  module Cucumber
6
6
  unless defined?(Cucumber::VERSION)
7
- VERSION = '1.3.17'
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.17
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-09-13 00:00:00.000000000 Z
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.17
1036
+ summary: cucumber-1.3.18
1021
1037
  test_files:
1022
1038
  - features/assertions.feature
1023
1039
  - features/autoformat_profile_output.feature