idiom 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/idiom.gemspec +2 -2
  3. data/lib/idiom/base.rb +2 -1
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
data/idiom.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "idiom"
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Coleman"]
12
- s.date = "2012-02-20"
12
+ s.date = "2012-02-21"
13
13
  s.description = "Takes a set of keys in Yaml format and translates them through Google Translate."
14
14
  s.email = "progressions@gmail.com"
15
15
  s.executables = ["idiom"]
data/lib/idiom/base.rb CHANGED
@@ -40,8 +40,9 @@ module Idiom #:nodoc:
40
40
  # The key is the I18n representation, and the value is the code Google Translate would expect.
41
41
  #
42
42
 
43
- LOCALES = YAML.load_file("./config/locales.yml")
43
+ # LOCALES = YAML.load_file("./config/locales.yml")
44
44
  CONFIG = YAML.load_file("./config/idiom.yml")
45
+ LOCALES = CONFIG["locales"]
45
46
 
46
47
  # locales
47
48
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idiom
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeff Coleman
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-20 00:00:00 Z
18
+ date: 2012-02-21 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime