shutl_auth 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Shutl
2
2
  module Auth
3
- VERSION = "0.9.1"
3
+ VERSION = "0.9.2"
4
4
  end
5
5
  end
data/lib/shutl_auth.rb CHANGED
@@ -10,7 +10,15 @@ require "shutl/auth/authenticator"
10
10
  require 'logger'
11
11
 
12
12
  module Shutl
13
- class UnauthorizedAccess < ::StandardError ; end
13
+ class UnauthorizedAccess < ::StandardError
14
+ attr_reader :status
15
+
16
+ def initialize(message = nil, status = nil)
17
+ super(message)
18
+ @status = status
19
+ end
20
+ end
21
+
14
22
  class Error < ::StandardError; end
15
23
 
16
24
  module Auth
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shutl_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-08 00:00:00.000000000 Z
12
+ date: 2014-08-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: retriable
@@ -186,12 +186,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  - - ! '>='
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
+ segments:
190
+ - 0
191
+ hash: 2770925906300085835
189
192
  required_rubygems_version: !ruby/object:Gem::Requirement
190
193
  none: false
191
194
  requirements:
192
195
  - - ! '>='
193
196
  - !ruby/object:Gem::Version
194
197
  version: '0'
198
+ segments:
199
+ - 0
200
+ hash: 2770925906300085835
195
201
  requirements: []
196
202
  rubyforge_project:
197
203
  rubygems_version: 1.8.23