remote-I18n-extension-hcc 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdabc3045dacb290fdf5348c537d0805a16244e8fed7bd1e66c5ce1f78478683
|
4
|
+
data.tar.gz: 25ce8f915df806e5c8ba69f5e58b1e897ed257b2d5a51f6db2972854e6d97221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fa163376fa690f4d0e3fb7ec8e58fdcfff5b7c1326cbdc2d492defe06b0d968a959a68672d0f68102e385ae47a4a66f569007b9f46a27ea95b71cb1a330d445
|
7
|
+
data.tar.gz: fe2836312d5f7e01ed848bb16f7efe5cc0cee4a6e9f0357c4f152ebe7adf12db5e25d2816ce40a934e26b653c00274b9d6842a41f77c4cfa450a0a61e973c60f
|
@@ -1,15 +1,13 @@
|
|
1
1
|
require 'rails/generators'
|
2
2
|
|
3
3
|
module RemoteI18nExtensionHcc
|
4
|
-
|
5
|
-
|
6
|
-
source_root File.expand_path('../templates', __dir__)
|
4
|
+
class InstallGenerator < Rails::Generators::Base
|
5
|
+
source_root File.expand_path('../templates', __dir__)
|
7
6
|
|
8
|
-
|
7
|
+
desc 'Creates config file for RemoteI18nExtensionHcc'
|
9
8
|
|
10
|
-
|
11
|
-
|
12
|
-
end
|
9
|
+
def copy_config
|
10
|
+
template 'remote-I18n-extension-hcc-config.rb', "#{Rails.root}/config/remote-I18n-extension-hcc.rb"
|
13
11
|
end
|
14
12
|
end
|
15
13
|
end
|