cucumber 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ == 0.9.2 (2010-10-04)
2
+
3
+ === Bugfixes
4
+ * Too many open files - getcwd (#666 Aslak Hellesøy)
5
+
1
6
  == 0.9.1 (2010-10-02)
2
7
 
3
8
  === Bugfixes
@@ -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
- pwd = /#{Regexp.escape(Dir.pwd)}\//m
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 }
@@ -4,7 +4,7 @@ require 'rbconfig'
4
4
 
5
5
  module Cucumber
6
6
  unless defined?(Cucumber::VERSION)
7
- VERSION = '0.9.1'
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)
@@ -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 before the next release. Please use Runtime instead. #{caller[0]}")
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
- - 1
9
- version: 0.9.1
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-02 00:00:00 +02:00
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.1.\n\
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: -2926991703887616495
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: -2926991703887616495
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.1
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