trusty-festivity-extension 2.5.6 → 2.5.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f5a027105854f73e9217d87bb7cdcbec849687f
4
- data.tar.gz: 59a56e21d8406885eddbb0ce81d079b5668d9732
3
+ metadata.gz: a3ed4143d1ee3162b9d26ededac4b2ec217093f9
4
+ data.tar.gz: 21535a003f32a8b3734fabb7c91d74bdd022aed2
5
5
  SHA512:
6
- metadata.gz: 36addf610b3da9b53d3dc06073931165bf8f03cf4e1e30f9fcda44a5d6d9861621bdd21a3077823084e07f50f6f1c7cc8de26a14e61ef67f10a88634e2777973
7
- data.tar.gz: 2fe6ea4c94c678f03a077366083c6d831d883c3cbc93421b1c5bfb0bd40013f9d1230f6bf52ed632fce97657710f73987745b84651034d17056c8a517484cb58
6
+ metadata.gz: 597c7ab47fb36bee5f62833fcd0850df4c9ace1b3f1bc87dad5a4ae682ffb370cd5bb496c5350555114fed9e8917d390020538205c03ee8fbf33670238a21c7c
7
+ data.tar.gz: f98857de45e8e1e33e840044c47c2e18a3075d45f0e7a61968db8525cd96b528bbfdd82d08abb3e6a5e33e97b4c646c33909cd32831eff8f8805c390e83b59ca
data/Gemfile CHANGED
@@ -15,4 +15,5 @@ group :test do
15
15
  gem 'factory_girl_rails'
16
16
  gem 'simplecov'
17
17
  gem 'faker'
18
- end
18
+ gem 'codeclimate-test-reporter'
19
+ end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-festivity-extension (2.5.6)
4
+ trusty-festivity-extension (2.5.7)
5
5
  actionpack-action_caching (~> 1.1.1)
6
6
  chronic (~> 0.10.2)
7
7
  dalli-elasticache (~> 0.1.2)
@@ -9,11 +9,10 @@ PATH
9
9
  immutable-struct (~> 2.1)
10
10
  instagram (~> 1.1)
11
11
  trusty-clipped-extension (~> 2.0.13)
12
- trusty-cms (>= 2.0.22)
12
+ trusty-cms (>= 2.0.23)
13
13
  trusty-layouts-extension (~> 2.0.4)
14
14
  trusty-multi-site-extension (~> 2.0.11)
15
15
  trusty-rad-social-extension (~> 2.2.6)
16
- trusty-reorder-extension (~> 2.0.6)
17
16
  trusty-snippets-extension (~> 2.0.7)
18
17
  trusty_google_custom_search
19
18
  twitter (~> 5.15)
@@ -23,38 +22,38 @@ GEM
23
22
  specs:
24
23
  CFPropertyList (2.3.2)
25
24
  RedCloth (4.3.2)
26
- actionmailer (4.2.7)
27
- actionpack (= 4.2.7)
28
- actionview (= 4.2.7)
29
- activejob (= 4.2.7)
25
+ actionmailer (4.2.7.1)
26
+ actionpack (= 4.2.7.1)
27
+ actionview (= 4.2.7.1)
28
+ activejob (= 4.2.7.1)
30
29
  mail (~> 2.5, >= 2.5.4)
31
30
  rails-dom-testing (~> 1.0, >= 1.0.5)
32
- actionpack (4.2.7)
33
- actionview (= 4.2.7)
34
- activesupport (= 4.2.7)
31
+ actionpack (4.2.7.1)
32
+ actionview (= 4.2.7.1)
33
+ activesupport (= 4.2.7.1)
35
34
  rack (~> 1.6)
36
35
  rack-test (~> 0.6.2)
37
36
  rails-dom-testing (~> 1.0, >= 1.0.5)
38
37
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
39
38
  actionpack-action_caching (1.1.1)
40
39
  actionpack (>= 4.0.0, < 5.0)
41
- actionview (4.2.7)
42
- activesupport (= 4.2.7)
40
+ actionview (4.2.7.1)
41
+ activesupport (= 4.2.7.1)
43
42
  builder (~> 3.1)
44
43
  erubis (~> 2.7.0)
45
44
  rails-dom-testing (~> 1.0, >= 1.0.5)
46
45
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
47
- activejob (4.2.7)
48
- activesupport (= 4.2.7)
46
+ activejob (4.2.7.1)
47
+ activesupport (= 4.2.7.1)
49
48
  globalid (>= 0.3.0)
