authie 3.1.0 → 3.1.1

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: d0803a1a80e3d9702dbbc903b0143f912fea8d15485468842b3e92ec6017a8ef
4
- data.tar.gz: 7e66c2b179f45749b608c1bb47a3c41d20bf16215d1ce683bb9ac6fe0a170262
3
+ metadata.gz: 4941a730d79a7366a0bc9918c87cbea607073a673d7ee2869f7d14c0b74efe74
4
+ data.tar.gz: 90575465e60a29257aeb3181715a9b82e1ca2b9c1cc10c03bee504796983e3b0
5
5
  SHA512:
6
- metadata.gz: a23bc816329aac99bde28bfc97591b159e3112db22d7ef44da4fd2c8b0119ecca4a2eb2398e88033506878226074702a36b5169c0159eb7ec7f7588ef57d480a
7
- data.tar.gz: 42ee0beacab3278edd1259b6ca8c8c8777875bac36a34456c16e54ee6c911fde3bb862e4019a38b196023d1e233259438836b546db5569a4d159c0a6b3e38d88
6
+ metadata.gz: 5b9acde1ac324fd41d3850a4efe44ecbe9c7c6cb045c0400707182c93fabda16fb20f33f409a7ab086a9fbd7c2e013415522b819da6b9d48ce9d62831c091177
7
+ data.tar.gz: 195f23c7ca8403180f322093d34593f05015c4aaad58ac836e86058b0f137ad1ed23cc62687243afa00fa4c062479b3a1b502870e0acdaff22a24d3d9adac55a
@@ -1,12 +1,15 @@
1
1
  module Authie
2
2
  class Session < ActiveRecord::Base
3
3
 
4
- # Define some errors which may be used
5
- class InactiveSession < Error; end
6
- class ExpiredSession < Error; end
7
- class BrowserMismatch < Error; end
4
+ # Errors which will be raised when there's an issue with a session's
5
+ # validity in the request.
6
+ class ValidityError < Error; end
7
+ class InactiveSession < ValidityError; end
8
+ class ExpiredSession < ValidityError; end
9
+ class BrowserMismatch < ValidityError; end
10
+ class HostMismatch < ValidityError; end
11
+
8
12
  class NoParentSessionForRevert < Error; end
9
- class HostMismatch < Error; end
10
13
 
11
14
  # Set table name
12
15
  self.table_name = "authie_sessions"
@@ -1,3 +1,3 @@
1
1
  module Authie
2
- VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authie
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-15 00:00:00.000000000 Z
11
+ date: 2018-02-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A Rails library for storing user sessions in a backend database
14
14
  email: