translate_acts_as_translatable_models 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,6 @@
1
1
  require 'net/http'
2
2
  require 'rexml/document'
3
3
  require 'bing_translator'
4
- require 'htmlentities'
5
4
 
6
5
  desc "Translate your YAML files using Bing."
7
6
  task :translate_acts_as_translatable_models => :environment do
@@ -21,8 +20,6 @@ task :translate_acts_as_translatable_models => :environment do
21
20
 
22
21
  puts "Translating..."
23
22
 
24
- coder = HTMLEntities.new
25
-
26
23
  @class.split(",").each do |c|
27
24
  model = c.constantize
28
25
  model.enable_locale_fallbacks = false
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translate_acts_as_translatable_models
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lasse Bunk