simple_admin_auth 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 778f7b2792642130800e0aef4ad721a01dd88e16
4
- data.tar.gz: 31b9f1072e04c83111dc2a474940492e8f772b24
3
+ metadata.gz: 0391f8fb3293ede817af3503a17a27cd4669d641
4
+ data.tar.gz: 1638a66408145ae410a2746be87fd984fe91b0c8
5
5
  SHA512:
6
- metadata.gz: e036b37199c206b719a78d891c6323fe75dd3bc9ddf54f077aa42f4beee9a2325744e469834f04c8390a1fc8f682e8254e871c1443c5ac147d29282211165948
7
- data.tar.gz: 4bbf83c4be4ca06576796991c5cf5d8ccda44b002b1e85ee83c3efb286b5ff1a3e493c4f1c13d90ab161c2ed450b265a59e922df9c72dc92bee34fed32d3010d
6
+ metadata.gz: 0b15d024b2c4afea8f61d9e4bd8e96d37e513a6594710022532fb99b1dbdb3815cb6f0fd588f8998a39bad949ffbd60161a936b5007420293c624c3558652bff
7
+ data.tar.gz: b0a8a7e61a84fa3baef32119f67f17af1df87cfe6da95e1843fa6d44c054b24cc51454c4816142b81ff3b22fe4c61d01cfb72bb96a0da0386e3a254129a14145
data/.travis.yml CHANGED
@@ -6,10 +6,12 @@ rvm:
6
6
 
7
7
  gemfile:
8
8
  - gemfiles/rack1.5.gemfile
9
+ - gemfiles/rack1.6.gemfile
9
10
  - gemfiles/rails3.2.gemfile
10
11
  - gemfiles/rails4.0.gemfile
11
12
  - gemfiles/rails4.1.gemfile
13
+ - gemfiles/rails4.2.gemfile
12
14
 
13
15
  notifications:
14
16
  recipients:
15
- - ralf@embarkmobile.com
17
+ - ralf@journeyapps.com
data/Gemfile CHANGED
@@ -7,5 +7,5 @@ gem 'thin'
7
7
  gem 'omniauth-google-oauth2'
8
8
  gem 'rake'
9
9
  gem 'rack-test'
10
- gem 'rails', '~> 3.2.0'
10
+ gem 'rails', '~> 4.2.0'
11
11
  gem 'rspec'
data/Gemfile.lock CHANGED
@@ -1,61 +1,75 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_admin_auth (0.1.2)
4
+ simple_admin_auth (0.1.3)
5
5
  omniauth
6
6
  sinatra
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionmailer (3.2.19)
12
- actionpack (= 3.2.19)
13
- mail (~> 2.5.4)
14
- actionpack (3.2.19)
15
- activemodel (= 3.2.19)
16
- activesupport (= 3.2.19)
17
- builder (~> 3.0.0)
11
+ actionmailer (4.2.0)
12
+ actionpack (= 4.2.0)
13
+ actionview (= 4.2.0)
14
+ activejob (= 4.2.0)
15
+ mail (~> 2.5, >= 2.5.4)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ actionpack (4.2.0)
18
+ actionview (= 4.2.0)
19
+ activesupport (= 4.2.0)
20
+ rack (~> 1.6.0)
21
+ rack-test (~> 0.6.2)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
24
+ actionview (4.2.0)
25
+ activesupport (= 4.2.0)
26
+ builder (~> 3.1)
18
27
  erubis (~> 2.7.0)
