simple_auth 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,43 +1,43 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_auth (1.3.1)
4
+ simple_auth (1.3.2)
5
5
  rails (~> 3.0.0)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
10
  abstract (1.0.0)
11
- actionmailer (3.0.5)
12
- actionpack (= 3.0.5)
11
+ actionmailer (3.0.7)
12
+ actionpack (= 3.0.7)
13
13
  mail (~> 2.2.15)
14
- actionpack (3.0.5)
15
- activemodel (= 3.0.5)
16
- activesupport (= 3.0.5)
14
+ actionpack (3.0.7)
15
+ activemodel (= 3.0.7)
16
+ activesupport (= 3.0.7)
17
17
  builder (~> 2.1.2)
18
18
  erubis (~> 2.6.6)
19
- i18n (~> 0.4)
19
+ i18n (~> 0.5.0)
20
20
  rack (~> 1.2.1)
21
- rack-mount (~> 0.6.13)
21
+ rack-mount (~> 0.6.14)
22
22
  rack-test (~> 0.5.7)
23
23
  tzinfo (~> 0.3.23)
24
- activemodel (3.0.5)
25
- activesupport (= 3.0.5)
24
+ activemodel (3.0.7)
25
+ activesupport (= 3.0.7)
26
26
  builder (~> 2.1.2)
27
- i18n (~> 0.4)
28
- activerecord (3.0.5)
29
- activemodel (= 3.0.5)
30
- activesupport (= 3.0.5)
27
+ i18n (~> 0.5.0)
28
+ activerecord (3.0.7)
29
+ activemodel (= 3.0.7)
30
+ activesupport (= 3.0.7)
31
31
  arel (~> 2.0.2)
32
32
  tzinfo (~> 0.3.23)
33
- activeresource (3.0.5)
34
- activemodel (= 3.0.5)
35
- activesupport (= 3.0.5)
36
- activesupport (3.0.5)
33
+ activeresource (3.0.7)
34
+ activemodel (= 3.0.7)
35
+ activesupport (= 3.0.7)
36
+ activesupport (3.0.7)
37
37
  archive-tar-minitar (0.5.2)
38
38
  arel (2.0.9)
39
- bson (1.2.4)
40
- bson_ext (1.2.4)
39
+ bson (1.3.0)
40
+ bson_ext (1.3.0)
41
41
  builder (2.1.2)
42
42
  columnize (0.3.2)
43
43
  diff-lcs (1.1.2)
@@ -46,16 +46,16 @@ GEM
46
46
  i18n (0.5.0)
47
47
  jnunemaker-validatable (1.8.4)
48
48
  activesupport (>= 2.3.4)
49
- linecache19 (0.5.11)
49
+ linecache19 (0.5.12)
50
50
  ruby_core_source (>= 0.1.4)
51
- mail (2.2.15)
51
+ mail (2.2.19)
52
52
  activesupport (>= 2.3.6)
53
53
  i18n (>= 0.4.0)
54
54
  mime-types (~> 1.16)
55
55
  treetop (~> 1.4.8)
56
56
  mime-types (1.16)
57
- mongo (1.2.2)
58
- bson (>= 1.2.2)
57
+ mongo (1.3.0)
58
+ bson (>= 1.3.0)
59
59
  mongo_mapper (0.8.6)
60
60
  activesupport (>= 2.3.4)
61
61
  jnunemaker-validatable (~> 1.8.4)
@@ -63,22 +63,22 @@ GEM
63
63
  plucky (0.3.6)
64
64
  mongo (~> 1.1)
65
65
  polyglot (0.3.1)
66
- rack (1.2.1)
67
- rack-mount (0.6.13)
66
+ rack (1.2.2)
67
+ rack-mount (0.6.14)
68
68
  rack (>= 1.0.0)
69
69
  rack-test (0.5.7)
70
70
  rack (>= 1.0)
71
- rails (3.0.5)
72
- actionmailer (= 3.0.5)
73
- actionpack (= 3.0.5)
74
- activerecord (= 3.0.5)
75
- activeresource (= 3.0.5)
76
- activesupport (= 3.0.5)
71
+ rails (3.0.7)
72
+ actionmailer (= 3.0.7)
73
+ actionpack (= 3.0.7)
74
+ activerecord (= 3.0.7)
75
+ activeresource (= 3.0.7)
76
+ activesupport (= 3.0.7)
77
77
  bundler (~> 1.0)
