idiom 0.6.0 → 0.7.0

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 +5 -5
  4. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.7.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "idiom"
8
- s.version = "0.6.0"
8
+ s.version = "0.7.0"
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-05-25"
12
+ s.date = "2012-07-27"
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"]
@@ -96,12 +96,12 @@ module Idiom #:nodoc:
96
96
  end
97
97
 
98
98
  def post_process(value, lang)
99
- value.gsub!('"。', '。"')
100
- value.gsub!(/^[''"「«]+/, "")
101
- value.gsub!(/[''"」»]+$/, "")
99
+ # value.gsub!('"。', '。"')
100
+ # value.gsub!(/^[''"「«]+/, "")
101
+ # value.gsub!(/[''"」»]+$/, "")
102
102
  value.gsub!('"', "'")
103
- value.gsub!("«", "")
104
- value.gsub!("»", "")
103
+ # value.gsub!("«", "")
104
+ # value.gsub!("»", "")
105
105
  value.gsub!("&lt;", "<")
106
106
  value.gsub!("&gt;", ">")
107
107
  value.gsub!("{ ", "{")
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: 7
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 6
8
+ - 7
9
9
  - 0
10
- version: 0.6.0
10
+ version: 0.7.0
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-05-25 00:00:00 Z
18
+ date: 2012-07-27 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime