gherkin 1.0.21-i386-mswin32 → 1.0.22-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ == 1.0.22 (2010-04-28)
2
+
3
+ === Bugfixes
4
+ * Make prebuilt binaries work on both Ruby 1.8.x and 1.9.x on Windows (#54 Luis Lavena, Aslak Hellesøy)
5
+
1
6
  == 1.0.21 (2010-04-27)
2
7
 
3
8
  === Bugfixes
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ begin
22
22
  gem.add_development_dependency "rspec", ">= 1.3.0"
23
23
  gem.add_development_dependency "cucumber", ">= 0.7.0.beta.1"
24
24
  gem.add_development_dependency "rake-compiler", ">= 0.7.0" unless defined?(JRUBY_VERSION)
25
-
25
+
26
26
  gem.files -= FileList['ikvm/**/*']
27
27
  gem.files -= FileList['java/**/*']
28
28
  case ENV['PLATFORM']
@@ -32,7 +32,7 @@ begin
32
32
  gem.extensions = []
33
33
  when 'i386-mswin32', 'i386-mingw32'
34
34
  gem.platform = ENV['PLATFORM']
35
- gem.files += FileList['lib/*.so']
35
+ gem.files += FileList['lib/*/*.so']
36
36
  gem.extensions = []
37
37
  else
38
38
  gem.files += FileList['lib/gherkin/rb_lexer/*.rb']
@@ -2,4 +2,4 @@
2
2
  :major: 1
3
3
  :minor: 0
4
4
  :build:
5
- :patch: 21
5
+ :patch: 22
@@ -1,8 +1,17 @@
1
+ require 'rbconfig'
2
+
1
3
  module Gherkin
2
4
  module CLexer
3
5
  def self.[](i18n_underscored_iso_code)
4
- require "gherkin_lexer_#{i18n_underscored_iso_code}"
5
- const_get(i18n_underscored_iso_code.capitalize)
6
+ begin
7
+ prefix = Config::CONFIG['arch'] =~ /mswin|mingw/ ? "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}/" : ''
8
+ lib = "#{prefix}gherkin_lexer_#{i18n_underscored_iso_code}"
9
+ require lib
10
+ const_get(i18n_underscored_iso_code.capitalize)
11
+ rescue LoadError => e
12
+ e.message << %{\nCouldn't load #{lib}\nThe $LOAD_PATH was:\n#{$LOAD_PATH.join("\n")}}
13
+ raise e
14
+ end
6
15
  end
7
16
  end
8
17
  end
@@ -9,7 +9,12 @@ namespace :gems do
9
9
  [:mswin32, :mingw32].each do |win_compiler|
10
10
  desc "Build MRI/C precompiled #{win_compiler} gem"
11
11
  task win_compiler do
12
- sh "rake cross compile RUBY_CC_VERSION=1.8.6"
12
+ # Bootstrap with:
13
+ #
14
+ # rake-compiler cross-ruby VERSION=1.9.1-p243
15
+ # rake-compiler cross-ruby VERSION=1.8.6-p114
16
+ #
17
+ sh "rake cross compile RUBY_CC_VERSION=1.8.6:1.9.1"
13
18
  sh "rake gemspec build PLATFORM=i386-#{win_compiler}"
14
19
  mv "pkg/gherkin-#{GHERKIN_VERSION}-x86-#{win_compiler}.gem", 'release'
15
20
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 21
9
- version: 1.0.21
8
+ - 22
9
+ version: 1.0.22
10
10
  platform: i386-mswin32
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-04-27 00:00:00 -05:00
19
+ date: 2010-04-28 00:00:00 -05:00
20
20
  default_executable: gherkin
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -109,6 +109,92 @@ files:
109
109
  - java/src/main/java/gherkin/lexer/.gitignore
110
110
  - java/src/main/resources/gherkin/.gitignore
111
111
  - lib/.gitignore
112
+ - lib/1.8/gherkin_lexer_ar.so
113
+ - lib/1.8/gherkin_lexer_bg.so
114
+ - lib/1.8/gherkin_lexer_ca.so
115
+ - lib/1.8/gherkin_lexer_cs.so
116
+ - lib/1.8/gherkin_lexer_cy_gb.so
117
+ - lib/1.8/gherkin_lexer_da.so
118
+ - lib/1.8/gherkin_lexer_de.so
119
+ - lib/1.8/gherkin_lexer_en.so
120
+ - lib/1.8/gherkin_lexer_en_au.so
121
+ - lib/1.8/gherkin_lexer_en_lol.so
122
+ - lib/1.8/gherkin_lexer_en_scouse.so
123
+ - lib/1.8/gherkin_lexer_en_tx.so
124
+ - lib/1.8/gherkin_lexer_eo.so
125
+ - lib/1.8/gherkin_lexer_es.so
126
+ - lib/1.8/gherkin_lexer_et.so
127
+ - lib/1.8/gherkin_lexer_fi.so
128
+ - lib/1.8/gherkin_lexer_fr.so
129
+ - lib/1.8/gherkin_lexer_he.so
130
+ - lib/1.8/gherkin_lexer_hr.so
131
+ - lib/1.8/gherkin_lexer_hu.so
132
+ - lib/1.8/gherkin_lexer_id.so
133
+ - lib/1.8/gherkin_lexer_it.so
134
+ - lib/1.8/gherkin_lexer_ja.so
135
+ - lib/1.8/gherkin_lexer_ko.so
136
+ - lib/1.8/gherkin_lexer_lt.so
137
+ - lib/1.8/gherkin_lexer_lv.so
138
+ - lib/1.8/gherkin_lexer_nl.so
139
+ - lib/1.8/gherkin_lexer_no.so
140
+ - lib/1.8/gherkin_lexer_pl.so
141
+ - lib/1.8/gherkin_lexer_pt.so
142
+ - lib/1.8/gherkin_lexer_ro.so
143
+ - lib/1.8/gherkin_lexer_ro_ro.so
144
+ - lib/1.8/gherkin_lexer_ru.so
145
+ - lib/1.8/gherkin_lexer_sk.so
146
+ - lib/1.8/gherkin_lexer_sr_cyrl.so
147
+ - lib/1.8/gherkin_lexer_sr_latn.so
148
+ - lib/1.8/gherkin_lexer_sv.so
149
+ - lib/1.8/gherkin_lexer_tr.so
150
+ - lib/1.8/gherkin_lexer_uk.so
151
+ - lib/1.8/gherkin_lexer_uz.so
152
+ - lib/1.8/gherkin_lexer_vi.so
153
+ - lib/1.8/gherkin_lexer_zh_cn.so
154
+ - lib/1.8/gherkin_lexer_zh_tw.so
155
+ - lib/1.9/gherkin_lexer_ar.so
156
+ - lib/1.9/gherkin_lexer_bg.so
157
+ - lib/1.9/gherkin_lexer_ca.so
158
+ - lib/1.9/gherkin_lexer_cs.so
159
+ - lib/1.9/gherkin_lexer_cy_gb.so
160
+ - lib/1.9/gherkin_lexer_da.so
161
+ - lib/1.9/gherkin_lexer_de.so
162
+ - lib/1.9/gherkin_lexer_en.so
163
+ - lib/1.9/gherkin_lexer_en_au.so
164
+ - lib/1.9/gherkin_lexer_en_lol.so
165
+ - lib/1.9/gherkin_lexer_en_scouse.so
166
+ - lib/1.9/gherkin_lexer_en_tx.so
167
+ - lib/1.9/gherkin_lexer_eo.so
168
+ - lib/1.9/gherkin_lexer_es.so
169
+ - lib/1.9/gherkin_lexer_et.so
170
+ - lib/1.9/gherkin_lexer_fi.so
171
+ - lib/1.9/gherkin_lexer_fr.so
172
+ - lib/1.9/gherkin_lexer_he.so
173
+ - lib/1.9/gherkin_lexer_hr.so
174
+ - lib/1.9/gherkin_lexer_hu.so
175
+ - lib/1.9/gherkin_lexer_id.so
176
+ - lib/1.9/gherkin_lexer_it.so
177
+ - lib/1.9/gherkin_lexer_ja.so
178
+ - lib/1.9/gherkin_lexer_ko.so
179
+ - lib/1.9/gherkin_lexer_lt.so
180
+ - lib/1.9/gherkin_lexer_lv.so
181
+ - lib/1.9/gherkin_lexer_nl.so
182
+ - lib/1.9/gherkin_lexer_no.so
183
+ - lib/1.9/gherkin_lexer_pl.so
184
+ - lib/1.9/gherkin_lexer_pt.so
185
+ - lib/1.9/gherkin_lexer_ro.so
186
+ - lib/1.9/gherkin_lexer_ro_ro.so
187
+ - lib/1.9/gherkin_lexer_ru.so
188
+ - lib/1.9/gherkin_lexer_sk.so
189
+ - lib/1.9/gherkin_lexer_sr_cyrl.so
190
+ - lib/1.9/gherkin_lexer_sr_latn.so
191
+ - lib/1.9/gherkin_lexer_sv.so
192
+ - lib/1.9/gherkin_lexer_tr.so
193
+ - lib/1.9/gherkin_lexer_uk.so
194
+ - lib/1.9/gherkin_lexer_uz.so
195
+ - lib/1.9/gherkin_lexer_vi.so
196
+ - lib/1.9/gherkin_lexer_zh_cn.so
197
+ - lib/1.9/gherkin_lexer_zh_tw.so
112
198
  - lib/gherkin.rb
113
199
  - lib/gherkin/c_lexer.rb
114
200
  - lib/gherkin/cli/main.rb
@@ -138,49 +224,6 @@ files:
138
224
  - lib/gherkin/tools/reformat.rb
139
225
  - lib/gherkin/tools/stats.rb
140
226
  - lib/gherkin/tools/stats_listener.rb
141
- - lib/gherkin_lexer_ar.so
142
- - lib/gherkin_lexer_bg.so
143
- - lib/gherkin_lexer_ca.so
144
- - lib/gherkin_lexer_cs.so
145
- - lib/gherkin_lexer_cy_gb.so
146
- - lib/gherkin_lexer_da.so
147
- - lib/gherkin_lexer_de.so
148
- - lib/gherkin_lexer_en.so
149
- - lib/gherkin_lexer_en_au.so
150
- - lib/gherkin_lexer_en_lol.so
151
- - lib/gherkin_lexer_en_scouse.so
152
- - lib/gherkin_lexer_en_tx.so
153
- - lib/gherkin_lexer_eo.so
154
- - lib/gherkin_lexer_es.so
155
- - lib/gherkin_lexer_et.so
156
- - lib/gherkin_lexer_fi.so
157
- - lib/gherkin_lexer_fr.so
158
- - lib/gherkin_lexer_he.so
159
- - lib/gherkin_lexer_hr.so
160
- - lib/gherkin_lexer_hu.so
161
- - lib/gherkin_lexer_id.so
162
- - lib/gherkin_lexer_it.so
163
- - lib/gherkin_lexer_ja.so
164
- - lib/gherkin_lexer_ko.so
165
- - lib/gherkin_lexer_lt.so
166
- - lib/gherkin_lexer_lv.so
167
- - lib/gherkin_lexer_nl.so
168
- - lib/gherkin_lexer_no.so
169
- - lib/gherkin_lexer_pl.so
170
- - lib/gherkin_lexer_pt.so
171
- - lib/gherkin_lexer_ro.so
172
- - lib/gherkin_lexer_ro_ro.so
173
- - lib/gherkin_lexer_ru.so
174
- - lib/gherkin_lexer_sk.so
175
- - lib/gherkin_lexer_sr_cyrl.so
176
- - lib/gherkin_lexer_sr_latn.so
177
- - lib/gherkin_lexer_sv.so
178
- - lib/gherkin_lexer_tr.so
179
- - lib/gherkin_lexer_uk.so
180
- - lib/gherkin_lexer_uz.so
181
- - lib/gherkin_lexer_vi.so
182
- - lib/gherkin_lexer_zh_cn.so
183
- - lib/gherkin_lexer_zh_tw.so
184
227
  - ragel/i18n/.gitignore
185
228
  - ragel/lexer.c.rl.erb
186
229
  - ragel/lexer.java.rl.erb