19
- journey (~> 1.0.4)
20
- rack (~> 1.4.5)
21
- rack-cache (~> 1.2)
22
- rack-test (~> 0.6.1)
23
- sprockets (~> 2.2.1)
24
- activemodel (3.2.19)
25
- activesupport (= 3.2.19)
26
- builder (~> 3.0.0)
27
- activerecord (3.2.19)
28
- activemodel (= 3.2.19)
29
- activesupport (= 3.2.19)
30
- arel (~> 3.0.2)
31
- tzinfo (~> 0.3.29)
32
- activeresource (3.2.19)
33
- activemodel (= 3.2.19)
34
- activesupport (= 3.2.19)
35
- activesupport (3.2.19)
36
- i18n (~> 0.6, >= 0.6.4)
37
- multi_json (~> 1.0)
38
- arel (3.0.3)
39
- builder (3.0.4)
28
+ rails-dom-testing (~> 1.0, >= 1.0.5)
29
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
30
+ activejob (4.2.0)
31
+ activesupport (= 4.2.0)
32
+ globalid (>= 0.3.0)
33
+ activemodel (4.2.0)
34
+ activesupport (= 4.2.0)
35
+ builder (~> 3.1)
36
+ activerecord (4.2.0)
37
+ activemodel (= 4.2.0)
38
+ activesupport (= 4.2.0)
39
+ arel (~> 6.0)
40
+ activesupport (4.2.0)
41
+ i18n (~> 0.7)
42
+ json (~> 1.7, >= 1.7.7)
43
+ minitest (~> 5.1)
44
+ thread_safe (~> 0.3, >= 0.3.4)
45
+ tzinfo (~> 1.1)
46
+ arel (6.0.0)
47
+ builder (3.2.2)
40
48
  daemons (1.1.9)
41
49
  diff-lcs (1.2.5)
42
50
  erubis (2.7.0)
43
- eventmachine (1.0.3)
44
- faraday (0.9.0)
51
+ eventmachine (1.0.6)
52
+ faraday (0.9.1)
45
53
  multipart-post (>= 1.2, < 3)
46
- hashie (3.3.1)
54
+ globalid (0.3.0)
55
+ activesupport (>= 4.1.0)
56
+ hashie (3.4.0)
47
57
  hike (1.2.3)
48
- i18n (0.6.11)
49
- journey (1.0.4)
50
- json (1.8.1)
51
- jwt (1.0.0)
52
- mail (2.5.4)
53
- mime-types (~> 1.16)
54
- treetop (~> 1.4.8)
55
- mime-types (1.25.1)
58
+ i18n (0.7.0)
59
+ json (1.8.2)
60
+ jwt (1.2.1)
61
+ loofah (2.0.1)
62
+ nokogiri (>= 1.5.9)
63
+ mail (2.6.3)
64
+ mime-types (>= 1.16, < 3)
65
+ mime-types (2.4.3)
66
+ mini_portile (0.6.2)
67
+ minitest (5.5.1)
56
68
  multi_json (1.10.1)
57
69
  multi_xml (0.5.5)
58
70
  multipart-post (2.0.0)
71
+ nokogiri (1.6.6.2)
72
+ mini_portile (~> 0.6.0)
59
73
  oauth2 (1.0.0)
60
74
  faraday (>= 0.8, < 0.10)
61
75
  jwt (~> 1.0)
@@ -65,7 +79,7 @@ GEM
65
79
  omniauth (1.2.2)
66
80
  hashie (>= 1.2, < 4)
67
81
  rack (~> 1.0)
68
- omniauth-google-oauth2 (0.2.5)
82
+ omniauth-google-oauth2 (0.2.6)
69
83
  omniauth (> 1.0)
70
84
  omniauth-oauth2 (~> 1.1)
71
85
  omniauth-oauth2 (1.2.0)
@@ -73,65 +87,71 @@ GEM
73
87
  multi_json (~> 1.3)
74
88
  oauth2 (~> 1.0)
75
89
  omniauth (~> 1.2)
76
- polyglot (0.3.5)
77
- rack (1.4.5)
78
- rack-cache (1.2)
79
- rack (>= 0.4)
90
+ rack (1.6.0)
80
91
  rack-protection (1.5.3)
81
92
  rack
82
- rack-ssl (1.3.4)
83
- rack
84
- rack-test (0.6.2)
93
+ rack-test (0.6.3)
85
94
  rack (>= 1.0)
