cucumber 1.2.0 → 1.2.1
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/.travis.yml +0 -8
- data/History.md +5 -0
- data/LICENSE +1 -1
- data/README.md +2 -3
- data/cucumber.gemspec +2 -12
- data/examples/i18n/README.textile +1 -16
- data/legacy_features/language_help.feature +15 -15
- data/lib/cucumber/platform.rb +1 -1
- metadata +8 -23
data/.travis.yml
CHANGED
data/History.md
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[](http://travis-ci.org/cucumber/cucumber)
|
|
1
|
+
[](http://travis-ci.org/cucumber/cucumber)
|
|
2
2
|
|
|
3
3
|
The main website is at http://cukes.info/
|
|
4
4
|
The documentation is at https://wiki.github.com/cucumber/cucumber/
|
|
@@ -37,5 +37,4 @@ Now release it
|
|
|
37
37
|
|
|
38
38
|
## Copyright
|
|
39
39
|
|
|
40
|
-
Copyright (c) 2008,2009,2010,2011 Aslak Hellesøy and Contributors. See LICENSE for details.
|
|
41
|
-
|
|
40
|
+
Copyright (c) 2008,2009,2010,2011,2012 Aslak Hellesøy and Contributors. See LICENSE for details.
|
data/cucumber.gemspec
CHANGED
|
@@ -12,25 +12,15 @@ Gem::Specification.new do |s|
|
|
|
12
12
|
s.homepage = "http://cukes.info"
|
|
13
13
|
|
|
14
14
|
s.platform = Gem::Platform::RUBY
|
|
15
|
-
s.post_install_message = %{
|
|
16
|
-
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
Please be sure to read http://wiki.github.com/cucumber/cucumber/upgrading
|
|
20
|
-
for important information about this release. Happy cuking!
|
|
21
|
-
|
|
22
|
-
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
s.add_runtime_dependency 'gherkin', '~> 2.10.0'
|
|
16
|
+
s.add_runtime_dependency 'gherkin', '~> 2.11.0'
|
|
27
17
|
s.add_runtime_dependency 'builder', '>= 2.1.2'
|
|
28
18
|
s.add_runtime_dependency 'diff-lcs', '>= 1.1.3'
|
|
29
19
|
s.add_runtime_dependency 'json', '>= 1.4.6'
|
|
30
20
|
|
|
31
21
|
s.add_development_dependency 'aruba', '~> 0.4.11'
|
|
32
22
|
s.add_development_dependency 'rake', '>= 0.9.2'
|
|
33
|
-
s.add_development_dependency 'rspec', '~> 2.
|
|
23
|
+
s.add_development_dependency 'rspec', '~> 2.10.0'
|
|
34
24
|
s.add_development_dependency 'nokogiri', '>= 1.5.2'
|
|
35
25
|
s.add_development_dependency 'syntax', '>= 1.0.0'
|
|
36
26
|
s.add_development_dependency 'spork', '>= 1.0.0.rc2'
|
|
@@ -1,18 +1,3 @@
|
|
|
1
1
|
h1. Internationalisation (i18n) examples
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
many of the natural languages Cucumber supports.
|
|
5
|
-
|
|
6
|
-
For a full list of what languages Cucumber supports - run <pre>cucumber --language help</pre>
|
|
7
|
-
|
|
8
|
-
h2. Running all the examples
|
|
9
|
-
|
|
10
|
-
Open a shell in this directory and run
|
|
11
|
-
|
|
12
|
-
<pre>rake i18n</pre>
|
|
13
|
-
|
|
14
|
-
h2. Running examples for a specific language
|
|
15
|
-
|
|
16
|
-
Open a shell in the directory for the specific language and run
|
|
17
|
-
|
|
18
|
-
<pre>rake cucumber</pre>
|
|
3
|
+
Visit the "wiki":https://github.com/cucumber/cucumber/wiki/Spoken-languages for instructions on how to use Cucumber on different languages.
|
|
@@ -7,21 +7,21 @@ Feature: Language help
|
|
|
7
7
|
When I run cucumber --i18n pt help
|
|
8
8
|
Then it should pass with
|
|
9
9
|
"""
|
|
10
|
-
| feature | "Funcionalidade"
|
|
11
|
-
| background | "Contexto"
|
|
12
|
-
| scenario | "Cenário", "Cenario"
|
|
13
|
-
| scenario_outline | "Esquema do Cenário", "Esquema do Cenario" |
|
|
14
|
-
| examples | "Exemplos"
|
|
15
|
-
| given | "* ", "Dado ", "Dada ", "Dados ", "Dadas "
|
|
16
|
-
| when | "* ", "Quando "
|
|
17
|
-
| then | "* ", "Então ", "Entao "
|
|
18
|
-
| and | "* ", "E "
|
|
19
|
-
| but | "* ", "Mas "
|
|
20
|
-
| given (code) | "Dado", "Dada", "Dados", "Dadas"
|
|
21
|
-
| when (code) | "Quando"
|
|
22
|
-
| then (code) | "Então", "Entao"
|
|
23
|
-
| and (code) | "E"
|
|
24
|
-
| but (code) | "Mas"
|
|
10
|
+
| feature | "Funcionalidade", "Característica", "Caracteristica" |
|
|
11
|
+
| background | "Contexto", "Cenário de Fundo", "Cenario de Fundo", "Fundo" |
|
|
12
|
+
| scenario | "Cenário", "Cenario" |
|
|
13
|
+
| scenario_outline | "Esquema do Cenário", "Esquema do Cenario", "Delineação do Cenário", "Delineacao do Cenario" |
|
|
14
|
+
| examples | "Exemplos", "Cenários", "Cenarios" |
|
|
15
|
+
| given | "* ", "Dado ", "Dada ", "Dados ", "Dadas " |
|
|
16
|
+
| when | "* ", "Quando " |
|
|
17
|
+
| then | "* ", "Então ", "Entao " |
|
|
18
|
+
| and | "* ", "E " |
|
|
19
|
+
| but | "* ", "Mas " |
|
|
20
|
+
| given (code) | "Dado", "Dada", "Dados", "Dadas" |
|
|
21
|
+
| when (code) | "Quando" |
|
|
22
|
+
| then (code) | "Então", "Entao" |
|
|
23
|
+
| and (code) | "E" |
|
|
24
|
+
| but (code) | "Mas" |
|
|
25
25
|
|
|
26
26
|
"""
|
|
27
27
|
Scenario: List languages
|
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 = '1.2.
|
|
7
|
+
VERSION = '1.2.1'
|
|
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)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cucumber
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-06-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: gherkin
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 2.
|
|
21
|
+
version: 2.11.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ~>
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 2.
|
|
29
|
+
version: 2.11.0
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: builder
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -114,7 +114,7 @@ dependencies:
|
|
|
114
114
|
requirements:
|
|
115
115
|
- - ~>
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: 2.
|
|
117
|
+
version: 2.10.0
|
|
118
118
|
type: :development
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -122,7 +122,7 @@ dependencies:
|
|
|
122
122
|
requirements:
|
|
123
123
|
- - ~>
|
|
124
124
|
- !ruby/object:Gem::Version
|
|
125
|
-
version: 2.
|
|
125
|
+
version: 2.10.0
|
|
126
126
|
- !ruby/object:Gem::Dependency
|
|
127
127
|
name: nokogiri
|
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -880,22 +880,7 @@ files:
|
|
|
880
880
|
- spec/spec_helper.rb
|
|
881
881
|
homepage: http://cukes.info
|
|
882
882
|
licenses: []
|
|
883
|
-
post_install_message:
|
|
884
|
-
|
|
885
|
-
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
Thank you for installing cucumber-1.2.0.
|
|
889
|
-
|
|
890
|
-
Please be sure to read http://wiki.github.com/cucumber/cucumber/upgrading
|
|
891
|
-
|
|
892
|
-
for important information about this release. Happy cuking!
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
'
|
|
883
|
+
post_install_message:
|
|
899
884
|
rdoc_options:
|
|
900
885
|
- --charset=UTF-8
|
|
901
886
|
require_paths:
|
|
@@ -917,7 +902,7 @@ rubyforge_project:
|
|
|
917
902
|
rubygems_version: 1.8.24
|
|
918
903
|
signing_key:
|
|
919
904
|
specification_version: 3
|
|
920
|
-
summary: cucumber-1.2.
|
|
905
|
+
summary: cucumber-1.2.1
|
|
921
906
|
test_files:
|
|
922
907
|
- features/background.feature
|
|
923
908
|
- features/backtraces.feature
|