cucumber 0.9.1 → 0.9.2
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/History.txt +5 -0
- data/lib/cucumber/ast/step_invocation.rb +3 -2
- data/lib/cucumber/platform.rb +1 -1
- data/lib/cucumber/step_mother.rb +1 -1
- metadata +7 -7
data/History.txt
CHANGED
@@ -108,10 +108,11 @@ module Cucumber
|
|
108
108
|
end
|
109
109
|
end
|
110
110
|
|
111
|
+
PWD_PATTERN = /#{Regexp.escape(Dir.pwd)}\//m
|
112
|
+
|
111
113
|
def filter_backtrace(e)
|
112
114
|
return e if Cucumber.use_full_backtrace
|
113
|
-
|
114
|
-
(e.backtrace || []).each{|line| line.gsub!(pwd, "./")}
|
115
|
+
(e.backtrace || []).each{|line| line.gsub!(PWD_PATTERN, "./")}
|
115
116
|
|
116
117
|
filtered = (e.backtrace || []).reject do |line|
|
117
118
|
BACKTRACE_FILTER_PATTERNS.detect { |p| line =~ p }
|
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.9.
|
7
|
+
VERSION = '0.9.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)
|
data/lib/cucumber/step_mother.rb
CHANGED
@@ -3,7 +3,7 @@ require 'cucumber/runtime'
|
|
3
3
|
module Cucumber
|
4
4
|
class StepMother < Runtime
|
5
5
|
def initialize(*args)
|
6
|
-
warn("StepMother has been deprecated and will be gently put to sleep
|
6
|
+
warn("StepMother has been deprecated and will be gently put to sleep at the next major next release. Please use Runtime instead. #{caller[0]}")
|
7
7
|
super
|
8
8
|
end
|
9
9
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 2
|
9
|
+
version: 0.9.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- "Aslak Helles\xC3\xB8y"
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-04 00:00:00 +02:00
|
18
18
|
default_executable: cucumber
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -758,7 +758,7 @@ licenses: []
|
|
758
758
|
|
759
759
|
post_install_message: "\n\
|
760
760
|
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n\
|
761
|
-
Thank you for installing cucumber-0.9.
|
761
|
+
Thank you for installing cucumber-0.9.2.\n\
|
762
762
|
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading\n\
|
763
763
|
for important information about this release. Happy cuking!\n\n\
|
764
764
|
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)\n\n"
|
@@ -771,7 +771,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
771
771
|
requirements:
|
772
772
|
- - ">="
|
773
773
|
- !ruby/object:Gem::Version
|
774
|
-
hash: -
|
774
|
+
hash: -4350081560409194563
|
775
775
|
segments:
|
776
776
|
- 0
|
777
777
|
version: "0"
|
@@ -780,7 +780,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
780
780
|
requirements:
|
781
781
|
- - ">="
|
782
782
|
- !ruby/object:Gem::Version
|
783
|
-
hash: -
|
783
|
+
hash: -4350081560409194563
|
784
784
|
segments:
|
785
785
|
- 0
|
786
786
|
version: "0"
|
@@ -790,7 +790,7 @@ rubyforge_project:
|
|
790
790
|
rubygems_version: 1.3.7
|
791
791
|
signing_key:
|
792
792
|
specification_version: 3
|
793
|
-
summary: cucumber-0.9.
|
793
|
+
summary: cucumber-0.9.2
|
794
794
|
test_files:
|
795
795
|
- features/announce.feature
|
796
796
|
- features/api/list_step_defs_as_json.feature
|