86
- rails (3.2.19)
87
- actionmailer (= 3.2.19)
88
- actionpack (= 3.2.19)
89
- activerecord (= 3.2.19)
90
- activeresource (= 3.2.19)
91
- activesupport (= 3.2.19)
92
- bundler (~> 1.0)
93
- railties (= 3.2.19)
94
- railties (3.2.19)
95
- actionpack (= 3.2.19)
96
- activesupport (= 3.2.19)
97
- rack-ssl (~> 1.3.2)
95
+ rails (4.2.0)
96
+ actionmailer (= 4.2.0)
97
+ actionpack (= 4.2.0)
98
+ actionview (= 4.2.0)
99
+ activejob (= 4.2.0)
100
+ activemodel (= 4.2.0)
101
+ activerecord (= 4.2.0)
102
+ activesupport (= 4.2.0)
103
+ bundler (>= 1.3.0, < 2.0)
104
+ railties (= 4.2.0)
105
+ sprockets-rails
106
+ rails-deprecated_sanitizer (1.0.3)
107
+ activesupport (>= 4.2.0.alpha)
108
+ rails-dom-testing (1.0.5)
109
+ activesupport (>= 4.2.0.beta, < 5.0)
110
+ nokogiri (~> 1.6.0)
111
+ rails-deprecated_sanitizer (>= 1.0.1)
112
+ rails-html-sanitizer (1.0.1)
113
+ loofah (~> 2.0)
114
+ railties (4.2.0)
115
+ actionpack (= 4.2.0)
116
+ activesupport (= 4.2.0)
98
117
  rake (>= 0.8.7)
99
- rdoc (~> 3.4)
100
- thor (>= 0.14.6, < 2.0)
101
- rake (10.3.2)
102
- rdoc (3.12.2)
103
- json (~> 1.4)
104
- rspec (3.1.0)
105
- rspec-core (~> 3.1.0)
106
- rspec-expectations (~> 3.1.0)
107
- rspec-mocks (~> 3.1.0)
108
- rspec-core (3.1.1)
109
- rspec-support (~> 3.1.0)
110
- rspec-expectations (3.1.0)
118
+ thor (>= 0.18.1, < 2.0)
119
+ rake (10.4.2)
120
+ rspec (3.2.0)
121
+ rspec-core (~> 3.2.0)
122
+ rspec-expectations (~> 3.2.0)
123
+ rspec-mocks (~> 3.2.0)
124
+ rspec-core (3.2.0)
125
+ rspec-support (~> 3.2.0)
126
+ rspec-expectations (3.2.0)
111
127
  diff-lcs (>= 1.2.0, < 2.0)
112
- rspec-support (~> 3.1.0)
113
- rspec-mocks (3.1.0)
114
- rspec-support (~> 3.1.0)
115
- rspec-support (3.1.0)
128
+ rspec-support (~> 3.2.0)
129
+ rspec-mocks (3.2.0)
130
+ diff-lcs (>= 1.2.0, < 2.0)
131
+ rspec-support (~> 3.2.0)
132
+ rspec-support (3.2.0)
116
133
  sinatra (1.4.5)
117
134
  rack (~> 1.4)
118
135
  rack-protection (~> 1.4)
119
136
  tilt (~> 1.3, >= 1.3.4)
120
- sprockets (2.2.2)
137
+ sprockets (2.12.3)
121
138
  hike (~> 1.2)
122
139
  multi_json (~> 1.0)
123
140
  rack (~> 1.0)
124
141
  tilt (~> 1.1, != 1.3.0)
125
- thin (1.6.2)
126
- daemons (>= 1.0.9)
127
- eventmachine (>= 1.0.0)
128
- rack (>= 1.0.0)
142
+ sprockets-rails (2.2.4)
143
+ actionpack (>= 3.0)
144
+ activesupport (>= 3.0)
145
+ sprockets (>= 2.8, < 4.0)
146
+ thin (1.6.3)
147
+ daemons (~> 1.0, >= 1.0.9)
148
+ eventmachine (~> 1.0)
149
+ rack (~> 1.0)
129
150
  thor (0.19.1)