50
- activemodel (4.2.7)
51
- activesupport (= 4.2.7)
49
+ activemodel (4.2.7.1)
50
+ activesupport (= 4.2.7.1)
52
51
  builder (~> 3.1)
53
- activerecord (4.2.7)
54
- activemodel (= 4.2.7)
55
- activesupport (= 4.2.7)
52
+ activerecord (4.2.7.1)
53
+ activemodel (= 4.2.7.1)
54
+ activesupport (= 4.2.7.1)
56
55
  arel (~> 6.0)
57
- activesupport (4.2.7)
56
+ activesupport (4.2.7.1)
58
57
  i18n (~> 0.7)
59
58
  json (~> 1.7, >= 1.7.7)
60
59
  minitest (~> 5.1)
@@ -62,14 +61,14 @@ GEM
62
61
  tzinfo (~> 1.1)
63
62
  acts_as_list (0.4.0)
64
63
  activerecord (>= 3.0)
65
- acts_as_tree (2.4.0)
64
+ acts_as_tree (2.5.0)
66
65
  activerecord (>= 3.0.0)
67
66
  addressable (2.4.0)
68
67
  arel (6.0.3)
69
68
  buftok (0.2.0)
70
69
  builder (3.2.2)
71
70
  chronic (0.10.2)
72
- chunky_png (1.3.6)
71
+ chunky_png (1.3.7)
73
72
  ckeditor (4.2.0)
74
73
  cocaine
75
74
  orm_adapter (~> 0.5.0)
@@ -77,6 +76,8 @@ GEM
77
76
  activesupport (>= 3.0)
78
77
  cocaine (0.5.8)
79
78
  climate_control (>= 0.0.3, < 1.0)
79
+ codeclimate-test-reporter (0.6.0)
80
+ simplecov (>= 0.7.1, < 1.0.0)
80
81
  coderay (1.1.1)
81
82
  compass (1.0.3)
82
83
  chunky_png (~> 1.2)
@@ -104,11 +105,11 @@ GEM
104
105
  rails (>= 3.0)
105
106
  diff-lcs (1.2.5)
106
107
  docile (1.1.5)
107
- domain_name (0.5.20160615)
108
+ domain_name (0.5.20160826)
108
109
  unf (>= 0.0.5, < 1.0.0)
109
110
  equalizer (0.0.10)
110
111
  erubis (2.7.0)
111
- excon (0.51.0)
112
+ excon (0.52.0)
112
113
  execjs (2.7.0)
113
114
  factory_girl (4.7.0)
114
115
  activesupport (>= 3.0.0)
@@ -161,7 +162,7 @@ GEM
161
162
  fog-atmos (0.1.0)
162
163
  fog-core
163
164
  fog-xml
164
- fog-aws (0.10.0)
165
+ fog-aws (0.11.0)
165
166
  fog-core (~> 1.38)
166
167
  fog-json (~> 1.0)
167
168
  fog-xml (~> 0.1)
@@ -195,7 +196,7 @@ GEM
195
196
  multi_json (~> 1.10)
196
197
  fog-local (0.3.0)
197
198
  fog-core (~> 1.27)
198
- fog-openstack (0.1.9)
199
+ fog-openstack (0.1.12)
199
200
  fog-core (>= 1.40)
200
201
  fog-json (>= 1.0)
201
202
  ipaddress (>= 0.8)
@@ -226,7 +227,7 @@ GEM
226
227
  fog-serverlove (0.1.2)
227
228
  fog-core
228
229
  fog-json
229
- fog-softlayer (1.1.3)
230
+ fog-softlayer (1.1.4)
230
231
  fog-core
231
232
  fog-json
232
233
  fog-storm_on_demand (0.1.1)
@@ -241,9 +242,9 @@ GEM
241
242
  fog-voxel (0.1.0)
242
243
  fog-core
243
244
  fog-xml
244
- fog-vsphere (1.0.0)
245
+ fog-vsphere (1.0.1)
245
246
  fog-core
246
- rbvmomi (~> 1.8)
247
+ rbvmomi (~> 1.8.0)
247
248
  fog-xenserver (0.2.3)
248
249
  fog-core
249
250
  fog-xml
@@ -335,16 +336,16 @@ GEM
335
336
  rack-test (0.6.3)
336
337
  rack (>= 1.0)
337
338
  radius (0.7.4)
