gherkin 2.7.1 → 2.7.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source "http://rubygems.org"
2
2
  gemspec
3
3
 
4
- # gem 'cucumber', :path => '../cucumber'
4
+ #gem 'cucumber', :path => '../cucumber'
data/History.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [2.7.2](https://github.com/cucumber/gherkin/compare/v2.7.1...v2.7.2)
2
+
3
+ * [Java] Added gherkin.I18n.getAll() (Aslak Hellesøy)
4
+
1
5
  ## [2.7.1](https://github.com/cucumber/gherkin/compare/v2.7.0...v2.7.1)
2
6
 
3
7
  2.7.0 release got hosed
data/README.md CHANGED
@@ -54,7 +54,7 @@ The jar file is in the central Maven repo.
54
54
  <dependency>
55
55
  <groupId>info.cukes</groupId>
56
56
  <artifactId>gherkin</artifactId>
57
- <version>2.7.1</version>
57
+ <version>2.7.2</version>
58
58
  </dependency>
59
59
 
60
60
  You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
data/gherkin.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "gherkin"
5
5
  # If bumping the major version here, comment out the cucumber dependency below and uncomment in the Gemfile to build against a local cucumber.
6
- s.version = "2.7.1"
6
+ s.version = "2.7.2"
7
7
  s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
8
8
  s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
9
9
  s.summary = "#{s.name}-#{s.version}"
data/tasks/compile.rake CHANGED
@@ -41,6 +41,14 @@ file "java/src/main/resources/gherkin/I18nKeywords_iw.properties" => "java/src/m
41
41
  cp "java/src/main/resources/gherkin/I18nKeywords_he.properties", "java/src/main/resources/gherkin/I18nKeywords_iw.properties"
42
42
  end
43
43
 
44
+ java_i18n_properties = "java/src/main/resources/gherkin/I18n.properties"
45
+ file java_i18n_properties => 'lib/gherkin/i18n.yml' do
46
+ File.open(java_i18n_properties, 'wb') do |io|
47
+ io.puts("# Generated file. Do not edit.")
48
+ io.puts("i18n.isoCodes=#{langs.map{|i18n| i18n.iso_code}.join(',')}")
49
+ end
50
+ end
51
+
44
52
  langs.each do |i18n|
45
53
  java = RagelTask.new('java', i18n)
46
54
  rb = RagelTask.new('rb', i18n)
@@ -58,7 +66,7 @@ langs.each do |i18n|
58
66
  end
59
67
  end
60
68
  end
61
- file 'lib/gherkin.jar' => [java.target, rb.target, java_properties]
69
+ file 'lib/gherkin.jar' => [java.target, rb.target, java_properties, java_i18n_properties]
62
70
 
63
71
  begin
64
72
  if !defined?(JRUBY_VERSION)
data/tasks/gems.rake CHANGED
@@ -6,9 +6,9 @@ namespace :gems do
6
6
  end
7
7
  # rvm and mingw ruby versions have to match to avoid errors
8
8
  sh "rvm 1.8.7-p352@cucumber do rake cross compile RUBY_CC_VERSION=1.8.7"
9
- sh "rake cross compile RUBY_CC_VERSION=1.9.3"
9
+ sh "bundle exec rake cross compile RUBY_CC_VERSION=1.9.3"
10
10
  # This will copy the .so files to the proper place
11
- sh "rake -t cross compile RUBY_CC_VERSION=1.8.7:1.9.3"
11
+ sh "bundle exec rake -t cross compile RUBY_CC_VERSION=1.8.7:1.9.3"
12
12
  end
13
13
 
14
14
  desc 'Prepare JRuby binares'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gherkin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.1
4
+ version: 2.7.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2011-12-10 00:00:00.000000000 Z
14
+ date: 2012-01-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake-compiler
18
- requirement: &2157036760 !ruby/object:Gem::Requirement
18
+ requirement: &2160692700 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 0.7.9
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *2157036760
26
+ version_requirements: *2160692700
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
- requirement: &2157016300 !ruby/object:Gem::Requirement
29
+ requirement: &2160581060 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.4.6
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2157016300
37
+ version_requirements: *2160581060
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: cucumber
40
- requirement: &2157015420 !ruby/object:Gem::Requirement
40
+ requirement: &2160580460 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 1.1.4
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *2157015420
48
+ version_requirements: *2160580460
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rake
51
- requirement: &2157014680 !ruby/object:Gem::Requirement
51
+ requirement: &2160579400 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 0.9.2
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2157014680
59
+ version_requirements: *2160579400
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: bundler
62
- requirement: &2157013760 !ruby/object:Gem::Requirement
62
+ requirement: &2160578260 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: 1.0.21
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2157013760
70
+ version_requirements: *2160578260
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rspec
73
- requirement: &2157012740 !ruby/object:Gem::Requirement
73
+ requirement: &2160577540 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: 2.7.0
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2157012740
81
+ version_requirements: *2160577540
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: rubyzip
84
- requirement: &2157011640 !ruby/object:Gem::Requirement
84
+ requirement: &2160576560 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: 0.9.5
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *2157011640
92
+ version_requirements: *2160576560
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: therubyracer
95
- requirement: &2157010920 !ruby/object:Gem::Requirement
95
+ requirement: &2160575140 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: 0.9.9
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *2157010920
103
+ version_requirements: *2160575140
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: yard
106
- requirement: &2157009840 !ruby/object:Gem::Requirement
106
+ requirement: &2160574440 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,10 +111,10 @@ dependencies:
111
111
  version: 0.7.4
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *2157009840
114
+ version_requirements: *2160574440
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: rdiscount
117
- requirement: &2157008940 !ruby/object:Gem::Requirement
117
+ requirement: &2160573500 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
120
  - - ! '>='
@@ -122,10 +122,10 @@ dependencies:
122
122
  version: 1.6.8
123
123
  type: :development
124
124
  prerelease: false
125
- version_requirements: *2157008940
125
+ version_requirements: *2160573500
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: term-ansicolor
128
- requirement: &2157008020 !ruby/object:Gem::Requirement
128
+ requirement: &2160572240 !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
131
  - - ! '>='
@@ -133,10 +133,10 @@ dependencies:
133
133
  version: 1.0.6
134
134
  type: :development
135
135
  prerelease: false
136
- version_requirements: *2157008020
136
+ version_requirements: *2160572240
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: builder
139
- requirement: &2157006020 !ruby/object:Gem::Requirement
139
+ requirement: &2160571280 !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements:
142
142
  - - ! '>='
@@ -144,7 +144,7 @@ dependencies:
144
144
  version: 2.1.2
145
145
  type: :development
146
146
  prerelease: false
147
- version_requirements: *2157006020
147
+ version_requirements: *2160571280
148
148
  description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
149
149
  email: cukes@googlegroups.com
150
150
  executables: []
@@ -490,7 +490,7 @@ rubyforge_project:
490
490
  rubygems_version: 1.8.10
491
491
  signing_key:
492
492
  specification_version: 3
493
- summary: gherkin-2.7.1
493
+ summary: gherkin-2.7.2
494
494
  test_files:
495
495
  - features/escaped_pipes.feature
496
496
  - features/feature_parser.feature