151
+ thread_safe (0.3.4)
130
152
  tilt (1.4.1)
131
- treetop (1.4.15)
132
- polyglot
133
- polyglot (>= 0.3.1)
134
- tzinfo (0.3.41)
153
+ tzinfo (1.2.2)
154
+ thread_safe (~> 0.1)
135
155
 
136
156
  PLATFORMS
137
157
  ruby
@@ -139,7 +159,7 @@ PLATFORMS
139
159
  DEPENDENCIES
140
160
  omniauth-google-oauth2
141
161
  rack-test
142
- rails (~> 3.2.0)
162
+ rails (~> 4.2.0)
143
163
  rake
144
164
  rspec
145
165
  simple_admin_auth!
data/README.md CHANGED
@@ -5,6 +5,8 @@ Add simple admin authentication to any Rails application, using Google Apps for
5
5
  Authentication is done purely on the Google Apps domain - no user model is used. Other providers such as GitHub or
6
6
  Facebook may also work, but are untested.
7
7
 
8
+ Tested on Rails 3.2, 4.0, 4.1 and 4.2, as well as Rack 1.4, 1.5 and 1.6.
9
+
8
10
  ## Google Apps OAuth2
9
11
 
10
12
  We recommend using OAuth2 to authenticate with Google Apps. You need to sign up for an API key on the
@@ -17,7 +19,7 @@ Example:
17
19
  http://yourapp.com/auth/admin/callback
18
20
 
19
21
 
20
- ## Usage with Rails 3.x
22
+ ## Usage with Rails 3 or 4
21
23
 
22
24
  Add these lines to your application's Gemfile:
23
25
 
@@ -123,6 +125,10 @@ Note that this relies on internal behaviour of this gem, and might not be compat
123
125
 
124
126
  ## Changelog
125
127
 
128
+ ### 0.1.3
129
+
130
+ * Rack 1.6 and Rails 4.2 compatibility.
131
+
126
132
  ### 0.1.2
127
133
 
128
134
  * Rails 4.1 compatibility, contributed by @drubin.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- simple_admin_auth (0.1.2)
4
+ simple_admin_auth (0.1.3)
5
5
  omniauth
6
6
  sinatra
7
7
 
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rack', '~> 1.6.0'
4
+
5
+ gem 'thin'
6
+ gem 'omniauth-google-oauth2'
7
+ gem 'rake'
8
+ gem 'rack-test'
9
+ gem 'rspec'
10
+
11
+ gemspec path: '../'
@@ -0,0 +1,77 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ simple_admin_auth (0.1.3)
5
+ omniauth
6
+ sinatra
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ daemons (1.1.9)
12
+ diff-lcs (1.2.5)
13
+ eventmachine (1.0.6)
14
+ faraday (0.9.1)
15
+ multipart-post (>= 1.2, < 3)
16
+ hashie (3.4.0)
17
+ jwt (1.2.1)
18
+ multi_json (1.10.1)
19
+ multi_xml (0.5.5)
20
+ multipart-post (2.0.0)
21
+ oauth2 (1.0.0)
22
+ faraday (>= 0.8, < 0.10)
23
+ jwt (~> 1.0)
24
+ multi_json (~> 1.3)
25
+ multi_xml (~> 0.5)
26
+ rack (~> 1.2)
27
+ omniauth (1.2.2)
28
+ hashie (>= 1.2, < 4)
29
+ rack (~> 1.0)
30
+ omniauth-google-oauth2 (0.2.6)
31
+ omniauth (> 1.0)
32
+ omniauth-oauth2 (~> 1.1)
33
+ omniauth-oauth2 (1.2.0)
34
+ faraday (>= 0.8, < 0.10)
35
+ multi_json (~> 1.3)
36
+ oauth2 (~> 1.0)
37
+ omniauth (~> 1.2)
38
+ rack (1.6.0)
39
+ rack-protection (1.5.3)
40
+ rack
41
+ rack-test (0.6.3)
42
+ rack (>= 1.0)
43
+ rake (10.4.2)
44
+ rspec (3.2.0)
45
+ rspec-core (~> 3.2.0)
46
+ rspec-expectations (~> 3.2.0)
47
+ rspec-mocks (~> 3.2.0)
48
+ rspec-core (3.2.0)
49
+ rspec-support (~> 3.2.0)
50
+ rspec-expectations (3.2.0)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.2.0)
53
+ rspec-mocks (3.2.0)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.2.0)
56
+ rspec-support (3.2.0)
57
+ sinatra (1.4.5)
58
+ rack (~> 1.4)
59
+ rack-protection (~> 1.4)
60
+ tilt (~> 1.3, >= 1.3.4)
61
+ thin (1.6.3)
62
+ daemons (~> 1.0, >= 1.0.9)
63
+ eventmachine (~> 1.0)
64
+ rack (~> 1.0)
65
+ tilt (1.4.1)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ omniauth-google-oauth2
72
+ rack (~> 1.6.0)
73
+ rack-test
74
+ rake
75
+ rspec
76
+ simple_admin_auth!
77
+ thin
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- simple_admin_auth (0.1.2)
4
+ simple_admin_auth (0.1.3)
5
5
  omniauth