338
- rails (4.2.7)
339
- actionmailer (= 4.2.7)
340
- actionpack (= 4.2.7)
341
- actionview (= 4.2.7)
342
- activejob (= 4.2.7)
343
- activemodel (= 4.2.7)
344
- activerecord (= 4.2.7)
345
- activesupport (= 4.2.7)
339
+ rails (4.2.7.1)
340
+ actionmailer (= 4.2.7.1)
341
+ actionpack (= 4.2.7.1)
342
+ actionview (= 4.2.7.1)
343
+ activejob (= 4.2.7.1)
344
+ activemodel (= 4.2.7.1)
345
+ activerecord (= 4.2.7.1)
346
+ activesupport (= 4.2.7.1)
346
347
  bundler (>= 1.3.0, < 2.0)
347
- railties (= 4.2.7)
348
+ railties (= 4.2.7.1)
348
349
  sprockets-rails
349
350
  rails-deprecated_sanitizer (1.0.3)
350
351
  activesupport (>= 4.2.0.alpha)
@@ -356,9 +357,9 @@ GEM
356
357
  loofah (~> 2.0)
357
358
  rails-observers (0.1.2)
358
359
  activemodel (~> 4.0)
359
- railties (4.2.7)
360
- actionpack (= 4.2.7)
361
- activesupport (= 4.2.7)
360
+ railties (4.2.7.1)
361
+ actionpack (= 4.2.7.1)
362
+ activesupport (= 4.2.7.1)
362
363
  rake (>= 0.8.7)
363
364
  thor (>= 0.18.1, < 2.0)
364
365
  rake (10.5.0)
@@ -437,7 +438,7 @@ GEM
437
438
  rake (< 11.0)
438
439
  trusty-cms (~> 2.0.16)
439
440
  uuidtools (~> 2.1)
440
- trusty-cms (2.0.22)
441
+ trusty-cms (2.0.23)
441
442
  RedCloth (~> 4.3.2)
442
443
  acts_as_tree (~> 2.1)
443
444
  bundler (~> 1.7)
@@ -474,10 +475,6 @@ GEM
474
475
  roadie-rails (~> 1.0.6)
475
476
  trusty-cms (~> 2.0.0)
476
477
  trusty-layouts-extension (~> 2.0.2)
477
- trusty-reorder-extension (2.0.6)
478
- acts_as_list (= 0.4.0)
479
- rake (< 11.0)
480
- trusty-cms (~> 2.0.16)
481
478
  trusty-snippets-extension (2.0.7)
482
479
  rake (< 11.0)
483
480
  trusty-cms (~> 2.0.16)
@@ -512,6 +509,7 @@ PLATFORMS
512
509
  ruby
513
510
 
514
511
  DEPENDENCIES
512
+ codeclimate-test-reporter
515
513
  database_cleaner
516
514
  factory_girl_rails
517
515
  faker
data/coverage/index.html CHANGED
@@ -14,7 +14,7 @@
14
14
  <img src="./assets/0.10.0/loading.gif" alt="loading"/>
15
15
  </div>
16
16
  <div id="wrapper" style="display:none;">
17
- <div class="timestamp">Generated <abbr class="timeago" title="2016-05-27T08:36:56-04:00">2016-05-27T08:36:56-04:00</abbr></div>
17
+ <div class="timestamp">Generated <abbr class="timeago" title="2016-09-06T14:06:06-04:00">2016-09-06T14:06:06-04:00</abbr></div>
18
18
  <ul class="group_tabs"></ul>
19
19
 
20
20
  <div id="content">
@@ -1478,7 +1478,7 @@
1478
1478
  </div>
1479
1479
 
1480
1480
  <div id="footer">
1481
- Generated by <a href="http://github.com/colszowka/simplecov">simplecov</a> v0.11.2
1481
+ Generated by <a href="http://github.com/colszowka/simplecov">simplecov</a> v0.12.0
1482
1482
  and simplecov-html v0.10.0<br/>
1483
1483
  using RSpec
1484
1484
  </div>
@@ -11864,7 +11864,7 @@
11864
11864
  <li class="missed" data-hits="0" data-linenumber="2">
11865
11865
 
11866
11866
 
11867
- <code class="ruby"> VERSION = &quot;2.5.4&quot;</code>
11867
+ <code class="ruby"> VERSION = &quot;2.5.7&quot;</code>
11868
11868
  </li>
11869
11869
 
