i18n-spec 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
data/i18n-spec.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{i18n-spec}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Christopher Dell}]
@@ -32,7 +32,9 @@ module I18nSpec
32
32
 
33
33
  def is_a_complete_tranlsation_of?(default_locale_filepath)
34
34
  default_locale = LocaleFile.new(default_locale_filepath)
35
- translations.keys.sort == default_locale.translations.keys.sort
35
+ default_keys = flatten_tree(translations.values.first).keys.sort
36
+ keys = flatten_tree(default_locale.translations.values.first).keys.sort
37
+ keys == default_keys
36
38
  end
37
39
 
38
40
  protected
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-14 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70175620524520 !ruby/object:Gem::Requirement
16
+ requirement: &70103894863080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.3.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70175620524520
24
+ version_requirements: *70103894863080
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &70175620524040 !ruby/object:Gem::Requirement
27
+ requirement: &70103894862600 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.10
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70175620524040
35
+ version_requirements: *70103894862600
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &70175620523560 !ruby/object:Gem::Requirement
38
+ requirement: &70103894879260 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.6.4
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70175620523560
46
+ version_requirements: *70103894879260
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rcov
49
- requirement: &70175620540200 !ruby/object:Gem::Requirement
49
+ requirement: &70103894878780 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70175620540200
57
+ version_requirements: *70103894878780
58
58
  description: Includes a number of rspec matchers to make specing your locale files
59
59
  easy peasy.
60
60
  email: chris@tigrish.com
@@ -106,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  segments:
108
108
  - 0
109
- hash: 3986797986859654700
109
+ hash: -1546623889044819893
110
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  none: false
112
112
  requirements: