opensesame 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -37,5 +37,5 @@ Mount OpenSesame in your Rails routes.rb:
37
37
  ```ruby
38
38
  # Rails config/routes.rb
39
39
 
40
- mount OpenSesame::Engine => "/opensesame", :as => "opensesame"
40
+ mount OpenSesame::Engine => OpenSesame.mount_prefix
41
41
  ```
@@ -52,45 +52,46 @@ pre, code { font-family: monospace, sans-serif; font-size: 1em; color:#080; }
52
52
  .green { color: green }
53
53
 
54
54
  .btn {
55
- display: inline-block;
56
- padding: 4px 10px 4px;
57
- margin-bottom: 0;
58
- font-size: 13px;
59
- line-height: 18px;
60
- color: #333;
61
- text-align: center;
62
- text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
63
- vertical-align: middle;
64
- cursor: pointer;
65
- background-color: whiteSmoke;
66
- background-image: -ms-linear-gradient(top, white, #E6E6E6);
67
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6));
68
- background-image: -webkit-linear-gradient(top, white, #E6E6E6);
69
- background-image: -o-linear-gradient(top, white, #E6E6E6);
70
- background-image: linear-gradient(top, white, #E6E6E6);
71
- background-image: -moz-linear-gradient(top, white, #E6E6E6);
72
- background-repeat: repeat-x;
73
- border: 1px solid #CCC;
74
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
75
- border-bottom-color: #B3B3B3;
76
- -webkit-border-radius: 4px;
77
- -moz-border-radius: 4px;
78
- border-radius: 4px;
79
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
80
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
81
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
82
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
83
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
55
+ display: inline-block;
56
+ padding: 4px 10px 4px;
57
+ margin-bottom: 0;
58
+ font-size: 13px;
59
+ line-height: 18px;
60
+ color: #333;
61
+ text-align: center;
62
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
63
+ vertical-align: middle;
64
+ cursor: pointer;
65
+ background-color: whiteSmoke;
66
+ background-image: -ms-linear-gradient(top, white, #E6E6E6);
67
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6));
68
+ background-image: -webkit-linear-gradient(top, white, #E6E6E6);
69
+ background-image: -o-linear-gradient(top, white, #E6E6E6);
70
+ background-image: linear-gradient(top, white, #E6E6E6);
71
+ background-image: -moz-linear-gradient(top, white, #E6E6E6);
72
+ background-repeat: repeat-x;
73
+ border: 1px solid #CCC;
74
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
75
+ border-bottom-color: #B3B3B3;
76
+ -webkit-border-radius: 4px;
77
+ -moz-border-radius: 4px;
78
+ border-radius: 4px;
79
+ filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
80
+ filter: progid:dximagetransform.microsoft.gradient(enabled=false);
81
+ -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
82
+ -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
83
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
84
+ text-decoration: none;
84
85
  }
85
86
 
86
87
  .btn-large {
87
- font-size: 20px;
88
- font-weight: normal;
89
- padding: 14px 24px;
90
- margin-right: 10px;
91
- -webkit-border-radius: 6px;
92
- -moz-border-radius: 6px;
93
- border-radius: 6px;
88
+ font-size: 15px;
89
+ font-weight: normal;
90
+ padding: 9px 14px;
91
+ margin-right: 10px;
92
+ -webkit-border-radius: 6px;
93
+ -moz-border-radius: 6px;
94
+ border-radius: 6px;
94
95
  }
95
96
 
96
97
  .content-header {
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module OpenSesame
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
@@ -43353,3 +43353,200 @@ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
43353
43353
   (0.0ms) rollback transaction
43354
43354
   (0.0ms) begin transaction
43355
43355
   (0.0ms) rollback transaction
43356
+  (0.3ms) begin transaction
43357
+  (0.0ms) rollback transaction
43358
+  (0.0ms) begin transaction
43359
+  (0.0ms) rollback transaction
43360
+  (0.0ms) begin transaction
43361
+  (0.0ms) rollback transaction
43362
+  (0.0ms) begin transaction
43363
+  (0.0ms) rollback transaction
43364
+  (0.0ms) begin transaction
43365
+  (0.0ms) rollback transaction
43366
+  (0.0ms) begin transaction
43367
+  (0.0ms) rollback transaction
43368
+  (0.0ms) begin transaction
43369
+  (0.0ms) rollback transaction
43370
+  (0.0ms) begin transaction
43371
+  (0.0ms) rollback transaction
43372
+  (0.0ms) begin transaction
43373
+  (0.0ms) rollback transaction
43374
+  (0.0ms) begin transaction
43375
+  (0.0ms) rollback transaction
43376
+  (0.0ms) begin transaction
43377
+  (0.0ms) rollback transaction
43378
+  (0.0ms) begin transaction
43379
+  (0.0ms) rollback transaction
43380
+  (0.0ms) begin transaction
43381
+  (0.0ms) rollback transaction
43382
+  (0.0ms) begin transaction
43383
+  (0.0ms) rollback transaction
43384
+  (0.0ms) begin transaction
43385
+  (0.0ms) rollback transaction
43386
+  (0.0ms) begin transaction
43387
+  (0.0ms) rollback transaction
43388
+  (0.0ms) begin transaction
43389
+  (0.0ms) rollback transaction
43390
+  (0.0ms) begin transaction
43391
+  (0.0ms) rollback transaction
43392
+  (0.0ms) begin transaction
43393
+  (0.0ms) rollback transaction
43394
+  (0.0ms) begin transaction
43395
+  (0.0ms) rollback transaction
43396
+  (0.0ms) begin transaction
43397
+  (0.0ms) rollback transaction
43398
+  (0.0ms) begin transaction
43399
+  (0.0ms) rollback transaction
43400
+  (0.0ms) begin transaction
43401
+  (0.1ms) rollback transaction
43402
+  (0.0ms) begin transaction
43403
+  (0.0ms) rollback transaction
43404
+  (0.0ms) begin transaction
43405
+  (0.0ms) rollback transaction
43406
+  (0.0ms) begin transaction
43407
+  (0.0ms) rollback transaction
43408
+  (0.0ms) begin transaction
43409
+  (0.0ms) rollback transaction
43410
+  (0.0ms) begin transaction
43411
+  (0.0ms) rollback transaction
43412
+  (0.0ms) begin transaction
43413
+
43414
+
43415
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43416
+ Processing by HomeController#index as HTML
43417
+ Completed in 0ms
43418
+ Processing by OpenSesame::SessionsController#new as HTML
43419
+ Rendered /Users/ross/dev/opensesame/app/views/open_sesame/sessions/new.html.erb within layouts/open_sesame/application (2.6ms)
43420
+ Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms)
43421
+  (0.1ms) rollback transaction
43422
+  (0.0ms) begin transaction
43423
+
43424
+
43425
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43426
+ Processing by HomeController#index as HTML
43427
+ Completed in 0ms
43428
+ Processing by OpenSesame::SessionsController#new as HTML
43429
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
43430
+
43431
+
43432
+ Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43433
+
43434
+
43435
+ Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43436
+ Processing by OpenSesame::SessionsController#create as HTML
43437
+ Parameters: {"provider"=>"github"}
43438
+ Redirected to http://www.example.com/
43439
+ Completed 302 Found in 29ms (ActiveRecord: 0.0ms)
43440
+
43441
+
43442
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43443
+ Processing by HomeController#index as HTML
43444
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
43445
+  (0.1ms) rollback transaction
43446
+  (0.0ms) begin transaction
43447
+
43448
+
43449
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43450
+ Processing by HomeController#index as HTML
43451
+ Completed in 0ms
43452
+ Processing by OpenSesame::SessionsController#new as HTML
43453
+ Redirected to http://www.example.com/opensesame/github
43454
+ Filter chain halted as :attempt_auto_authenticate rendered or redirected
43455
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
43456
+
43457
+
43458
+ Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43459
+
43460
+
43461
+ Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43462
+ Processing by OpenSesame::SessionsController#create as HTML
43463
+ Parameters: {"provider"=>"github"}
43464
+ Redirected to http://www.example.com/
43465
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
43466
+
43467
+
43468
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43469
+ Processing by HomeController#index as HTML
43470
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
43471
+  (0.1ms) rollback transaction
43472
+  (0.0ms) begin transaction
43473
+
43474
+
43475
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43476
+ Processing by HomeController#index as HTML
43477
+ Completed in 0ms
43478
+ Processing by OpenSesame::SessionsController#new as HTML
43479
+ Redirected to http://www.example.com/opensesame/github
43480
+ Filter chain halted as :attempt_auto_authenticate rendered or redirected
43481
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
43482
+
43483
+
43484
+ Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43485
+
43486
+
43487
+ Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43488
+ Processing by OpenSesame::SessionsController#create as HTML
43489
+ Parameters: {"provider"=>"github"}
43490
+ Redirected to http://www.example.com/
43491
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
43492
+
43493
+
43494
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43495
+ Processing by HomeController#index as HTML
43496
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
43497
+
43498
+
43499
+ Started GET "/opensesame/logout" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43500
+ Processing by OpenSesame::SessionsController#destroy as HTML
43501
+ Redirected to http://www.example.com/
43502
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
43503
+
43504
+
43505
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43506
+ Processing by HomeController#index as HTML
43507
+ Completed in 0ms
43508
+ Processing by OpenSesame::SessionsController#new as HTML
43509
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
43510
+
43511
+
43512
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43513
+ Processing by HomeController#index as HTML
43514
+ Completed in 0ms
43515
+ Processing by OpenSesame::SessionsController#new as HTML
43516
+ Redirected to http://www.example.com/opensesame/github
43517
+ Filter chain halted as :attempt_auto_authenticate rendered or redirected
43518
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
43519
+
43520
+
43521
+ Started GET "/opensesame/github" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43522
+
43523
+
43524
+ Started GET "/opensesame/github/callback" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43525
+ Processing by OpenSesame::SessionsController#create as HTML
43526
+ Parameters: {"provider"=>"github"}
43527
+ Redirected to http://www.example.com/
43528
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
43529
+
43530
+
43531
+ Started GET "/" for 127.0.0.1 at 2012-08-22 12:10:06 -0400
43532
+ Processing by HomeController#index as HTML
43533
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
43534
+  (0.1ms) rollback transaction
43535
+  (0.0ms) begin transaction
43536
+  (0.0ms) rollback transaction
43537
+  (0.0ms) begin transaction
43538
+  (0.0ms) rollback transaction
43539
+  (0.0ms) begin transaction
43540
+  (0.0ms) rollback transaction
43541
+  (0.0ms) begin transaction
43542
+  (0.0ms) rollback transaction
43543
+  (0.0ms) begin transaction
43544
+  (0.0ms) rollback transaction
43545
+  (0.0ms) begin transaction
43546
+  (0.0ms) rollback transaction
43547
+  (0.0ms) begin transaction
43548
+  (0.0ms) rollback transaction
43549
+  (0.0ms) begin transaction
43550
+  (0.0ms) rollback transaction
43551
+  (0.0ms) begin transaction
43552
+  (0.0ms) 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.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70238909563380 !ruby/object:Gem::Requirement
16
+ requirement: &70144238112080 !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: *70238909563380
24
+ version_requirements: *70144238112080
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: omniauth-github
27
- requirement: &70238909562860 !ruby/object:Gem::Requirement
27
+ requirement: &70144238111540 !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: *70238909562860
35
+ version_requirements: *70144238111540
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: octokit
38
- requirement: &70238909561860 !ruby/object:Gem::Requirement
38
+ requirement: &70144238110720 !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: *70238909561860
46
+ version_requirements: *70144238110720
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: warden
49
- requirement: &70238909561040 !ruby/object:Gem::Requirement
49
+ requirement: &70144238110280 !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: *70238909561040
57
+ version_requirements: *70144238110280
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: sqlite3
60
- requirement: &70238909560020 !ruby/object:Gem::Requirement
60
+ requirement: &70144238109820 !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: *70238909560020
68
+ version_requirements: *70144238109820
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-rails
71
- requirement: &70238909559140 !ruby/object:Gem::Requirement
71
+ requirement: &70144238109300 !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: *70238909559140
79
+ version_requirements: *70144238109300
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: capybara
82
- requirement: &70238909557960 !ruby/object:Gem::Requirement
82
+ requirement: &70144238108760 !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: *70238909557960
90
+ version_requirements: *70144238108760
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: launchy
93
- requirement: &70238909520240 !ruby/object:Gem::Requirement
93
+ requirement: &70144238108020 !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: *70238909520240
101
+ version_requirements: *70144238108020
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: pry
104
- requirement: &70238909519620 !ruby/object:Gem::Requirement
104
+ requirement: &70144238106660 !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: *70238909519620
112
+ version_requirements: *70144238106660
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: pry-nav
115
- requirement: &70238909518960 !ruby/object:Gem::Requirement
115
+ requirement: &70144238106220 !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: *70238909518960
123
+ version_requirements: *70144238106220
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: vcr
126
- requirement: &70238909518340 !ruby/object:Gem::Requirement
126
+ requirement: &70144238105560 !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: *70238909518340
134
+ version_requirements: *70144238105560
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: fakeweb
137
- requirement: &70238909517620 !ruby/object:Gem::Requirement
137
+ requirement: &70144238104980 !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: *70238909517620
145
+ version_requirements: *70144238104980
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: guard-rspec
148
- requirement: &70238909516780 !ruby/object:Gem::Requirement
148
+ requirement: &70144238104000 !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: *70238909516780
156
+ version_requirements: *70144238104000
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: -1801739007247679742
316
+ hash: -2191668992877539222
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: -1801739007247679742
325
+ hash: -2191668992877539222
326
326
  requirements: []
327
327
  rubyforge_project:
328
328
  rubygems_version: 1.8.10