openstax_api 1.0.4 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/openstax/api/v1/api_controller.rb +27 -52
- data/app/models/openstax/api/api_user.rb +4 -5
- data/lib/openstax/api/{doorkeeper_extensions.rb → doorkeeper_application_includes.rb} +3 -2
- data/lib/openstax/api/roar.rb +5 -5
- data/lib/openstax/api/{route_extensions.rb → routing_mapper_includes.rb} +3 -2
- data/lib/openstax/api/version.rb +1 -1
- data/lib/openstax_api.rb +2 -2
- data/spec/dummy/config/environment.rb +2 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/controller_includes.rb +7 -0
- data/spec/dummy/log/development.log +289 -0
- data/spec/dummy/log/test.log +363 -0
- data/spec/lib/openstax/api/{doorkeeper_extensions_spec.rb → doorkeeper_application_includes_spec.rb} +1 -1
- data/spec/lib/openstax/api/{route_extensions_spec.rb → routing_mapper_includes_spec.rb} +1 -1
- metadata +10 -10
- data/spec/dummy/app/controllers/application_controller.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e4d441e414199654826cf159d71c8194e4cdbf5
|
4
|
+
data.tar.gz: 13bf6cbc52729a2d53462644bbb2d1b668cf0b4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 853990e94e6a5f41fc1a6573410ae7cd8ed56f95a83bd9d3db941de67cf757657a4efdf1f7c9b2f34773d66ac7ac2a7197d7762c65919dd0917c0c008d85cae3
|
7
|
+
data.tar.gz: 288b1fe5127cf6ddd505e26c3082c03eee25fb7a216453bdddffc1e7f1008493a041ae2d602a79b95f67cae751c964dcb5d0d65f9dcac48573a226513ea4e4ad
|
@@ -7,79 +7,54 @@ module OpenStax
|
|
7
7
|
module Api
|
8
8
|
module V1
|
9
9
|
|
10
|
-
class ApiController < ::
|
11
|
-
|
10
|
+
class ApiController < ActionController::Base
|
11
|
+
|
12
12
|
include ::Roar::Rails::ControllerAdditions
|
13
13
|
include OpenStax::Api::Roar
|
14
14
|
include OpenStax::Api::Apipie
|
15
15
|
|
16
|
-
fine_print_skip_signatures(:general_terms_of_use,
|
17
|
-
:privacy_policy) \
|
18
|
-
if respond_to? :fine_print_skip_signatures
|
19
|
-
|
20
16
|
skip_protect_beta if respond_to? :skip_protect_beta
|
21
17
|
|
22
18
|
skip_before_filter :authenticate_user!
|
23
|
-
doorkeeper_for :all, :unless => :
|
24
|
-
skip_before_filter :verify_authenticity_token,
|
25
|
-
|
19
|
+
doorkeeper_for :all, :unless => :session_user?
|
20
|
+
skip_before_filter :verify_authenticity_token, :unless => :session_user?
|
21
|
+
|
22
|
+
# This filter can wait until the user signs in again
|
23
|
+
skip_interception :expired_password if respond_to? :skip_interception
|
26
24
|
|
27
25
|
respond_to :json
|
28
|
-
rescue_from Exception, :with => :rescue_from_exception
|
29
26
|
|
30
27
|
# Keep old current_user method so we can use it
|
31
|
-
alias_method :
|
28
|
+
alias_method :current_session_user,
|
32
29
|
OpenStax::Api.configuration.current_user_method
|
33
30
|
|
34
|
-
#
|
35
|
-
|
36
|
-
# to it at one time, can't require them to agree when terms change since
|
37
|
-
# their apps are doing the talking) -- this needs more thought
|
38
|
-
|
39
|
-
# TODO: maybe freak out if current_user is anonymous (require we know
|
40
|
-
# who person/app is so we can do things like throttling, API terms
|
41
|
-
# agreement, etc)
|
31
|
+
# Ensure we will never again confuse human users and api users
|
32
|
+
undef_method OpenStax::Api.configuration.current_user_method
|
42
33
|
|
43
34
|
# Always return an ApiUser
|
44
|
-
def
|
35
|
+
def current_api_user
|
45
36
|
@current_api_user ||= ApiUser.new(doorkeeper_token,
|
46
|
-
lambda {
|
37
|
+
lambda { current_session_user })
|
47
38
|
end
|
48
39
|
|
49
|
-
|
40
|
+
def current_application
|
41
|
+
current_api_user.application
|
42
|
+
end
|
50
43
|
|
51
|
-
def
|
52
|
-
|
44
|
+
def current_human_user
|
45
|
+
current_api_user.human_user
|
53
46
|
end
|
54
47
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
ActionController::RoutingError,
|
66
|
-
ActionController::UnknownController,
|
67
|
-
AbstractController::ActionNotFound
|
68
|
-
error = :not_found
|
69
|
-
notify = false
|
70
|
-
end
|
71
|
-
|
72
|
-
if notify
|
73
|
-
ExceptionNotifier.notify_exception(
|
74
|
-
exception,
|
75
|
-
env: request.env,
|
76
|
-
data: { message: "An exception occurred" }
|
77
|
-
)
|
78
|
-
|
79
|
-
Rails.logger.error("An exception occurred: #{exception.message}\n\n#{exception.backtrace.join("\n")}") \
|
80
|
-
end
|
81
|
-
|
82
|
-
head error
|
48
|
+
# JSON can't really redirect
|
49
|
+
# Redirect from a filter effectively means "deny access"
|
50
|
+
def redirect_to(options = {}, response_status = {})
|
51
|
+
head :forbidden
|
52
|
+
end
|
53
|
+
|
54
|
+
protected
|
55
|
+
|
56
|
+
def session_user?
|
57
|
+
current_session_user && doorkeeper_token.blank?
|
83
58
|
end
|
84
59
|
|
85
60
|
end
|
@@ -4,7 +4,7 @@
|
|
4
4
|
# someone who logs into this site and then uses this site's Backbone
|
5
5
|
# interface).
|
6
6
|
# 2. It can be a combination of a Doorkeeper Application and a User,
|
7
|
-
# given via OAuth's Authorization or Implicit flows.
|
7
|
+
# given via OAuth's Authorization Code or Implicit flows.
|
8
8
|
# 3. It can just be a Doorkeeper Application, given through OAuth's
|
9
9
|
# Client Credentials flow.
|
10
10
|
#
|
@@ -36,10 +36,9 @@ module OpenStax
|
|
36
36
|
# If we have a doorkeeper_token, derive the User from it.
|
37
37
|
# If not, we're in case #1 above and the User should be
|
38
38
|
# retrieved from the non_doorkeeper_user_proc.
|
39
|
-
@user ||= @doorkeeper_token ?
|
40
|
-
|
41
|
-
|
42
|
-
).first : @non_doorkeeper_user_proc.call
|
39
|
+
@user ||= @doorkeeper_token ? USER_CLASS.where(
|
40
|
+
:id => @doorkeeper_token.try(:resource_owner_id)).first : \
|
41
|
+
@non_doorkeeper_user_proc.call
|
43
42
|
end
|
44
43
|
|
45
44
|
##########################
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module OpenStax
|
2
2
|
module Api
|
3
|
-
module
|
3
|
+
module DoorkeeperApplicationIncludes
|
4
4
|
# Add some fields to Doorkeeper::Application
|
5
5
|
def is_human?
|
6
6
|
false
|
@@ -19,5 +19,6 @@ end
|
|
19
19
|
|
20
20
|
# This needs to run after the orm is selected in the doorkeeper initializer
|
21
21
|
OpenStax::Api::Engine.config.after_initialize do
|
22
|
-
Doorkeeper::Application.send :include,
|
22
|
+
Doorkeeper::Application.send :include,
|
23
|
+
OpenStax::Api::DoorkeeperApplicationIncludes
|
23
24
|
end
|
data/lib/openstax/api/roar.rb
CHANGED
@@ -17,13 +17,13 @@ module OpenStax
|
|
17
17
|
|
18
18
|
def standard_read(model_klass, id, represent_with=nil)
|
19
19
|
@model = model_klass.find(id)
|
20
|
-
raise SecurityTransgression unless
|
20
|
+
raise SecurityTransgression unless current_api_user.can_read?(@model)
|
21
21
|
respond_with @model, represent_with: get_representer(represent_with, @model)
|
22
22
|
end
|
23
23
|
|
24
24
|
def standard_update(model_klass, id, represent_with=nil)
|
25
25
|
@model = model_klass.find(id)
|
26
|
-
raise SecurityTransgression unless
|
26
|
+
raise SecurityTransgression unless current_api_user.can_update?(@model)
|
27
27
|
consume!(@model, represent_with: get_representer(represent_with, @model))
|
28
28
|
|
29
29
|
if @model.save
|
@@ -54,7 +54,7 @@ module OpenStax
|
|
54
54
|
model_klass.transaction do
|
55
55
|
consume!(@model, represent_with: get_representer(represent_with, @model))
|
56
56
|
yield @model if block_given?
|
57
|
-
raise SecurityTransgression unless
|
57
|
+
raise SecurityTransgression unless current_api_user.can_create?(@model)
|
58
58
|
end
|
59
59
|
|
60
60
|
if @model.save
|
@@ -66,7 +66,7 @@ module OpenStax
|
|
66
66
|
|
67
67
|
def standard_destroy(model_klass, id)
|
68
68
|
@model = model_klass.find(id)
|
69
|
-
raise SecurityTransgression unless
|
69
|
+
raise SecurityTransgression unless current_api_user.can_destroy?(@model)
|
70
70
|
|
71
71
|
if @model.destroy
|
72
72
|
head :no_content
|
@@ -98,7 +98,7 @@ module OpenStax
|
|
98
98
|
originalOrdered.each do |item|
|
99
99
|
raise SecurityTransgression unless item.send(:container_column) == originalOrdered[0].send(:container_column) \
|
100
100
|
if item.respond_to?(:container_column)
|
101
|
-
raise SecurityTransgression unless
|
101
|
+
raise SecurityTransgression unless current_api_user.can_sort?(item)
|
102
102
|
end
|
103
103
|
|
104
104
|
originalOrderedIds = originalOrdered.collect{|sc| sc.id}
|
@@ -2,7 +2,7 @@ require 'openstax/api/constraints'
|
|
2
2
|
|
3
3
|
module OpenStax
|
4
4
|
module Api
|
5
|
-
module
|
5
|
+
module RoutingMapperIncludes
|
6
6
|
def api(version, options = {})
|
7
7
|
constraints = Constraints.new(version: version,
|
8
8
|
default: options.delete(:default))
|
@@ -15,4 +15,5 @@ module OpenStax
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
ActionDispatch::Routing::Mapper.send :include,
|
18
|
+
ActionDispatch::Routing::Mapper.send :include,
|
19
|
+
OpenStax::Api::RoutingMapperIncludes
|
data/lib/openstax/api/version.rb
CHANGED
data/lib/openstax_api.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -501,3 +501,292 @@ Connecting to database specified by database.yml
|
|
501
501
|
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
502
502
|
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
503
503
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
504
|
+
Connecting to database specified by database.yml
|
505
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
506
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
507
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
508
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
509
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
510
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
511
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
512
|
+
[1m[35m (0.7ms)[0m DROP TABLE "oauth_access_tokens"
|
513
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
514
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
515
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
516
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
517
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
518
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
519
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
520
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
521
|
+
Connecting to database specified by database.yml
|
522
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
523
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
524
|
+
[1m[36m (1.5ms)[0m [1mDROP TABLE "dummy_users"[0m
|
525
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
526
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
527
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
528
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
529
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
530
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
531
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
532
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
533
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
534
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
535
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
536
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
537
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
538
|
+
Connecting to database specified by database.yml
|
539
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
540
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
541
|
+
[1m[36m (1.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
542
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
543
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
544
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
545
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
546
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
547
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
548
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
549
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
550
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
551
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
552
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
553
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
554
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
555
|
+
Connecting to database specified by database.yml
|
556
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
557
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
558
|
+
[1m[36m (1.7ms)[0m [1mDROP TABLE "dummy_users"[0m
|
559
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
560
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
561
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
562
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
563
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
564
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
565
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
566
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
567
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
568
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
569
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
570
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
571
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
572
|
+
Connecting to database specified by database.yml
|
573
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
574
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
575
|
+
[1m[36m (1.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
576
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
577
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
578
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
579
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
580
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
581
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
582
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
583
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
584
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
585
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
586
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
587
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
588
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
589
|
+
Connecting to database specified by database.yml
|
590
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
591
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
592
|
+
[1m[36m (1.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
593
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
594
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
595
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
596
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
597
|
+
[1m[35m (0.9ms)[0m DROP TABLE "oauth_access_tokens"
|
598
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
599
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
600
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
601
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
602
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
603
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
604
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
605
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
606
|
+
Connecting to database specified by database.yml
|
607
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
608
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
609
|
+
[1m[36m (1.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
610
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
611
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
612
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
613
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
614
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
615
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
616
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
617
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
618
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
619
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
620
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
621
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
622
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
623
|
+
Connecting to database specified by database.yml
|
624
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
625
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
626
|
+
[1m[36m (1.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
627
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
628
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
629
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
630
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
631
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
632
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
633
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
634
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
635
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
636
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
637
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
638
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
639
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
640
|
+
Connecting to database specified by database.yml
|
641
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
642
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
643
|
+
[1m[36m (1.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
644
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
645
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
646
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
647
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
648
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
649
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
650
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
651
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
652
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
653
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
654
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
655
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
656
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
657
|
+
Connecting to database specified by database.yml
|
658
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
659
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
660
|
+
[1m[36m (1.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
661
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
662
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
663
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
664
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
665
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
666
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
667
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
668
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
669
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
670
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
671
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
672
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
673
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
674
|
+
Connecting to database specified by database.yml
|
675
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
676
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
677
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
678
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
679
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
680
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
681
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
682
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
683
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
684
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
685
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
686
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
687
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
688
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
689
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
690
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
691
|
+
Connecting to database specified by database.yml
|
692
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
693
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
694
|
+
[1m[36m (1.5ms)[0m [1mDROP TABLE "dummy_users"[0m
|
695
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
696
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
697
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
698
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
699
|
+
[1m[35m (0.9ms)[0m DROP TABLE "oauth_access_tokens"
|
700
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
701
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
702
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
703
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
704
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
705
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
706
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
707
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
708
|
+
Connecting to database specified by database.yml
|
709
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
710
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
711
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "dummy_users"[0m
|
712
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
713
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
714
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
715
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
716
|
+
[1m[35m (1.0ms)[0m DROP TABLE "oauth_access_tokens"
|
717
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
718
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
719
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
720
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
721
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
722
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
723
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
724
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
725
|
+
Connecting to database specified by database.yml
|
726
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
727
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
728
|
+
[1m[36m (1.7ms)[0m [1mDROP TABLE "dummy_users"[0m
|
729
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
730
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
731
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
732
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
733
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
734
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
735
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
736
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
737
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
738
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
739
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
740
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
741
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
742
|
+
Connecting to database specified by database.yml
|
743
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
744
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
745
|
+
[1m[36m (3.3ms)[0m [1mDROP TABLE "dummy_users"[0m
|
746
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
747
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
748
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
749
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
750
|
+
[1m[35m (0.5ms)[0m DROP TABLE "oauth_access_tokens"
|
751
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
752
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
753
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
754
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
755
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
756
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
757
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
758
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
759
|
+
Connecting to database specified by database.yml
|
760
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
761
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
762
|
+
[1m[36m (1.4ms)[0m [1mDROP TABLE "dummy_users"[0m
|
763
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
764
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
765
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
766
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
767
|
+
[1m[35m (0.8ms)[0m DROP TABLE "oauth_access_tokens"
|
768
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
769
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
770
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
771
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
772
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
773
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
774
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
775
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
776
|
+
Connecting to database specified by database.yml
|
777
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
778
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
779
|
+
[1m[36m (1.8ms)[0m [1mDROP TABLE "dummy_users"[0m
|
780
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password_hash" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
781
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "oauth_access_grants"[0m
|
782
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_access_grants" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer NOT NULL, "application_id" integer NOT NULL, "token" varchar(255) NOT NULL, "expires_in" integer NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "revoked_at" datetime, "scopes" varchar(255))
|
783
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_access_grants_on_token" ON "oauth_access_grants" ("token")[0m
|
784
|
+
[1m[35m (0.9ms)[0m DROP TABLE "oauth_access_tokens"
|
785
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "oauth_access_tokens" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_owner_id" integer, "application_id" integer, "token" varchar(255) NOT NULL, "refresh_token" varchar(255), "expires_in" integer, "revoked_at" datetime, "created_at" datetime NOT NULL, "scopes" varchar(255)) [0m
|
786
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_refresh_token" ON "oauth_access_tokens" ("refresh_token")
|
787
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_oauth_access_tokens_on_resource_owner_id" ON "oauth_access_tokens" ("resource_owner_id")[0m
|
788
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_oauth_access_tokens_on_token" ON "oauth_access_tokens" ("token")
|
789
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "oauth_applications"[0m
|
790
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "oauth_applications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "secret" varchar(255) NOT NULL, "redirect_uri" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
791
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
792
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
data/spec/dummy/log/test.log
CHANGED
@@ -722,3 +722,366 @@ Connecting to database specified by database.yml
|
|
722
722
|
[1m[35m (0.0ms)[0m rollback transaction
|
723
723
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
724
724
|
[1m[35m (0.0ms)[0m rollback transaction
|
725
|
+
Connecting to database specified by database.yml
|
726
|
+
Connecting to database specified by database.yml
|
727
|
+
Connecting to database specified by database.yml
|
728
|
+
Connecting to database specified by database.yml
|
729
|
+
Connecting to database specified by database.yml
|
730
|
+
Connecting to database specified by database.yml
|
731
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
732
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
733
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
734
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
735
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
736
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
737
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
738
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
739
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
740
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
741
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
742
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
743
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
744
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
745
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
746
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
747
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
748
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
749
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
750
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
751
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
752
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
753
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
754
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
755
|
+
[1m[36mSQL (4.7ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 16 May 2014 00:51:31 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 00:51:31 UTC +00:00], ["username", nil]]
|
756
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
757
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
759
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
760
|
+
[1m[35m (0.0ms)[0m begin transaction
|
761
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
762
|
+
Connecting to database specified by database.yml
|
763
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
764
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
765
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
766
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
767
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
768
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
771
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 16 May 2014 00:52:38 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 00:52:38 UTC +00:00], ["username", nil]]
|
772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
773
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 LIMIT 1[0m
|
774
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
775
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
776
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL LIMIT 1
|
777
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
778
|
+
[1m[35m (0.0ms)[0m begin transaction
|
779
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
780
|
+
[1m[35m (0.0ms)[0m begin transaction
|
781
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
782
|
+
[1m[35m (0.0ms)[0m begin transaction
|
783
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
784
|
+
[1m[35m (0.0ms)[0m begin transaction
|
785
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
787
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
788
|
+
[1m[35m (0.0ms)[0m begin transaction
|
789
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
790
|
+
[1m[35m (0.0ms)[0m begin transaction
|
791
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
792
|
+
[1m[35m (0.0ms)[0m begin transaction
|
793
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
795
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
796
|
+
Connecting to database specified by database.yml
|
797
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
798
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
799
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
800
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
802
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
804
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
806
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
807
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
808
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
809
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
810
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
811
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
812
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
813
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
814
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
816
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
817
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
818
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
819
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
820
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
821
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 16 May 2014 01:01:33 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:01:33 UTC +00:00], ["username", nil]]
|
822
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
823
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
824
|
+
[1m[35m (0.0ms)[0m begin transaction
|
825
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
826
|
+
[1m[35m (0.0ms)[0m begin transaction
|
827
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
828
|
+
Connecting to database specified by database.yml
|
829
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
830
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
832
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
833
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
834
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
837
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 16 May 2014 01:01:58 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:01:58 UTC +00:00], ["username", nil]]
|
838
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
839
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
841
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
842
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:01:58 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:01:58 UTC +00:00], ["username", nil]]
|
843
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
844
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 LIMIT 1
|
845
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
847
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL LIMIT 1[0m
|
848
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
852
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
853
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
854
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
855
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
856
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
857
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
858
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
859
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
860
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
861
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
862
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
863
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
864
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
865
|
+
Connecting to database specified by database.yml
|
866
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
867
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
868
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
869
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
870
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
871
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL LIMIT 1
|
872
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
873
|
+
[1m[35m (0.0ms)[0m begin transaction
|
874
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
875
|
+
[1m[35mSQL (2.5ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:07:15 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:07:15 UTC +00:00], ["username", nil]]
|
876
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
877
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
878
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
879
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
880
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 16 May 2014 01:07:15 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:07:15 UTC +00:00], ["username", nil]]
|
881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
882
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 LIMIT 1[0m
|
883
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
884
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
885
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
886
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
887
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
889
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
891
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
892
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
893
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
895
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
897
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
899
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
900
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
901
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
902
|
+
Connecting to database specified by database.yml
|
903
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
904
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
905
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
906
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
907
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
908
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
910
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
911
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
912
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
913
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
914
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
915
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
916
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
918
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
920
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
922
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
924
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
926
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL LIMIT 1
|
927
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
929
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
930
|
+
[1m[35mSQL (2.3ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:13:12 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:13:12 UTC +00:00], ["username", nil]]
|
931
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
932
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 LIMIT 1
|
933
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
934
|
+
[1m[35m (0.1ms)[0m begin transaction
|
935
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
936
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:13:12 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:13:12 UTC +00:00], ["username", nil]]
|
937
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
938
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
939
|
+
Connecting to database specified by database.yml
|
940
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
941
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
943
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
944
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
945
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
947
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
949
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
950
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
951
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
953
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
955
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
957
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
958
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
959
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
960
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
961
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL LIMIT 1
|
962
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
963
|
+
[1m[35m (0.0ms)[0m begin transaction
|
964
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
965
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:28:47 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:28:47 UTC +00:00], ["username", nil]]
|
966
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
967
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 LIMIT 1
|
968
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
969
|
+
[1m[35m (0.0ms)[0m begin transaction
|
970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
971
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:28:47 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:28:47 UTC +00:00], ["username", nil]]
|
972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
973
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
975
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
976
|
+
Connecting to database specified by database.yml
|
977
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
978
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
980
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
981
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
982
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
983
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 16 May 2014 01:38:49 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:38:49 UTC +00:00], ["username", nil]]
|
984
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
985
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
986
|
+
[1m[35m (0.0ms)[0m begin transaction
|
987
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
988
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:38:49 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:38:49 UTC +00:00], ["username", nil]]
|
989
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
990
|
+
[1m[35mDummyUser Load (0.1ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 LIMIT 1
|
991
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
992
|
+
[1m[35m (0.0ms)[0m begin transaction
|
993
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL LIMIT 1[0m
|
994
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
995
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
996
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
997
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
998
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1000
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1001
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1002
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1004
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1005
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1006
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1008
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1009
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1010
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1011
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1012
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1013
|
+
Connecting to database specified by database.yml
|
1014
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1015
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1016
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 16 May 2014 01:43:20 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:43:20 UTC +00:00], ["username", nil]]
|
1017
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1018
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 LIMIT 1[0m
|
1019
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1020
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1021
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1022
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Fri, 16 May 2014 01:43:20 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:43:20 UTC +00:00], ["username", nil]]
|
1023
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1024
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1026
|
+
[1m[36mDummyUser Load (0.1ms)[0m [1mSELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL LIMIT 1[0m
|
1027
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1028
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1029
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1033
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1035
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1036
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1037
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1038
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1039
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1040
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1041
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1043
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1044
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1045
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1046
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1047
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1049
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1050
|
+
Connecting to database specified by database.yml
|
1051
|
+
Connecting to database specified by database.yml
|
1052
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1053
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" IS NULL LIMIT 1
|
1054
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1055
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1057
|
+
[1m[35mSQL (2.6ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:50:51 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:50:51 UTC +00:00], ["username", nil]]
|
1058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1059
|
+
[1m[35mDummyUser Load (0.0ms)[0m SELECT "dummy_users".* FROM "dummy_users" WHERE "dummy_users"."id" = 1 LIMIT 1
|
1060
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
1061
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1062
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1063
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dummy_users" ("created_at", "password_hash", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Fri, 16 May 2014 01:50:51 UTC +00:00], ["password_hash", nil], ["updated_at", Fri, 16 May 2014 01:50:51 UTC +00:00], ["username", nil]]
|
1064
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1065
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1067
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1068
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1069
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1071
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1072
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1073
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1074
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1075
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1076
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1077
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1078
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1079
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1080
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1081
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1083
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1084
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1085
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1086
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1087
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
data/spec/lib/openstax/api/{doorkeeper_extensions_spec.rb → doorkeeper_application_includes_spec.rb}
RENAMED
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
module OpenStax
|
4
4
|
module Api
|
5
|
-
describe
|
5
|
+
describe DoorkeeperApplicationIncludes do
|
6
6
|
it 'must add methods to Doorkeeper::Application' do
|
7
7
|
application = Doorkeeper::Application.new
|
8
8
|
expect(application).to respond_to(:is_human?)
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
module OpenStax
|
4
4
|
module Api
|
5
|
-
describe
|
5
|
+
describe RoutingMapperIncludes do
|
6
6
|
it 'must add api method to ActionDispatch::Routing::Mapper' do
|
7
7
|
mapper = ActionDispatch::Routing::Mapper.new(Rails.application.routes)
|
8
8
|
expect(mapper).to respond_to(:api)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dante Soares
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -139,11 +139,11 @@ files:
|
|
139
139
|
- app/models/openstax/api/api_user.rb
|
140
140
|
- lib/openstax/api/apipie.rb
|
141
141
|
- lib/openstax/api/constraints.rb
|
142
|
-
- lib/openstax/api/
|
142
|
+
- lib/openstax/api/doorkeeper_application_includes.rb
|
143
143
|
- lib/openstax/api/engine.rb
|
144
144
|
- lib/openstax/api/representable_schema_printer.rb
|
145
145
|
- lib/openstax/api/roar.rb
|
146
|
-
- lib/openstax/api/
|
146
|
+
- lib/openstax/api/routing_mapper_includes.rb
|
147
147
|
- lib/openstax/api/version.rb
|
148
148
|
- lib/openstax_api.rb
|
149
149
|
- spec/controllers/openstax/api/v1/api_controller_spec.rb
|
@@ -151,7 +151,6 @@ files:
|
|
151
151
|
- spec/dummy/Rakefile
|
152
152
|
- spec/dummy/app/assets/javascripts/application.js
|
153
153
|
- spec/dummy/app/assets/stylesheets/application.css
|
154
|
-
- spec/dummy/app/controllers/application_controller.rb
|
155
154
|
- spec/dummy/app/helpers/application_helper.rb
|
156
155
|
- spec/dummy/app/models/dummy_user.rb
|
157
156
|
- spec/dummy/app/representers/dummy_user_representer.rb
|
@@ -178,6 +177,7 @@ files:
|
|
178
177
|
- spec/dummy/db/migrate/1_create_dummy_users.rb
|
179
178
|
- spec/dummy/db/schema.rb
|
180
179
|
- spec/dummy/db/test.sqlite3
|
180
|
+
- spec/dummy/lib/controller_includes.rb
|
181
181
|
- spec/dummy/log/development.log
|
182
182
|
- spec/dummy/log/test.log
|
183
183
|
- spec/dummy/public/404.html
|
@@ -187,10 +187,10 @@ files:
|
|
187
187
|
- spec/dummy/script/rails
|
188
188
|
- spec/lib/openstax/api/apipie.rb
|
189
189
|
- spec/lib/openstax/api/constraints_spec.rb
|
190
|
-
- spec/lib/openstax/api/
|
190
|
+
- spec/lib/openstax/api/doorkeeper_application_includes_spec.rb
|
191
191
|
- spec/lib/openstax/api/representable_schema_printer_spec.rb
|
192
192
|
- spec/lib/openstax/api/roar.rb
|
193
|
-
- spec/lib/openstax/api/
|
193
|
+
- spec/lib/openstax/api/routing_mapper_includes_spec.rb
|
194
194
|
- spec/models/openstax/api/api_user_spec.rb
|
195
195
|
- spec/spec_helper.rb
|
196
196
|
homepage: https://github.com/openstax/openstax_api
|
@@ -221,7 +221,6 @@ test_files:
|
|
221
221
|
- spec/controllers/openstax/api/v1/api_controller_spec.rb
|
222
222
|
- spec/dummy/app/assets/javascripts/application.js
|
223
223
|
- spec/dummy/app/assets/stylesheets/application.css
|
224
|
-
- spec/dummy/app/controllers/application_controller.rb
|
225
224
|
- spec/dummy/app/helpers/application_helper.rb
|
226
225
|
- spec/dummy/app/models/dummy_user.rb
|
227
226
|
- spec/dummy/app/representers/dummy_user_representer.rb
|
@@ -248,6 +247,7 @@ test_files:
|
|
248
247
|
- spec/dummy/db/migrate/1_create_dummy_users.rb
|
249
248
|
- spec/dummy/db/schema.rb
|
250
249
|
- spec/dummy/db/test.sqlite3
|
250
|
+
- spec/dummy/lib/controller_includes.rb
|
251
251
|
- spec/dummy/log/development.log
|
252
252
|
- spec/dummy/log/test.log
|
253
253
|
- spec/dummy/public/404.html
|
@@ -259,9 +259,9 @@ test_files:
|
|
259
259
|
- spec/dummy/script/rails
|
260
260
|
- spec/lib/openstax/api/apipie.rb
|
261
261
|
- spec/lib/openstax/api/constraints_spec.rb
|
262
|
-
- spec/lib/openstax/api/
|
262
|
+
- spec/lib/openstax/api/doorkeeper_application_includes_spec.rb
|
263
263
|
- spec/lib/openstax/api/representable_schema_printer_spec.rb
|
264
264
|
- spec/lib/openstax/api/roar.rb
|
265
|
-
- spec/lib/openstax/api/
|
265
|
+
- spec/lib/openstax/api/routing_mapper_includes_spec.rb
|
266
266
|
- spec/models/openstax/api/api_user_spec.rb
|
267
267
|
- spec/spec_helper.rb
|