opensesame 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/open_sesame/configuration.rb +3 -1
- data/lib/open_sesame/engine.rb +19 -20
- data/lib/open_sesame/version.rb +1 -1
- data/spec/dummy/log/test.log +394 -0
- metadata +30 -30
@@ -45,6 +45,8 @@ module OpenSesame
|
|
45
45
|
|
46
46
|
def configure
|
47
47
|
yield self
|
48
|
+
validate!
|
49
|
+
self
|
48
50
|
end
|
49
51
|
|
50
52
|
def valid?
|
@@ -68,7 +70,7 @@ module OpenSesame
|
|
68
70
|
OpenSesame.configure do |config|
|
69
71
|
config.organization 'challengepost'
|
70
72
|
config.mounted_at '/opensesame'
|
71
|
-
config.github ENV['
|
73
|
+
config.github ENV['GITHUB_APP_ID'], ENV['GITHUB_SECRET']
|
72
74
|
end
|
73
75
|
|
74
76
|
When you register the app, make sure to point the callback url to
|
data/lib/open_sesame/engine.rb
CHANGED
@@ -16,33 +16,32 @@ module OpenSesame
|
|
16
16
|
include OpenSesame::Helpers::ViewHelper
|
17
17
|
end
|
18
18
|
|
19
|
-
initializer "
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
app.config.assets.precompile += ['opensesame.css']
|
19
|
+
initializer "openseseame precompile" do |app|
|
20
|
+
app.config.assets.precompile += ['open_sesame/opensesame.css']
|
21
|
+
end
|
24
22
|
|
25
|
-
|
23
|
+
initializer "opensesame.middleware", :after => :load_config_initializers do |app|
|
24
|
+
require 'open_sesame/github_warden'
|
26
25
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
26
|
+
app.config.middleware.use OpenSesame::GithubAuth,
|
27
|
+
OpenSesame.github_client[:id],
|
28
|
+
OpenSesame.github_client[:secret],
|
29
|
+
:path_prefix => OpenSesame.mount_prefix
|
31
30
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
manager.default_strategies(:opensesame_github, :scope => :opensesame)
|
36
|
-
manager.failure_app = OpenSesame::Failure::DeviseApp.new
|
37
|
-
end
|
38
|
-
end
|
39
|
-
else
|
40
|
-
app.config.middleware.use ::Warden::Manager do |manager|
|
31
|
+
if defined?(Devise)
|
32
|
+
Devise.setup do |config|
|
33
|
+
config.warden do |manager|
|
41
34
|
manager.default_strategies(:opensesame_github, :scope => :opensesame)
|
42
|
-
manager.failure_app = OpenSesame::Failure::
|
35
|
+
manager.failure_app = OpenSesame::Failure::DeviseApp.new
|
43
36
|
end
|
44
37
|
end
|
38
|
+
else
|
39
|
+
app.config.middleware.use ::Warden::Manager do |manager|
|
40
|
+
manager.default_strategies(:opensesame_github, :scope => :opensesame)
|
41
|
+
manager.failure_app = OpenSesame::Failure::App.new
|
42
|
+
end
|
45
43
|
end
|
44
|
+
|
46
45
|
end
|
47
46
|
end
|
48
47
|
end
|
data/lib/open_sesame/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -42959,3 +42959,397 @@ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
|
42959
42959
|
[1m[35m (0.0ms)[0m rollback transaction
|
42960
42960
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42961
42961
|
[1m[35m (0.0ms)[0m rollback transaction
|
42962
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
42963
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42965
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42966
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42967
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42968
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42969
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42970
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42971
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42972
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42973
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42975
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42976
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42977
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42978
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42979
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42980
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42981
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42982
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42983
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42984
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42985
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42986
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42987
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42989
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42990
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42991
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42992
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42993
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42994
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42995
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42996
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42997
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42999
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43001
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43002
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43003
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43004
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43005
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43007
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43009
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43010
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43011
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43012
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43013
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43014
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43015
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43016
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43017
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43019
|
+
|
43020
|
+
|
43021
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43022
|
+
Processing by HomeController#index as HTML
|
43023
|
+
Completed in 0ms
|
43024
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43025
|
+
Rendered /Users/ross/dev/opensesame/app/views/open_sesame/sessions/new.html.erb within layouts/open_sesame/application (3.0ms)
|
43026
|
+
Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.0ms)
|
43027
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43029
|
+
|
43030
|
+
|
43031
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43032
|
+
Processing by HomeController#index as HTML
|
43033
|
+
Completed in 0ms
|
43034
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43035
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
43036
|
+
|
43037
|
+
|
43038
|
+
Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43039
|
+
|
43040
|
+
|
43041
|
+
Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43042
|
+
Processing by OpenSesame::SessionsController#create as HTML
|
43043
|
+
Parameters: {"provider"=>"github"}
|
43044
|
+
Redirected to http://www.example.com/
|
43045
|
+
Completed 302 Found in 28ms (ActiveRecord: 0.0ms)
|
43046
|
+
|
43047
|
+
|
43048
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43049
|
+
Processing by HomeController#index as HTML
|
43050
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
43051
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43053
|
+
|
43054
|
+
|
43055
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43056
|
+
Processing by HomeController#index as HTML
|
43057
|
+
Completed in 0ms
|
43058
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43059
|
+
Redirected to http://www.example.com/opensesame/github
|
43060
|
+
Filter chain halted as :attempt_auto_authenticate rendered or redirected
|
43061
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
43062
|
+
|
43063
|
+
|
43064
|
+
Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43065
|
+
|
43066
|
+
|
43067
|
+
Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43068
|
+
Processing by OpenSesame::SessionsController#create as HTML
|
43069
|
+
Parameters: {"provider"=>"github"}
|
43070
|
+
Redirected to http://www.example.com/
|
43071
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
43072
|
+
|
43073
|
+
|
43074
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43075
|
+
Processing by HomeController#index as HTML
|
43076
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
43077
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43078
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43079
|
+
|
43080
|
+
|
43081
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43082
|
+
Processing by HomeController#index as HTML
|
43083
|
+
Completed in 0ms
|
43084
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43085
|
+
Redirected to http://www.example.com/opensesame/github
|
43086
|
+
Filter chain halted as :attempt_auto_authenticate rendered or redirected
|
43087
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
43088
|
+
|
43089
|
+
|
43090
|
+
Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43091
|
+
|
43092
|
+
|
43093
|
+
Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43094
|
+
Processing by OpenSesame::SessionsController#create as HTML
|
43095
|
+
Parameters: {"provider"=>"github"}
|
43096
|
+
Redirected to http://www.example.com/
|
43097
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
43098
|
+
|
43099
|
+
|
43100
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43101
|
+
Processing by HomeController#index as HTML
|
43102
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
43103
|
+
|
43104
|
+
|
43105
|
+
Started GET "/opensesame/logout" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43106
|
+
Processing by OpenSesame::SessionsController#destroy as HTML
|
43107
|
+
Redirected to http://www.example.com/
|
43108
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43109
|
+
|
43110
|
+
|
43111
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43112
|
+
Processing by HomeController#index as HTML
|
43113
|
+
Completed in 0ms
|
43114
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43115
|
+
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
43116
|
+
|
43117
|
+
|
43118
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43119
|
+
Processing by HomeController#index as HTML
|
43120
|
+
Completed in 0ms
|
43121
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43122
|
+
Redirected to http://www.example.com/opensesame/github
|
43123
|
+
Filter chain halted as :attempt_auto_authenticate rendered or redirected
|
43124
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
43125
|
+
|
43126
|
+
|
43127
|
+
Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43128
|
+
|
43129
|
+
|
43130
|
+
Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43131
|
+
Processing by OpenSesame::SessionsController#create as HTML
|
43132
|
+
Parameters: {"provider"=>"github"}
|
43133
|
+
Redirected to http://www.example.com/
|
43134
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
43135
|
+
|
43136
|
+
|
43137
|
+
Started GET "/" for 127.0.0.1 at 2012-08-21 19:45:33 -0400
|
43138
|
+
Processing by HomeController#index as HTML
|
43139
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
43140
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43142
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43143
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43144
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43145
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43146
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43147
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43148
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43149
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43150
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43151
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43152
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43153
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43154
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43155
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43156
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43157
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43158
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43159
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
43160
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43161
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43162
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43164
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43165
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43166
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43168
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43169
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43170
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43171
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43172
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43173
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43174
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43176
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43178
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43179
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43180
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43182
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43183
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43184
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43186
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43187
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43188
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43189
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43190
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43191
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43192
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43194
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43195
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43196
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43198
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43200
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43202
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43204
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43205
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43206
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43208
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43210
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43211
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43212
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43213
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43214
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43216
|
+
|
43217
|
+
|
43218
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43219
|
+
Processing by HomeController#index as HTML
|
43220
|
+
Completed in 0ms
|
43221
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43222
|
+
Rendered /Users/ross/dev/opensesame/app/views/open_sesame/sessions/new.html.erb within layouts/open_sesame/application (3.0ms)
|
43223
|
+
Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
|
43224
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43225
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43226
|
+
|
43227
|
+
|
43228
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43229
|
+
Processing by HomeController#index as HTML
|
43230
|
+
Completed in 0ms
|
43231
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43232
|
+
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
43233
|
+
|
43234
|
+
|
43235
|
+
Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43236
|
+
|
43237
|
+
|
43238
|
+
Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43239
|
+
Processing by OpenSesame::SessionsController#create as HTML
|
43240
|
+
Parameters: {"provider"=>"github"}
|
43241
|
+
Redirected to http://www.example.com/
|
43242
|
+
Completed 302 Found in 28ms (ActiveRecord: 0.0ms)
|
43243
|
+
|
43244
|
+
|
43245
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43246
|
+
Processing by HomeController#index as HTML
|
43247
|
+
Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
43248
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43249
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43250
|
+
|
43251
|
+
|
43252
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43253
|
+
Processing by HomeController#index as HTML
|
43254
|
+
Completed in 0ms
|
43255
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43256
|
+
Redirected to http://www.example.com/opensesame/github
|
43257
|
+
Filter chain halted as :attempt_auto_authenticate rendered or redirected
|
43258
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
43259
|
+
|
43260
|
+
|
43261
|
+
Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43262
|
+
|
43263
|
+
|
43264
|
+
Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43265
|
+
Processing by OpenSesame::SessionsController#create as HTML
|
43266
|
+
Parameters: {"provider"=>"github"}
|
43267
|
+
Redirected to http://www.example.com/
|
43268
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
43269
|
+
|
43270
|
+
|
43271
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43272
|
+
Processing by HomeController#index as HTML
|
43273
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
43274
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43276
|
+
|
43277
|
+
|
43278
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43279
|
+
Processing by HomeController#index as HTML
|
43280
|
+
Completed in 0ms
|
43281
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43282
|
+
Redirected to http://www.example.com/opensesame/github
|
43283
|
+
Filter chain halted as :attempt_auto_authenticate rendered or redirected
|
43284
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
43285
|
+
|
43286
|
+
|
43287
|
+
Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43288
|
+
|
43289
|
+
|
43290
|
+
Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43291
|
+
Processing by OpenSesame::SessionsController#create as HTML
|
43292
|
+
Parameters: {"provider"=>"github"}
|
43293
|
+
Redirected to http://www.example.com/
|
43294
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
43295
|
+
|
43296
|
+
|
43297
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43298
|
+
Processing by HomeController#index as HTML
|
43299
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
43300
|
+
|
43301
|
+
|
43302
|
+
Started GET "/opensesame/logout" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43303
|
+
Processing by OpenSesame::SessionsController#destroy as HTML
|
43304
|
+
Redirected to http://www.example.com/
|
43305
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
43306
|
+
|
43307
|
+
|
43308
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43309
|
+
Processing by HomeController#index as HTML
|
43310
|
+
Completed in 0ms
|
43311
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43312
|
+
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
43313
|
+
|
43314
|
+
|
43315
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43316
|
+
Processing by HomeController#index as HTML
|
43317
|
+
Completed in 0ms
|
43318
|
+
Processing by OpenSesame::SessionsController#new as HTML
|
43319
|
+
Redirected to http://www.example.com/opensesame/github
|
43320
|
+
Filter chain halted as :attempt_auto_authenticate rendered or redirected
|
43321
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
43322
|
+
|
43323
|
+
|
43324
|
+
Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43325
|
+
|
43326
|
+
|
43327
|
+
Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43328
|
+
Processing by OpenSesame::SessionsController#create as HTML
|
43329
|
+
Parameters: {"provider"=>"github"}
|
43330
|
+
Redirected to http://www.example.com/
|
43331
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
43332
|
+
|
43333
|
+
|
43334
|
+
Started GET "/" for 127.0.0.1 at 2012-08-22 11:57:57 -0400
|
43335
|
+
Processing by HomeController#index as HTML
|
43336
|
+
Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
43337
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43339
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43340
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43341
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43342
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43343
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43345
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43346
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43347
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43348
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43349
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43350
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43351
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43352
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43353
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
43354
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43355
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opensesame
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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-08-
|
12
|
+
date: 2012-08-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70238909563380 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70238909563380
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: omniauth-github
|
27
|
-
requirement: &
|
27
|
+
requirement: &70238909562860 !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: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70238909562860
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: octokit
|
38
|
-
requirement: &
|
38
|
+
requirement: &70238909561860 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.10'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70238909561860
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: warden
|
49
|
-
requirement: &
|
49
|
+
requirement: &70238909561040 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70238909561040
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: sqlite3
|
60
|
-
requirement: &
|
60
|
+
requirement: &70238909560020 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70238909560020
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-rails
|
71
|
-
requirement: &
|
71
|
+
requirement: &70238909559140 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 2.9.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70238909559140
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: capybara
|
82
|
-
requirement: &
|
82
|
+
requirement: &70238909557960 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70238909557960
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: launchy
|
93
|
-
requirement: &
|
93
|
+
requirement: &70238909520240 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70238909520240
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: pry
|
104
|
-
requirement: &
|
104
|
+
requirement: &70238909519620 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70238909519620
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: pry-nav
|
115
|
-
requirement: &
|
115
|
+
requirement: &70238909518960 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *70238909518960
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: vcr
|
126
|
-
requirement: &
|
126
|
+
requirement: &70238909518340 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *70238909518340
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: fakeweb
|
137
|
-
requirement: &
|
137
|
+
requirement: &70238909517620 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *70238909517620
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: guard-rspec
|
148
|
-
requirement: &
|
148
|
+
requirement: &70238909516780 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,7 +153,7 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *70238909516780
|
157
157
|
description: Rails engine for authenticating internal applications and private-access
|
158
158
|
products
|
159
159
|
email:
|
@@ -313,7 +313,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
313
313
|
version: '0'
|
314
314
|
segments:
|
315
315
|
- 0
|
316
|
-
hash: -
|
316
|
+
hash: -1801739007247679742
|
317
317
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
318
318
|
none: false
|
319
319
|
requirements:
|
@@ -322,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
322
322
|
version: '0'
|
323
323
|
segments:
|
324
324
|
- 0
|
325
|
-
hash: -
|
325
|
+
hash: -1801739007247679742
|
326
326
|
requirements: []
|
327
327
|
rubyforge_project:
|
328
328
|
rubygems_version: 1.8.10
|