6
6
  sinatra
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- simple_admin_auth (0.1.2)
4
+ simple_admin_auth (0.1.3)
5
5
  omniauth
6
6
  sinatra
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- simple_admin_auth (0.1.2)
4
+ simple_admin_auth (0.1.3)
5
5
  omniauth
6
6
  sinatra
7
7
 
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rails', '~> 4.2.0'
4
+
5
+ gem 'thin'
6
+ gem 'omniauth-google-oauth2'
7
+ gem 'rake'
8
+ gem 'rack-test'
9
+ gem 'rspec'
10
+
11
+ gemspec path: '../'
@@ -0,0 +1,166 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ simple_admin_auth (0.1.3)
5
+ omniauth
6
+ sinatra
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionmailer (4.2.0)
12
+ actionpack (= 4.2.0)
13
+ actionview (= 4.2.0)
14
+ activejob (= 4.2.0)
15
+ mail (~> 2.5, >= 2.5.4)
16
+ rails-dom-testing (~> 1.0, >= 1.0.5)
17
+ actionpack (4.2.0)
18
+ actionview (= 4.2.0)
19
+ activesupport (= 4.2.0)
20
+ rack (~> 1.6.0)
21
+ rack-test (~> 0.6.2)
22
+ rails-dom-testing (~> 1.0, >= 1.0.5)
23
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
24
+ actionview (4.2.0)
25
+ activesupport (= 4.2.0)
26
+ builder (~> 3.1)
27
+ erubis (~> 2.7.0)
28
+ rails-dom-testing (~> 1.0, >= 1.0.5)
29
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
30
+ activejob (4.2.0)
31
+ activesupport (= 4.2.0)
32
+ globalid (>= 0.3.0)
33
+ activemodel (4.2.0)
34
+ activesupport (= 4.2.0)
35
+ builder (~> 3.1)
36
+ activerecord (4.2.0)
37
+ activemodel (= 4.2.0)
38
+ activesupport (= 4.2.0)
39
+ arel (~> 6.0)
40
+ activesupport (4.2.0)
41
+ i18n (~> 0.7)
42
+ json (~> 1.7, >= 1.7.7)
43
+ minitest (~> 5.1)
44
+ thread_safe (~> 0.3, >= 0.3.4)
45
+ tzinfo (~> 1.1)
46
+ arel (6.0.0)
47
+ builder (3.2.2)
48
+ daemons (1.1.9)
49
+ diff-lcs (1.2.5)
50
+ erubis (2.7.0)
51
+ eventmachine (1.0.6)
52
+ faraday (0.9.1)
53
+ multipart-post (>= 1.2, < 3)
54
+ globalid (0.3.0)
55
+ activesupport (>= 4.1.0)
56
+ hashie (3.4.0)
57
+ hike (1.2.3)
58
+ i18n (0.7.0)
59
+ json (1.8.2)
60
+ jwt (1.2.1)
61
+ loofah (2.0.1)
62
+ nokogiri (>= 1.5.9)
63
+ mail (2.6.3)
64
+ mime-types (>= 1.16, < 3)
65
+ mime-types (2.4.3)
66
+ mini_portile (0.6.2)
67
+ minitest (5.5.1)
68
+ multi_json (1.10.1)
69
+ multi_xml (0.5.5)
70
+ multipart-post (2.0.0)
71
+ nokogiri (1.6.6.2)
72
+ mini_portile (~> 0.6.0)
73
+ oauth2 (1.0.0)
74
+ faraday (>= 0.8, < 0.10)
75
+ jwt (~> 1.0)
76
+ multi_json (~> 1.3)
77
+ multi_xml (~> 0.5)
78
+ rack (~> 1.2)
79
+ omniauth (1.2.2)
80
+ hashie (>= 1.2, < 4)
81
+ rack (~> 1.0)
82
+ omniauth-google-oauth2 (0.2.6)
83
+ omniauth (> 1.0)
84
+ omniauth-oauth2 (~> 1.1)
85
+ omniauth-oauth2 (1.2.0)
86
+ faraday (>= 0.8, < 0.10)
87
+ multi_json (~> 1.3)
88
+ oauth2 (~> 1.0)
89
+ omniauth (~> 1.2)
90
+ rack (1.6.0)
91
+ rack-protection (1.5.3)
92
+ rack
93
+ rack-test (0.6.3)
94
+ rack (>= 1.0)
95
+ rails (4.2.0)
96
+ actionmailer (= 4.2.0)
97
+ actionpack (= 4.2.0)
98
+ actionview (= 4.2.0)
99
+ activejob (= 4.2.0)
100
+ activemodel (= 4.2.0)
101
+ activerecord (= 4.2.0)
102
+ activesupport (= 4.2.0)
103
+ bundler (>= 1.3.0, < 2.0)
104
+ railties (= 4.2.0)
105
+ sprockets-rails
106
+ rails-deprecated_sanitizer (1.0.3)
107
+ activesupport (>= 4.2.0.alpha)
108
+ rails-dom-testing (1.0.5)
109
+ activesupport (>= 4.2.0.beta, < 5.0)
110
+ nokogiri (~> 1.6.0)
111
+ rails-deprecated_sanitizer (>= 1.0.1)
112
+ rails-html-sanitizer (1.0.1)
113
+ loofah (~> 2.0)
114
+ railties (4.2.0)
115
+ actionpack (= 4.2.0)
116
+ activesupport (= 4.2.0)
117
+ rake (>= 0.8.7)
118
+ thor (>= 0.18.1, < 2.0)
119
+ rake (10.4.2)
120
+ rspec (3.2.0)
121
+ rspec-core (~> 3.2.0)
122
+ rspec-expectations (~> 3.2.0)
123
+ rspec-mocks (~> 3.2.0)
124
+ rspec-core (3.2.0)
125
+ rspec-support (~> 3.2.0)
126
+ rspec-expectations (3.2.0)
127
+ diff-lcs (>= 1.2.0, < 2.0)
128
+ rspec-support (~> 3.2.0)
129
+ rspec-mocks (3.2.0)
130
+ diff-lcs (>= 1.2.0, < 2.0)
131
+ rspec-support (~> 3.2.0)
132
+ rspec-support (3.2.0)
133
+ sinatra (1.4.5)
134
+ rack (~> 1.4)
135
+ rack-protection (~> 1.4)
136
+ tilt (~> 1.3, >= 1.3.4)
137
+ sprockets (2.12.3)
138
+ hike (~> 1.2)
139
+ multi_json (~> 1.0)
140
+ rack (~> 1.0)
141
+ tilt (~> 1.1, != 1.3.0)
142
+ sprockets-rails (2.2.4)
143
+ actionpack (>= 3.0)
144
+ activesupport (>= 3.0)
145
+ sprockets (>= 2.8, < 4.0)
146
+ thin (1.6.3)
147
+ daemons (~> 1.0, >= 1.0.9)
148
+ eventmachine (~> 1.0)
149
+ rack (~> 1.0)
150
+ thor (0.19.1)
151
+ thread_safe (0.3.4)
152
+ tilt (1.4.1)
153
+ tzinfo (1.2.2)
154
+ thread_safe (~> 0.1)
155
+
156
+ PLATFORMS
157
+ ruby
158
+
159
+ DEPENDENCIES
160
+ omniauth-google-oauth2
161
+ rack-test
162
+ rails (~> 4.2.0)
163
+ rake
164
+ rspec
165
+ simple_admin_auth!
166
+ thin
@@ -9,8 +9,10 @@ module SimpleAdminAuth
9
9
 
