rspec-i18n 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +6 -0
- data/History.rdoc +40 -2
- data/License.txt +0 -1
- data/README.rdoc +19 -19
- data/Rakefile +54 -4
- data/TODO.txt +5 -24
- data/Tasks +3 -0
- data/VERSION.yml +3 -3
- data/bin/rspec-i18n +4 -13
- data/cucumber.yml +1 -0
- data/examples/i18n/de/german_spec.rb +39 -0
- data/examples/i18n/pt/{person_spec.rb → portuguese_spec.rb} +39 -7
- data/features/command_line/list_languages.feature +113 -0
- data/features/support/env.rb +13 -0
- data/lib/spec-i18n/command_line/language_help_formatter.rb +64 -58
- data/lib/spec-i18n/command_line/main.rb +1 -6
- data/lib/spec-i18n/command_line/options.rb +31 -17
- data/lib/spec-i18n/dsl/main.rb +23 -4
- data/lib/spec-i18n/example.rb +1 -0
- data/lib/spec-i18n/example/before_and_after_hooks.rb +26 -8
- data/lib/spec-i18n/example/example_group_methods.rb +9 -6
- data/lib/spec-i18n/example/pending.rb +19 -0
- data/lib/spec-i18n/example/subject.rb +2 -4
- data/lib/spec-i18n/expectations/extensions/kernel.rb +6 -4
- data/lib/spec-i18n/languages.yml +88 -50
- data/lib/spec-i18n/matchers.rb +0 -2
- data/lib/spec-i18n/matchers/be.rb +36 -49
- data/lib/spec-i18n/matchers/method_missing.rb +33 -17
- data/lib/spec-i18n/matchers/register_all_matchers.rb +1 -2
- data/lib/spec-i18n/matchers/translate_basic_matchers.rb +40 -14
- data/lib/spec-i18n/parser/natural_language.rb +228 -27
- data/lib/spec-i18n/platform.rb +0 -2
- data/lib/spec-i18n/runner/configuration.rb +64 -6
- data/lib/spec-i18n/spec_language.rb +29 -2
- data/rspec-i18n.gemspec +30 -20
- data/spec/spec-i18n/command_line/language_help_formatter_spec.rb +74 -49
- data/spec/spec-i18n/command_line/options_spec.rb +11 -2
- data/spec/spec-i18n/dsl/main_spec.rb +54 -12
- data/spec/spec-i18n/example/before_and_after_hooks_spec.rb +210 -88
- data/spec/spec-i18n/example/example_group_methods_spec.rb +26 -8
- data/spec/spec-i18n/example/pending_spec.rb +41 -0
- data/spec/spec-i18n/example/subject_spec.rb +27 -41
- data/spec/spec-i18n/expectations/kernel_spec.rb +29 -15
- data/spec/spec-i18n/matchers/be_close_spec.rb +7 -5
- data/spec/spec-i18n/matchers/be_instance_of_spec.rb +4 -5
- data/spec/spec-i18n/matchers/be_kind_of_spec.rb +3 -6
- data/spec/spec-i18n/matchers/be_spec.rb +255 -89
- data/spec/spec-i18n/matchers/eql_spec.rb +4 -6
- data/spec/spec-i18n/matchers/equal_spec.rb +28 -7
- data/spec/spec-i18n/matchers/exist_spec.rb +4 -5
- data/spec/spec-i18n/matchers/have_spec.rb +1 -1
- data/spec/spec-i18n/matchers/include_spec.rb +6 -8
- data/spec/spec-i18n/matchers/match_spec.rb +4 -5
- data/spec/spec-i18n/matchers/raise_error_spec.rb +5 -4
- data/spec/spec-i18n/matchers/satisfy_spec.rb +4 -5
- data/spec/spec-i18n/parser/natural_language_spec.rb +420 -58
- data/spec/spec-i18n/runner/{runner_spec.rb → rspec_i18n_language_spec.rb} +0 -0
- data/spec/spec-i18n/runner/{configuration_spec.rb → rspec_i18n_spec.rb} +28 -7
- data/spec/spec-i18n/spec_examples/pt/pessoa_spec.rb +63 -5
- data/spec/spec-i18n/spec_language_spec.rb +24 -10
- data/spec/spec.opts +1 -2
- data/spec/spec_helper.rb +26 -18
- metadata +102 -44
File without changes
|
@@ -6,9 +6,13 @@ module Spec
|
|
6
6
|
with_sandboxed_options do
|
7
7
|
with_sandboxed_config do
|
8
8
|
describe "#spec_language" do
|
9
|
+
|
10
|
+
before(:each) do
|
11
|
+
config.stub!(:warning_messages_for_incomplete_languages!).and_return(true)
|
12
|
+
end
|
9
13
|
|
10
|
-
it "should
|
11
|
-
config.spec_language(nil).should
|
14
|
+
it "should raise a error for language nil" do
|
15
|
+
lambda {config.spec_language(nil)}.should raise_exception(UndefinedLanguageError)
|
12
16
|
end
|
13
17
|
|
14
18
|
it "should return a pt language" do
|
@@ -19,11 +23,6 @@ module Spec
|
|
19
23
|
config.spec_language(:es).should == "es"
|
20
24
|
end
|
21
25
|
|
22
|
-
it "should return a en language for the nil parameter" do
|
23
|
-
config.spec_language(nil)
|
24
|
-
config.language.should == "en"
|
25
|
-
end
|
26
|
-
|
27
26
|
it "should set the portuguese language" do
|
28
27
|
config.spec_language(:pt)
|
29
28
|
config.language.should == "pt"
|
@@ -38,14 +37,36 @@ module Spec
|
|
38
37
|
|
39
38
|
end
|
40
39
|
end
|
40
|
+
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
+
context "a warning" do
|
46
|
+
|
47
|
+
before(:each) do
|
48
|
+
@en_au = SpecI18n::Parser::NaturalLanguage.get("en-au")
|
49
|
+
@en_au.stub!(:incomplete?).and_return(true)
|
50
|
+
mock_natural_language(@en_au)
|
51
|
+
end
|
52
|
+
|
53
|
+
it "should show for the incomplete language" do
|
54
|
+
message = "\n Language Warning: Incomplete Keywords For The Language 'en-au' \n"
|
55
|
+
Kernel.should_receive(:warn).with(message)
|
56
|
+
config = Spec::Runner::Configuration.new
|
57
|
+
config.should_receive(:load_language).and_return(true)
|
58
|
+
config.spec_language("en-au")
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
45
62
|
describe "load language" do
|
63
|
+
|
46
64
|
before(:each) do
|
65
|
+
@pt = SpecI18n::Parser::NaturalLanguage.get("pt")
|
47
66
|
@config = ::Spec::Runner::Configuration.new
|
67
|
+
mock_natural_language(@pt)
|
48
68
|
end
|
69
|
+
|
49
70
|
it "should load all the modules" do
|
50
71
|
Spec::DSL::Main.should_receive(:register_adverbs)
|
51
72
|
Kernel.should_receive(:register_expectations_keywords)
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# coding: UTF-8
|
1
2
|
require File.expand_path(File.join(__FILE__, "../../../../spec_helper"))
|
2
3
|
|
3
4
|
Spec::Runner.configure do |config|
|
@@ -5,7 +6,7 @@ Spec::Runner.configure do |config|
|
|
5
6
|
end
|
6
7
|
|
7
8
|
class Pessoa
|
8
|
-
attr_accessor :idade
|
9
|
+
attr_accessor :idade, :nome
|
9
10
|
def initialize(nome, sobrenome, opcoes={})
|
10
11
|
@nome = nome
|
11
12
|
@sobrenome = sobrenome
|
@@ -13,6 +14,14 @@ class Pessoa
|
|
13
14
|
@filhos = opcoes[:filhos]
|
14
15
|
end
|
15
16
|
|
17
|
+
def nome
|
18
|
+
@nome.downcase.to_sym
|
19
|
+
end
|
20
|
+
|
21
|
+
def exist?
|
22
|
+
true unless self.nil?
|
23
|
+
end
|
24
|
+
|
16
25
|
def nome_completo
|
17
26
|
"#{@nome} #{@sobrenome}"
|
18
27
|
end
|
@@ -50,7 +59,20 @@ class Pessoa
|
|
50
59
|
end
|
51
60
|
|
52
61
|
# Silly Tests for specifying the library in portuguese language
|
62
|
+
|
63
|
+
exemplos_distribuidos "Todas Pessoas" do
|
64
|
+
isto "deve se comportar como todas pessoas" do
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
distribua_como :TodasPessoas do
|
69
|
+
isto "deve se comportar como pessoas normais" do
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
53
73
|
descreva Pessoa do
|
74
|
+
deve_se_comportar_como "Todas Pessoas"
|
75
|
+
deve_se_comportar_como TodasPessoas
|
54
76
|
|
55
77
|
antes(:de_todos) do
|
56
78
|
@pessoa = Pessoa.new("Homer", "Simpson")
|
@@ -75,14 +97,26 @@ descreva Pessoa do
|
|
75
97
|
isto 'deve ser uma instancia da classe Pessoa' do
|
76
98
|
@pessoa.deve ser_instancia_de(Pessoa)
|
77
99
|
end
|
100
|
+
|
101
|
+
especificar 'deve existir' do
|
102
|
+
@pessoa.deve existir
|
103
|
+
end
|
78
104
|
|
79
|
-
|
105
|
+
especificar 'deve incluir uma pessoa' do
|
80
106
|
@pessoas.deve incluir(@pessoa)
|
81
107
|
end
|
82
108
|
|
83
|
-
|
109
|
+
especificar 'deve ser do tipo Pessoa' do
|
84
110
|
@pessoa.deve ser_do_tipo(Pessoa)
|
85
111
|
end
|
112
|
+
|
113
|
+
isto 'deve lançar uma excessão' do
|
114
|
+
lambda { @pessoa.isso_nao_existe }.deve mostrar_excessao
|
115
|
+
end
|
116
|
+
|
117
|
+
isto 'deve satisfazer a condicao de maior de idade' do
|
118
|
+
@pessoa.deve satisfazer { |pessoa| pessoa == @pessoa}
|
119
|
+
end
|
86
120
|
|
87
121
|
isto 'deve ter pelo menos uma pessoa' do
|
88
122
|
@pessoas.deve ter_no_minimo(1).items
|
@@ -108,8 +142,12 @@ descreva Pessoa do
|
|
108
142
|
@pessoa.nome_completo.deve ==("Tomás D'Stefano")
|
109
143
|
end
|
110
144
|
|
111
|
-
isto 'nome completo
|
112
|
-
@pessoa.
|
145
|
+
isto 'deve retornar nome completo em simbolo' do
|
146
|
+
@pessoa.nome.deve ser_igual_a(:tomás)
|
147
|
+
end
|
148
|
+
|
149
|
+
isto 'nome completo nao pode ser nulo' do
|
150
|
+
@pessoa.nome_completo.nao_deve ser_nulo
|
113
151
|
end
|
114
152
|
|
115
153
|
end
|
@@ -120,10 +158,12 @@ descreva Pessoa do
|
|
120
158
|
@pessoa = Pessoa.new("Aaromn", "Monkey", :idade => 20)
|
121
159
|
end
|
122
160
|
|
161
|
+
# Voce tambem pode usar a palavra especificar
|
123
162
|
especificar "deve ser opcional" do
|
124
163
|
@pessoa.idade.deve ser_igual_a(20)
|
125
164
|
end
|
126
165
|
|
166
|
+
# Voce tambem pode usar a palavra exemplo
|
127
167
|
exemplo "deve retornar verdadeiro se for maior de idade" do
|
128
168
|
@pessoa.maior_de_idade?.deve ser_verdadeiro
|
129
169
|
end
|
@@ -136,6 +176,10 @@ descreva Pessoa do
|
|
136
176
|
Pessoa.new("", "").informacoes.deve ser_nulo
|
137
177
|
end
|
138
178
|
|
179
|
+
exemplo 'deve retornar seu nome completo caso tenha informacoes' do
|
180
|
+
Pessoa.new('Homer', 'Simpson').informacoes.deve igl('Homer Simpson')
|
181
|
+
end
|
182
|
+
|
139
183
|
exemplo "deve não ter nenhum filho" do
|
140
184
|
@pessoa.filhos.deve ser_vazio
|
141
185
|
end
|
@@ -168,6 +212,10 @@ descreva Pessoa do
|
|
168
212
|
exemplo "nao deve estar pronto para votar" do
|
169
213
|
nao_deve estar_pronto_para_votar
|
170
214
|
end
|
215
|
+
|
216
|
+
exemplo 'deve ser menor de idade' do
|
217
|
+
deve ser_menor_de_idade
|
218
|
+
end
|
171
219
|
|
172
220
|
exemplo "nao deve ser maior de idade" do
|
173
221
|
nao_deve ser_maior_de_idade
|
@@ -183,3 +231,13 @@ descreva Pessoa do
|
|
183
231
|
end
|
184
232
|
|
185
233
|
end
|
234
|
+
|
235
|
+
class PessoaSpec < Spec::ExampleGroup
|
236
|
+
descreva 'deve mostrar erro' do
|
237
|
+
|
238
|
+
it "deve mostrar erro se não passar o sobrenome" do
|
239
|
+
lambda { Pessoa.new('Homer') }.deve mostrar_excessao
|
240
|
+
end
|
241
|
+
|
242
|
+
end
|
243
|
+
end
|
@@ -3,20 +3,34 @@ require "spec_helper"
|
|
3
3
|
describe SpecI18n do
|
4
4
|
|
5
5
|
before(:each) do
|
6
|
-
|
6
|
+
@configuration = Spec::Runner.configuration
|
7
|
+
@configuration.should_receive(:warning_messages_for_incomplete_languages!).and_return(true)
|
8
|
+
@configuration.should_receive(:load_language).and_return(true)
|
7
9
|
end
|
8
|
-
|
10
|
+
|
9
11
|
it "should assign the spec language constant" do
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
@configuration.spec_language('pt')
|
13
|
+
spec_language.should == 'pt'
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'should assign the spec language' do
|
17
|
+
@configuration.spec_language('es')
|
18
|
+
spec_language.should == 'es'
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'should assign the spec_language' do
|
22
|
+
@configuration.spec_language('en-au')
|
23
|
+
spec_language.should == 'en-au'
|
24
|
+
end
|
25
|
+
|
26
|
+
it "should assign the spec language - available for all modules" do
|
27
|
+
@configuration.spec_language('ko')
|
28
|
+
spec_language.should == 'ko'
|
15
29
|
end
|
16
30
|
|
17
31
|
it "should assign the natural language" do
|
18
|
-
|
19
|
-
|
20
|
-
natural_language.keywords.should == Parser::NaturalLanguage.get(spec_language).keywords
|
32
|
+
@configuration.spec_language('pt')
|
33
|
+
natural_language.keywords.should == Parser::NaturalLanguage.new(spec_language).keywords
|
21
34
|
end
|
35
|
+
|
22
36
|
end
|
data/spec/spec.opts
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,30 +1,28 @@
|
|
1
|
+
# coding: UTF-8
|
1
2
|
require 'rubygems'
|
2
|
-
require 'ruby-debug'
|
3
3
|
require 'spec'
|
4
4
|
require 'spec-i18n'
|
5
5
|
|
6
6
|
$:.unshift(File.dirname(__FILE__), '../lib')
|
7
7
|
|
8
|
+
ENV['AUTOFEATURE'] = 'true'
|
9
|
+
|
8
10
|
include SpecI18n
|
11
|
+
include SpecI18n::Parser
|
9
12
|
|
10
|
-
def
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
predicade = pt.stub(:keywords).and_return(expected)
|
17
|
-
expected
|
13
|
+
def stub_language!(natural_language, keywords)
|
14
|
+
language = NaturalLanguage.new(natural_language)
|
15
|
+
mock_natural_language(language)
|
16
|
+
stub_keywords!(language, keywords)
|
17
|
+
language
|
18
18
|
end
|
19
19
|
|
20
|
-
def
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
predicade = es.stub(:keywords).and_return(expected)
|
27
|
-
expected
|
20
|
+
def mock_natural_language(natural_language)
|
21
|
+
NaturalLanguage.should_receive(:new).at_least(:once).and_return(natural_language)
|
22
|
+
end
|
23
|
+
|
24
|
+
def stub_keywords!(natural_language, keywords)
|
25
|
+
natural_language.stub!(:keywords).and_return(keywords)
|
28
26
|
end
|
29
27
|
|
30
28
|
def with_sandboxed_options
|
@@ -47,7 +45,7 @@ def with_sandboxed_config
|
|
47
45
|
|
48
46
|
before(:each) do
|
49
47
|
@config = ::Spec::Runner::Configuration.new
|
50
|
-
@config.
|
48
|
+
@config.stub!(:load_language).and_return(true)
|
51
49
|
@original_configuration = ::Spec::Runner.configuration
|
52
50
|
spec_configuration = @config
|
53
51
|
::Spec::Runner.instance_eval {@configuration = spec_configuration}
|
@@ -83,3 +81,13 @@ module Spec
|
|
83
81
|
end
|
84
82
|
end
|
85
83
|
end
|
84
|
+
|
85
|
+
# Compatibility with Ruby 1.8 and Ruby 1.9
|
86
|
+
#
|
87
|
+
class Array
|
88
|
+
def all_to_symbols
|
89
|
+
self.collect! { |a| a.to_sym }
|
90
|
+
end
|
91
|
+
alias :to_symbols :all_to_symbols
|
92
|
+
alias :to_sym :all_to_symbols
|
93
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 31
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 1.2.0
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Tomas D'Stefano
|
@@ -9,69 +15,105 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date: 2010-
|
18
|
+
date: 2010-06-13 00:00:00 -03:00
|
13
19
|
default_executable: rspec-i18n
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: rspec
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 27
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 3
|
33
|
+
- 0
|
23
34
|
version: 1.3.0
|
24
|
-
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
25
37
|
- !ruby/object:Gem::Dependency
|
26
38
|
name: terminal-table
|
27
|
-
|
28
|
-
|
29
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
30
42
|
requirements:
|
31
43
|
- - ">="
|
32
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 4
|
49
|
+
- 2
|
33
50
|
version: 1.4.2
|
34
|
-
version:
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: term-ansicolor
|
37
51
|
type: :runtime
|
38
|
-
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - "="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 1.0.4
|
44
|
-
version:
|
52
|
+
version_requirements: *id002
|
45
53
|
- !ruby/object:Gem::Dependency
|
46
54
|
name: rspec
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 27
|
62
|
+
segments:
|
63
|
+
- 1
|
64
|
+
- 3
|
65
|
+
- 0
|
66
|
+
version: 1.3.0
|
47
67
|
type: :development
|
48
|
-
|
49
|
-
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: cucumber
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
50
74
|
requirements:
|
51
75
|
- - ">="
|
52
76
|
- !ruby/object:Gem::Version
|
53
|
-
|
54
|
-
|
77
|
+
hash: 3
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
- 6
|
81
|
+
- 2
|
82
|
+
version: 0.6.2
|
83
|
+
type: :development
|
84
|
+
version_requirements: *id004
|
55
85
|
- !ruby/object:Gem::Dependency
|
56
86
|
name: terminal-table
|
57
|
-
|
58
|
-
|
59
|
-
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
60
90
|
requirements:
|
61
91
|
- - ">="
|
62
92
|
- !ruby/object:Gem::Version
|
93
|
+
hash: 3
|
94
|
+
segments:
|
95
|
+
- 1
|
96
|
+
- 4
|
97
|
+
- 2
|
63
98
|
version: 1.4.2
|
64
|
-
version:
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: term-ansicolor
|
67
99
|
type: :development
|
68
|
-
|
69
|
-
|
100
|
+
version_requirements: *id005
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: aruba
|
103
|
+
prerelease: false
|
104
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
70
106
|
requirements:
|
71
|
-
- - "
|
107
|
+
- - ">="
|
72
108
|
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
|
109
|
+
hash: 21
|
110
|
+
segments:
|
111
|
+
- 0
|
112
|
+
- 1
|
113
|
+
- 7
|
114
|
+
version: 0.1.7
|
115
|
+
type: :development
|
116
|
+
version_requirements: *id006
|
75
117
|
description: A internacionalization tool written in Ruby for the Rspec Framework
|
76
118
|
email: tomasdestefi@gmail.com
|
77
119
|
executables:
|
@@ -82,14 +124,20 @@ extra_rdoc_files:
|
|
82
124
|
- README.rdoc
|
83
125
|
files:
|
84
126
|
- .gitignore
|
127
|
+
- Gemfile
|
85
128
|
- History.rdoc
|
86
129
|
- License.txt
|
87
130
|
- README.rdoc
|
88
131
|
- Rakefile
|
89
132
|
- TODO.txt
|
133
|
+
- Tasks
|
90
134
|
- VERSION.yml
|
91
135
|
- bin/rspec-i18n
|
92
|
-
-
|
136
|
+
- cucumber.yml
|
137
|
+
- examples/i18n/de/german_spec.rb
|
138
|
+
- examples/i18n/pt/portuguese_spec.rb
|
139
|
+
- features/command_line/list_languages.feature
|
140
|
+
- features/support/env.rb
|
93
141
|
- lib/spec-i18n.rb
|
94
142
|
- lib/spec-i18n/command_line/language_help_formatter.rb
|
95
143
|
- lib/spec-i18n/command_line/main.rb
|
@@ -99,6 +147,7 @@ files:
|
|
99
147
|
- lib/spec-i18n/example.rb
|
100
148
|
- lib/spec-i18n/example/before_and_after_hooks.rb
|
101
149
|
- lib/spec-i18n/example/example_group_methods.rb
|
150
|
+
- lib/spec-i18n/example/pending.rb
|
102
151
|
- lib/spec-i18n/example/subject.rb
|
103
152
|
- lib/spec-i18n/expectations.rb
|
104
153
|
- lib/spec-i18n/expectations/extensions.rb
|
@@ -122,6 +171,7 @@ files:
|
|
122
171
|
- spec/spec-i18n/dsl/main_spec.rb
|
123
172
|
- spec/spec-i18n/example/before_and_after_hooks_spec.rb
|
124
173
|
- spec/spec-i18n/example/example_group_methods_spec.rb
|
174
|
+
- spec/spec-i18n/example/pending_spec.rb
|
125
175
|
- spec/spec-i18n/example/subject_spec.rb
|
126
176
|
- spec/spec-i18n/expectations/kernel_spec.rb
|
127
177
|
- spec/spec-i18n/matchers/be_close_spec.rb
|
@@ -138,8 +188,8 @@ files:
|
|
138
188
|
- spec/spec-i18n/matchers/register_all_matchers_spec.rb
|
139
189
|
- spec/spec-i18n/matchers/satisfy_spec.rb
|
140
190
|
- spec/spec-i18n/parser/natural_language_spec.rb
|
141
|
-
- spec/spec-i18n/runner/
|
142
|
-
- spec/spec-i18n/runner/
|
191
|
+
- spec/spec-i18n/runner/rspec_i18n_language_spec.rb
|
192
|
+
- spec/spec-i18n/runner/rspec_i18n_spec.rb
|
143
193
|
- spec/spec-i18n/spec_examples/pt/pessoa_spec.rb
|
144
194
|
- spec/spec-i18n/spec_language_spec.rb
|
145
195
|
- spec/spec.opts
|
@@ -153,7 +203,7 @@ post_install_message: |
|
|
153
203
|
--------------------------------------------------------------------------------
|
154
204
|
U P G R A D I N G
|
155
205
|
|
156
|
-
Thank you for installing rspec-i18n-1.
|
206
|
+
Thank you for installing rspec-i18n-1.2.0
|
157
207
|
Please be sure to read http://wiki.github.com/tomas-stefano/rspec-i18n/upgrading
|
158
208
|
for information about this release.
|
159
209
|
|
@@ -166,21 +216,27 @@ rdoc_options:
|
|
166
216
|
require_paths:
|
167
217
|
- lib
|
168
218
|
required_ruby_version: !ruby/object:Gem::Requirement
|
219
|
+
none: false
|
169
220
|
requirements:
|
170
221
|
- - ">="
|
171
222
|
- !ruby/object:Gem::Version
|
223
|
+
hash: 3
|
224
|
+
segments:
|
225
|
+
- 0
|
172
226
|
version: "0"
|
173
|
-
version:
|
174
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
|
+
none: false
|
175
229
|
requirements:
|
176
230
|
- - ">="
|
177
231
|
- !ruby/object:Gem::Version
|
232
|
+
hash: 3
|
233
|
+
segments:
|
234
|
+
- 0
|
178
235
|
version: "0"
|
179
|
-
version:
|
180
236
|
requirements: []
|
181
237
|
|
182
238
|
rubyforge_project:
|
183
|
-
rubygems_version: 1.3.
|
239
|
+
rubygems_version: 1.3.7
|
184
240
|
signing_key:
|
185
241
|
specification_version: 3
|
186
242
|
summary: The internacionalization gem for Rspec
|
@@ -191,6 +247,7 @@ test_files:
|
|
191
247
|
- spec/spec-i18n/dsl/main_spec.rb
|
192
248
|
- spec/spec-i18n/example/before_and_after_hooks_spec.rb
|
193
249
|
- spec/spec-i18n/example/example_group_methods_spec.rb
|
250
|
+
- spec/spec-i18n/example/pending_spec.rb
|
194
251
|
- spec/spec-i18n/example/subject_spec.rb
|
195
252
|
- spec/spec-i18n/expectations/kernel_spec.rb
|
196
253
|
- spec/spec-i18n/matchers/be_close_spec.rb
|
@@ -207,9 +264,10 @@ test_files:
|
|
207
264
|
- spec/spec-i18n/matchers/register_all_matchers_spec.rb
|
208
265
|
- spec/spec-i18n/matchers/satisfy_spec.rb
|
209
266
|
- spec/spec-i18n/parser/natural_language_spec.rb
|
210
|
-
- spec/spec-i18n/runner/
|
211
|
-
- spec/spec-i18n/runner/
|
267
|
+
- spec/spec-i18n/runner/rspec_i18n_language_spec.rb
|
268
|
+
- spec/spec-i18n/runner/rspec_i18n_spec.rb
|
212
269
|
- spec/spec-i18n/spec_examples/pt/pessoa_spec.rb
|
213
270
|
- spec/spec-i18n/spec_language_spec.rb
|
214
271
|
- spec/spec_helper.rb
|
215
|
-
- examples/i18n/
|
272
|
+
- examples/i18n/de/german_spec.rb
|
273
|
+
- examples/i18n/pt/portuguese_spec.rb
|