forest_liana 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forest_liana/version.rb +1 -1
- data/lib/generators/forest_liana/install_generator.rb +2 -2
- 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: f9fa87aa10bf1f8d85f894cf9f2d0dc2af38ff0d
|
4
|
+
data.tar.gz: dca4e2cc4b32a865bfc5c43765c74edd66f61836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a8cc85657046e34e65220ea1487093011a84b881bfc284e6ad3a5d1a652ceca753369c11740a121c31fce8a43a85fc921fa830e93200f0ce673dd1cddcea70f
|
7
|
+
data.tar.gz: 0f6223f9eeb843df7a1afddc746dee0c9a9571c331b8fe0ba5744c2bcc8a6ace285a52a601a66b7b7c43ebfec656131a91f629c1cf29201a7faa069e83c03cc3
|
data/lib/forest_liana/version.rb
CHANGED
@@ -5,10 +5,10 @@ module ForestLiana
|
|
5
5
|
desc 'Forest Rails Liana installation generator'
|
6
6
|
|
7
7
|
def install
|
8
|
-
|
8
|
+
secret_key = ask('What\'s your project secret key?')
|
9
9
|
route("mount ForestLiana::Engine => '/forest'")
|
10
10
|
initializer 'forest_liana.rb' do
|
11
|
-
"ForestLiana.
|
11
|
+
"ForestLiana.secret_key = '#{secret_key}'\nForestLiana.auth_key = '#{SecureRandom.urlsafe_base64}'"
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|