10
10
  use SimpleAdminAuth::LoginRedirect
11
11
 
12
- map '/auth' do
13
- use SimpleAdminAuth::Application
12
+ use Rack::Builder do
13
+ map '/auth' do
14
+ use SimpleAdminAuth::Application
15
+ end
14
16
  end
15
17
  end
16
18
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleAdminAuth
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
7
7
  gem.name = "simple_admin_auth"
8
8
  gem.version = SimpleAdminAuth::VERSION
9
9
  gem.authors = ["Ralf Kistner"]
10
- gem.email = ["ralf@embarkmobile.com"]
10
+ gem.email = ["ralf@journeyapps.com"]
11
11
  gem.description = %q{Add simple admin authentication to any Rails application, using Google Apps for authentication.}
12
12
  gem.summary = %q{Simple admin authentication using Google Apps}
13
13
  gem.homepage = ""
@@ -6,6 +6,7 @@ require 'action_controller/railtie'
6
6
  class Dummy < Rails::Application
7
7
  config.session_store :cookie_store, :key => 'jiez4Mielu1AiHugog3shiiPhe3lai3faerooJohGo0rah5Mod'
8
8
  config.secret_token = 'ni6aeph6aeriBiphesh8omahv6cohpue5Quah5ceiMohtuvei8'
