devise_token_auth 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +30 -0
- data/lib/devise_token_auth/version.rb +1 -1
- data/test/dummy/app/controllers/application_controller.rb +1 -0
- data/test/dummy/app/controllers/test_controller.rb +16 -0
- data/test/dummy/config/routes.rb +2 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +392 -0
- metadata +5 -5
- data/MIT-LICENSE +0 -20
- data/README.rdoc +0 -3
- data/app/controllers/devise_token_auth/omniauth_callbacks_controller.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec1df69cf35e2adde1799462367ac4da4db4560b
|
4
|
+
data.tar.gz: 7934d79c54b560678e21a825ca0910ba35ea2853
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a24265c4aa9c97bb5fc819b05160a6a89ed1c5173d3efdd7c429e78861b748e7601db9de0a73c2c960eafaf1043409b0556ee11fe05d67c96b818f529362da6
|
7
|
+
data.tar.gz: a578ae542753f330ddca24231520bbe495b2eb8b0392177d59ec1a80c2603ba284d117ce16ed61443013b445e0024a21d91f72834643f27bcfba971eb9b5529b
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module DeviseTokenAuth::Concerns::SetUserByToken
|
2
|
+
extend ActiveSupport::Concern
|
3
|
+
|
4
|
+
included do
|
5
|
+
before_action :set_user_by_token
|
6
|
+
end
|
7
|
+
|
8
|
+
# user auth
|
9
|
+
def set_user_by_token
|
10
|
+
auth_header = request.headers["Authorization"]
|
11
|
+
|
12
|
+
# missing auth token
|
13
|
+
return false if not auth_header
|
14
|
+
|
15
|
+
token = auth_header[/token=(.*?) /,1]
|
16
|
+
uid = auth_header[/uid=(.*?)$/,1]
|
17
|
+
|
18
|
+
@user = @current_user = User.where(
|
19
|
+
uid: uid,
|
20
|
+
auth_token: token
|
21
|
+
).first
|
22
|
+
|
23
|
+
# invalid auth token
|
24
|
+
return if not @user
|
25
|
+
return if not @user.auth_token
|
26
|
+
|
27
|
+
# sign in user, don't create session
|
28
|
+
sign_in(@user, store: false)
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
class TestController < ApplicationController
|
2
|
+
def members_only
|
3
|
+
if @user
|
4
|
+
render json: {
|
5
|
+
data: {
|
6
|
+
message: "Welcome #{@user.name}",
|
7
|
+
user: @user
|
8
|
+
}
|
9
|
+
}, status: 200
|
10
|
+
else
|
11
|
+
render json: {
|
12
|
+
errors: ["Authorized users only."]
|
13
|
+
}, status: 401
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/test/dummy/config/routes.rb
CHANGED
Binary file
|
@@ -3404,3 +3404,395 @@ Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-06-29 17:40:23 -0500
|
|
3404
3404
|
Processing by DeviseTokenAuth::SessionsController#destroy as HTML
|
3405
3405
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" IS NULL AND "users"."auth_token" = '2gBpOVNIlZg5sgKBMMMfBQ' ORDER BY "users"."id" ASC LIMIT 1
|
3406
3406
|
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
3407
|
+
|
3408
|
+
|
3409
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:06:08 -0500
|
3410
|
+
|
3411
|
+
ActiveRecord::PendingMigrationError (
|
3412
|
+
|
3413
|
+
Migrations are pending. To resolve this issue, run:
|
3414
|
+
|
3415
|
+
bin/rake db:migrate RAILS_ENV=development
|
3416
|
+
|
3417
|
+
):
|
3418
|
+
activerecord (4.1.2) lib/active_record/migration.rb:389:in `check_pending!'
|
3419
|
+
activerecord (4.1.2) lib/active_record/migration.rb:377:in `call'
|
3420
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
3421
|
+
activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
3422
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
3423
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
3424
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
3425
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
3426
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
3427
|
+
railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app'
|
3428
|
+
railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call'
|
3429
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
3430
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
3431
|
+
activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
3432
|
+
railties (4.1.2) lib/rails/rack/logger.rb:20:in `call'
|
3433
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
3434
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
3435
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
3436
|
+
activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
3437
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
3438
|
+
actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call'
|
3439
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
3440
|
+
railties (4.1.2) lib/rails/engine.rb:514:in `call'
|
3441
|
+
railties (4.1.2) lib/rails/application.rb:144:in `call'
|
3442
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
3443
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
3444
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
3445
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
3446
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
3447
|
+
/opt/rubies/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
3448
|
+
|
3449
|
+
|
3450
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
|
3451
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
|
3452
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
|
3453
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms)
|
3454
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
3455
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
3456
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3457
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
3458
|
+
Migrating to DeviseTokenAuthCreateUsers (20140629011345)
|
3459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3460
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "confirmation_token" varchar(255), "confirmed_at" datetime, "confirmation_sent_at" datetime, "confirm_success_url" varchar(255), "auth_token" varchar(255) DEFAULT '' NOT NULL, "name" varchar(255), "nickname" varchar(255), "image" varchar(255), "provider" varchar(255), "uid" varchar(255) DEFAULT '' NOT NULL, "created_at" datetime, "updated_at" datetime)
|
3461
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_users_on_auth_token" ON "users" ("auth_token")[0m
|
3462
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3463
|
+
FROM sqlite_master
|
3464
|
+
WHERE name='index_users_on_auth_token' AND type='index'
|
3465
|
+
UNION ALL
|
3466
|
+
SELECT sql
|
3467
|
+
FROM sqlite_temp_master
|
3468
|
+
WHERE name='index_users_on_auth_token' AND type='index'
|
3469
|
+
|
3470
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_uid" ON "users" ("uid")[0m
|
3471
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
3472
|
+
FROM sqlite_master
|
3473
|
+
WHERE name='index_users_on_uid' AND type='index'
|
3474
|
+
UNION ALL
|
3475
|
+
SELECT sql
|
3476
|
+
FROM sqlite_temp_master
|
3477
|
+
WHERE name='index_users_on_uid' AND type='index'
|
3478
|
+
|
3479
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
3480
|
+
FROM sqlite_master
|
3481
|
+
WHERE name='index_users_on_auth_token' AND type='index'
|
3482
|
+
UNION ALL
|
3483
|
+
SELECT sql
|
3484
|
+
FROM sqlite_temp_master
|
3485
|
+
WHERE name='index_users_on_auth_token' AND type='index'
|
3486
|
+
[0m
|
3487
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
3488
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
3489
|
+
FROM sqlite_master
|
3490
|
+
WHERE name='index_users_on_email' AND type='index'
|
3491
|
+
UNION ALL
|
3492
|
+
SELECT sql
|
3493
|
+
FROM sqlite_temp_master
|
3494
|
+
WHERE name='index_users_on_email' AND type='index'
|
3495
|
+
[0m
|
3496
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3497
|
+
FROM sqlite_master
|
3498
|
+
WHERE name='index_users_on_uid' AND type='index'
|
3499
|
+
UNION ALL
|
3500
|
+
SELECT sql
|
3501
|
+
FROM sqlite_temp_master
|
3502
|
+
WHERE name='index_users_on_uid' AND type='index'
|
3503
|
+
|
3504
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
3505
|
+
FROM sqlite_master
|
3506
|
+
WHERE name='index_users_on_auth_token' AND type='index'
|
3507
|
+
UNION ALL
|
3508
|
+
SELECT sql
|
3509
|
+
FROM sqlite_temp_master
|
3510
|
+
WHERE name='index_users_on_auth_token' AND type='index'
|
3511
|
+
[0m
|
3512
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
3513
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140629011345"]]
|
3514
|
+
[1m[35m (0.9ms)[0m commit transaction
|
3515
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3516
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3517
|
+
FROM sqlite_master
|
3518
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
3519
|
+
UNION ALL
|
3520
|
+
SELECT sql
|
3521
|
+
FROM sqlite_temp_master
|
3522
|
+
WHERE name='index_users_on_reset_password_token' AND type='index'
|
3523
|
+
|
3524
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3525
|
+
FROM sqlite_master
|
3526
|
+
WHERE name='index_users_on_email' AND type='index'
|
3527
|
+
UNION ALL
|
3528
|
+
SELECT sql
|
3529
|
+
FROM sqlite_temp_master
|
3530
|
+
WHERE name='index_users_on_email' AND type='index'
|
3531
|
+
[0m
|
3532
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
3533
|
+
FROM sqlite_master
|
3534
|
+
WHERE name='index_users_on_uid' AND type='index'
|
3535
|
+
UNION ALL
|
3536
|
+
SELECT sql
|
3537
|
+
FROM sqlite_temp_master
|
3538
|
+
WHERE name='index_users_on_uid' AND type='index'
|
3539
|
+
|
3540
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
3541
|
+
FROM sqlite_master
|
3542
|
+
WHERE name='index_users_on_auth_token' AND type='index'
|
3543
|
+
UNION ALL
|
3544
|
+
SELECT sql
|
3545
|
+
FROM sqlite_temp_master
|
3546
|
+
WHERE name='index_users_on_auth_token' AND type='index'
|
3547
|
+
[0m
|
3548
|
+
|
3549
|
+
|
3550
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:06:35 -0500
|
3551
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3552
|
+
|
3553
|
+
ActionController::RoutingError (uninitialized constant ApplicationController::SetUserByToken):
|
3554
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3555
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3556
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3557
|
+
|
3558
|
+
|
3559
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
|
3560
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
|
3561
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
|
3562
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (9.5ms)
|
3563
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (45.8ms)
|
3564
|
+
|
3565
|
+
|
3566
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:07:20 -0500
|
3567
|
+
|
3568
|
+
ActionController::RoutingError (uninitialized constant DeviseTokenAuth::SetUserByToken):
|
3569
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3570
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3571
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3572
|
+
|
3573
|
+
|
3574
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
|
3575
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
|
3576
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
|
3577
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms)
|
3578
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (24.2ms)
|
3579
|
+
|
3580
|
+
|
3581
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:09:33 -0500
|
3582
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3583
|
+
|
3584
|
+
ActionController::RoutingError (uninitialized constant DeviseTokenAuth::Concerns::SetUserByToken):
|
3585
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3586
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3587
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3588
|
+
|
3589
|
+
|
3590
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
|
3591
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
3592
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
|
3593
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.0ms)
|
3594
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.8ms)
|
3595
|
+
|
3596
|
+
|
3597
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:13:38 -0500
|
3598
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3599
|
+
|
3600
|
+
ActionController::RoutingError (uninitialized constant DeviseTokenAuth::Concerns::SetUserByToken):
|
3601
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3602
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3603
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3604
|
+
|
3605
|
+
|
3606
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
|
3607
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
|
3608
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
|
3609
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms)
|
3610
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (31.9ms)
|
3611
|
+
|
3612
|
+
|
3613
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:15:29 -0500
|
3614
|
+
|
3615
|
+
LoadError (Unable to autoload constant DeviseTokenAuth::Concerns::SetUserByToken, expected /Users/lynnhurley/Code/Personal/devise_token_auth/app/controllers/devise_token_auth/concerns/set_user_by_token.rb to define it):
|
3616
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3617
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3618
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3619
|
+
|
3620
|
+
|
3621
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
|
3622
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
|
3623
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.5ms)
|
3624
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.3ms)
|
3625
|
+
|
3626
|
+
|
3627
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:16:37 -0500
|
3628
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3629
|
+
|
3630
|
+
ActionController::RoutingError (uninitialized constant Concerns::SetUserByToken):
|
3631
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3632
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3633
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3634
|
+
|
3635
|
+
|
3636
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
|
3637
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
3638
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
|
3639
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.7ms)
|
3640
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (30.4ms)
|
3641
|
+
|
3642
|
+
|
3643
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:16:53 -0500
|
3644
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3645
|
+
|
3646
|
+
ActionController::RoutingError (uninitialized constant ApplicationController::SetUserByToken):
|
3647
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3648
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3649
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3650
|
+
|
3651
|
+
|
3652
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
|
3653
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
|
3654
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.4ms)
|
3655
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.1ms)
|
3656
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (30.3ms)
|
3657
|
+
|
3658
|
+
|
3659
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:17:16 -0500
|
3660
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3661
|
+
|
3662
|
+
ActionController::RoutingError (uninitialized constant DeviseTokenAuth::SetUserByToken):
|
3663
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3664
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3665
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3666
|
+
|
3667
|
+
|
3668
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms)
|
3669
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
3670
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
|
3671
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms)
|
3672
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.4ms)
|
3673
|
+
|
3674
|
+
|
3675
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:17:35 -0500
|
3676
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3677
|
+
|
3678
|
+
LoadError (Unable to autoload constant DeviseTokenAuth::Concerns::SetUserByToken, expected /Users/lynnhurley/Code/Personal/devise_token_auth/app/controllers/devise_token_auth/concerns/set_user_by_token.rb to define it):
|
3679
|
+
app/controllers/application_controller.rb:5:in `<class:ApplicationController>'
|
3680
|
+
app/controllers/application_controller.rb:1:in `<top (required)>'
|
3681
|
+
app/controllers/test_controller.rb:1:in `<top (required)>'
|
3682
|
+
|
3683
|
+
|
3684
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
|
3685
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
|
3686
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (7.9ms)
|
3687
|
+
Rendered /opt/rubies/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.1ms)
|
3688
|
+
|
3689
|
+
|
3690
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:18:04 -0500
|
3691
|
+
Processing by TestController#members_only as HTML
|
3692
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
3693
|
+
|
3694
|
+
|
3695
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:18:59 -0500
|
3696
|
+
Processing by TestController#members_only as HTML
|
3697
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
3698
|
+
|
3699
|
+
|
3700
|
+
Started GET "/auth/github" for 127.0.0.1 at 2014-06-29 22:19:04 -0500
|
3701
|
+
|
3702
|
+
|
3703
|
+
Started GET "/auth/github/callback?code=0808e5f25ba66f7aeea2&state=215bc5346f547c2a6bdd80e4239ec07794b4f61f69778a3e" for 127.0.0.1 at 2014-06-29 22:19:04 -0500
|
3704
|
+
Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
|
3705
|
+
Parameters: {"code"=>"0808e5f25ba66f7aeea2", "state"=>"215bc5346f547c2a6bdd80e4239ec07794b4f61f69778a3e", "provider"=>"github"}
|
3706
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' AND "users"."email" = 'lynn.dylan.hurley+github@gmail.com' ORDER BY "users"."id" ASC LIMIT 1
|
3707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3708
|
+
[1m[35mUser Exists (0.1ms)[0m SELECT 1 AS one FROM "users" WHERE "users"."email" = 'lynn.dylan.hurley+github@gmail.com' LIMIT 1
|
3709
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
3710
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("auth_token", "created_at", "email", "encrypted_password", "image", "name", "nickname", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auth_token", "JRHUwHt7JcViMf0Stxumlg"], ["created_at", "2014-06-30 03:19:05.442529"], ["email", "lynn.dylan.hurley+github@gmail.com"], ["encrypted_password", "$2a$10$0qeHmiR03NU0X.TlqlEX7.994Qi3Z65tE6RAp0LZ2hvbgXsV8ewJS"], ["image", "https://avatars.githubusercontent.com/u/468037?"], ["name", "Lynn Dylan Hurley"], ["nickname", "lynndylanhurley"], ["provider", "github"], ["uid", "468037"], ["updated_at", "2014-06-30 03:19:05.442529"]]
|
3711
|
+
[1m[35m (0.9ms)[0m commit transaction
|
3712
|
+
Rendered /Users/lynnhurley/Code/Personal/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.6ms)
|
3713
|
+
Completed 200 OK in 115ms (Views: 3.6ms | ActiveRecord: 2.2ms)
|
3714
|
+
|
3715
|
+
|
3716
|
+
Started OPTIONS "/test/members_only" for 127.0.0.1 at 2014-06-29 22:19:12 -0500
|
3717
|
+
|
3718
|
+
|
3719
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:19:12 -0500
|
3720
|
+
Processing by TestController#members_only as HTML
|
3721
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL AND "users"."auth_token" = 'JRHUwHt7JcViMf0Stxumlg' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3722
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
3723
|
+
|
3724
|
+
|
3725
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:19:43 -0500
|
3726
|
+
Processing by TestController#members_only as HTML
|
3727
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = '468037' AND "users"."auth_token" = 'JRHUwHt7JcViMf0Stxumlg' ORDER BY "users"."id" ASC LIMIT 1
|
3728
|
+
Completed 401 Unauthorized in 2ms (Views: 0.1ms | ActiveRecord: 0.5ms)
|
3729
|
+
|
3730
|
+
|
3731
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:20:25 -0500
|
3732
|
+
Processing by TestController#members_only as HTML
|
3733
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."auth_token" = 'JRHUwHt7JcViMf0Stxumlg' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3734
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3735
|
+
Binary data inserted for `string` type on column `current_sign_in_ip`
|
3736
|
+
Binary data inserted for `string` type on column `last_sign_in_ip`
|
3737
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1[0m [["current_sign_in_at", "2014-06-30 03:20:25.343133"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-06-30 03:20:25.343133"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-06-30 03:20:25.344139"]]
|
3738
|
+
[1m[35m (1.8ms)[0m commit transaction
|
3739
|
+
Completed 200 OK in 16ms (Views: 0.5ms | ActiveRecord: 2.7ms)
|
3740
|
+
|
3741
|
+
|
3742
|
+
Started OPTIONS "/auth/sign_out" for 127.0.0.1 at 2014-06-29 22:20:29 -0500
|
3743
|
+
|
3744
|
+
|
3745
|
+
Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-06-29 22:20:29 -0500
|
3746
|
+
Processing by DeviseTokenAuth::SessionsController#destroy as HTML
|
3747
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL AND "users"."auth_token" = 'JRHUwHt7JcViMf0Stxumlg' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3748
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
3749
|
+
|
3750
|
+
|
3751
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:20:32 -0500
|
3752
|
+
Processing by TestController#members_only as HTML
|
3753
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."auth_token" = 'JRHUwHt7JcViMf0Stxumlg' ORDER BY "users"."id" ASC LIMIT 1
|
3754
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3755
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "users" SET "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1 [["current_sign_in_at", "2014-06-30 03:20:32.881262"], ["sign_in_count", 2], ["updated_at", "2014-06-30 03:20:32.881609"]]
|
3756
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
3757
|
+
Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 3.0ms)
|
3758
|
+
|
3759
|
+
|
3760
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:22:07 -0500
|
3761
|
+
Processing by TestController#members_only as HTML
|
3762
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" IS NULL AND "users"."auth_token" IS NULL ORDER BY "users"."id" ASC LIMIT 1
|
3763
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
3764
|
+
|
3765
|
+
|
3766
|
+
Started GET "/auth/github" for 127.0.0.1 at 2014-06-29 22:22:11 -0500
|
3767
|
+
|
3768
|
+
|
3769
|
+
Started GET "/auth/github/callback?code=56323372e02f4cfd9458&state=045e309b03badd2c89b1e24446197373ce8da1399c22445d" for 127.0.0.1 at 2014-06-29 22:22:11 -0500
|
3770
|
+
Processing by DeviseTokenAuth::AuthController#omniauth_success as HTML
|
3771
|
+
Parameters: {"code"=>"56323372e02f4cfd9458", "state"=>"045e309b03badd2c89b1e24446197373ce8da1399c22445d", "provider"=>"github"}
|
3772
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."provider" = 'github' AND "users"."email" = 'lynn.dylan.hurley+github@gmail.com' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3773
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3774
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "auth_token" = ?, "updated_at" = ? WHERE "users"."id" = 1[0m [["auth_token", "4DKU9KdcDRXcv1d93LBLTA"], ["updated_at", "2014-06-30 03:22:12.333398"]]
|
3775
|
+
[1m[35m (1.7ms)[0m commit transaction
|
3776
|
+
Rendered /Users/lynnhurley/Code/Personal/devise_token_auth/app/views/devise_token_auth/omniauth_success.html.erb within layouts/omniauth_response (0.1ms)
|
3777
|
+
Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 2.4ms)
|
3778
|
+
|
3779
|
+
|
3780
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:22:15 -0500
|
3781
|
+
Processing by TestController#members_only as HTML
|
3782
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = '468037' AND "users"."auth_token" = '4DKU9KdcDRXcv1d93LBLTA' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3783
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3784
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "users" SET "current_sign_in_at" = ?, "last_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = 1[0m [["current_sign_in_at", "2014-06-30 03:22:15.836294"], ["last_sign_in_at", "2014-06-30 03:20:32.881262"], ["sign_in_count", 3], ["updated_at", "2014-06-30 03:22:15.836694"]]
|
3785
|
+
[1m[35m (1.8ms)[0m commit transaction
|
3786
|
+
Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 2.2ms)
|
3787
|
+
|
3788
|
+
|
3789
|
+
Started DELETE "/auth/sign_out" for 127.0.0.1 at 2014-06-29 22:22:20 -0500
|
3790
|
+
Processing by DeviseTokenAuth::SessionsController#destroy as HTML
|
3791
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" IS NULL AND "users"."auth_token" = '4DKU9KdcDRXcv1d93LBLTA' ORDER BY "users"."id" ASC LIMIT 1[0m
|
3792
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
3793
|
+
|
3794
|
+
|
3795
|
+
Started GET "/test/members_only" for 127.0.0.1 at 2014-06-29 22:22:23 -0500
|
3796
|
+
Processing by TestController#members_only as HTML
|
3797
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" IS NULL AND "users"."auth_token" IS NULL ORDER BY "users"."id" ASC LIMIT 1
|
3798
|
+
Completed 401 Unauthorized in 1ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_token_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lynn Hurley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -59,15 +59,13 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- MIT-LICENSE
|
63
|
-
- README.rdoc
|
64
62
|
- Rakefile
|
65
63
|
- app/assets/javascripts/devise_token_auth/application.js
|
66
64
|
- app/assets/stylesheets/devise_token_auth/application.css
|
67
65
|
- app/controllers/devise_token_auth/application_controller.rb
|
68
66
|
- app/controllers/devise_token_auth/auth_controller.rb
|
67
|
+
- app/controllers/devise_token_auth/concerns/set_user_by_token.rb
|
69
68
|
- app/controllers/devise_token_auth/confirmations_controller.rb
|
70
|
-
- app/controllers/devise_token_auth/omniauth_callbacks_controller.rb
|
71
69
|
- app/controllers/devise_token_auth/passwords_controller.rb
|
72
70
|
- app/controllers/devise_token_auth/registrations_controller.rb
|
73
71
|
- app/controllers/devise_token_auth/sessions_controller.rb
|
@@ -91,6 +89,7 @@ files:
|
|
91
89
|
- test/dummy/app/assets/javascripts/application.js
|
92
90
|
- test/dummy/app/assets/stylesheets/application.css
|
93
91
|
- test/dummy/app/controllers/application_controller.rb
|
92
|
+
- test/dummy/app/controllers/test_controller.rb
|
94
93
|
- test/dummy/app/helpers/application_helper.rb
|
95
94
|
- test/dummy/app/views/layouts/application.html.erb
|
96
95
|
- test/dummy/bin/bundle
|
@@ -158,6 +157,7 @@ test_files:
|
|
158
157
|
- test/dummy/app/assets/javascripts/application.js
|
159
158
|
- test/dummy/app/assets/stylesheets/application.css
|
160
159
|
- test/dummy/app/controllers/application_controller.rb
|
160
|
+
- test/dummy/app/controllers/test_controller.rb
|
161
161
|
- test/dummy/app/helpers/application_helper.rb
|
162
162
|
- test/dummy/app/views/layouts/application.html.erb
|
163
163
|
- test/dummy/bin/bundle
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2014 YOURNAME
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
DELETED
File without changes
|