web_translate_it 1.6.3 → 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/generators/webtranslateit/webtranslateit_generator.rb +1 -1
- data/history.md +4 -0
- data/lib/web_translate_it/tasks.rb +1 -0
- data/version.yml +1 -1
- metadata +2 -2
@@ -15,7 +15,7 @@ class WebtranslateitGenerator < Rails::Generator::Base
|
|
15
15
|
project_details = YAML.load WebTranslateIt::Project.fetch_info(options[:api_key])
|
16
16
|
m.template 'translation.yml', 'config/translation.yml',
|
17
17
|
:assigns => { :api_key => options[:api_key], :project => project_details["project"] }
|
18
|
-
m.append_to 'Rakefile', "require 'web_translate_it
|
18
|
+
m.append_to 'Rakefile', "require 'web_translate_it' rescue LoadError"
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
data/history.md
CHANGED
data/version.yml
CHANGED