awesome_translations 0.0.42 → 0.0.43
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awesome_translations/handlers/file_handler.rb +0 -1
- data/lib/awesome_translations/version.rb +1 -1
- data/spec/dummy/db/awesome_translations.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +1266 -0
- data/spec/handlers/file_handler_spec.rb +3 -3
- metadata +2 -2
@@ -85,7 +85,7 @@ describe AwesomeTranslations::Handlers::FileHandler do
|
|
85
85
|
let(:yes_translation) { translations.find { |translation| translation.key == "yes" } }
|
86
86
|
|
87
87
|
it "finds the right translations" do
|
88
|
-
expect(translations.length).to eq
|
88
|
+
expect(translations.length).to eq 4
|
89
89
|
end
|
90
90
|
|
91
91
|
it "reads the keys right" do
|
@@ -96,8 +96,8 @@ describe AwesomeTranslations::Handlers::FileHandler do
|
|
96
96
|
expect(yes_translation.dir).to eq "#{Rails.root}/config/locales/awesome_translations"
|
97
97
|
end
|
98
98
|
|
99
|
-
it "
|
100
|
-
expect(translations.map(&:key)).
|
99
|
+
it "detects absolute existing direct translations" do
|
100
|
+
expect(translations.map(&:key)).to include "activerecord.attributes.users.email"
|
101
101
|
end
|
102
102
|
end
|
103
103
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awesome_translations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.43
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Johansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: array_enumerator
|