instant_login 0.0.1 → 0.0.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: 63d9881efedbd05d9c96ca87756e435a89f65352
4
- data.tar.gz: 6e7636bae15eaa0a401c3d37ea726d35581cbd80
3
+ metadata.gz: d0b0bd5a5e6c35f8609cb75d3d880414c02e2c09
4
+ data.tar.gz: 344495464463ae03920b01abdc1d86aacfeb939e
5
5
  SHA512:
6
- metadata.gz: 6113a118a8e03b2a97666d0cb559853486b278632f5658f5df1ac4c1c809c5b2a64bdaacc95bd1d69fb9684caf4d56adb8d1c9855ae2580afb5a5823e4df4f79
7
- data.tar.gz: ecc87df45e8292d907a609a18119ebfc435b4ae9504a184327c63cae96b3a7588879c852c163453963a5fcdf25aea83ba2be7f8ebac415fcd7f66785c6c2d0b2
6
+ metadata.gz: deb667a0a8b1a95ee2f8e2ccc6fd0855e372aa61765904f34ebfc0c0187aaf1e830275d69c5d4509d13d9a2a92f3e231b27edc487d0a67e913e0a3378c5f86c5
7
+ data.tar.gz: 655c04bcfb05a4f236e4bf62116b6fc12aa22c5df4b6522f365972bb0582601c57de12e8c2d7709dff54c56a47f919684b7f231ae120161d9ce1f5a700535c91
@@ -17,7 +17,7 @@ module InstantLogin
17
17
  end
18
18
 
19
19
  def copy_migration_files
20
- migration_template "migration.rb", "db/migrate/instant_login.rb" if options["migration"]
20
+ migration_template "migration.rb", "db/migrate/instant_login_migration.rb" if options["migration"]
21
21
  end
22
22
 
23
23
  def self.next_migration_number(dirname)
@@ -1,3 +1,3 @@
1
1
  module InstantLogin
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/instant_login.rb CHANGED
@@ -12,7 +12,7 @@ module InstantLogin
12
12
  config_accessor(:failure_path) { '/' }
13
13
 
14
14
  # By default we store the signed in user id in this session key
15
- config_accessor(:session_key) { 'current_user_id' }
15
+ config_accessor(:session_key) { 'user_id' }
16
16
 
17
17
  # Convenience method to reset configuration
18
18
  def self.reset_configuration!
@@ -20,6 +20,6 @@ module InstantLogin
20
20
  config.user_mailer = nil
21
21
  config.success_path = '/'
22
22
  config.failure_path = '/'
23
- config.session_key = 'current_user_id'
23
+ config.session_key = 'user_id'
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instant_login
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephan Pavlovic