simple_auth 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_auth (1.4.2)
4
+ simple_auth (1.4.3)
5
5
  rails (>= 3.0.0)
6
6
 
7
7
  GEM
data/README.markdown CHANGED
@@ -172,11 +172,6 @@ You may receive strange errors related to `can't dup NilClass` or `You have a ni
172
172
 
173
173
  Dirty, but it works. Here's the ticket for this issue: [Issue #1290](https://rails.lighthouseapp.com/projects/8994/tickets/1290-activerecord-raises-randomly-apparently-a-timezone-issue#ticket-1290-30)
174
174
 
175
- To-Do
176
- -----
177
-
178
- * Support BasicAuth authentication
179
-
180
175
  Maintainer
181
176
  ----------
182
177
 
data/lib/simple_auth.rb CHANGED
@@ -5,6 +5,7 @@ require "active_support/all"
5
5
 
6
6
  require "simple_auth/railtie"
7
7
  require "simple_auth/config"
8
+ require "simple_auth/exceptions"
8
9
  require "simple_auth/action_controller"
9
10
  require "simple_auth/orm/base"
10
11
  require "simple_auth/orm/active_record"
@@ -13,8 +14,3 @@ require "simple_auth/session"
13
14
  require "simple_auth/helper"
14
15
  require "simple_auth/version"
15
16
 
16
- module SimpleAuth
17
- class RecordNotFound < StandardError; end
18
- class NotAuthorized < StandardError; end
19
- class AbstractMethodError < StandardError; end
20
- end
@@ -0,0 +1,5 @@
1
+ module SimpleAuth
2
+ class RecordNotFound < StandardError; end
3
+ class NotAuthorized < StandardError; end
4
+ class AbstractMethodError < StandardError; end
5
+ end
@@ -2,7 +2,7 @@ module SimpleAuth
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 4
5
- PATCH = 2
5
+ PATCH = 3
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-01 00:00:00.000000000 Z
12
+ date: 2012-03-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70284204693240 !ruby/object:Gem::Requirement
16
+ requirement: &2208397540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70284204693240
24
+ version_requirements: *2208397540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3-ruby
27
- requirement: &70284204691120 !ruby/object:Gem::Requirement
27
+ requirement: &2208397120 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70284204691120
35
+ version_requirements: *2208397120
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec-rails
38
- requirement: &70284204983940 !ruby/object:Gem::Requirement
38
+ requirement: &2208396520 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '2.5'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70284204983940
46
+ version_requirements: *2208396520
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: mongo_mapper
49
- requirement: &70284204982160 !ruby/object:Gem::Requirement
49
+ requirement: &2208396020 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.9.1
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70284204982160
57
+ version_requirements: *2208396020
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bson_ext
60
- requirement: &70284204980960 !ruby/object:Gem::Requirement
60
+ requirement: &2208395620 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70284204980960
68
+ version_requirements: *2208395620
69
69
  description: A simple authentication system for Rails apps
70
70
  email:
71
71
  - fnando.vieira@gmail.com
@@ -82,6 +82,7 @@ files:
82
82
  - lib/simple_auth.rb
83
83
  - lib/simple_auth/action_controller.rb
84
84
  - lib/simple_auth/config.rb
85
+ - lib/simple_auth/exceptions.rb
85
86
  - lib/simple_auth/generator.rb
86
87
  - lib/simple_auth/helper.rb
87
88
  - lib/simple_auth/orm/active_record.rb
@@ -127,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
128
  version: '0'
128
129
  segments:
129
130
  - 0
130
- hash: -4357335546768423915
131
+ hash: 1909981743605474267
131
132
  required_rubygems_version: !ruby/object:Gem::Requirement
132
133
  none: false
133
134
  requirements:
@@ -136,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
137
  version: '0'
137
138
  segments:
138
139
  - 0
139
- hash: -4357335546768423915
140
+ hash: 1909981743605474267
140
141
  requirements: []
141
142
  rubyforge_project:
142
143
  rubygems_version: 1.8.11