78
- railties (= 3.0.5)
79
- railties (3.0.5)
80
- actionpack (= 3.0.5)
81
- activesupport (= 3.0.5)
78
+ railties (= 3.0.7)
79
+ railties (3.0.7)
80
+ actionpack (= 3.0.7)
81
+ activesupport (= 3.0.7)
82
82
  rake (>= 0.8.7)
83
83
  thor (~> 0.14.4)
84
84
  rake (0.8.7)
@@ -95,7 +95,7 @@ GEM
95
95
  activesupport (~> 3.0)
96
96
  railties (~> 3.0)
97
97
  rspec (~> 2.5.0)
98
- ruby-debug-base19 (0.11.24)
98
+ ruby-debug-base19 (0.11.25)
99
99
  columnize (>= 0.3.1)
100
100
  linecache19 (>= 0.5.11)
101
101
  ruby_core_source (>= 0.1.4)
@@ -103,7 +103,7 @@ GEM
103
103
  columnize (>= 0.3.1)
104
104
  linecache19 (>= 0.5.11)
105
105
  ruby-debug-base19 (>= 0.11.19)
106
- ruby_core_source (0.1.4)
106
+ ruby_core_source (0.1.5)
107
107
  archive-tar-minitar (>= 0.5.2)
108
108
  sqlite3 (1.3.3)
109
109
  sqlite3-ruby (1.3.3)
@@ -111,7 +111,7 @@ GEM
111
111
  thor (0.14.6)
112
112
  treetop (1.4.9)
113
113
  polyglot (>= 0.3.1)
114
- tzinfo (0.3.24)
114
+ tzinfo (0.3.27)
115
115
 
116
116
  PLATFORMS
117
117
  ruby
@@ -2,7 +2,7 @@ module SimpleAuth
2
2
  module Version
3
3
  MAJOR = 1
4
4
  MINOR = 3
5
- PATCH = 1
5
+ PATCH = 2
6
6
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
  end
8
8
  end
@@ -0,0 +1,9 @@
1
+ require "spec_helper"
2
+
3
+ describe "Initializer" do
4
+ it "runs smoothly" do
5
+ expect {
6
+ load File.dirname(__FILE__) + "/../../templates/initializer.rb"
7
+ }.to_not raise_error
8
+ end
9
+ end
@@ -26,6 +26,5 @@ SimpleAuth.setup do |config|
26
26
  # Additionally, you can enable this option to remove any other key composed by
27
27
  # <tt>#{SimpleAuth::Config.model}_*</tt>.
28
28
  #
29
- cattr_accessor :wipeout_session
30
- @@wipeout_session = false
29
+ # config.wipeout_session = true
31
30
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: simple_auth
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.1
5
+ version: 1.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nando Vieira
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-28 00:00:00 -03:00
14
- default_executable:
13
+ date: 2011-05-01 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rails
@@ -115,6 +114,7 @@ files:
115
114
  - spec/simple_auth/active_record_spec.rb
116
115
  - spec/simple_auth/config_spec.rb
117
116
  - spec/simple_auth/helper_spec.rb
117
+ - spec/simple_auth/initializer_spec.rb
118
118
  - spec/simple_auth/mongo_mapper_spec.rb
119
119
  - spec/simple_auth/session_spec.rb
120
120
  - spec/spec_helper.rb
@@ -127,7 +127,6 @@ files:
127
127
  - spec/support/config/database.yml
128
128
  - spec/support/config/routes.rb
129
129
  - templates/initializer.rb
130
- has_rdoc: true
131
130
  homepage: http://rubygems.org/gems/simple_auth
132
131
  licenses: []
133
132
 
@@ -151,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
150
  requirements: []
152
151
 
153
152
  rubyforge_project:
154
- rubygems_version: 1.6.0
153
+ rubygems_version: 1.7.2
155
154
  signing_key:
156
155
  specification_version: 3
157
156
  summary: A simple authentication system for Rails apps
@@ -162,6 +161,7 @@ test_files:
162
161
  - spec/simple_auth/active_record_spec.rb
163
162
  - spec/simple_auth/config_spec.rb
164
163
  - spec/simple_auth/helper_spec.rb
164
+ - spec/simple_auth/initializer_spec.rb
165
165
  - spec/simple_auth/mongo_mapper_spec.rb
166
166
  - spec/simple_auth/session_spec.rb
167
167
  - spec/spec_helper.rb