gitkeeper 0.0.3 → 0.0.4

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: 071cbec4a39422c34b01059c47c2c90774112dde
4
- data.tar.gz: 89509845d82c15208f3149c11611d2b5ec1614d1
3
+ metadata.gz: 1f9456dd2b41b758249c1f5748901834435563ca
4
+ data.tar.gz: 7c3c0fb6a8b188b5000b6a5aa49af93abf1bbd4b
5
5
  SHA512:
6
- metadata.gz: 3a59a7ace4b15027236ec166b495fa807038a6e067afdbd7d31d5e90a189c5386d0b9a66008adcb3bd860db47694a5034b830e856d65d2d0e3d8328b008935dd
7
- data.tar.gz: 8eb9814370df7cd9f81aae1232b81fbb260828a89d2d82b92a153b12cf8cbe4ff03d955aac681e09eb3430c10a2b85bfa077b658efbd2049286d0c72fe41b916
6
+ metadata.gz: 5a975ee388192179afb738f73275c39d38f8742671fbde780cacd9304eadd4098ca18a44d003baf27df6c08ab6e61be774af67983c6ce52add8bca04fdfee5e2
7
+ data.tar.gz: c096781060b9f0e6635fe9c9e911db0fbe34aee2b5b743ebf734ea4d2dd4e5ccf9c47e06b5b160196ef988733f1a962c097b52386d8318e16a32f79e8ef2f750
data/README.rdoc CHANGED
@@ -16,6 +16,11 @@ Callback URL
16
16
 
17
17
  http://localhost:3000/auth/github/callback
18
18
 
19
+ Set environment variables for your local OS ( follow Linux/bash export )
20
+
21
+ export GITHUB_KEY=ffffffffffffffffffff
22
+ export GITHUB_SECRET=9999999999999999999999999999999999999999
23
+
19
24
  Now create a brand new rails app
20
25
 
21
26
  rails new host_app -T -O -B
@@ -26,7 +31,7 @@ Change directory to host_app
26
31
 
27
32
  Add mongoid (4.0.0) for rails 4
28
33
 
29
- echo "gem 'mongoid', :git => 'git://github.com/mongoid/mongoid.git'"
34
+ echo "gem 'mongoid', :git => 'git://github.com/mongoid/mongoid.git'" >> Gemfile
30
35
 
31
36
  Include the engine in your app
32
37
 
@@ -24,3 +24,4 @@ module Gitkeeper
24
24
  end
25
25
  end
26
26
  end
27
+ end
data/config/routes.rb CHANGED
@@ -4,8 +4,9 @@ Gitkeeper::Engine.routes.draw do
4
4
 
5
5
  # get '/signin', to: 'sessions#new'
6
6
  get '/signout', to: 'sessions#destroy'
7
- # get '/auth/:provider', to: 'errors#error'
8
- # get '/auth/:provider/callback', to: 'sessions#create', as: 'signin'
7
+ # get '/auth/:provider', to: 'errors#error'
8
+ # get '/auth/:provider/callback', to: 'sessions#create', as: 'signin'
9
+ get ':provider/callback', to: 'sessions#create'
9
10
 
10
- get ':provider/callback', to: 'auth#callback'
11
+ # get ':provider/callback', to: 'auth#callback'
11
12
  end
@@ -1,3 +1,3 @@
1
1
  module Gitkeeper
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -526,3 +526,117 @@ ActionController::RoutingError (No route matches [GET] "/auth/github/callback"):
526
526
  Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
527
527
  Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.4ms)
528
528
  Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (52.9ms)