11870
11870
  <li class="missed" data-hits="0" data-linenumber="3">
@@ -1,5 +1,5 @@
1
1
  module TrustyFestivityExtension
2
- VERSION = "2.5.6"
2
+ VERSION = "2.5.7"
3
3
  SUMMARY = "Festival microsite engine for Trusty CMS"
4
4
  DESCRIPTION = "Event management for arts festivals."
5
5
  URL = "http://github.com/pgharts/trusty-festivity-extension"
@@ -48,8 +48,8 @@ module TrustyCms
48
48
 
49
49
  config.encoding = 'utf-8'
50
50
 
51
- config.extensions = [:layouts, :snippets, :multi_site, :clipped, :rad_social, :reorder]
52
- config.extensions_migration_order = [:clipped, :layouts, :snippets, :reorder, :multi_site]
51
+ config.extensions = [:layouts, :snippets, :multi_site, :clipped, :rad_social]
52
+ config.extensions_migration_order = [:clipped, :layouts, :snippets, :multi_site]
53
53
 
54
54
  # TODO: We're not sure this is actually working, but we can't really test this until the app initializes.
55
55
  config.middleware.use Rack::Cache,
@@ -2149,3 +2149,677 @@ Command :: convert -version
2149
2149
   (0.1ms) RELEASE SAVEPOINT active_record_1
2150
2150
  Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 3 AND `pages`.`parent_id` IS NULL) LIMIT 1
2151
2151
   (0.4ms) ROLLBACK
