yahoo_weather 1.0.4 → 1.0.5
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/generators/yahoo_weather/copy_locale_generator.rb +2 -2
- data/lib/yahoo_weather/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: fb7f3ed0f6d36bd6de06d1b65c1f81010fbb22b8
|
4
|
+
data.tar.gz: ee771acace7a575324c9130cbfd92b38ac4913ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c0040b2a1e34ad92ec56f6901d6140c42bc575bc91788e33e7d5c71329176b1961fed055225aa6126a0aadea374d91bd5674f5572a365e39ed0775152b16aab
|
7
|
+
data.tar.gz: 62f99922def35adf04b07fa8585c8ea7ec6732295f38eb4043ec16afb20790ddab7b5d1be32b72f640e9349a2fc53e7143055a719d2607877bfacd572b6aa48f
|
data/Gemfile.lock
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
module YahooWeather
|
2
2
|
module Generators
|
3
3
|
class CopyLocaleGenerator < Rails::Generators::Base
|
4
|
-
source_root File.expand_path(__FILE__)
|
4
|
+
source_root File.expand_path('../../../../', __FILE__)
|
5
5
|
argument :locale, type: :string, default: 'en'
|
6
6
|
def copy_locale
|
7
|
-
copy_file "
|
7
|
+
copy_file "config/locales/#{locale.underscore}.yml", "config/locales/yahoo_weather.#{locale.underscore}.yml"
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|