9
+ config.secret_key_base = '62773890cad9d9d584b57320f8612f8f7378a90aadcabc638d1c10b0262cf533f76a91c715b396b6cc46d81bbea001d82f5b6d8e670cc09be2e30abd6f5ec9ce'
9
10
 
10
11
  config.logger = Logger.new(File.expand_path('../test.log', __FILE__))
11
12
  Rails.logger = config.logger
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_admin_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ralf Kistner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-25 00:00:00.000000000 Z
11
+ date: 2015-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth
@@ -41,7 +41,7 @@ dependencies:
41
41
  description: Add simple admin authentication to any Rails application, using Google
42
42
  Apps for authentication.
43
43
  email:
44
- - ralf@embarkmobile.com
44
+ - ralf@journeyapps.com
45
45
  executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
@@ -57,12 +57,16 @@ files:
57
57
  - config.ru
58
58
  - gemfiles/rack1.5.gemfile
59
59
  - gemfiles/rack1.5.gemfile.lock
60
+ - gemfiles/rack1.6.gemfile
61
+ - gemfiles/rack1.6.gemfile.lock
60
62
  - gemfiles/rails3.2.gemfile
61
63
  - gemfiles/rails3.2.gemfile.lock
62
64
  - gemfiles/rails4.0.gemfile
63
65
  - gemfiles/rails4.0.gemfile.lock
64
66
  - gemfiles/rails4.1.gemfile
65
67
  - gemfiles/rails4.1.gemfile.lock
68
+ - gemfiles/rails4.2.gemfile
69
+ - gemfiles/rails4.2.gemfile.lock
66
70
  - lib/simple_admin_auth.rb
67
71
  - lib/simple_admin_auth/application.rb
68
72
  - lib/simple_admin_auth/authenticated.rb