gherkin 1.0.24 → 1.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ == 1.0.25 (2010-05-02)
2
+
3
+ === Bugfixes
4
+ * Allow fallback to a slower ruby lexer if the C lexer can't be loaded for some reason.
5
+ * Can't run specs in gherkin 1.0.24 (#59 Aslak Hellesøy)
6
+
1
7
  == 1.0.24 (2010-05-02)
2
8
 
3
9
  === Bugfixes
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ begin
20
20
  gem.executables = ["gherkin"]
21
21
  gem.add_dependency "trollop", ">= 1.15"
22
22
  gem.add_development_dependency "rspec", ">= 1.3.0"
23
- gem.add_development_dependency "cucumber", ">= 0.7.0.beta.8"
23
+ gem.add_development_dependency "cucumber", ">= 0.7.2"
24
24
  gem.add_development_dependency "rake-compiler", ">= 0.7.0" unless defined?(JRUBY_VERSION)
25
25
 
26
26
  gem.files -= FileList['ikvm/**/*']
@@ -2,4 +2,4 @@
2
2
  :major: 1
3
3
  :minor: 0
4
4
  :build:
5
- :patch: 24
5
+ :patch: 25
@@ -103,7 +103,7 @@ module Gherkin
103
103
  begin
104
104
  c(listener)
105
105
  rescue NameError, LoadError => e
106
- raise("WARNING: #{e.message}. Reverting to Ruby lexer.")
106
+ warn("WARNING: #{e.message}. Reverting to Ruby lexer.")
107
107
  rb(listener)
108
108
  end
109
109
  end
@@ -1,5 +1,3 @@
1
- require 'gherkin/core_ext/array'
2
-
3
1
  module Gherkin
4
2
  module RbLexer
5
3
  class <%= @i18n.underscored_iso_code.capitalize %> #:nodoc:
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 24
9
- version: 1.0.24
8
+ - 25
9
+ version: 1.0.25
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mike Sassak
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-05-02 00:00:00 +02:00
19
+ date: 2010-05-09 00:00:00 +02:00
20
20
  default_executable: gherkin
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -56,10 +56,8 @@ dependencies:
56
56
  segments:
57
57
  - 0
58
58
  - 7
59
- - 0
60
- - beta
61
- - 8
62
- version: 0.7.0.beta.8
59
+ - 2
60
+ version: 0.7.2
63
61
  type: :development
64
62
  version_requirements: *id003
65
63
  - !ruby/object:Gem::Dependency
@@ -197,7 +195,6 @@ files:
197
195
  - lib/gherkin.rb
198
196
  - lib/gherkin/c_lexer.rb
199
197
  - lib/gherkin/cli/main.rb
200
- - lib/gherkin/csharp_lexer.rb
201
198
  - lib/gherkin/formatter/argument.rb
202
199
  - lib/gherkin/formatter/colors.rb
203
200
  - lib/gherkin/formatter/monochrome_format.rb
@@ -1,15 +0,0 @@
1
- require 'Gherkin.dll'
2
-
3
- module Gherkin
4
- module CSharpLexer
5
- def self.[](i18n_language)
6
- i18n_lexer_class_name = i18n_language.gsub(/[\s-]/, '').capitalize
7
- puts "In C# lexer: #{i18n_lexer_class_name}"
8
- Gherkin::ILexer
9
- puts "OK1"
10
- l = Gherkin::Lexer.__send__(i18n_lexer_class_name)
11
- puts "OK2"
12
- l
13
- end
14
- end
15
- end