2152
+ Command :: convert -version
2153
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2154
+ Command :: convert -version
2155
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2156
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2157
+  (0.2ms) BEGIN
2158
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2159
+  (0.2ms) SAVEPOINT active_record_1
2160
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2161
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2162
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2164
+  (0.1ms) SAVEPOINT active_record_1
2165
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2166
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2167
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2169
+  (0.1ms) SAVEPOINT active_record_1
2170
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2171
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2172
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2174
+  (0.1ms) SAVEPOINT active_record_1
2175
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2176
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2177
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2179
+  (0.1ms) SAVEPOINT active_record_1
2180
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2181
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2182
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2184
+  (0.1ms) SAVEPOINT active_record_1
2185
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2186
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2187
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2189
+  (0.1ms) SAVEPOINT active_record_1
2190
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2191
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2192
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2194
+  (0.1ms) SAVEPOINT active_record_1
2195
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2196
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2197
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2199
+  (0.1ms) SAVEPOINT active_record_1
2200
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2201
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2202
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2204
+  (0.1ms) SAVEPOINT active_record_1
2205
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2206
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2207
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2208
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2209
+  (0.1ms) SAVEPOINT active_record_1
2210
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2211
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2212
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2214
+  (0.1ms) SAVEPOINT active_record_1
2215
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2216
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2217
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2219
+  (0.1ms) SAVEPOINT active_record_1
2220
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2221
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2222
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2224
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2225
+  (0.1ms) SAVEPOINT active_record_1
2226
+ Site Exists (0.4ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'okuneva.net' LIMIT 1
2227
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2228
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('circuit', 'okuneva.net', 3, 'okuneva.net', 3, '2016-08-17 18:05:10', '2016-08-17 18:05:10')
2229
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2230
+  (0.2ms) SAVEPOINT active_record_1
2231
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'virtual' AND `pages`.`parent_id` IS NULL) LIMIT 1
2232
+ Page Load (0.7ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2233
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'virtual', 'virtual', 'virtual', 100, 16, '2016-08-17 18:05:10', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-08-17 18:05:10', '2016-08-17 18:05:10', 1, 0)
2234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2235
+  (0.1ms) SAVEPOINT active_record_1
2236
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2237
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2238
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 16, '2016-08-17 18:05:10', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-08-17 18:05:10', '2016-08-17 18:05:10', 2, 0)
2239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2240
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 49144 AND `pages`.`parent_id` IS NULL) LIMIT 1
2241
+  (6.8ms) ROLLBACK
2242
+  (0.1ms) BEGIN
2243
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2244
+  (0.1ms) SAVEPOINT active_record_1
2245
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2246
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2247
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2249
+  (0.1ms) SAVEPOINT active_record_1
2250
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2251
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2252
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2254
+  (0.1ms) SAVEPOINT active_record_1
2255
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2256
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2257
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2259
+  (0.1ms) SAVEPOINT active_record_1
2260
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2261
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2262
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2264
+  (0.7ms) SAVEPOINT active_record_1
2265
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2266
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2267
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2269
+  (0.1ms) SAVEPOINT active_record_1
2270
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2271
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2272
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2274
+  (0.1ms) SAVEPOINT active_record_1
2275
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2276
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2277
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2279
+  (0.1ms) SAVEPOINT active_record_1
2280
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2281
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2282
+ SQL (0.4ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2284
+  (0.1ms) SAVEPOINT active_record_1
2285
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2286
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2287
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2289
+  (0.1ms) SAVEPOINT active_record_1
2290
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2291
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2292
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2294
+  (0.1ms) SAVEPOINT active_record_1
2295
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2296
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2297
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2299
+  (0.1ms) SAVEPOINT active_record_1
2300
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2301
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2302
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2304
+  (0.1ms) SAVEPOINT active_record_1
2305
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2306
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2307
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2309
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2310
+  (0.2ms) SAVEPOINT active_record_1
2311
+ Site Exists (0.2ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'okuneva.net' LIMIT 1
2312
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2313
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('circuit', 'okuneva.net', 3, 'okuneva.net', 3, '2016-08-17 18:05:10', '2016-08-17 18:05:10')
2314
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2315
+  (0.1ms) SAVEPOINT active_record_1
2316
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'virtual' AND `pages`.`parent_id` IS NULL) LIMIT 1
2317
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2318
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'virtual', 'virtual', 'virtual', 100, 17, '2016-08-17 18:05:10', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-08-17 18:05:10', '2016-08-17 18:05:10', 1, 0)
2319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2320
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 17 ORDER BY position ASC LIMIT 1
2321
+  (1.3ms) ROLLBACK
2322
+ Command :: convert -version
2323
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2324
+ Command :: convert -version
2325
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2326
+  (0.4ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2327
+  (0.2ms) BEGIN
2328
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2329
+  (0.2ms) SAVEPOINT active_record_1
2330
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2331
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2332
+ SQL (2.0ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2334
+  (0.1ms) SAVEPOINT active_record_1
2335
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2336
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2337
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2339
+  (0.1ms) SAVEPOINT active_record_1
2340
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2341
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2342
+ SQL (0.9ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2343
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2344
+  (0.2ms) SAVEPOINT active_record_1
2345
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2346
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2347
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2349
+  (0.1ms) SAVEPOINT active_record_1
2350
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2351
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2352
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2354
+  (0.1ms) SAVEPOINT active_record_1
2355
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2356
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2357
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2358
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2359
+  (0.1ms) SAVEPOINT active_record_1
2360
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2361
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2362
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2364
+  (0.1ms) SAVEPOINT active_record_1
2365
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2366
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2367
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2368
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2369
+  (0.1ms) SAVEPOINT active_record_1
2370
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2371
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2372
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2373
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2374
+  (0.1ms) SAVEPOINT active_record_1
2375
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2376
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2377
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2379
+  (0.1ms) SAVEPOINT active_record_1
2380
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2381
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2382
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2384
+  (0.1ms) SAVEPOINT active_record_1
2385
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2386
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2387
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2389
+  (0.2ms) SAVEPOINT active_record_1
2390
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2391
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2392
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2394
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2395
+  (0.1ms) SAVEPOINT active_record_1
2396
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'nitzschetremblay.co' LIMIT 1
2397
+ SQL (0.6ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2398
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('matrix', 'nitzschetremblay.co', 3, 'nitzschetremblay.co', 3, '2016-09-06 17:40:05', '2016-09-06 17:40:05')
2399
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2400
+  (0.2ms) SAVEPOINT active_record_1
2401
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'solid-state' AND `pages`.`parent_id` IS NULL) LIMIT 1
2402
+ Page Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2403
+ SQL (0.5ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'solid state', 'solid state', 'solid-state', 100, 16, '2016-09-06 17:40:05', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:40:05', '2016-09-06 17:40:05', 1, 0)
2404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2405
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 16 ORDER BY position ASC LIMIT 1
2406
+  (1.5ms) ROLLBACK
2407
+  (0.1ms) BEGIN
2408
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2409
+  (0.1ms) SAVEPOINT active_record_1
2410
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2411
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2412
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2414
+  (0.1ms) SAVEPOINT active_record_1
2415
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2416
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2417
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2419
+  (0.1ms) SAVEPOINT active_record_1
2420
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2421
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2422
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2424
+  (0.1ms) SAVEPOINT active_record_1
2425
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2426
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2427
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2429
+  (0.1ms) SAVEPOINT active_record_1
2430
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2431
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2432
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2433
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2434
+  (0.1ms) SAVEPOINT active_record_1
2435
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2436
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2437
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2439
+  (0.2ms) SAVEPOINT active_record_1
2440
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2441
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2442
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2443
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2444
+  (0.2ms) SAVEPOINT active_record_1
2445
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2446
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2447
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2449
+  (0.1ms) SAVEPOINT active_record_1
2450
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2451
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2452
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2454
+  (0.1ms) SAVEPOINT active_record_1
2455
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2456
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2457
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2459
+  (0.1ms) SAVEPOINT active_record_1
2460
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2461
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2462
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2464
+  (0.1ms) SAVEPOINT active_record_1
2465
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2466
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2467
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2469
+  (0.1ms) SAVEPOINT active_record_1
2470
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2471
+ SQL (1.5ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2472
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2474
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2475
+  (0.1ms) SAVEPOINT active_record_1
2476
+ Site Exists (0.2ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'nitzschetremblay.co' LIMIT 1
2477
+ SQL (0.1ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2478
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('matrix', 'nitzschetremblay.co', 3, 'nitzschetremblay.co', 3, '2016-09-06 17:40:05', '2016-09-06 17:40:05')
2479
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2480
+  (0.1ms) SAVEPOINT active_record_1
2481
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'solid-state' AND `pages`.`parent_id` IS NULL) LIMIT 1
2482
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2483
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'solid state', 'solid state', 'solid-state', 100, 17, '2016-09-06 17:40:05', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:40:05', '2016-09-06 17:40:05', 1, 0)
2484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2485
+  (0.1ms) SAVEPOINT active_record_1
2486
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2487
+ Page Load (1.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2488
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 17, '2016-09-06 17:40:05', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:40:05', '2016-09-06 17:40:05', 2, 0)
2489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2490
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 3 AND `pages`.`parent_id` IS NULL) LIMIT 1
2491
+  (1.3ms) ROLLBACK
2492
+ Command :: convert -version
2493
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2494
+ Command :: convert -version
2495
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2496
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2497
+  (0.2ms) BEGIN
2498
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2499
+  (0.2ms) SAVEPOINT active_record_1
2500
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2501
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2502
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2503
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2504
+  (0.1ms) SAVEPOINT active_record_1
2505
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2506
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2507
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2509
+  (0.1ms) SAVEPOINT active_record_1
2510
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2511
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2512
+ SQL (6.9ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2513
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2514
+  (0.1ms) SAVEPOINT active_record_1
2515
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2516
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2517
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2518
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2519
+  (0.1ms) SAVEPOINT active_record_1
2520
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2521
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2522
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2523
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2524
+  (0.1ms) SAVEPOINT active_record_1
2525
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2526
+ SQL (4.6ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2527
+ SQL (0.4ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2528
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2529
+  (0.2ms) SAVEPOINT active_record_1
2530
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2531
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2532
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2534
+  (0.1ms) SAVEPOINT active_record_1
2535
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2536
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2537
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2539
+  (0.1ms) SAVEPOINT active_record_1
2540
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2541
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2542
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2544
+  (0.1ms) SAVEPOINT active_record_1
2545
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2546
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2547
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2549
+  (0.1ms) SAVEPOINT active_record_1
2550
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2551
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2552
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2553
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2554
+  (0.1ms) SAVEPOINT active_record_1
2555
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2556
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2557
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2559
+  (0.1ms) SAVEPOINT active_record_1
2560
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2561
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2562
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2563
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2564
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage')
2565
+  (0.1ms) SAVEPOINT active_record_1
2566
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'johns.name' LIMIT 1
2567
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2568
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('port', 'johns.name', 3, 'johns.name', 3, '2016-09-06 17:41:45', '2016-09-06 17:41:45')
2569
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2570
+  (0.2ms) SAVEPOINT active_record_1
2571
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'multi-byte' AND `pages`.`parent_id` IS NULL) LIMIT 1
2572
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'multi-byte', 'multi-byte', 'multi-byte', 100, 18, '2016-09-06 17:41:46', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:41:46', '2016-09-06 17:41:46', 0)
2573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2574
+  (0.1ms) SAVEPOINT active_record_1
2575
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2576
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 18, '2016-09-06 17:41:46', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:41:46', '2016-09-06 17:41:46', 0)
2577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2578
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 5 AND `pages`.`parent_id` IS NULL) LIMIT 1
2579
+  (13.2ms) ROLLBACK
2580
+  (0.2ms) BEGIN
2581
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2582
+  (0.2ms) SAVEPOINT active_record_1
2583
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2584
+ SQL (0.4ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2585
+ SQL (0.4ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2586
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2587
+  (0.1ms) SAVEPOINT active_record_1
2588
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2589
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2590
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2592
+  (0.1ms) SAVEPOINT active_record_1
2593
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2594
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2595
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2597
+  (0.1ms) SAVEPOINT active_record_1
2598
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2599
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2600
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2602
+  (0.1ms) SAVEPOINT active_record_1
2603
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2604
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2605
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2606
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2607
+  (0.1ms) SAVEPOINT active_record_1
2608
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2609
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2610
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2612
+  (0.1ms) SAVEPOINT active_record_1
2613
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2614
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2615
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2617
+  (0.1ms) SAVEPOINT active_record_1
2618
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2619
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2620
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2621
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2622
+  (0.1ms) SAVEPOINT active_record_1
2623
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2624
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2625
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2627
+  (0.1ms) SAVEPOINT active_record_1
2628
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2629
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2630
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2632
+  (0.1ms) SAVEPOINT active_record_1
2633
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2634
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2635
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2636
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2637
+  (0.1ms) SAVEPOINT active_record_1
2638
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2639
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2640
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2642
+  (0.1ms) SAVEPOINT active_record_1
2643
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2644
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2645
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2647
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage')
2648
+  (0.1ms) SAVEPOINT active_record_1
2649
+ Site Exists (0.1ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'johns.name' LIMIT 1
2650
+ SQL (0.1ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2651
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('port', 'johns.name', 3, 'johns.name', 3, '2016-09-06 17:41:46', '2016-09-06 17:41:46')
2652
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2653
+  (0.2ms) SAVEPOINT active_record_1
2654
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'multi-byte' AND `pages`.`parent_id` IS NULL) LIMIT 1
2655
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'multi-byte', 'multi-byte', 'multi-byte', 100, 19, '2016-09-06 17:41:46', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:41:46', '2016-09-06 17:41:46', 0)
2656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2657
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 19 ORDER BY position ASC LIMIT 1
2658
+  (13.4ms) ROLLBACK
2659
+ Command :: convert -version
2660
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2661
+ Command :: convert -version
2662
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2663
+  (0.4ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2664
+  (0.2ms) BEGIN
2665
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2666
+  (0.2ms) SAVEPOINT active_record_1
2667
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2668
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2669
+ SQL (0.6ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2671
+  (0.1ms) SAVEPOINT active_record_1
2672
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2673
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2674
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2676
+  (0.1ms) SAVEPOINT active_record_1
2677
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2678
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2679
+ SQL (6.5ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2680
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2681
+  (0.2ms) SAVEPOINT active_record_1
2682
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2683
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2684
+ SQL (0.4ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2686
+  (0.1ms) SAVEPOINT active_record_1
2687
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2688
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2689
+ SQL (5.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2690
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2691
+  (0.2ms) SAVEPOINT active_record_1
2692
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2693
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2694
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2696
+  (0.1ms) SAVEPOINT active_record_1
2697
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2698
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2699
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2700
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2701
+  (0.2ms) SAVEPOINT active_record_1
2702
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2703
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2704
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2706
+  (0.2ms) SAVEPOINT active_record_1
2707
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2708
+ SQL (0.4ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2709
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2711
+  (0.1ms) SAVEPOINT active_record_1
2712
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2713
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2714
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2716
+  (0.1ms) SAVEPOINT active_record_1
2717
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2718
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2719
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2721
+  (0.1ms) SAVEPOINT active_record_1
2722
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2723
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2724
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2726
+  (0.1ms) SAVEPOINT active_record_1
2727
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2728
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2729
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2731
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage')
2732
+  (0.1ms) SAVEPOINT active_record_1
2733
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'cain.com' LIMIT 1
2734
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2735
+ SQL (0.3ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('transmitter', 'cain.com', 3, 'cain.com', 3, '2016-09-06 18:06:05', '2016-09-06 18:06:05')
2736
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2737
+  (0.2ms) SAVEPOINT active_record_1
2738
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'cross-platform' AND `pages`.`parent_id` IS NULL) LIMIT 1
2739
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'cross-platform', 'cross-platform', 'cross-platform', 100, 20, '2016-09-06 18:06:06', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 18:06:06', '2016-09-06 18:06:06', 0)
2740
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2741
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 20 ORDER BY position ASC LIMIT 1
2742
+  (12.8ms) ROLLBACK
2743
+  (0.2ms) BEGIN
2744
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2745
+  (0.1ms) SAVEPOINT active_record_1
2746
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2747
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2748
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2750
+  (0.1ms) SAVEPOINT active_record_1
2751
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2752
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2753
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2754
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2755
+  (0.1ms) SAVEPOINT active_record_1
2756
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2757
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2758
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2760
+  (0.1ms) SAVEPOINT active_record_1
2761
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2762
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2763
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2765
+  (0.1ms) SAVEPOINT active_record_1
2766
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2767
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2768
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2770
+  (0.1ms) SAVEPOINT active_record_1
2771
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2772
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2773
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2775
+  (0.1ms) SAVEPOINT active_record_1
2776
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2777
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2778
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2780
+  (0.1ms) SAVEPOINT active_record_1
2781
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2782
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2783
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2785
+  (0.1ms) SAVEPOINT active_record_1
2786
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2787
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2788
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2790
+  (0.1ms) SAVEPOINT active_record_1
2791
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2792
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2793
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2795
+  (0.1ms) SAVEPOINT active_record_1
2796
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2797
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2798
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2800
+  (0.1ms) SAVEPOINT active_record_1
2801
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2802
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2803
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2805
+  (0.1ms) SAVEPOINT active_record_1
2806
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2807
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2808
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2810
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage')
2811
+  (0.3ms) SAVEPOINT active_record_1
2812
+ Site Exists (0.4ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'cain.com' LIMIT 1
2813
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2814
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('transmitter', 'cain.com', 3, 'cain.com', 3, '2016-09-06 18:06:06', '2016-09-06 18:06:06')
2815
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2816
+  (0.1ms) SAVEPOINT active_record_1
2817
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'cross-platform' AND `pages`.`parent_id` IS NULL) LIMIT 1
2818
+ SQL (0.4ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'cross-platform', 'cross-platform', 'cross-platform', 100, 21, '2016-09-06 18:06:06', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 18:06:06', '2016-09-06 18:06:06', 0)
2819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2820
+  (0.1ms) SAVEPOINT active_record_1
2821
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2822
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 21, '2016-09-06 18:06:06', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 18:06:06', '2016-09-06 18:06:06', 0)
2823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2824
+ Page Exists (0.2ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 9 AND `pages`.`parent_id` IS NULL) LIMIT 1
2825
+  (1.7ms) ROLLBACK
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require "codeclimate-test-reporter"
2
+ CodeClimate::TestReporter.start
3
+
1
4
  require 'simplecov'
2
5
  SimpleCov.start 'rails'
3
6
  ENV['RAILS_ENV'] ||= 'test'
@@ -22,10 +22,10 @@ Gem::Specification.new do |s|
22
22
  # s.executables = Dir['bin/*'] - ignores
23
23
  s.require_paths = ["lib"]
24
24
 
25
- s.add_dependency "trusty-cms" , '>= 2.0.22'
25
+ s.add_dependency "trusty-cms" , '>= 2.0.23'
26
26
  s.add_dependency "trusty-clipped-extension" , "~> 2.0.13"
27
27
  s.add_dependency "trusty-snippets-extension" , "~> 2.0.7"
28
- s.add_dependency "trusty-reorder-extension" , "~> 2.0.6"
28
+ # s.add_dependency "trusty-reorder-extension" , "~> 2.0.6"
29
29
  s.add_dependency "trusty-layouts-extension" , "~> 2.0.4"
30
30
  s.add_dependency "trusty-rad-social-extension" , "~> 2.2.6"
31
31
  s.add_dependency "trusty-multi-site-extension" , "~> 2.0.11"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-festivity-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.6
4
+ version: 2.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Sipple, Danielle Greaves, Brittany Martin, Patrick FitzGerald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-29 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trusty-cms
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.22
19
+ version: 2.0.23
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.22
26
+ version: 2.0.23
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: trusty-clipped-extension
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 2.0.7
55
- - !ruby/object:Gem::Dependency
56
- name: trusty-reorder-extension
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 2.0.6
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 2.0.6
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: trusty-layouts-extension
71
57
  requirement: !ruby/object:Gem::Requirement