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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1ac7636dfc1feb757f7c5c1632617b8526c55d8
4
- data.tar.gz: cdbec10534de350dfe9ab812a2895d637fc089aa
3
+ metadata.gz: f9fa87aa10bf1f8d85f894cf9f2d0dc2af38ff0d
4
+ data.tar.gz: dca4e2cc4b32a865bfc5c43765c74edd66f61836
5
5
  SHA512:
6
- metadata.gz: 956f4acbc70dac684dadb23eb47db50e0304fe2846f9b6691c3d1b7e32f708102a3ec226db8b4215756fdaa29a8be4116cbc5a543f8c4aed17620c00787a2a5b
7
- data.tar.gz: dcb47a3daa227866faa6b6fd2529952c0974f8bd916a03ffe44cc45a5dcb5d67a55108589ec06aa18add6504a51291fe8b5b24e4a4ce8f185ae75e179e4a0fef
6
+ metadata.gz: 9a8cc85657046e34e65220ea1487093011a84b881bfc284e6ad3a5d1a652ceca753369c11740a121c31fce8a43a85fc921fa830e93200f0ce673dd1cddcea70f
7
+ data.tar.gz: 0f6223f9eeb843df7a1afddc746dee0c9a9571c331b8fe0ba5744c2bcc8a6ace285a52a601a66b7b7c43ebfec656131a91f629c1cf29201a7faa069e83c03cc3
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
@@ -5,10 +5,10 @@ module ForestLiana
5
5
  desc 'Forest Rails Liana installation generator'
6
6
 
7
7
  def install
8
- jwt_signing_key = ask('What\'s your project secret key?')
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.jwt_signing_key = '#{jwt_signing_key}'"
11
+ "ForestLiana.secret_key = '#{secret_key}'\nForestLiana.auth_key = '#{SecureRandom.urlsafe_base64}'"
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_liana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda