authie 3.1.4 → 3.1.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: 06d55be51805149b69d8bd60a06a87df1400898a80bb2aa2ae53e3805efa268f
4
- data.tar.gz: 573abda148ce414df7745cf836c768d4fb7369cf41454c8b5b1443f56bfc71e8
3
+ metadata.gz: 99773bd27a0e94b3e5eaaf65806c19f309d8baed70db28a5acd11079aea2ed14
4
+ data.tar.gz: 2c83b6a5436566f3257f4f20da5c777e3d9c4333c6409a625867199fb11e20fb
5
5
  SHA512:
6
- metadata.gz: cbfd2c8e200bc82442a2ff4334b1e5f9b8739a7d99828ceef65b68b0304703cd39845f72469a52546bbf9dbd3bfc68337ff3c907140b362918dbc57ee15568d4
7
- data.tar.gz: 8c1ae0e5e37a4f3f9b4e7e17ea475904735fe929b26f56fe16eb773609ca3126727b1d6980f28186c077f70d88075d9c1e3f3f269b095574c562b462e72f2745
6
+ metadata.gz: 6e39d36cb66fc54bcdbcb0902098c8aaac9171add9147f4206b29586324db75c40de475c8bbd6c015e76fcdba7fe13a06d4d3f677f75c2c5a41c528b9695f86e
7
+ data.tar.gz: aced039e0b8409e5b727f50a2176efb73e52fad85c8347d418e8a004bfab8632a4ac7b34d98e504c46649676b881ac340f07a7f831d1de2ad0fda0996ecafd7b
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,6 +1,7 @@
1
1
  require 'authie/version'
2
2
  require 'authie/config'
3
3
  require 'authie/error'
4
+ require 'authie/user'
4
5
 
5
6
  if defined?(Rails)
6
7
  require 'authie/engine'
@@ -0,0 +1,9 @@
1
+ module Authie
2
+ module User
3
+
4
+ def self.included(base)
5
+ base.has_many :user_sessions, :class_name => 'Authie::Session', :as => :user, :dependent => :delete_all
6
+ end
7
+
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module Authie
2
- VERSION = '3.1.4'
2
+ VERSION = '3.1.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authie
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.4
4
+ version: 3.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
@@ -35,7 +35,7 @@ cert_chain:
35
35
  iyQrH6PJ0xgVJNYx+DLq3eFmo2hYJkw/lVhYAK+MdajtYJbD5VvCIEHO0d5RRgV+
36
36
  qnCNZoPPy0UtRmGKZTMZvVJEZiw4g0fY
37
37
  -----END CERTIFICATE-----
38
- date: 2018-03-12 00:00:00.000000000 Z
38
+ date: 2018-03-14 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description: A Rails library for storing user sessions in a backend database
41
41
  email:
@@ -60,6 +60,7 @@ files:
60
60
  - lib/authie/event_manager.rb
61
61
  - lib/authie/rack_controller.rb
62
62
  - lib/authie/session.rb
63
+ - lib/authie/user.rb
63
64
  - lib/authie/version.rb
64
65
  homepage: https://github.com/adamcooke/authie
65
66
  licenses:
metadata.gz.sig CHANGED
Binary file