ui_changed 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/javascripts/ui_changed/ui_changed.js +4 -6
- data/app/controllers/ui_changed/screenshots_controller.rb +3 -3
- data/app/views/layouts/ui_changed/application.html.haml +2 -1
- data/app/views/ui_changed/screenshots/index.haml +1 -0
- data/config/routes.rb +2 -2
- data/lib/ui_changed/version.rb +1 -1
- data/spec/dummy/log/development.log +132 -0
- data/spec/dummy/log/test.log +4883 -0
- data/spec/routing/screenshots_spec.rb +16 -0
- metadata +1 -1
@@ -54,10 +54,8 @@ if (typeof(UiChanged) === 'undefined') {
|
|
54
54
|
_action_set_test_as_control_url_selector: '.f_set_test_as_control_url',
|
55
55
|
_remove_url_selector: '.f_remove_url',
|
56
56
|
_diffs_url_selector: '.f_diff_url',
|
57
|
-
|
58
|
-
|
59
|
-
_url_add_ignore: "/ui_changed/screenshot_ignore_urls/add?id=",
|
60
|
-
_url_crawl_status: "screenshots/crawl_status.json",
|
57
|
+
_crawl_status_url_selector: '.f_crawl_status_url',
|
58
|
+
_add_ignore_url_selector: '.f_ignore_url_add',
|
61
59
|
|
62
60
|
_init: function() {
|
63
61
|
if(this._initialized) return;
|
@@ -96,7 +94,7 @@ if (typeof(UiChanged) === 'undefined') {
|
|
96
94
|
UiChanged._ajax_with_type($(this).attr("data-href") + "?id=" + UiChanged._get_checked_ids(), "DELETE");
|
97
95
|
},
|
98
96
|
_actions_ignore: function() {
|
99
|
-
UiChanged._ajax_with_type(UiChanged.
|
97
|
+
UiChanged._ajax_with_type($(UiChanged._add_ignore_url_selector).val() + UiChanged._get_checked_ids(), "POST");
|
100
98
|
},
|
101
99
|
_actions_set_test_as_control: function() {
|
102
100
|
UiChanged._ajax_with_type($(UiChanged._action_set_test_as_control_url_selector).val() + '?id=' + UiChanged._get_checked_ids(), "POST");
|
@@ -168,7 +166,7 @@ if (typeof(UiChanged) === 'undefined') {
|
|
168
166
|
_update_crawl_status: function() {
|
169
167
|
$.ajax({
|
170
168
|
dataType: "json",
|
171
|
-
url: UiChanged.
|
169
|
+
url: $(UiChanged._crawl_status_url_selector).val(),
|
172
170
|
success: function(data) {
|
173
171
|
var screenshots = data[0].screenshots;
|
174
172
|
var running_status = data[0].worker.running_status;
|
@@ -83,7 +83,7 @@ module UiChanged
|
|
83
83
|
|
84
84
|
# GET /screenshots/compares
|
85
85
|
def compares
|
86
|
-
params[:sort] ||= "url asc"
|
86
|
+
params[:sort] ||= "ui_changed_screenshots.url asc"
|
87
87
|
@screenshots = UiChanged::Screenshot.search(params[:search]).not_in_ignored.where(:is_compare => true)
|
88
88
|
.paginate(:page => params[:page],
|
89
89
|
:per_page => params[:per_page],
|
@@ -94,7 +94,7 @@ module UiChanged
|
|
94
94
|
|
95
95
|
# GET /screenshots/controls
|
96
96
|
def controls
|
97
|
-
params[:sort] ||= "url asc"
|
97
|
+
params[:sort] ||= "ui_changed_screenshots.url asc"
|
98
98
|
@screenshots = UiChanged::Screenshot.search(params[:search]).not_in_ignored.where(:is_control => true)
|
99
99
|
.paginate(:page => params[:page],
|
100
100
|
:per_page => params[:per_page],
|
@@ -105,7 +105,7 @@ module UiChanged
|
|
105
105
|
|
106
106
|
# GET /screenshots/tests
|
107
107
|
def tests
|
108
|
-
params[:sort] ||= "url asc"
|
108
|
+
params[:sort] ||= "ui_changed_screenshots.url asc"
|
109
109
|
@screenshots = UiChanged::Screenshot.search(params[:search]).not_in_ignored.where(:is_test => true)
|
110
110
|
.paginate(:page => params[:page],
|
111
111
|
:per_page => params[:per_page],
|
@@ -1,4 +1,5 @@
|
|
1
1
|
%input.f_crawl_working{:type => "hidden", :value => @crawl_working}
|
2
|
+
%input.f_crawl_status_url{:type => "hidden", :value => screenshot_crawl_status_path}
|
2
3
|
%input.f_on_home_page{:type => "hidden", :value => (request.fullpath == screenshots_path ? "true" : "false")}
|
3
4
|
.btn-group.crawl_btns
|
4
5
|
%button.btn.btn-large.btn-success.f_crawl_action{"data-action" => screenshot_start_all_path, "data-original-title" => "Start control, then test, then compare", :rel => "tooltip"} Start All
|
data/config/routes.rb
CHANGED
@@ -2,7 +2,7 @@ UiChanged::Engine.routes.draw do
|
|
2
2
|
|
3
3
|
root :to => "screenshots#index"
|
4
4
|
|
5
|
-
match '/screenshots/crawl_status' => 'screenshots#crawl_status', :as => :screenshot_crawl_status
|
5
|
+
match '/screenshots/crawl_status' => 'screenshots#crawl_status', :as => :screenshot_crawl_status, :defaults => { :format => 'json' }
|
6
6
|
|
7
7
|
match '/screenshots/diffs' => 'screenshots#diffs', :as => :screenshot_diffs
|
8
8
|
match '/screenshots/compares' => 'screenshots#compares', :as => :screenshot_compares
|
@@ -27,7 +27,7 @@ UiChanged::Engine.routes.draw do
|
|
27
27
|
match '/screenshots/start_compare' => 'screenshots#start_compare', :as => :screenshot_start_compare, :via => :post
|
28
28
|
match '/screenshots/cancel' => 'screenshots#cancel', :as => :screenshot_cancel, :via => :post
|
29
29
|
|
30
|
-
match '/screenshot_ignore_urls/add' => 'screenshot_ignore_urls#add', :via => :post
|
30
|
+
match '/screenshot_ignore_urls/add' => 'screenshot_ignore_urls#add', :as => :screenshot_ignore_url_add, :via => :post
|
31
31
|
match '/screenshot_ignore_urls/add_all_controls' => 'screenshot_ignore_urls#add_all_controls', :as => :screenshot_ignore_url_add_all_controls, :via => :post
|
32
32
|
match '/screenshot_ignore_urls/add_all_tests' => 'screenshot_ignore_urls#add_all_tests', :as => :screenshot_ignore_url_add_all_tests, :via => :post
|
33
33
|
match '/screenshot_ignore_urls/add_all_compares' => 'screenshot_ignore_urls#add_all_compares', :as => :screenshot_ignore_url_add_all_compares, :via => :post
|
data/lib/ui_changed/version.rb
CHANGED
@@ -28755,3 +28755,135 @@ Connecting to database specified by database.yml
|
|
28755
28755
|
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
28756
28756
|
[1m[36m (2.1ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28757
28757
|
[1m[35m (1.6ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28758
|
+
Connecting to database specified by database.yml
|
28759
|
+
[1m[36m (0.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28760
|
+
[1m[35m (50.5ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28761
|
+
[1m[36m (9.2ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28762
|
+
[1m[35m (25.5ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28763
|
+
[1m[36m (19.9ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28764
|
+
[1m[35m (9.8ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28765
|
+
[1m[36m (16.9ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28766
|
+
[1m[35m (0.3ms)[0m SELECT version FROM `schema_migrations`
|
28767
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28768
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28769
|
+
Connecting to database specified by database.yml
|
28770
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28771
|
+
[1m[35m (2.7ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28772
|
+
[1m[36m (0.5ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28773
|
+
[1m[35m (13.2ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28774
|
+
[1m[36m (7.6ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28775
|
+
[1m[35m (7.3ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28776
|
+
[1m[36m (9.0ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28777
|
+
[1m[35m (0.1ms)[0m SELECT version FROM `schema_migrations`
|
28778
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28779
|
+
[1m[35m (0.6ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28780
|
+
Connecting to database specified by database.yml
|
28781
|
+
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28782
|
+
[1m[35m (2.4ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28783
|
+
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28784
|
+
[1m[35m (9.4ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28785
|
+
[1m[36m (12.2ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28786
|
+
[1m[35m (7.8ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28787
|
+
[1m[36m (10.3ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28788
|
+
[1m[35m (0.3ms)[0m SELECT version FROM `schema_migrations`
|
28789
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28790
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28791
|
+
Connecting to database specified by database.yml
|
28792
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28793
|
+
[1m[35m (2.1ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28794
|
+
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28795
|
+
[1m[35m (7.7ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28796
|
+
[1m[36m (11.8ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28797
|
+
[1m[35m (9.1ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28798
|
+
[1m[36m (12.8ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28799
|
+
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
28800
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28801
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28802
|
+
Connecting to database specified by database.yml
|
28803
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28804
|
+
[1m[35m (2.6ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28805
|
+
[1m[36m (0.2ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28806
|
+
[1m[35m (11.2ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28807
|
+
[1m[36m (8.7ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28808
|
+
[1m[35m (8.6ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28809
|
+
[1m[36m (11.8ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28810
|
+
[1m[35m (0.1ms)[0m SELECT version FROM `schema_migrations`
|
28811
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28812
|
+
[1m[35m (0.7ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28813
|
+
Connecting to database specified by database.yml
|
28814
|
+
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28815
|
+
[1m[35m (2.2ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28816
|
+
[1m[36m (0.4ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28817
|
+
[1m[35m (10.0ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28818
|
+
[1m[36m (11.9ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28819
|
+
[1m[35m (8.4ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28820
|
+
[1m[36m (10.1ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28821
|
+
[1m[35m (0.1ms)[0m SELECT version FROM `schema_migrations`
|
28822
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28823
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28824
|
+
Connecting to database specified by database.yml
|
28825
|
+
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28826
|
+
[1m[35m (2.3ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28827
|
+
[1m[36m (0.2ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28828
|
+
[1m[35m (10.4ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28829
|
+
[1m[36m (12.8ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28830
|
+
[1m[35m (7.1ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28831
|
+
[1m[36m (11.1ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28832
|
+
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
28833
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28834
|
+
[1m[35m (0.4ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28835
|
+
Connecting to database specified by database.yml
|
28836
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28837
|
+
[1m[35m (2.4ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28838
|
+
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28839
|
+
[1m[35m (10.3ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28840
|
+
[1m[36m (13.7ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28841
|
+
[1m[35m (16.6ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28842
|
+
[1m[36m (12.2ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28843
|
+
[1m[35m (0.3ms)[0m SELECT version FROM `schema_migrations`
|
28844
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28845
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28846
|
+
Connecting to database specified by database.yml
|
28847
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28848
|
+
[1m[35m (2.4ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28849
|
+
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28850
|
+
[1m[35m (13.2ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28851
|
+
[1m[36m (11.5ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28852
|
+
[1m[35m (8.1ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28853
|
+
[1m[36m (9.9ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28854
|
+
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
28855
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28856
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28857
|
+
Connecting to database specified by database.yml
|
28858
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28859
|
+
[1m[35m (2.4ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28860
|
+
[1m[36m (0.3ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28861
|
+
[1m[35m (8.6ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28862
|
+
[1m[36m (11.3ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28863
|
+
[1m[35m (8.0ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28864
|
+
[1m[36m (11.7ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28865
|
+
[1m[35m (0.2ms)[0m SELECT version FROM `schema_migrations`
|
28866
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28867
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28868
|
+
Connecting to database specified by database.yml
|
28869
|
+
[1m[36m (0.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28870
|
+
[1m[35m (2.4ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28871
|
+
[1m[36m (0.2ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28872
|
+
[1m[35m (9.5ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28873
|
+
[1m[36m (12.0ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28874
|
+
[1m[35m (7.1ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28875
|
+
[1m[36m (10.0ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28876
|
+
[1m[35m (0.1ms)[0m SELECT version FROM `schema_migrations`
|
28877
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28878
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|
28879
|
+
Connecting to database specified by database.yml
|
28880
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
28881
|
+
[1m[35m (2.1ms)[0m DROP DATABASE IF EXISTS `ui_changed_test`
|
28882
|
+
[1m[36m (0.2ms)[0m [1mCREATE DATABASE `ui_changed_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`[0m
|
28883
|
+
[1m[35m (9.8ms)[0m CREATE TABLE `ui_changed_screenshot_ignore_urls` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
28884
|
+
[1m[36m (15.8ms)[0m [1mCREATE TABLE `ui_changed_screenshots` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` text, `is_control` tinyint(1), `is_test` tinyint(1), `is_compare` tinyint(1), `diff_found` tinyint(1), `control_id` int(11), `test_id` int(11), `image_file_name` varchar(255), `image_content_type` varchar(255), `image_file_size` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB[0m
|
28885
|
+
[1m[35m (10.2ms)[0m CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
|
28886
|
+
[1m[36m (14.6ms)[0m [1mCREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)[0m
|
28887
|
+
[1m[35m (0.1ms)[0m SELECT version FROM `schema_migrations`
|
28888
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO `schema_migrations` (version) VALUES ('20130203001050')[0m
|
28889
|
+
[1m[35m (0.3ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('20130203000059')
|