529
+
530
+
531
+ Started GET "/" for 127.0.0.1 at 2013-07-05 17:35:55 +0200
532
+
533
+ Gem::LoadError (Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile.):
534
+ activerecord (4.0.0) lib/active_record/connection_adapters/connection_specification.rb:58:in `rescue in resolve_hash_connection'
535
+ activerecord (4.0.0) lib/active_record/connection_adapters/connection_specification.rb:55:in `resolve_hash_connection'
536
+ activerecord (4.0.0) lib/active_record/connection_adapters/connection_specification.rb:46:in `resolve_string_connection'
537
+ activerecord (4.0.0) lib/active_record/connection_adapters/connection_specification.rb:30:in `spec'
538
+ activerecord (4.0.0) lib/active_record/connection_handling.rb:39:in `establish_connection'
539
+ activerecord (4.0.0) lib/active_record/railtie.rb:175:in `block (2 levels) in <class:Railtie>'
540
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
541
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
542
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
543
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:44:in `each'
544
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
545
+ activerecord (4.0.0) lib/active_record/base.rb:322:in `<module:ActiveRecord>'
546
+ activerecord (4.0.0) lib/active_record/base.rb:22:in `<top (required)>'
547
+ activerecord (4.0.0) lib/active_record/query_cache.rb:50:in `restore_query_cache_settings'
548
+ activerecord (4.0.0) lib/active_record/query_cache.rb:43:in `rescue in call'
549
+ activerecord (4.0.0) lib/active_record/query_cache.rb:32:in `call'
550
+ activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
551
+ activerecord (4.0.0) lib/active_record/migration.rb:369:in `call'
552
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
553
+ activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__180587638__call__callbacks'
554
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
555
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
556
+ actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
557
+ actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
558
+ actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
559
+ actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
560
+ railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
561
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
562
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
563
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
564
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
565
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
566
+ actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
567
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
568
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
569
+ activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
570
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
571
+ actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
572
+ railties (4.0.0) lib/rails/engine.rb:511:in `call'
573
+ railties (4.0.0) lib/rails/application.rb:97:in `call'
574
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
575
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
576
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
577
+ /home/lsoave/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
578
+ /home/lsoave/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
579
+ /home/lsoave/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
580
+
581
+
582
+ Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
583
+ Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
584
+ Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
585
+ Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.3ms)
586
+
587
+
588
+ Started GET "/auth/github" for 127.0.0.1 at 2013-07-05 17:36:08 +0200
589
+
590
+ Gem::LoadError (Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile.):
591
+ activerecord (4.0.0) lib/active_record/connection_adapters/connection_specification.rb:58:in `rescue in resolve_hash_connection'
592
+ activerecord (4.0.0) lib/active_record/connection_adapters/connection_specification.rb:55:in `resolve_hash_connection'
593
+ activerecord (4.0.0) lib/active_record/connection_adapters/connection_specification.rb:46:in `resolve_string_connection'
594
+ activerecord (4.0.0) lib/active_record/connection_adapters/connection_specification.rb:30:in `spec'
595
+ activerecord (4.0.0) lib/active_record/connection_handling.rb:39:in `establish_connection'
596
+ activerecord (4.0.0) lib/active_record/railtie.rb:175:in `block (2 levels) in <class:Railtie>'
597
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
598
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
599
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
600
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:44:in `each'
601
+ activesupport (4.0.0) lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
602
+ activerecord (4.0.0) lib/active_record/base.rb:322:in `<module:ActiveRecord>'
603
+ activerecord (4.0.0) lib/active_record/base.rb:22:in `<top (required)>'
604
+ activerecord (4.0.0) lib/active_record/query_cache.rb:50:in `restore_query_cache_settings'
605
+ activerecord (4.0.0) lib/active_record/query_cache.rb:43:in `rescue in call'
606
+ activerecord (4.0.0) lib/active_record/query_cache.rb:32:in `call'
607
+ activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
608
+ activerecord (4.0.0) lib/active_record/migration.rb:369:in `call'
609
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
610
+ activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__180587638__call__callbacks'
611
+ activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
612
+ actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
613
+ actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
614
+ actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
615
+ actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
616
+ actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
617
+ railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
618
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
619
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
620
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
621
+ activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
622
+ railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
623
+ actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
624
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
625
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
626
+ activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
627
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
628
+ actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
629
+ railties (4.0.0) lib/rails/engine.rb:511:in `call'
630
+ railties (4.0.0) lib/rails/application.rb:97:in `call'
631
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
632
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
633
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
634
+ /home/lsoave/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
635
+ /home/lsoave/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
636
+ /home/lsoave/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
637
+
638
+
639
+ Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
640
+ Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
641
+ Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
642
+ Rendered /home/lsoave/.rvm/gems/ruby-2.0.0-p0@rails-4.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.0ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca G. Soave