myreplicator 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,11 @@
1
1
  module Myreplicator
2
2
  class ApplicationController < ActionController::Base
3
- before_filter :authorized?
3
+ before_filter :authenticated?
4
+
5
+ private
4
6
 
5
- def authorized?
7
+ def authenticated?
8
+ puts "IN MYREP AUTH"
6
9
  if Myreplicator.auth_required
7
10
  redirect_to Myreplicator.login_redirect unless Myreplicator.authenticated
8
11
  end
@@ -1,3 +1,3 @@
1
1
  module Myreplicator
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
3
3
  end
@@ -7316,3 +7316,106 @@ ActionView::MissingTemplate (Missing template test/index, application/index with
7316
7316
 
7317
7317
 
7318
7318
  Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.3ms)
7319
+ Connecting to database specified by database.yml
7320
+
7321
+
7322
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-12-07 15:24:08 -0800
7323
+ Processing by Myreplicator::ExportsController#index as HTML
7324
+ Redirected to http://localhost:3000/auth/google_apps/
7325
+ Filter chain halted as :authorized? rendered or redirected
7326
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
7327
+
7328
+
7329
+ Started GET "/auth/google_apps/" for 127.0.0.1 at 2012-12-07 15:24:08 -0800
7330
+
7331
+ ActionController::RoutingError (No route matches [GET] "/auth/google_apps"):
7332
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7333
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
7334
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
7335
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
7336
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
7337
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
7338
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
7339
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
7340
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
7341
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
7342
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
7343
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
7344
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
7345
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
7346
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
7347
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
7348
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
7349
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
7350
+
7351
+
7352
+ Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.6ms)
7353
+ Connecting to database specified by database.yml
7354
+
7355
+
7356
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-12-07 15:25:13 -0800
7357
+ Processing by Myreplicator::ExportsController#index as HTML
7358
+ Redirected to http://localhost:3000/auth/google_apps/
7359
+ Filter chain halted as :authorized? rendered or redirected
7360
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
7361
+
7362
+
7363
+ Started GET "/auth/google_apps/" for 127.0.0.1 at 2012-12-07 15:25:13 -0800
7364
+
7365
+ ActionController::RoutingError (No route matches [GET] "/auth/google_apps"):
7366
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7367
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
7368
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
7369
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
7370
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
7371
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
7372
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
7373
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
7374
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
7375
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
7376
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
7377
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
7378
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
7379
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
7380
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
7381
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
7382
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
7383
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
7384
+
7385
+
7386
+ Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.6ms)
7387
+ Connecting to database specified by database.yml
7388
+ Connecting to database specified by database.yml
7389
+
7390
+
7391
+ Started GET "/myreplicator/exports" for 127.0.0.1 at 2012-12-07 15:40:05 -0800
7392
+ Processing by Myreplicator::ExportsController#index as HTML
7393
+ Redirected to http://localhost:3000/auth/google_apps/
7394
+ Filter chain halted as :authenticated? rendered or redirected
7395
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
7396
+
7397
+
7398
+ Started GET "/auth/google_apps/" for 127.0.0.1 at 2012-12-07 15:40:05 -0800
7399
+
7400
+ ActionController::RoutingError (No route matches [GET] "/auth/google_apps"):
7401
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
7402
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
7403
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
7404
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
7405
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
7406
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
7407
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
7408
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
7409
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
7410
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
7411
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
7412
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
7413
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
7414
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
7415
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
7416
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
7417
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
7418
+ /home/sasan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
7419
+
7420
+
7421
+ Rendered /home/sasan/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.6ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myreplicator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -305,7 +305,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
305
305
  version: '0'
306
306
  segments:
307
307
  - 0
308
- hash: -1040743314031711278
308
+ hash: -3797195373591547507
309
309
  required_rubygems_version: !ruby/object:Gem::Requirement
310
310
  none: false
311
311
  requirements:
@@ -314,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
314
  version: '0'
315
315
  segments:
316
316
  - 0
317
- hash: -1040743314031711278
317
+ hash: -3797195373591547507
318
318
  requirements: []
319
319
  rubyforge_project:
320
320
  rubygems_version: 1.8.23