green_flag 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.codeclimate.yml +50 -0
- data/Gemfile.lock +6 -1
- data/app/assets/stylesheets/green_flag/admin/features.css.scss +4 -0
- data/app/controllers/green_flag/admin/features_controller.rb +1 -1
- data/app/models/green_flag/feature.rb +8 -0
- data/app/views/green_flag/admin/features/index.html.erb +13 -2
- data/green_flag.gemspec +2 -1
- data/lib/green_flag/version.rb +1 -1
- data/spec/dummy/app/controllers/{feature_check_controller.rb → feature_checks_controller.rb} +0 -0
- data/spec/dummy/config/initializers/green_flag.rb +14 -0
- data/spec/dummy/log/development.log +625 -0
- data/spec/dummy/log/test.log +6447 -0
- data/spec/dummy/tmp/cache/assets/CE7/FF0/sprockets%2Fe45f3a7675a8c5a5b064117792bf5e28 +0 -0
- data/spec/dummy/tmp/cache/assets/D07/670/sprockets%2F761d03a66b753d628feccd12072c814c +0 -0
- data/spec/dummy/tmp/cache/assets/D13/270/sprockets%2F701a30cd450ae3cfa114092bafc16004 +0 -0
- data/spec/dummy/tmp/cache/assets/D68/760/sprockets%2Fea24808c41a3dff75b995b0f090e1a6a +0 -0
- data/spec/dummy/tmp/cache/assets/DA9/2C0/sprockets%2Ff95d82b2bbb6db8ffe1a87f67b415291 +0 -0
- data/spec/dummy/tmp/cache/assets/DB2/0C0/sprockets%2F95cf35cd3e97774df3c41ee0ef564a8d +0 -0
- metadata +23 -6
- data/spec/dummy/tmp/pids/server.pid +0 -1
@@ -9045,3 +9045,628 @@ Connecting to database specified by database.yml
|
|
9045
9045
|
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9046
9046
|
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9047
9047
|
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9048
|
+
Connecting to database specified by database.yml
|
9049
|
+
[1m[36m (2.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9050
|
+
[1m[35m (284.6ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9051
|
+
[1m[36m (341.2ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9052
|
+
[1m[35m (10.8ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9053
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9054
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9055
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9056
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9057
|
+
[1m[36m (5.1ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9058
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9059
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9060
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9061
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9062
|
+
[1m[35m (3.2ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9063
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9064
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9065
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9066
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9067
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9068
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
9069
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9070
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9071
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9072
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9073
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9074
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9075
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9076
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9077
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9078
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9079
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9080
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9081
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9082
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9083
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9084
|
+
|
9085
|
+
|
9086
|
+
Started GET "/" for 127.0.0.1 at 2015-09-28 12:09:51 -0400
|
9087
|
+
Connecting to database specified by database.yml
|
9088
|
+
|
9089
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
9090
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
9091
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9092
|
+
railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app'
|
9093
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call'
|
9094
|
+
activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9095
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `call'
|
9096
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9097
|
+
rack (1.4.7) lib/rack/methodoverride.rb:21:in `call'
|
9098
|
+
rack (1.4.7) lib/rack/runtime.rb:17:in `call'
|
9099
|
+
activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9100
|
+
rack (1.4.7) lib/rack/lock.rb:15:in `call'
|
9101
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call'
|
9102
|
+
railties (3.2.22) lib/rails/engine.rb:484:in `call'
|
9103
|
+
railties (3.2.22) lib/rails/application.rb:231:in `call'
|
9104
|
+
rack (1.4.7) lib/rack/content_length.rb:14:in `call'
|
9105
|
+
railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call'
|
9106
|
+
rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service'
|
9107
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
9108
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
9109
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
9110
|
+
|
9111
|
+
|
9112
|
+
Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms)
|
9113
|
+
|
9114
|
+
|
9115
|
+
Started GET "/green_flag" for 127.0.0.1 at 2015-09-28 12:10:09 -0400
|
9116
|
+
|
9117
|
+
ActionController::RoutingError (No route matches [GET] "/green_flag"):
|
9118
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
9119
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9120
|
+
railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app'
|
9121
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call'
|
9122
|
+
activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9123
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `call'
|
9124
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9125
|
+
rack (1.4.7) lib/rack/methodoverride.rb:21:in `call'
|
9126
|
+
rack (1.4.7) lib/rack/runtime.rb:17:in `call'
|
9127
|
+
activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9128
|
+
rack (1.4.7) lib/rack/lock.rb:15:in `call'
|
9129
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call'
|
9130
|
+
railties (3.2.22) lib/rails/engine.rb:484:in `call'
|
9131
|
+
railties (3.2.22) lib/rails/application.rb:231:in `call'
|
9132
|
+
rack (1.4.7) lib/rack/content_length.rb:14:in `call'
|
9133
|
+
railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call'
|
9134
|
+
rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service'
|
9135
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
9136
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
9137
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
9138
|
+
|
9139
|
+
|
9140
|
+
Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
9141
|
+
|
9142
|
+
|
9143
|
+
Started GET "/green_flag/features" for 127.0.0.1 at 2015-09-28 12:10:14 -0400
|
9144
|
+
|
9145
|
+
ActionController::RoutingError (No route matches [GET] "/green_flag/features"):
|
9146
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
9147
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9148
|
+
railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app'
|
9149
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call'
|
9150
|
+
activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9151
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `call'
|
9152
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9153
|
+
rack (1.4.7) lib/rack/methodoverride.rb:21:in `call'
|
9154
|
+
rack (1.4.7) lib/rack/runtime.rb:17:in `call'
|
9155
|
+
activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9156
|
+
rack (1.4.7) lib/rack/lock.rb:15:in `call'
|
9157
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call'
|
9158
|
+
railties (3.2.22) lib/rails/engine.rb:484:in `call'
|
9159
|
+
railties (3.2.22) lib/rails/application.rb:231:in `call'
|
9160
|
+
rack (1.4.7) lib/rack/content_length.rb:14:in `call'
|
9161
|
+
railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call'
|
9162
|
+
rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service'
|
9163
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
9164
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
9165
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
9166
|
+
|
9167
|
+
|
9168
|
+
Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (27.4ms)
|
9169
|
+
Connecting to database specified by database.yml
|
9170
|
+
|
9171
|
+
|
9172
|
+
Started GET "/green_flag/admin/features" for 127.0.0.1 at 2015-09-28 12:10:40 -0400
|
9173
|
+
Processing by GreenFlag::Admin::FeaturesController#index as HTML
|
9174
|
+
[1m[36mGreenFlag::Feature Load (2.1ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" [0m
|
9175
|
+
Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/index.html.erb within layouts/green_flag/application (1.2ms)
|
9176
|
+
Compiled green_flag/admin/features.js (0ms) (pid 56813)
|
9177
|
+
Compiled green_flag/application.js (1ms) (pid 56813)
|
9178
|
+
Completed 200 OK in 60.0ms (Views: 44.3ms | ActiveRecord: 6.3ms)
|
9179
|
+
|
9180
|
+
|
9181
|
+
Started GET "/assets/green_flag/application.css?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400
|
9182
|
+
Served asset /green_flag/application.css - 200 OK (3ms)
|
9183
|
+
|
9184
|
+
|
9185
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400
|
9186
|
+
Served asset /jquery_ujs.js - 200 OK (1ms)
|
9187
|
+
|
9188
|
+
|
9189
|
+
Started GET "/assets/green_flag/admin/features.css?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400
|
9190
|
+
Served asset /green_flag/admin/features.css - 200 OK (1ms)
|
9191
|
+
|
9192
|
+
|
9193
|
+
Started GET "/assets/green_flag/admin/features.js?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400
|
9194
|
+
Served asset /green_flag/admin/features.js - 200 OK (1ms)
|
9195
|
+
|
9196
|
+
|
9197
|
+
Started GET "/assets/green_flag/admin/rules.css?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400
|
9198
|
+
Served asset /green_flag/admin/rules.css - 200 OK (1ms)
|
9199
|
+
|
9200
|
+
|
9201
|
+
Started GET "/assets/green_flag/admin/rules.js?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400
|
9202
|
+
Served asset /green_flag/admin/rules.js - 200 OK (1ms)
|
9203
|
+
|
9204
|
+
|
9205
|
+
Started GET "/assets/green_flag/application.js?body=1" for 127.0.0.1 at 2015-09-28 12:10:40 -0400
|
9206
|
+
Served asset /green_flag/application.js - 200 OK (3ms)
|
9207
|
+
|
9208
|
+
|
9209
|
+
Started GET "/green_flag/admin/features/3" for 127.0.0.1 at 2015-09-28 12:10:44 -0400
|
9210
|
+
Processing by GreenFlag::Admin::FeaturesController#show as HTML
|
9211
|
+
Parameters: {"id"=>"3"}
|
9212
|
+
[1m[35mGreenFlag::Feature Load (2.1ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1 [["id", "3"]]
|
9213
|
+
Rendered /Users/tim/src/green_flag/app/views/green_flag/admin/features/show.html.erb within layouts/green_flag/application (10.3ms)
|
9214
|
+
Completed 200 OK in 18.6ms (Views: 14.1ms | ActiveRecord: 2.3ms)
|
9215
|
+
|
9216
|
+
|
9217
|
+
Started GET "/green_flag/admin/features/3/rule_list" for 127.0.0.1 at 2015-09-28 12:10:44 -0400
|
9218
|
+
Processing by GreenFlag::Admin::RuleListsController#show as JSON
|
9219
|
+
Parameters: {"feature_id"=>"3"}
|
9220
|
+
[1m[36mGreenFlag::Feature Load (0.4ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", "3"]]
|
9221
|
+
[1m[35mGreenFlag::Rule Load (2.8ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 3 AND (version_number = 1) ORDER BY order_by
|
9222
|
+
Completed 200 OK in 23.2ms (Views: 0.1ms | ActiveRecord: 8.4ms)
|
9223
|
+
|
9224
|
+
|
9225
|
+
Started GET "/green_flag/admin/features/3/feature_decision_summary" for 127.0.0.1 at 2015-09-28 12:10:45 -0400
|
9226
|
+
Processing by GreenFlag::Admin::FeatureDecisionSummariesController#show as JSON
|
9227
|
+
Parameters: {"feature_id"=>"3"}
|
9228
|
+
[1m[36mGreenFlag::Feature Load (0.4ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", "3"]]
|
9229
|
+
[1m[35m (1.7ms)[0m SELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 3 AND "green_flag_feature_decisions"."enabled" = 't'
|
9230
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 3 AND "green_flag_feature_decisions"."enabled" = 'f'[0m
|
9231
|
+
Completed 200 OK in 14.7ms (Views: 0.2ms | ActiveRecord: 4.7ms)
|
9232
|
+
|
9233
|
+
|
9234
|
+
Started GET "/green_flag/admin/features/3/white_list_users" for 127.0.0.1 at 2015-09-28 12:10:45 -0400
|
9235
|
+
Processing by GreenFlag::Admin::WhiteListUsersController#index as JSON
|
9236
|
+
Parameters: {"feature_id"=>"3"}
|
9237
|
+
[1m[35mGreenFlag::FeatureDecision Load (4.5ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" INNER JOIN "green_flag_site_visitors" ON "green_flag_site_visitors"."id" = "green_flag_feature_decisions"."site_visitor_id" INNER JOIN "users" ON "users"."id" = "green_flag_site_visitors"."user_id" WHERE "green_flag_feature_decisions"."feature_id" = 3 AND "green_flag_feature_decisions"."enabled" = 't' AND "green_flag_feature_decisions"."manual" = 't' ORDER BY created_at
|
9238
|
+
Completed 200 OK in 18.7ms (Views: 0.1ms | ActiveRecord: 7.6ms)
|
9239
|
+
|
9240
|
+
|
9241
|
+
Started GET "/green_flag/admin/features/3/current_visitor_status" for 127.0.0.1 at 2015-09-28 12:10:45 -0400
|
9242
|
+
Processing by GreenFlag::Admin::FeaturesController#current_visitor_status as JSON
|
9243
|
+
Parameters: {"id"=>"3"}
|
9244
|
+
[1m[36mGreenFlag::Feature Load (0.4ms)[0m [1mSELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."id" = $1 LIMIT 1[0m [["id", "3"]]
|
9245
|
+
[1m[35mGreenFlag::SiteVisitor Load (2.4ms)[0m SELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = 'cf9ddac9-d92b-4eea-8359-0463ff85d72b' LIMIT 1
|
9246
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
9247
|
+
[1m[35mSQL (2.2ms)[0m INSERT INTO "green_flag_site_visitors" ("created_at", "updated_at", "user_id", "visitor_code") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Mon, 28 Sep 2015 16:10:45 UTC +00:00], ["updated_at", Mon, 28 Sep 2015 16:10:45 UTC +00:00], ["user_id", nil], ["visitor_code", "cf9ddac9-d92b-4eea-8359-0463ff85d72b"]]
|
9248
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
9249
|
+
[1m[35mGreenFlag::FeatureDecision Load (0.6ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 3 AND "green_flag_feature_decisions"."site_visitor_id" = 4 LIMIT 1
|
9250
|
+
Completed 200 OK in 13.8ms (Views: 0.2ms | ActiveRecord: 6.2ms)
|
9251
|
+
Connecting to database specified by database.yml
|
9252
|
+
[1m[36m (2.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9253
|
+
Migrating to CreateGreenFlagSiteVisitors (20140502112602)
|
9254
|
+
Migrating to CreateGreenFlagFeatures (20140502221059)
|
9255
|
+
Migrating to CreateGreenFlagFeatureDecisions (20140502221423)
|
9256
|
+
Migrating to AddVisitorCodeToSiteVisitors (20140505204611)
|
9257
|
+
Migrating to CreateGreenFlagRules (20140511045110)
|
9258
|
+
Migrating to SetDefaultPercentageInGreenFlagRules (20140513203728)
|
9259
|
+
Migrating to RequireOrderingForGreenFlagRules (20140514202337)
|
9260
|
+
Migrating to AddRestrictionsToGreenFlagRules (20140516214909)
|
9261
|
+
Migrating to CreateGreenFlagFeatureEvents (20150211214159)
|
9262
|
+
Migrating to AddRuleIdToGreenFlagFeatureDecisions (20150213191101)
|
9263
|
+
Migrating to AddVersionNumberToGreenFlagRules (20150218035000)
|
9264
|
+
Migrating to AddVersionNumberToGreenFlagFeatures (20150218035805)
|
9265
|
+
Migrating to AddVersionNumberToGreenFlagRulesIndices (20150218171852)
|
9266
|
+
Migrating to CreateUsers (20150726195118)
|
9267
|
+
Migrating to AddEmailToUsers (20150726204409)
|
9268
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
9269
|
+
Connecting to database specified by database.yml
|
9270
|
+
Connecting to database specified by database.yml
|
9271
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9272
|
+
[1m[35m (260.3ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9273
|
+
[1m[36m (308.1ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9274
|
+
[1m[35m (9.1ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9275
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9276
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9277
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9278
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9279
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9280
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9281
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9282
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9283
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9284
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9285
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9286
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9287
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9288
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9289
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9290
|
+
[1m[35m (0.4ms)[0m SELECT version FROM "schema_migrations"
|
9291
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9292
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9293
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9294
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9295
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9296
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9297
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9298
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9299
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9300
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9301
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9302
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9303
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9304
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9305
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9306
|
+
|
9307
|
+
|
9308
|
+
Started GET "/" for 127.0.0.1 at 2015-09-29 14:02:35 -0400
|
9309
|
+
Connecting to database specified by database.yml
|
9310
|
+
|
9311
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
9312
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
9313
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9314
|
+
railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app'
|
9315
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call'
|
9316
|
+
activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9317
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `call'
|
9318
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9319
|
+
rack (1.4.7) lib/rack/methodoverride.rb:21:in `call'
|
9320
|
+
rack (1.4.7) lib/rack/runtime.rb:17:in `call'
|
9321
|
+
activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9322
|
+
rack (1.4.7) lib/rack/lock.rb:15:in `call'
|
9323
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call'
|
9324
|
+
railties (3.2.22) lib/rails/engine.rb:484:in `call'
|
9325
|
+
railties (3.2.22) lib/rails/application.rb:231:in `call'
|
9326
|
+
rack (1.4.7) lib/rack/content_length.rb:14:in `call'
|
9327
|
+
railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call'
|
9328
|
+
rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service'
|
9329
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
9330
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
9331
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
9332
|
+
|
9333
|
+
|
9334
|
+
Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.5ms)
|
9335
|
+
|
9336
|
+
|
9337
|
+
Started GET "/feature_checks" for 127.0.0.1 at 2015-09-29 14:02:42 -0400
|
9338
|
+
|
9339
|
+
ActionController::RoutingError (uninitialized constant FeatureChecksController):
|
9340
|
+
activesupport (3.2.22) lib/active_support/inflector/methods.rb:230:in `block in constantize'
|
9341
|
+
activesupport (3.2.22) lib/active_support/inflector/methods.rb:229:in `each'
|
9342
|
+
activesupport (3.2.22) lib/active_support/inflector/methods.rb:229:in `constantize'
|
9343
|
+
actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
|
9344
|
+
actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:54:in `controller'
|
9345
|
+
actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:32:in `call'
|
9346
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
9347
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
9348
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
9349
|
+
actionpack (3.2.22) lib/action_dispatch/routing/route_set.rb:608:in `call'
|
9350
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
9351
|
+
rack (1.4.7) lib/rack/etag.rb:23:in `call'
|
9352
|
+
rack (1.4.7) lib/rack/conditionalget.rb:25:in `call'
|
9353
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/head.rb:14:in `call'
|
9354
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
9355
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
9356
|
+
rack (1.4.7) lib/rack/session/abstract/id.rb:210:in `context'
|
9357
|
+
rack (1.4.7) lib/rack/session/abstract/id.rb:205:in `call'
|
9358
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
9359
|
+
activerecord (3.2.22) lib/active_record/query_cache.rb:64:in `call'
|
9360
|
+
activerecord (3.2.22) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
9361
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
9362
|
+
activesupport (3.2.22) lib/active_support/callbacks.rb:405:in `_run__248233098580449770__call__4041447048879497852__callbacks'
|
9363
|
+
activesupport (3.2.22) lib/active_support/callbacks.rb:405:in `__run_callback'
|
9364
|
+
activesupport (3.2.22) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
9365
|
+
activesupport (3.2.22) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
9366
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
9367
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
9368
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
9369
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
9370
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
9371
|
+
railties (3.2.22) lib/rails/rack/logger.rb:32:in `call_app'
|
9372
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `block in call'
|
9373
|
+
activesupport (3.2.22) lib/active_support/tagged_logging.rb:22:in `tagged'
|
9374
|
+
railties (3.2.22) lib/rails/rack/logger.rb:16:in `call'
|
9375
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
9376
|
+
rack (1.4.7) lib/rack/methodoverride.rb:21:in `call'
|
9377
|
+
rack (1.4.7) lib/rack/runtime.rb:17:in `call'
|
9378
|
+
activesupport (3.2.22) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
9379
|
+
rack (1.4.7) lib/rack/lock.rb:15:in `call'
|
9380
|
+
actionpack (3.2.22) lib/action_dispatch/middleware/static.rb:83:in `call'
|
9381
|
+
railties (3.2.22) lib/rails/engine.rb:484:in `call'
|
9382
|
+
railties (3.2.22) lib/rails/application.rb:231:in `call'
|
9383
|
+
rack (1.4.7) lib/rack/content_length.rb:14:in `call'
|
9384
|
+
railties (3.2.22) lib/rails/rack/log_tailer.rb:17:in `call'
|
9385
|
+
rack (1.4.7) lib/rack/handler/webrick.rb:59:in `service'
|
9386
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
9387
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
9388
|
+
/Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
9389
|
+
|
9390
|
+
|
9391
|
+
Rendered /Users/tim/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/actionpack-3.2.22/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
|
9392
|
+
Connecting to database specified by database.yml
|
9393
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9394
|
+
[1m[35m (117.1ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9395
|
+
[1m[36m (234.0ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9396
|
+
[1m[35m (4.9ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9397
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9398
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9399
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9400
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9401
|
+
[1m[36m (5.4ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9402
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9403
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9404
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9405
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9406
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9407
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9408
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9409
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9410
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9411
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9412
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
9413
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9414
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9415
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9416
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9417
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9418
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9419
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9420
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9421
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9422
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9423
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9424
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9425
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9426
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9427
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9428
|
+
|
9429
|
+
|
9430
|
+
Started GET "/feature_checks" for 127.0.0.1 at 2015-09-29 14:15:44 -0400
|
9431
|
+
Connecting to database specified by database.yml
|
9432
|
+
Processing by FeatureChecksController#index as HTML
|
9433
|
+
[1m[36mGreenFlag::SiteVisitor Load (4.3ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1[0m
|
9434
|
+
[1m[35mGreenFlag::Feature Load (1.8ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature' LIMIT 1
|
9435
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
9436
|
+
[1m[35mSQL (4.6ms)[0m INSERT INTO "green_flag_features" ("code", "created_at", "description", "updated_at", "version_number") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["code", "test_feature"], ["created_at", Tue, 29 Sep 2015 18:15:45 UTC +00:00], ["description", nil], ["updated_at", Tue, 29 Sep 2015 18:15:45 UTC +00:00], ["version_number", 1]]
|
9437
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
9438
|
+
[1m[35mGreenFlag::FeatureDecision Load (1.9ms)[0m SELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 4 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1
|
9439
|
+
[1m[36mGreenFlag::Rule Load (2.4ms)[0m [1mSELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 4 AND (version_number = 1) ORDER BY order_by[0m
|
9440
|
+
[1m[35m (0.1ms)[0m BEGIN
|
9441
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "green_flag_feature_decisions" ("created_at", "enabled", "feature_id", "manual", "rule_id", "site_visitor_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["created_at", Tue, 29 Sep 2015 18:15:45 UTC +00:00], ["enabled", nil], ["feature_id", 4], ["manual", nil], ["rule_id", nil], ["site_visitor_id", 1], ["updated_at", Tue, 29 Sep 2015 18:15:45 UTC +00:00]]
|
9442
|
+
[1m[35m (0.4ms)[0m COMMIT
|
9443
|
+
Rendered text template (0.0ms)
|
9444
|
+
Completed 200 OK in 147.7ms (Views: 3.6ms | ActiveRecord: 32.5ms)
|
9445
|
+
|
9446
|
+
|
9447
|
+
Started GET "/feature_checks" for 127.0.0.1 at 2015-09-29 14:15:47 -0400
|
9448
|
+
Processing by FeatureChecksController#index as HTML
|
9449
|
+
[1m[36mGreenFlag::SiteVisitor Load (0.4ms)[0m [1mSELECT "green_flag_site_visitors".* FROM "green_flag_site_visitors" WHERE "green_flag_site_visitors"."visitor_code" = '2' LIMIT 1[0m
|
9450
|
+
[1m[35mGreenFlag::Feature Load (0.3ms)[0m SELECT "green_flag_features".* FROM "green_flag_features" WHERE "green_flag_features"."code" = 'test_feature' LIMIT 1
|
9451
|
+
[1m[36mGreenFlag::FeatureDecision Load (0.4ms)[0m [1mSELECT "green_flag_feature_decisions".* FROM "green_flag_feature_decisions" WHERE "green_flag_feature_decisions"."feature_id" = 4 AND "green_flag_feature_decisions"."site_visitor_id" = 1 LIMIT 1[0m
|
9452
|
+
[1m[35mGreenFlag::Rule Load (0.4ms)[0m SELECT "green_flag_rules".* FROM "green_flag_rules" WHERE "green_flag_rules"."feature_id" = 4 AND (version_number = 1) ORDER BY order_by
|
9453
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
9454
|
+
[1m[35m (0.2ms)[0m COMMIT
|
9455
|
+
Rendered text template (0.0ms)
|
9456
|
+
Completed 200 OK in 5.9ms (Views: 0.5ms | ActiveRecord: 1.8ms)
|
9457
|
+
Connecting to database specified by database.yml
|
9458
|
+
[1m[36m (1.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9459
|
+
[1m[35m (272.0ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9460
|
+
[1m[36m (335.4ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9461
|
+
[1m[35m (10.8ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9462
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9463
|
+
[1m[35m (2.8ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9464
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9465
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9466
|
+
[1m[36m (5.3ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9467
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9468
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9469
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9470
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9471
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9472
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9473
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9474
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9475
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9476
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9477
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
9478
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9479
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9480
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9481
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9482
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9483
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9484
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9485
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9486
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9487
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9488
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9489
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9490
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9491
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9492
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9493
|
+
Connecting to database specified by database.yml
|
9494
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9495
|
+
[1m[35m (116.9ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9496
|
+
[1m[36m (236.6ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9497
|
+
[1m[35m (4.7ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9498
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9499
|
+
[1m[35m (3.1ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9500
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9501
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9502
|
+
[1m[36m (4.1ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9503
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9504
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9505
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9506
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9507
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9508
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9509
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9510
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9511
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9512
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9513
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
9514
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9515
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9516
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9517
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9518
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9519
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9520
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9521
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9522
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9523
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9524
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9525
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9526
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9527
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9528
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9529
|
+
Connecting to database specified by database.yml
|
9530
|
+
[1m[36m (0.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9531
|
+
[1m[35m (263.9ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9532
|
+
[1m[36m (249.5ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9533
|
+
[1m[35m (5.0ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9534
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9535
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9536
|
+
[1m[36m (1.7ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9537
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9538
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9539
|
+
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9540
|
+
[1m[36m (3.3ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9541
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9542
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9543
|
+
[1m[35m (2.6ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9544
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9545
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9546
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9547
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9548
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9549
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
9550
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9551
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9552
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9553
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9554
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9555
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9556
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9557
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9558
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9559
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9560
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9561
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9562
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9563
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9564
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9565
|
+
Connecting to database specified by database.yml
|
9566
|
+
[1m[36m (0.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9567
|
+
[1m[35m (115.9ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9568
|
+
[1m[36m (252.2ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9569
|
+
[1m[35m (5.3ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9570
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9571
|
+
[1m[35m (2.9ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9572
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9573
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9574
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9575
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9576
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9577
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9578
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9579
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9580
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9581
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9582
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9583
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9584
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9585
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
9586
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9587
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9588
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9589
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9590
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9591
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9592
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9593
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9594
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9595
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9596
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9597
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9598
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9599
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9600
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9601
|
+
Connecting to database specified by database.yml
|
9602
|
+
[1m[36m (0.6ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9603
|
+
[1m[35m (280.3ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9604
|
+
[1m[36m (338.6ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9605
|
+
[1m[35m (10.0ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9606
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9607
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9608
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9609
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9610
|
+
[1m[36m (5.5ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9611
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9612
|
+
[1m[36m (3.7ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9613
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9614
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9615
|
+
[1m[35m (3.4ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9616
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9617
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9618
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9619
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9620
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9621
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
9622
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9623
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9624
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9625
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9626
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9627
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9628
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9629
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9630
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9631
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9632
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9633
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9634
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9635
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9636
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|
9637
|
+
Connecting to database specified by database.yml
|
9638
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9639
|
+
[1m[35m (117.8ms)[0m DROP DATABASE IF EXISTS "green_flag_dummy_test"
|
9640
|
+
[1m[36m (237.5ms)[0m [1mCREATE DATABASE "green_flag_dummy_test" ENCODING = 'unicode'[0m
|
9641
|
+
[1m[35m (6.1ms)[0m CREATE TABLE "green_flag_feature_decisions" ("id" serial primary key, "feature_id" integer NOT NULL, "site_visitor_id" integer NOT NULL, "enabled" boolean, "manual" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "rule_id" integer)
|
9642
|
+
[1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_gf_feature_decisions_on_site_visitor_id_feature_id" ON "green_flag_feature_decisions" ("site_visitor_id", "feature_id")[0m
|
9643
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "green_flag_feature_events" ("id" serial primary key, "feature_id" integer NOT NULL, "event_type_code" integer NOT NULL, "count" integer NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
9644
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_green_flag_feature_events_on_event_type_code" ON "green_flag_feature_events" ("event_type_code")[0m
|
9645
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_green_flag_feature_events_on_feature_id" ON "green_flag_feature_events" ("feature_id")
|
9646
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "green_flag_features" ("id" serial primary key, "code" character varying(255) NOT NULL, "description" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9647
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_green_flag_features_on_code" ON "green_flag_features" ("code")
|
9648
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "green_flag_rules" ("id" serial primary key, "group_key" character varying(255) NOT NULL, "feature_id" integer NOT NULL, "order_by" integer NOT NULL, "percentage" integer DEFAULT 0 NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "version_number" integer DEFAULT 1 NOT NULL) [0m
|
9649
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_group_key" ON "green_flag_rules" ("feature_id", "group_key", "version_number")
|
9650
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_rules_on_feature_version_and_order_by" ON "green_flag_rules" ("feature_id", "order_by", "version_number")[0m
|
9651
|
+
[1m[35m (2.5ms)[0m CREATE TABLE "green_flag_site_visitors" ("id" serial primary key, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "visitor_code" character varying(255) NOT NULL)
|
9652
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_green_flag_site_visitors_on_user_id" ON "green_flag_site_visitors" ("user_id")[0m
|
9653
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_green_flag_site_visitors_on_visitor_code" ON "green_flag_site_visitors" ("visitor_code")
|
9654
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(255)) [0m
|
9655
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
9656
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9657
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
9658
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150726204409')[0m
|
9659
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150726195118')
|
9660
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502112602')[0m
|
9661
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140502221059')
|
9662
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140502221423')[0m
|
9663
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140505204611')
|
9664
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140511045110')[0m
|
9665
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140513203728')
|
9666
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140514202337')[0m
|
9667
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140516214909')
|
9668
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211214159')[0m
|
9669
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213191101')
|
9670
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218035000')[0m
|
9671
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150218035805')
|
9672
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150218171852')[0m
|