yaml-translator 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/yaml-translator.rb +0 -8
- data/lib/yaml-translator/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55695442615692bd7b19bae593efbe436258a1f5
|
4
|
+
data.tar.gz: f1636386cf5e84f6fecdecad78088d33ae376758
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef1fe30186ea4895544f444a9d46dc35f45e80de0ea5a18672526d755a8847f895a5655036d111b436ba6c5792e228cccf0aaa8cbefa23ed7b5db7a9cdeb2d6e
|
7
|
+
data.tar.gz: 7be226a87c7836b1cf9061152c50d0884b7dcf5dc5088dbfce8f784d90f73687695fbae293152372d39f3461ec0e82e8ecbb371fd21ee9a5eb1b9cfadf2a2bb2
|
data/Gemfile.lock
CHANGED
data/lib/yaml-translator.rb
CHANGED
@@ -8,14 +8,6 @@ require 'yaml-translator/adapters'
|
|
8
8
|
|
9
9
|
module YamlTranslator
|
10
10
|
class << self
|
11
|
-
def load(s)
|
12
|
-
Locale.load(s)
|
13
|
-
end
|
14
|
-
|
15
|
-
def load_file(file)
|
16
|
-
Locale.load_file(file)
|
17
|
-
end
|
18
|
-
|
19
11
|
def create(name, options={})
|
20
12
|
adapter = Adapters.find_and_create(name, options)
|
21
13
|
Translator.new(adapter)
|