acts_as_interval 0.0.1 → 0.0.2
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/lib/acts_as_interval/acts_as_interval.rb +13 -8
- data/lib/acts_as_interval/version.rb +1 -1
- data/test/acts_as_interval_test.rb +14 -9
- data/test/dummy/config/environments/test.rb +2 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +6 -0
- data/test/dummy/log/test.log +2645 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9419e58989c5e6ae715e0c914095ea3b10c79b05
|
|
4
|
+
data.tar.gz: 4c338b7b79d1e408761acaeba0500eb27bae565f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3adf2730bcc260f6efe3f450be5dd5a17f1b92f8b8e522b663f9fd30452d6c406a0e2b75987296e30dd9e0b7149baf01d085f6f1f19227d86892ed68f65887bc
|
|
7
|
+
data.tar.gz: 25d8061f7887913aa7ebecbb2f6e0831b7f8a594efc622dd5406e6d1e956982cd0938f4e1f6ee9b111ea986b7ddf02426d2dce53ffa9a8abf9e96d1f2b886a29
|
|
@@ -16,14 +16,19 @@ module ActsAsInterval
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
module LocalInstanceMethods
|
|
19
|
-
def
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
def self.included(klass)
|
|
20
|
+
klass_name = klass.name.underscore.pluralize
|
|
21
|
+
define_method "past_#{klass_name}" do
|
|
22
|
+
self.class.where('ends_at <= ?', self.send(start_field))
|
|
23
|
+
end
|
|
24
|
+
define_method "future_#{klass_name}" do
|
|
25
|
+
self.class.where('starts_at >= ?', self.send(end_field))
|
|
26
|
+
end
|
|
27
|
+
define_method "overlapping_#{klass_name}" do
|
|
28
|
+
self.class.where("DATEDIFF(#{start_field}, :my_end) * DATEDIFF(:my_start, #{end_field}) >= 0", my_start: self.send(start_field), my_end: self.send(end_field)).where.not(id: self.id)
|
|
29
|
+
end
|
|
30
|
+
alias_method :intervals_before, "past_#{klass_name}"
|
|
31
|
+
alias_method :intervals_after, "future_#{klass_name}"
|
|
27
32
|
end
|
|
28
33
|
end
|
|
29
34
|
end
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
require 'test_helper'
|
|
2
2
|
|
|
3
3
|
class ActsAsIntervalTest < ActiveSupport::TestCase
|
|
4
|
+
def test_future_interval_method
|
|
5
|
+
interval = Interval.new
|
|
6
|
+
assert_equal true, interval.respond_to?(:future_intervals)
|
|
7
|
+
end
|
|
8
|
+
def test_past_interval_method
|
|
9
|
+
interval = Interval.new
|
|
10
|
+
assert_equal true, interval.respond_to?(:past_intervals)
|
|
11
|
+
end
|
|
12
|
+
def test_overlapping_interval_method
|
|
13
|
+
interval = Interval.new
|
|
14
|
+
assert_equal true, interval.respond_to?(:overlapping_intervals)
|
|
15
|
+
end
|
|
4
16
|
def test_intervals_before
|
|
5
17
|
old_interval = Interval.create(starts_at: 1.month.ago, ends_at: 1.week.ago)
|
|
6
18
|
older_interval = Interval.create(starts_at: 2.year.ago, ends_at: 1.year.ago)
|
|
7
19
|
Interval.create(starts_at: 1.month.since, ends_at: 1.year.since)
|
|
8
20
|
Interval.create(starts_at: 1.years.ago, ends_at: 1.years.since)
|
|
9
21
|
new_interval = Interval.create(starts_at: 1.day.ago, ends_at: 1.hour.ago)
|
|
10
|
-
assert_equal new_interval.
|
|
22
|
+
assert_equal new_interval.past_intervals, [old_interval, older_interval]
|
|
11
23
|
end
|
|
12
24
|
def test_intervals_after
|
|
13
25
|
Interval.create(starts_at: 1.month.ago, ends_at: 1.week.ago)
|
|
@@ -15,13 +27,6 @@ class ActsAsIntervalTest < ActiveSupport::TestCase
|
|
|
15
27
|
after_interval = Interval.create(starts_at: 1.month.since, ends_at: 1.year.since)
|
|
16
28
|
Interval.create(starts_at: 1.years.ago, ends_at: 1.years.since)
|
|
17
29
|
new_interval = Interval.create(starts_at: 1.day.ago, ends_at: 1.hour.ago)
|
|
18
|
-
assert_equal new_interval.
|
|
19
|
-
end
|
|
20
|
-
def test_intersecting_intervals
|
|
21
|
-
my_interval = Interval.create(starts_at: 1.days.ago, ends_at: 1.days.since)
|
|
22
|
-
Interval.create(starts_at: 1.year.ago, ends_at: 1.month.ago)
|
|
23
|
-
Interval.create(starts_at: 1.year.since, ends_at: 2.years.since)
|
|
24
|
-
intersecting_interval = Interval.create(starts_at: 1.month.ago, ends_at: 1.month.since)
|
|
25
|
-
assert_equal my_interval.overlapping_intervals, [intersecting_interval]
|
|
30
|
+
assert_equal new_interval.future_intervals, [after_interval]
|
|
26
31
|
end
|
|
27
32
|
end
|
|
@@ -13,7 +13,7 @@ Rails.application.configure do
|
|
|
13
13
|
config.eager_load = false
|
|
14
14
|
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
|
16
|
-
config.
|
|
16
|
+
config.serve_static_files = true
|
|
17
17
|
config.static_cache_control = 'public, max-age=3600'
|
|
18
18
|
|
|
19
19
|
# Show full error reports and disable caching.
|
|
@@ -36,4 +36,5 @@ Rails.application.configure do
|
|
|
36
36
|
|
|
37
37
|
# Raises error for missing translations
|
|
38
38
|
# config.action_view.raise_on_missing_translations = true
|
|
39
|
+
config.active_support.test_order = :sorted
|
|
39
40
|
end
|
data/test/dummy/db/test.sqlite3
CHANGED
|
Binary file
|
|
@@ -72,3 +72,9 @@ Migrating to CreateIntervals (20150227133736)
|
|
|
72
72
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
73
73
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
74
74
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
75
|
+
[1m[36mInterval Load (8.4ms)[0m [1mSELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1[0m
|
|
76
|
+
[1m[35mInterval Load (0.2ms)[0m SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, NULL) * DATEDIFF(NULL, ends_at) >= 0) AND ("intervals"."id" IS NOT NULL)
|
|
77
|
+
SQLite3::SQLException: no such function: DATEDIFF: SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, NULL) * DATEDIFF(NULL, ends_at) >= 0) AND ("intervals"."id" IS NOT NULL)
|
|
78
|
+
[1m[36mInterval Load (0.4ms)[0m [1mSELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1[0m
|
|
79
|
+
[1m[35mInterval Load (0.7ms)[0m SELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1
|
|
80
|
+
[1m[36mInterval Load (0.2ms)[0m [1mSELECT "intervals".* FROM "intervals" ORDER BY "intervals"."id" ASC LIMIT 1[0m
|
data/test/dummy/log/test.log
CHANGED
|
@@ -1584,3 +1584,2648 @@ ActsAsIntervalTest: test_intervals_before
|
|
|
1584
1584
|
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1585
1585
|
[1m[36mInterval Load (0.2ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 15:04:37.070983')[0m
|
|
1586
1586
|
[1m[35m (0.1ms)[0m rollback transaction
|
|
1587
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1588
|
+
[1m[36m (114.2ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
1589
|
+
[1m[35m (100.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
1590
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
1591
|
+
[1m[35m (121.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
1592
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
1593
|
+
[1m[35m (110.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
1594
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1595
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
1596
|
+
-----------------------------------------------
|
|
1597
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
1598
|
+
-----------------------------------------------
|
|
1599
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1600
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 18:23:55.953752"], ["ends_at", "2015-02-28 18:23:55.954049"], ["created_at", "2015-02-27 18:23:55.965257"], ["updated_at", "2015-02-27 18:23:55.965257"]]
|
|
1601
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1602
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1603
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 18:23:55.970120"], ["ends_at", "2015-01-27 18:23:55.970260"], ["created_at", "2015-02-27 18:23:55.971249"], ["updated_at", "2015-02-27 18:23:55.971249"]]
|
|
1604
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1606
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 18:23:55.972790"], ["ends_at", "2017-02-27 18:23:55.972899"], ["created_at", "2015-02-27 18:23:55.973564"], ["updated_at", "2015-02-27 18:23:55.973564"]]
|
|
1607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1608
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1609
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 18:23:55.974464"], ["ends_at", "2015-03-27 18:23:55.974526"], ["created_at", "2015-02-27 18:23:55.974868"], ["updated_at", "2015-02-27 18:23:55.974868"]]
|
|
1610
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1611
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1612
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1613
|
+
----------------------------------------
|
|
1614
|
+
ActsAsIntervalTest: test_intervals_after
|
|
1615
|
+
----------------------------------------
|
|
1616
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1617
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 18:23:55.976404"], ["ends_at", "2015-02-20 18:23:55.976465"], ["created_at", "2015-02-27 18:23:55.977136"], ["updated_at", "2015-02-27 18:23:55.977136"]]
|
|
1618
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1619
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1620
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 18:23:55.978261"], ["ends_at", "2014-02-27 18:23:55.978316"], ["created_at", "2015-02-27 18:23:55.978688"], ["updated_at", "2015-02-27 18:23:55.978688"]]
|
|
1621
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1622
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1623
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 18:23:55.979462"], ["ends_at", "2016-02-27 18:23:55.979508"], ["created_at", "2015-02-27 18:23:55.979891"], ["updated_at", "2015-02-27 18:23:55.979891"]]
|
|
1624
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1625
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1626
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 18:23:55.980567"], ["ends_at", "2016-02-27 18:23:55.980612"], ["created_at", "2015-02-27 18:23:55.980922"], ["updated_at", "2015-02-27 18:23:55.980922"]]
|
|
1627
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1628
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1629
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 18:23:55.981594"], ["ends_at", "2015-02-27 17:23:55.981636"], ["created_at", "2015-02-27 18:23:55.981927"], ["updated_at", "2015-02-27 18:23:55.981927"]]
|
|
1630
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1631
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 17:23:55.981636')[0m
|
|
1632
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1633
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1634
|
+
-----------------------------------------
|
|
1635
|
+
ActsAsIntervalTest: test_intervals_before
|
|
1636
|
+
-----------------------------------------
|
|
1637
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1638
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 18:23:55.983621"], ["ends_at", "2015-02-20 18:23:55.983670"], ["created_at", "2015-02-27 18:23:55.984066"], ["updated_at", "2015-02-27 18:23:55.984066"]]
|
|
1639
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1640
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1641
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 18:23:55.984944"], ["ends_at", "2014-02-27 18:23:55.985018"], ["created_at", "2015-02-27 18:23:55.985410"], ["updated_at", "2015-02-27 18:23:55.985410"]]
|
|
1642
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1643
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1644
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 18:23:55.986051"], ["ends_at", "2016-02-27 18:23:55.986096"], ["created_at", "2015-02-27 18:23:55.986508"], ["updated_at", "2015-02-27 18:23:55.986508"]]
|
|
1645
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1646
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1647
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 18:23:55.995667"], ["ends_at", "2016-02-27 18:23:55.995741"], ["created_at", "2015-02-27 18:23:55.996128"], ["updated_at", "2015-02-27 18:23:55.996128"]]
|
|
1648
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1649
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1650
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 18:23:55.996788"], ["ends_at", "2015-02-27 17:23:55.996832"], ["created_at", "2015-02-27 18:23:55.997123"], ["updated_at", "2015-02-27 18:23:55.997123"]]
|
|
1651
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1652
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 18:23:55.996788')[0m
|
|
1653
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1654
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1655
|
+
[1m[36m (89.6ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
1656
|
+
[1m[35m (76.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
1657
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
|
1658
|
+
[1m[35m (97.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
1659
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
1660
|
+
[1m[35m (99.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
1661
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1662
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
1663
|
+
-----------------------------------------------
|
|
1664
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
1665
|
+
-----------------------------------------------
|
|
1666
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1667
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:41:59.166370"], ["ends_at", "2015-02-28 19:41:59.166736"], ["created_at", "2015-02-27 19:41:59.179833"], ["updated_at", "2015-02-27 19:41:59.179833"]]
|
|
1668
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1669
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1670
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:41:59.186375"], ["ends_at", "2015-01-27 19:41:59.186693"], ["created_at", "2015-02-27 19:41:59.189233"], ["updated_at", "2015-02-27 19:41:59.189233"]]
|
|
1671
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1672
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1673
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:41:59.195255"], ["ends_at", "2017-02-27 19:41:59.195501"], ["created_at", "2015-02-27 19:41:59.197754"], ["updated_at", "2015-02-27 19:41:59.197754"]]
|
|
1674
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1675
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1676
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:41:59.202674"], ["ends_at", "2015-03-27 19:41:59.202906"], ["created_at", "2015-02-27 19:41:59.205393"], ["updated_at", "2015-02-27 19:41:59.205393"]]
|
|
1677
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1678
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1679
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1680
|
+
----------------------------------------
|
|
1681
|
+
ActsAsIntervalTest: test_intervals_after
|
|
1682
|
+
----------------------------------------
|
|
1683
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1684
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:41:59.211759"], ["ends_at", "2015-02-20 19:41:59.211989"], ["created_at", "2015-02-27 19:41:59.214196"], ["updated_at", "2015-02-27 19:41:59.214196"]]
|
|
1685
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1686
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1687
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:41:59.222125"], ["ends_at", "2014-02-27 19:41:59.222404"], ["created_at", "2015-02-27 19:41:59.224879"], ["updated_at", "2015-02-27 19:41:59.224879"]]
|
|
1688
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1689
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1690
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:41:59.229606"], ["ends_at", "2016-02-27 19:41:59.229831"], ["created_at", "2015-02-27 19:41:59.232069"], ["updated_at", "2015-02-27 19:41:59.232069"]]
|
|
1691
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1692
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1693
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:41:59.237215"], ["ends_at", "2016-02-27 19:41:59.237636"], ["created_at", "2015-02-27 19:41:59.241525"], ["updated_at", "2015-02-27 19:41:59.241525"]]
|
|
1694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1695
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1696
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:41:59.246217"], ["ends_at", "2015-02-27 18:41:59.246453"], ["created_at", "2015-02-27 19:41:59.248517"], ["updated_at", "2015-02-27 19:41:59.248517"]]
|
|
1697
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1698
|
+
[1m[36mInterval Load (0.4ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 18:41:59.246453')[0m
|
|
1699
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
1700
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
1701
|
+
-----------------------------------------
|
|
1702
|
+
ActsAsIntervalTest: test_intervals_before
|
|
1703
|
+
-----------------------------------------
|
|
1704
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1705
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:41:59.258239"], ["ends_at", "2015-02-20 19:41:59.258750"], ["created_at", "2015-02-27 19:41:59.261267"], ["updated_at", "2015-02-27 19:41:59.261267"]]
|
|
1706
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1707
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1708
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:41:59.266045"], ["ends_at", "2014-02-27 19:41:59.266291"], ["created_at", "2015-02-27 19:41:59.268569"], ["updated_at", "2015-02-27 19:41:59.268569"]]
|
|
1709
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1710
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1711
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:41:59.273297"], ["ends_at", "2016-02-27 19:41:59.273542"], ["created_at", "2015-02-27 19:41:59.275796"], ["updated_at", "2015-02-27 19:41:59.275796"]]
|
|
1712
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1713
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1714
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:41:59.280299"], ["ends_at", "2016-02-27 19:41:59.280534"], ["created_at", "2015-02-27 19:41:59.282828"], ["updated_at", "2015-02-27 19:41:59.282828"]]
|
|
1715
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1716
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1717
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:41:59.293783"], ["ends_at", "2015-02-27 18:41:59.294052"], ["created_at", "2015-02-27 19:41:59.296141"], ["updated_at", "2015-02-27 19:41:59.296141"]]
|
|
1718
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1719
|
+
[1m[36mInterval Load (0.2ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 19:41:59.293783')[0m
|
|
1720
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
1721
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1722
|
+
[1m[36m (108.8ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
1723
|
+
[1m[35m (102.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
1724
|
+
[1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
|
|
1725
|
+
[1m[35m (99.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
1726
|
+
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
1727
|
+
[1m[35m (109.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
1728
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1729
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
1730
|
+
-----------------------------------------------
|
|
1731
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
1732
|
+
-----------------------------------------------
|
|
1733
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1734
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:42:24.016248"], ["ends_at", "2015-02-28 19:42:24.016886"], ["created_at", "2015-02-27 19:42:24.037254"], ["updated_at", "2015-02-27 19:42:24.037254"]]
|
|
1735
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1736
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1737
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:42:24.045938"], ["ends_at", "2015-01-27 19:42:24.046276"], ["created_at", "2015-02-27 19:42:24.049280"], ["updated_at", "2015-02-27 19:42:24.049280"]]
|
|
1738
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1740
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:42:24.055280"], ["ends_at", "2017-02-27 19:42:24.055575"], ["created_at", "2015-02-27 19:42:24.058485"], ["updated_at", "2015-02-27 19:42:24.058485"]]
|
|
1741
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1742
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1743
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:42:24.064149"], ["ends_at", "2015-03-27 19:42:24.064450"], ["created_at", "2015-02-27 19:42:24.067278"], ["updated_at", "2015-02-27 19:42:24.067278"]]
|
|
1744
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1745
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1746
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1747
|
+
----------------------------------------
|
|
1748
|
+
ActsAsIntervalTest: test_intervals_after
|
|
1749
|
+
----------------------------------------
|
|
1750
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1751
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:42:24.074702"], ["ends_at", "2015-02-20 19:42:24.074999"], ["created_at", "2015-02-27 19:42:24.077702"], ["updated_at", "2015-02-27 19:42:24.077702"]]
|
|
1752
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1753
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1754
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:42:24.082972"], ["ends_at", "2014-02-27 19:42:24.083245"], ["created_at", "2015-02-27 19:42:24.085797"], ["updated_at", "2015-02-27 19:42:24.085797"]]
|
|
1755
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1756
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1757
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:42:24.091003"], ["ends_at", "2016-02-27 19:42:24.091269"], ["created_at", "2015-02-27 19:42:24.093733"], ["updated_at", "2015-02-27 19:42:24.093733"]]
|
|
1758
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1759
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1760
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:42:24.098725"], ["ends_at", "2016-02-27 19:42:24.098989"], ["created_at", "2015-02-27 19:42:24.101718"], ["updated_at", "2015-02-27 19:42:24.101718"]]
|
|
1761
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1762
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1763
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:42:24.106893"], ["ends_at", "2015-02-27 18:42:24.107134"], ["created_at", "2015-02-27 19:42:24.109420"], ["updated_at", "2015-02-27 19:42:24.109420"]]
|
|
1764
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1765
|
+
[1m[36mInterval Load (0.2ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 18:42:24.107134')[0m
|
|
1766
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1767
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1768
|
+
-----------------------------------------
|
|
1769
|
+
ActsAsIntervalTest: test_intervals_before
|
|
1770
|
+
-----------------------------------------
|
|
1771
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1772
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:42:24.118136"], ["ends_at", "2015-02-20 19:42:24.118377"], ["created_at", "2015-02-27 19:42:24.120712"], ["updated_at", "2015-02-27 19:42:24.120712"]]
|
|
1773
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1774
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1775
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:42:24.125535"], ["ends_at", "2014-02-27 19:42:24.125766"], ["created_at", "2015-02-27 19:42:24.128067"], ["updated_at", "2015-02-27 19:42:24.128067"]]
|
|
1776
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1777
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1778
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:42:24.132863"], ["ends_at", "2016-02-27 19:42:24.133119"], ["created_at", "2015-02-27 19:42:24.135418"], ["updated_at", "2015-02-27 19:42:24.135418"]]
|
|
1779
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1780
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1781
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:42:24.140136"], ["ends_at", "2016-02-27 19:42:24.140388"], ["created_at", "2015-02-27 19:42:24.142679"], ["updated_at", "2015-02-27 19:42:24.142679"]]
|
|
1782
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1783
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1784
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:42:24.153576"], ["ends_at", "2015-02-27 18:42:24.153855"], ["created_at", "2015-02-27 19:42:24.155953"], ["updated_at", "2015-02-27 19:42:24.155953"]]
|
|
1785
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1786
|
+
[1m[36mInterval Load (0.2ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 19:42:24.153576')[0m
|
|
1787
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
1788
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1789
|
+
[1m[36m (131.5ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
1790
|
+
[1m[35m (98.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
1791
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
1792
|
+
[1m[35m (97.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
1793
|
+
[1m[36m (0.5ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
1794
|
+
[1m[35m (100.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
1795
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1796
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
1797
|
+
-----------------------------------------------
|
|
1798
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
1799
|
+
-----------------------------------------------
|
|
1800
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1801
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:43:25.431114"], ["ends_at", "2015-02-28 19:43:25.431609"], ["created_at", "2015-02-27 19:43:25.450589"], ["updated_at", "2015-02-27 19:43:25.450589"]]
|
|
1802
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1803
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1804
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:43:25.459880"], ["ends_at", "2015-01-27 19:43:25.460282"], ["created_at", "2015-02-27 19:43:25.463496"], ["updated_at", "2015-02-27 19:43:25.463496"]]
|
|
1805
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1806
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
1807
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:43:25.469646"], ["ends_at", "2017-02-27 19:43:25.469942"], ["created_at", "2015-02-27 19:43:25.472865"], ["updated_at", "2015-02-27 19:43:25.472865"]]
|
|
1808
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1809
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1810
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:43:25.478493"], ["ends_at", "2015-03-27 19:43:25.478812"], ["created_at", "2015-02-27 19:43:25.481518"], ["updated_at", "2015-02-27 19:43:25.481518"]]
|
|
1811
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1812
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1814
|
+
----------------------------------------
|
|
1815
|
+
ActsAsIntervalTest: test_intervals_after
|
|
1816
|
+
----------------------------------------
|
|
1817
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1818
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:43:25.488906"], ["ends_at", "2015-02-20 19:43:25.489201"], ["created_at", "2015-02-27 19:43:25.491837"], ["updated_at", "2015-02-27 19:43:25.491837"]]
|
|
1819
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1820
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1821
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:43:25.497145"], ["ends_at", "2014-02-27 19:43:25.497397"], ["created_at", "2015-02-27 19:43:25.499895"], ["updated_at", "2015-02-27 19:43:25.499895"]]
|
|
1822
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1823
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1824
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:43:25.505100"], ["ends_at", "2016-02-27 19:43:25.505375"], ["created_at", "2015-02-27 19:43:25.507865"], ["updated_at", "2015-02-27 19:43:25.507865"]]
|
|
1825
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1826
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1827
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:43:25.512710"], ["ends_at", "2016-02-27 19:43:25.512966"], ["created_at", "2015-02-27 19:43:25.515370"], ["updated_at", "2015-02-27 19:43:25.515370"]]
|
|
1828
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1829
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1830
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:43:25.520300"], ["ends_at", "2015-02-27 18:43:25.520524"], ["created_at", "2015-02-27 19:43:25.522687"], ["updated_at", "2015-02-27 19:43:25.522687"]]
|
|
1831
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1832
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
1833
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
1834
|
+
-----------------------------------------
|
|
1835
|
+
ActsAsIntervalTest: test_intervals_before
|
|
1836
|
+
-----------------------------------------
|
|
1837
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1838
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:43:25.529146"], ["ends_at", "2015-02-20 19:43:25.529410"], ["created_at", "2015-02-27 19:43:25.531765"], ["updated_at", "2015-02-27 19:43:25.531765"]]
|
|
1839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1840
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1841
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:43:25.536433"], ["ends_at", "2014-02-27 19:43:25.536675"], ["created_at", "2015-02-27 19:43:25.538995"], ["updated_at", "2015-02-27 19:43:25.538995"]]
|
|
1842
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1843
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1844
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:43:25.543712"], ["ends_at", "2016-02-27 19:43:25.543953"], ["created_at", "2015-02-27 19:43:25.546280"], ["updated_at", "2015-02-27 19:43:25.546280"]]
|
|
1845
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1846
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1847
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:43:25.550840"], ["ends_at", "2016-02-27 19:43:25.551062"], ["created_at", "2015-02-27 19:43:25.553255"], ["updated_at", "2015-02-27 19:43:25.553255"]]
|
|
1848
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1849
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1850
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:43:25.564034"], ["ends_at", "2015-02-27 18:43:25.564326"], ["created_at", "2015-02-27 19:43:25.566874"], ["updated_at", "2015-02-27 19:43:25.566874"]]
|
|
1851
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1852
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
1853
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1854
|
+
[1m[36m (109.2ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
1855
|
+
[1m[35m (89.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
1856
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
1857
|
+
[1m[35m (66.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
1858
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
1859
|
+
[1m[35m (66.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
1860
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1861
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
1862
|
+
-----------------------------------------------
|
|
1863
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
1864
|
+
-----------------------------------------------
|
|
1865
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1867
|
+
-----------------------------------------------
|
|
1868
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
1869
|
+
-----------------------------------------------
|
|
1870
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1871
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:45:54.390675"], ["ends_at", "2015-02-28 19:45:54.390899"], ["created_at", "2015-02-27 19:45:54.395088"], ["updated_at", "2015-02-27 19:45:54.395088"]]
|
|
1872
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1873
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1874
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:45:54.399075"], ["ends_at", "2015-01-27 19:45:54.399199"], ["created_at", "2015-02-27 19:45:54.400373"], ["updated_at", "2015-02-27 19:45:54.400373"]]
|
|
1875
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1876
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1877
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:45:54.402098"], ["ends_at", "2017-02-27 19:45:54.402760"], ["created_at", "2015-02-27 19:45:54.403195"], ["updated_at", "2015-02-27 19:45:54.403195"]]
|
|
1878
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1880
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:45:54.404505"], ["ends_at", "2015-03-27 19:45:54.404554"], ["created_at", "2015-02-27 19:45:54.405046"], ["updated_at", "2015-02-27 19:45:54.405046"]]
|
|
1881
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1882
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1883
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1884
|
+
----------------------------------------
|
|
1885
|
+
ActsAsIntervalTest: test_intervals_after
|
|
1886
|
+
----------------------------------------
|
|
1887
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1888
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:45:54.406369"], ["ends_at", "2015-02-20 19:45:54.406435"], ["created_at", "2015-02-27 19:45:54.407055"], ["updated_at", "2015-02-27 19:45:54.407055"]]
|
|
1889
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1890
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1891
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:45:54.408411"], ["ends_at", "2014-02-27 19:45:54.408470"], ["created_at", "2015-02-27 19:45:54.409025"], ["updated_at", "2015-02-27 19:45:54.409025"]]
|
|
1892
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1893
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1894
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:45:54.409852"], ["ends_at", "2016-02-27 19:45:54.410056"], ["created_at", "2015-02-27 19:45:54.410376"], ["updated_at", "2015-02-27 19:45:54.410376"]]
|
|
1895
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1896
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1897
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:45:54.411183"], ["ends_at", "2016-02-27 19:45:54.411394"], ["created_at", "2015-02-27 19:45:54.411704"], ["updated_at", "2015-02-27 19:45:54.411704"]]
|
|
1898
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1900
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:45:54.412484"], ["ends_at", "2015-02-27 18:45:54.412527"], ["created_at", "2015-02-27 19:45:54.412991"], ["updated_at", "2015-02-27 19:45:54.412991"]]
|
|
1901
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1902
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1903
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1904
|
+
-----------------------------------------
|
|
1905
|
+
ActsAsIntervalTest: test_intervals_before
|
|
1906
|
+
-----------------------------------------
|
|
1907
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1908
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:45:54.414515"], ["ends_at", "2015-02-20 19:45:54.414562"], ["created_at", "2015-02-27 19:45:54.414886"], ["updated_at", "2015-02-27 19:45:54.414886"]]
|
|
1909
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1910
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1911
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:45:54.415843"], ["ends_at", "2014-02-27 19:45:54.415890"], ["created_at", "2015-02-27 19:45:54.416200"], ["updated_at", "2015-02-27 19:45:54.416200"]]
|
|
1912
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1913
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1914
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:45:54.417141"], ["ends_at", "2016-02-27 19:45:54.417187"], ["created_at", "2015-02-27 19:45:54.417500"], ["updated_at", "2015-02-27 19:45:54.417500"]]
|
|
1915
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1916
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1917
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:45:54.418459"], ["ends_at", "2016-02-27 19:45:54.418516"], ["created_at", "2015-02-27 19:45:54.418823"], ["updated_at", "2015-02-27 19:45:54.418823"]]
|
|
1918
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1919
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1920
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:45:54.419839"], ["ends_at", "2015-02-27 18:45:54.419884"], ["created_at", "2015-02-27 19:45:54.420262"], ["updated_at", "2015-02-27 19:45:54.420262"]]
|
|
1921
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1922
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1924
|
+
----------------------------------------------------
|
|
1925
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
1926
|
+
----------------------------------------------------
|
|
1927
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1928
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1929
|
+
---------------------------------------------
|
|
1930
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
1931
|
+
---------------------------------------------
|
|
1932
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
1933
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1934
|
+
[1m[36m (87.3ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
1935
|
+
[1m[35m (100.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
1936
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
1937
|
+
[1m[35m (99.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
1938
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
1939
|
+
[1m[35m (78.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
1940
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1941
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
1942
|
+
-----------------------------------------------
|
|
1943
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
1944
|
+
-----------------------------------------------
|
|
1945
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1946
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
1947
|
+
-----------------------------------------------
|
|
1948
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
1949
|
+
-----------------------------------------------
|
|
1950
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
1951
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:46:42.257144"], ["ends_at", "2015-02-28 19:46:42.257376"], ["created_at", "2015-02-27 19:46:42.261531"], ["updated_at", "2015-02-27 19:46:42.261531"]]
|
|
1952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1953
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1954
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:46:42.267347"], ["ends_at", "2015-01-27 19:46:42.267431"], ["created_at", "2015-02-27 19:46:42.268501"], ["updated_at", "2015-02-27 19:46:42.268501"]]
|
|
1955
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1957
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:46:42.269602"], ["ends_at", "2017-02-27 19:46:42.269817"], ["created_at", "2015-02-27 19:46:42.270176"], ["updated_at", "2015-02-27 19:46:42.270176"]]
|
|
1958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1960
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:46:42.271009"], ["ends_at", "2015-03-27 19:46:42.271218"], ["created_at", "2015-02-27 19:46:42.271551"], ["updated_at", "2015-02-27 19:46:42.271551"]]
|
|
1961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1962
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
1963
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
1964
|
+
----------------------------------------
|
|
1965
|
+
ActsAsIntervalTest: test_intervals_after
|
|
1966
|
+
----------------------------------------
|
|
1967
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1968
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:46:42.272996"], ["ends_at", "2015-02-20 19:46:42.273046"], ["created_at", "2015-02-27 19:46:42.273564"], ["updated_at", "2015-02-27 19:46:42.273564"]]
|
|
1969
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1971
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:46:42.274386"], ["ends_at", "2014-02-27 19:46:42.274454"], ["created_at", "2015-02-27 19:46:42.274930"], ["updated_at", "2015-02-27 19:46:42.274930"]]
|
|
1972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1973
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1974
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:46:42.275714"], ["ends_at", "2016-02-27 19:46:42.275760"], ["created_at", "2015-02-27 19:46:42.276226"], ["updated_at", "2015-02-27 19:46:42.276226"]]
|
|
1975
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1977
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:46:42.277031"], ["ends_at", "2016-02-27 19:46:42.277076"], ["created_at", "2015-02-27 19:46:42.277553"], ["updated_at", "2015-02-27 19:46:42.277553"]]
|
|
1978
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1980
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:46:42.278655"], ["ends_at", "2015-02-27 18:46:42.278701"], ["created_at", "2015-02-27 19:46:42.278996"], ["updated_at", "2015-02-27 19:46:42.278996"]]
|
|
1981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1982
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
1983
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
1984
|
+
-----------------------------------------
|
|
1985
|
+
ActsAsIntervalTest: test_intervals_before
|
|
1986
|
+
-----------------------------------------
|
|
1987
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1988
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:46:42.280334"], ["ends_at", "2015-02-20 19:46:42.280382"], ["created_at", "2015-02-27 19:46:42.280702"], ["updated_at", "2015-02-27 19:46:42.280702"]]
|
|
1989
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1990
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1991
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:46:42.281518"], ["ends_at", "2014-02-27 19:46:42.281564"], ["created_at", "2015-02-27 19:46:42.282034"], ["updated_at", "2015-02-27 19:46:42.282034"]]
|
|
1992
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1993
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
1994
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:46:42.282955"], ["ends_at", "2016-02-27 19:46:42.283166"], ["created_at", "2015-02-27 19:46:42.283488"], ["updated_at", "2015-02-27 19:46:42.283488"]]
|
|
1995
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
1996
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
1997
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:46:42.284251"], ["ends_at", "2016-02-27 19:46:42.284297"], ["created_at", "2015-02-27 19:46:42.284757"], ["updated_at", "2015-02-27 19:46:42.284757"]]
|
|
1998
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
1999
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2000
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:46:42.285561"], ["ends_at", "2015-02-27 18:46:42.285605"], ["created_at", "2015-02-27 19:46:42.286064"], ["updated_at", "2015-02-27 19:46:42.286064"]]
|
|
2001
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2002
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2004
|
+
----------------------------------------------------
|
|
2005
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2006
|
+
----------------------------------------------------
|
|
2007
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2009
|
+
---------------------------------------------
|
|
2010
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2011
|
+
---------------------------------------------
|
|
2012
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2013
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2014
|
+
[1m[36m (113.2ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2015
|
+
[1m[35m (68.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2016
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
2017
|
+
[1m[35m (113.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2018
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2019
|
+
[1m[35m (111.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2020
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2021
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2022
|
+
-----------------------------------------------
|
|
2023
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2024
|
+
-----------------------------------------------
|
|
2025
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2026
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2027
|
+
-----------------------------------------------
|
|
2028
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2029
|
+
-----------------------------------------------
|
|
2030
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2031
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:48:12.662022"], ["ends_at", "2015-02-28 19:48:12.662250"], ["created_at", "2015-02-27 19:48:12.666974"], ["updated_at", "2015-02-27 19:48:12.666974"]]
|
|
2032
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2033
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2034
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:48:12.672534"], ["ends_at", "2015-01-27 19:48:12.672626"], ["created_at", "2015-02-27 19:48:12.673683"], ["updated_at", "2015-02-27 19:48:12.673683"]]
|
|
2035
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2036
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2037
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:48:12.674988"], ["ends_at", "2017-02-27 19:48:12.675061"], ["created_at", "2015-02-27 19:48:12.675731"], ["updated_at", "2015-02-27 19:48:12.675731"]]
|
|
2038
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2039
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2040
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:48:12.676834"], ["ends_at", "2015-03-27 19:48:12.676900"], ["created_at", "2015-02-27 19:48:12.677568"], ["updated_at", "2015-02-27 19:48:12.677568"]]
|
|
2041
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2042
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2043
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2044
|
+
----------------------------------------
|
|
2045
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2046
|
+
----------------------------------------
|
|
2047
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2048
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:48:12.679403"], ["ends_at", "2015-02-20 19:48:12.679461"], ["created_at", "2015-02-27 19:48:12.679825"], ["updated_at", "2015-02-27 19:48:12.679825"]]
|
|
2049
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2050
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2051
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:48:12.681226"], ["ends_at", "2014-02-27 19:48:12.681296"], ["created_at", "2015-02-27 19:48:12.681808"], ["updated_at", "2015-02-27 19:48:12.681808"]]
|
|
2052
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2053
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2054
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:48:12.683137"], ["ends_at", "2016-02-27 19:48:12.683195"], ["created_at", "2015-02-27 19:48:12.683590"], ["updated_at", "2015-02-27 19:48:12.683590"]]
|
|
2055
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2056
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2057
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:48:12.684756"], ["ends_at", "2016-02-27 19:48:12.684814"], ["created_at", "2015-02-27 19:48:12.685418"], ["updated_at", "2015-02-27 19:48:12.685418"]]
|
|
2058
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2059
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2060
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:48:12.686600"], ["ends_at", "2015-02-27 18:48:12.686655"], ["created_at", "2015-02-27 19:48:12.687020"], ["updated_at", "2015-02-27 19:48:12.687020"]]
|
|
2061
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2063
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2064
|
+
-----------------------------------------
|
|
2065
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2066
|
+
-----------------------------------------
|
|
2067
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2068
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:48:12.688626"], ["ends_at", "2015-02-20 19:48:12.688685"], ["created_at", "2015-02-27 19:48:12.689273"], ["updated_at", "2015-02-27 19:48:12.689273"]]
|
|
2069
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2070
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2071
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:48:12.690274"], ["ends_at", "2014-02-27 19:48:12.690332"], ["created_at", "2015-02-27 19:48:12.690917"], ["updated_at", "2015-02-27 19:48:12.690917"]]
|
|
2072
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2073
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2074
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:48:12.692073"], ["ends_at", "2016-02-27 19:48:12.692123"], ["created_at", "2015-02-27 19:48:12.692623"], ["updated_at", "2015-02-27 19:48:12.692623"]]
|
|
2075
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2076
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2077
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:48:12.693562"], ["ends_at", "2016-02-27 19:48:12.693620"], ["created_at", "2015-02-27 19:48:12.694190"], ["updated_at", "2015-02-27 19:48:12.694190"]]
|
|
2078
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2079
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2080
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:48:12.695138"], ["ends_at", "2015-02-27 18:48:12.695190"], ["created_at", "2015-02-27 19:48:12.695721"], ["updated_at", "2015-02-27 19:48:12.695721"]]
|
|
2081
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2082
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2083
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2084
|
+
----------------------------------------------------
|
|
2085
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2086
|
+
----------------------------------------------------
|
|
2087
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2088
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2089
|
+
---------------------------------------------
|
|
2090
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2091
|
+
---------------------------------------------
|
|
2092
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2093
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2094
|
+
[1m[36m (120.4ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2095
|
+
[1m[35m (192.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2096
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
2097
|
+
[1m[35m (102.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2098
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2099
|
+
[1m[35m (100.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2100
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2102
|
+
-----------------------------------------------
|
|
2103
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2104
|
+
-----------------------------------------------
|
|
2105
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2107
|
+
-----------------------------------------------
|
|
2108
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2109
|
+
-----------------------------------------------
|
|
2110
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2111
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:48:44.471692"], ["ends_at", "2015-02-28 19:48:44.471839"], ["created_at", "2015-02-27 19:48:44.474883"], ["updated_at", "2015-02-27 19:48:44.474883"]]
|
|
2112
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2113
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2114
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:48:44.478668"], ["ends_at", "2015-01-27 19:48:44.478740"], ["created_at", "2015-02-27 19:48:44.479407"], ["updated_at", "2015-02-27 19:48:44.479407"]]
|
|
2115
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2116
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2117
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:48:44.480425"], ["ends_at", "2017-02-27 19:48:44.480508"], ["created_at", "2015-02-27 19:48:44.481311"], ["updated_at", "2015-02-27 19:48:44.481311"]]
|
|
2118
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2119
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2120
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:48:44.482510"], ["ends_at", "2015-03-27 19:48:44.482588"], ["created_at", "2015-02-27 19:48:44.483284"], ["updated_at", "2015-02-27 19:48:44.483284"]]
|
|
2121
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2122
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2124
|
+
----------------------------------------
|
|
2125
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2126
|
+
----------------------------------------
|
|
2127
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2128
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:48:44.484663"], ["ends_at", "2015-02-20 19:48:44.484716"], ["created_at", "2015-02-27 19:48:44.485233"], ["updated_at", "2015-02-27 19:48:44.485233"]]
|
|
2129
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2130
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2131
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:48:44.486080"], ["ends_at", "2014-02-27 19:48:44.486126"], ["created_at", "2015-02-27 19:48:44.486631"], ["updated_at", "2015-02-27 19:48:44.486631"]]
|
|
2132
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2134
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:48:44.487614"], ["ends_at", "2016-02-27 19:48:44.487660"], ["created_at", "2015-02-27 19:48:44.487974"], ["updated_at", "2015-02-27 19:48:44.487974"]]
|
|
2135
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2136
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2137
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:48:44.489036"], ["ends_at", "2016-02-27 19:48:44.489085"], ["created_at", "2015-02-27 19:48:44.490290"], ["updated_at", "2015-02-27 19:48:44.490290"]]
|
|
2138
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2139
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2140
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:48:44.491157"], ["ends_at", "2015-02-27 18:48:44.491205"], ["created_at", "2015-02-27 19:48:44.491657"], ["updated_at", "2015-02-27 19:48:44.491657"]]
|
|
2141
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2142
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2143
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
2144
|
+
-----------------------------------------
|
|
2145
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2146
|
+
-----------------------------------------
|
|
2147
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2148
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:48:44.493051"], ["ends_at", "2015-02-20 19:48:44.493100"], ["created_at", "2015-02-27 19:48:44.493431"], ["updated_at", "2015-02-27 19:48:44.493431"]]
|
|
2149
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2150
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2151
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:48:44.494501"], ["ends_at", "2014-02-27 19:48:44.494547"], ["created_at", "2015-02-27 19:48:44.494858"], ["updated_at", "2015-02-27 19:48:44.494858"]]
|
|
2152
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2153
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2154
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:48:44.495644"], ["ends_at", "2016-02-27 19:48:44.495841"], ["created_at", "2015-02-27 19:48:44.496154"], ["updated_at", "2015-02-27 19:48:44.496154"]]
|
|
2155
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2157
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:48:44.496924"], ["ends_at", "2016-02-27 19:48:44.496968"], ["created_at", "2015-02-27 19:48:44.497456"], ["updated_at", "2015-02-27 19:48:44.497456"]]
|
|
2158
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2159
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2160
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:48:44.498254"], ["ends_at", "2015-02-27 18:48:44.498296"], ["created_at", "2015-02-27 19:48:44.498616"], ["updated_at", "2015-02-27 19:48:44.498616"]]
|
|
2161
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2162
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2164
|
+
----------------------------------------------------
|
|
2165
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2166
|
+
----------------------------------------------------
|
|
2167
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2169
|
+
---------------------------------------------
|
|
2170
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2171
|
+
---------------------------------------------
|
|
2172
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2173
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2174
|
+
[1m[36m (98.6ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2175
|
+
[1m[35m (101.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2176
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
2177
|
+
[1m[35m (101.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2178
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2179
|
+
[1m[35m (99.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2180
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2181
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2182
|
+
-----------------------------------------------
|
|
2183
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2184
|
+
-----------------------------------------------
|
|
2185
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
2186
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2187
|
+
-----------------------------------------------
|
|
2188
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2189
|
+
-----------------------------------------------
|
|
2190
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
|
2191
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:49:21.264254"], ["ends_at", "2015-02-28 19:49:21.264568"], ["created_at", "2015-02-27 19:49:21.270614"], ["updated_at", "2015-02-27 19:49:21.270614"]]
|
|
2192
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2193
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2194
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:49:21.282346"], ["ends_at", "2015-01-27 19:49:21.282645"], ["created_at", "2015-02-27 19:49:21.285147"], ["updated_at", "2015-02-27 19:49:21.285147"]]
|
|
2195
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2196
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2197
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:49:21.289854"], ["ends_at", "2017-02-27 19:49:21.290182"], ["created_at", "2015-02-27 19:49:21.292371"], ["updated_at", "2015-02-27 19:49:21.292371"]]
|
|
2198
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2199
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2200
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:49:21.296750"], ["ends_at", "2015-03-27 19:49:21.296967"], ["created_at", "2015-02-27 19:49:21.301142"], ["updated_at", "2015-02-27 19:49:21.301142"]]
|
|
2201
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2202
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2204
|
+
----------------------------------------
|
|
2205
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2206
|
+
----------------------------------------
|
|
2207
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2208
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:49:21.306635"], ["ends_at", "2015-02-20 19:49:21.306867"], ["created_at", "2015-02-27 19:49:21.308722"], ["updated_at", "2015-02-27 19:49:21.308722"]]
|
|
2209
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2211
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:49:21.312583"], ["ends_at", "2014-02-27 19:49:21.312789"], ["created_at", "2015-02-27 19:49:21.314603"], ["updated_at", "2015-02-27 19:49:21.314603"]]
|
|
2212
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2213
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2214
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:49:21.318635"], ["ends_at", "2016-02-27 19:49:21.318832"], ["created_at", "2015-02-27 19:49:21.320739"], ["updated_at", "2015-02-27 19:49:21.320739"]]
|
|
2215
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2216
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2217
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:49:21.324841"], ["ends_at", "2016-02-27 19:49:21.325030"], ["created_at", "2015-02-27 19:49:21.327008"], ["updated_at", "2015-02-27 19:49:21.327008"]]
|
|
2218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2219
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2220
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:49:21.330820"], ["ends_at", "2015-02-27 18:49:21.330990"], ["created_at", "2015-02-27 19:49:21.332698"], ["updated_at", "2015-02-27 19:49:21.332698"]]
|
|
2221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2222
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
2223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2224
|
+
-----------------------------------------
|
|
2225
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2226
|
+
-----------------------------------------
|
|
2227
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2228
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:49:21.337976"], ["ends_at", "2015-02-20 19:49:21.338198"], ["created_at", "2015-02-27 19:49:21.340373"], ["updated_at", "2015-02-27 19:49:21.340373"]]
|
|
2229
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2230
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2231
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:49:21.345849"], ["ends_at", "2014-02-27 19:49:21.346053"], ["created_at", "2015-02-27 19:49:21.347997"], ["updated_at", "2015-02-27 19:49:21.347997"]]
|
|
2232
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2233
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2234
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:49:21.351866"], ["ends_at", "2016-02-27 19:49:21.352065"], ["created_at", "2015-02-27 19:49:21.353904"], ["updated_at", "2015-02-27 19:49:21.353904"]]
|
|
2235
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2236
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2237
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:49:21.358077"], ["ends_at", "2016-02-27 19:49:21.358270"], ["created_at", "2015-02-27 19:49:21.360205"], ["updated_at", "2015-02-27 19:49:21.360205"]]
|
|
2238
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2239
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2240
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:49:21.364042"], ["ends_at", "2015-02-27 18:49:21.364238"], ["created_at", "2015-02-27 19:49:21.365930"], ["updated_at", "2015-02-27 19:49:21.365930"]]
|
|
2241
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2242
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2244
|
+
----------------------------------------------------
|
|
2245
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2246
|
+
----------------------------------------------------
|
|
2247
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2249
|
+
---------------------------------------------
|
|
2250
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2251
|
+
---------------------------------------------
|
|
2252
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2253
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2254
|
+
[1m[36m (108.4ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2255
|
+
[1m[35m (95.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2256
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2257
|
+
[1m[35m (99.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2258
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2259
|
+
[1m[35m (103.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2260
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2261
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2262
|
+
-----------------------------------------------
|
|
2263
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2264
|
+
-----------------------------------------------
|
|
2265
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
|
2266
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2267
|
+
-----------------------------------------------
|
|
2268
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2269
|
+
-----------------------------------------------
|
|
2270
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2271
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:53:09.749739"], ["ends_at", "2015-02-28 19:53:09.750493"], ["created_at", "2015-02-27 19:53:09.760554"], ["updated_at", "2015-02-27 19:53:09.760554"]]
|
|
2272
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2273
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2274
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:53:09.778209"], ["ends_at", "2015-01-27 19:53:09.778641"], ["created_at", "2015-02-27 19:53:09.784441"], ["updated_at", "2015-02-27 19:53:09.784441"]]
|
|
2275
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2276
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2277
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:53:09.794745"], ["ends_at", "2017-02-27 19:53:09.795149"], ["created_at", "2015-02-27 19:53:09.798500"], ["updated_at", "2015-02-27 19:53:09.798500"]]
|
|
2278
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2279
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2280
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:53:09.805390"], ["ends_at", "2015-03-27 19:53:09.805733"], ["created_at", "2015-02-27 19:53:09.808844"], ["updated_at", "2015-02-27 19:53:09.808844"]]
|
|
2281
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2282
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
2283
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2284
|
+
----------------------------------------
|
|
2285
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2286
|
+
----------------------------------------
|
|
2287
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2288
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:53:09.818573"], ["ends_at", "2015-02-20 19:53:09.818944"], ["created_at", "2015-02-27 19:53:09.822393"], ["updated_at", "2015-02-27 19:53:09.822393"]]
|
|
2289
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2290
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2291
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:53:09.829409"], ["ends_at", "2014-02-27 19:53:09.829758"], ["created_at", "2015-02-27 19:53:09.833122"], ["updated_at", "2015-02-27 19:53:09.833122"]]
|
|
2292
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2293
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2294
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:53:09.840188"], ["ends_at", "2016-02-27 19:53:09.840576"], ["created_at", "2015-02-27 19:53:09.844094"], ["updated_at", "2015-02-27 19:53:09.844094"]]
|
|
2295
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2296
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2297
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:53:09.851490"], ["ends_at", "2016-02-27 19:53:09.851881"], ["created_at", "2015-02-27 19:53:09.855415"], ["updated_at", "2015-02-27 19:53:09.855415"]]
|
|
2298
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2299
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2300
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:53:09.862345"], ["ends_at", "2015-02-27 18:53:09.862674"], ["created_at", "2015-02-27 19:53:09.865941"], ["updated_at", "2015-02-27 19:53:09.865941"]]
|
|
2301
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2302
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
2303
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
2304
|
+
-----------------------------------------
|
|
2305
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2306
|
+
-----------------------------------------
|
|
2307
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2308
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:53:09.875192"], ["ends_at", "2015-02-20 19:53:09.875526"], ["created_at", "2015-02-27 19:53:09.878962"], ["updated_at", "2015-02-27 19:53:09.878962"]]
|
|
2309
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2310
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2311
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:53:09.886053"], ["ends_at", "2014-02-27 19:53:09.886375"], ["created_at", "2015-02-27 19:53:09.889744"], ["updated_at", "2015-02-27 19:53:09.889744"]]
|
|
2312
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2313
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2314
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:53:09.896689"], ["ends_at", "2016-02-27 19:53:09.897023"], ["created_at", "2015-02-27 19:53:09.900443"], ["updated_at", "2015-02-27 19:53:09.900443"]]
|
|
2315
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2316
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2317
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:53:09.907492"], ["ends_at", "2016-02-27 19:53:09.907818"], ["created_at", "2015-02-27 19:53:09.911164"], ["updated_at", "2015-02-27 19:53:09.911164"]]
|
|
2318
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2319
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2320
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:53:09.918239"], ["ends_at", "2015-02-27 18:53:09.918577"], ["created_at", "2015-02-27 19:53:09.921833"], ["updated_at", "2015-02-27 19:53:09.921833"]]
|
|
2321
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2322
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2323
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2324
|
+
----------------------------------------------------
|
|
2325
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2326
|
+
----------------------------------------------------
|
|
2327
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2328
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2329
|
+
---------------------------------------------
|
|
2330
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2331
|
+
---------------------------------------------
|
|
2332
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2333
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2334
|
+
[1m[36m (106.8ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2335
|
+
[1m[35m (100.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2336
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2337
|
+
[1m[35m (99.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2338
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2339
|
+
[1m[35m (99.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2340
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2341
|
+
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
|
2342
|
+
-----------------------------------------------
|
|
2343
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2344
|
+
-----------------------------------------------
|
|
2345
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2346
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
|
2347
|
+
-----------------------------------------------
|
|
2348
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2349
|
+
-----------------------------------------------
|
|
2350
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2351
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:53:40.312105"], ["ends_at", "2015-02-28 19:53:40.312546"], ["created_at", "2015-02-27 19:53:40.317690"], ["updated_at", "2015-02-27 19:53:40.317690"]]
|
|
2352
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2353
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2354
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:53:40.328858"], ["ends_at", "2015-01-27 19:53:40.329303"], ["created_at", "2015-02-27 19:53:40.332016"], ["updated_at", "2015-02-27 19:53:40.332016"]]
|
|
2355
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2356
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2357
|
+
[1m[36mSQL (3.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:53:40.336412"], ["ends_at", "2017-02-27 19:53:40.336597"], ["created_at", "2015-02-27 19:53:40.338673"], ["updated_at", "2015-02-27 19:53:40.338673"]]
|
|
2358
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2359
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2360
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:53:40.345649"], ["ends_at", "2015-03-27 19:53:40.345866"], ["created_at", "2015-02-27 19:53:40.347714"], ["updated_at", "2015-02-27 19:53:40.347714"]]
|
|
2361
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2362
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2363
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2364
|
+
----------------------------------------
|
|
2365
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2366
|
+
----------------------------------------
|
|
2367
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2368
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:53:40.352874"], ["ends_at", "2015-02-20 19:53:40.353057"], ["created_at", "2015-02-27 19:53:40.354952"], ["updated_at", "2015-02-27 19:53:40.354952"]]
|
|
2369
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2370
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2371
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:53:40.359091"], ["ends_at", "2014-02-27 19:53:40.359283"], ["created_at", "2015-02-27 19:53:40.361089"], ["updated_at", "2015-02-27 19:53:40.361089"]]
|
|
2372
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2373
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2374
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:53:40.364986"], ["ends_at", "2016-02-27 19:53:40.365166"], ["created_at", "2015-02-27 19:53:40.367029"], ["updated_at", "2015-02-27 19:53:40.367029"]]
|
|
2375
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2376
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2377
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:53:40.370710"], ["ends_at", "2016-02-27 19:53:40.370889"], ["created_at", "2015-02-27 19:53:40.372850"], ["updated_at", "2015-02-27 19:53:40.372850"]]
|
|
2378
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2379
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2380
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:53:40.376557"], ["ends_at", "2015-02-27 18:53:40.376730"], ["created_at", "2015-02-27 19:53:40.378395"], ["updated_at", "2015-02-27 19:53:40.378395"]]
|
|
2381
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2382
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
2383
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
2384
|
+
-----------------------------------------
|
|
2385
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2386
|
+
-----------------------------------------
|
|
2387
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2388
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:53:40.383569"], ["ends_at", "2015-02-20 19:53:40.383776"], ["created_at", "2015-02-27 19:53:40.385610"], ["updated_at", "2015-02-27 19:53:40.385610"]]
|
|
2389
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2390
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2391
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:53:40.389606"], ["ends_at", "2014-02-27 19:53:40.389810"], ["created_at", "2015-02-27 19:53:40.391767"], ["updated_at", "2015-02-27 19:53:40.391767"]]
|
|
2392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2393
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2394
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:53:40.395637"], ["ends_at", "2016-02-27 19:53:40.395845"], ["created_at", "2015-02-27 19:53:40.397670"], ["updated_at", "2015-02-27 19:53:40.397670"]]
|
|
2395
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2396
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2397
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:53:40.401359"], ["ends_at", "2016-02-27 19:53:40.401539"], ["created_at", "2015-02-27 19:53:40.403409"], ["updated_at", "2015-02-27 19:53:40.403409"]]
|
|
2398
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2399
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2400
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:53:40.407214"], ["ends_at", "2015-02-27 18:53:40.407384"], ["created_at", "2015-02-27 19:53:40.409086"], ["updated_at", "2015-02-27 19:53:40.409086"]]
|
|
2401
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2402
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2404
|
+
----------------------------------------------------
|
|
2405
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2406
|
+
----------------------------------------------------
|
|
2407
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2408
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2409
|
+
---------------------------------------------
|
|
2410
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2411
|
+
---------------------------------------------
|
|
2412
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2413
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2414
|
+
[1m[36m (111.6ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2415
|
+
[1m[35m (80.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2416
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2417
|
+
[1m[35m (77.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2418
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2419
|
+
[1m[35m (99.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2420
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2422
|
+
-----------------------------------------------
|
|
2423
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2424
|
+
-----------------------------------------------
|
|
2425
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2426
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2427
|
+
-----------------------------------------------
|
|
2428
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2429
|
+
-----------------------------------------------
|
|
2430
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2431
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:54:27.453981"], ["ends_at", "2015-02-28 19:54:27.454671"], ["created_at", "2015-02-27 19:54:27.458243"], ["updated_at", "2015-02-27 19:54:27.458243"]]
|
|
2432
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2434
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:54:27.462088"], ["ends_at", "2015-01-27 19:54:27.462160"], ["created_at", "2015-02-27 19:54:27.463060"], ["updated_at", "2015-02-27 19:54:27.463060"]]
|
|
2435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2436
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2437
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:54:27.463956"], ["ends_at", "2017-02-27 19:54:27.464004"], ["created_at", "2015-02-27 19:54:27.464476"], ["updated_at", "2015-02-27 19:54:27.464476"]]
|
|
2438
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2439
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2440
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:54:27.465241"], ["ends_at", "2015-03-27 19:54:27.465285"], ["created_at", "2015-02-27 19:54:27.465754"], ["updated_at", "2015-02-27 19:54:27.465754"]]
|
|
2441
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2442
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2443
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2444
|
+
----------------------------------------
|
|
2445
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2446
|
+
----------------------------------------
|
|
2447
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2448
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:54:27.467049"], ["ends_at", "2015-02-20 19:54:27.467097"], ["created_at", "2015-02-27 19:54:27.467599"], ["updated_at", "2015-02-27 19:54:27.467599"]]
|
|
2449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2450
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2451
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:54:27.468442"], ["ends_at", "2014-02-27 19:54:27.468487"], ["created_at", "2015-02-27 19:54:27.468980"], ["updated_at", "2015-02-27 19:54:27.468980"]]
|
|
2452
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2453
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2454
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:54:27.470106"], ["ends_at", "2016-02-27 19:54:27.470158"], ["created_at", "2015-02-27 19:54:27.470582"], ["updated_at", "2015-02-27 19:54:27.470582"]]
|
|
2455
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2456
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2457
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:54:27.471473"], ["ends_at", "2016-02-27 19:54:27.471838"], ["created_at", "2015-02-27 19:54:27.472315"], ["updated_at", "2015-02-27 19:54:27.472315"]]
|
|
2458
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2459
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2460
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:54:27.473547"], ["ends_at", "2015-02-27 18:54:27.473617"], ["created_at", "2015-02-27 19:54:27.474321"], ["updated_at", "2015-02-27 19:54:27.474321"]]
|
|
2461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2462
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2463
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2464
|
+
-----------------------------------------
|
|
2465
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2466
|
+
-----------------------------------------
|
|
2467
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2468
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:54:27.476223"], ["ends_at", "2015-02-20 19:54:27.476278"], ["created_at", "2015-02-27 19:54:27.476632"], ["updated_at", "2015-02-27 19:54:27.476632"]]
|
|
2469
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2470
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2471
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:54:27.477657"], ["ends_at", "2014-02-27 19:54:27.477702"], ["created_at", "2015-02-27 19:54:27.478188"], ["updated_at", "2015-02-27 19:54:27.478188"]]
|
|
2472
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2473
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2474
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:54:27.479047"], ["ends_at", "2016-02-27 19:54:27.479092"], ["created_at", "2015-02-27 19:54:27.479590"], ["updated_at", "2015-02-27 19:54:27.479590"]]
|
|
2475
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2476
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2477
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:54:27.480349"], ["ends_at", "2016-02-27 19:54:27.480405"], ["created_at", "2015-02-27 19:54:27.480717"], ["updated_at", "2015-02-27 19:54:27.480717"]]
|
|
2478
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2479
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2480
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:54:27.481478"], ["ends_at", "2015-02-27 18:54:27.481682"], ["created_at", "2015-02-27 19:54:27.481970"], ["updated_at", "2015-02-27 19:54:27.481970"]]
|
|
2481
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2482
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2484
|
+
----------------------------------------------------
|
|
2485
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2486
|
+
----------------------------------------------------
|
|
2487
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2488
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2489
|
+
---------------------------------------------
|
|
2490
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2491
|
+
---------------------------------------------
|
|
2492
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2493
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2494
|
+
[1m[36m (2444.9ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2495
|
+
[1m[35m (197.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2496
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2497
|
+
[1m[35m (210.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2498
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2499
|
+
[1m[35m (121.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2500
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2502
|
+
-----------------------------------------------
|
|
2503
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2504
|
+
-----------------------------------------------
|
|
2505
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2507
|
+
-----------------------------------------------
|
|
2508
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2509
|
+
-----------------------------------------------
|
|
2510
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2511
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:54:57.873088"], ["ends_at", "2015-02-28 19:54:57.873227"], ["created_at", "2015-02-27 19:54:57.875914"], ["updated_at", "2015-02-27 19:54:57.875914"]]
|
|
2512
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2513
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2514
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:54:57.879640"], ["ends_at", "2015-01-27 19:54:57.879870"], ["created_at", "2015-02-27 19:54:57.880327"], ["updated_at", "2015-02-27 19:54:57.880327"]]
|
|
2515
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2516
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2517
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:54:57.881472"], ["ends_at", "2017-02-27 19:54:57.881525"], ["created_at", "2015-02-27 19:54:57.881945"], ["updated_at", "2015-02-27 19:54:57.881945"]]
|
|
2518
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2520
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:54:57.883293"], ["ends_at", "2015-03-27 19:54:57.883340"], ["created_at", "2015-02-27 19:54:57.883660"], ["updated_at", "2015-02-27 19:54:57.883660"]]
|
|
2521
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2522
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2523
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2524
|
+
----------------------------------------
|
|
2525
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2526
|
+
----------------------------------------
|
|
2527
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2528
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:54:57.885119"], ["ends_at", "2015-02-20 19:54:57.885169"], ["created_at", "2015-02-27 19:54:57.885662"], ["updated_at", "2015-02-27 19:54:57.885662"]]
|
|
2529
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2531
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:54:57.886522"], ["ends_at", "2014-02-27 19:54:57.886570"], ["created_at", "2015-02-27 19:54:57.887071"], ["updated_at", "2015-02-27 19:54:57.887071"]]
|
|
2532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2533
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2534
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:54:57.888051"], ["ends_at", "2016-02-27 19:54:57.888121"], ["created_at", "2015-02-27 19:54:57.888707"], ["updated_at", "2015-02-27 19:54:57.888707"]]
|
|
2535
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2536
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2537
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:54:57.889648"], ["ends_at", "2016-02-27 19:54:57.889705"], ["created_at", "2015-02-27 19:54:57.890282"], ["updated_at", "2015-02-27 19:54:57.890282"]]
|
|
2538
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2539
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2540
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:54:57.891334"], ["ends_at", "2015-02-27 18:54:57.891385"], ["created_at", "2015-02-27 19:54:57.891984"], ["updated_at", "2015-02-27 19:54:57.891984"]]
|
|
2541
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2542
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2543
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2544
|
+
-----------------------------------------
|
|
2545
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2546
|
+
-----------------------------------------
|
|
2547
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2548
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:54:57.893310"], ["ends_at", "2015-02-20 19:54:57.893361"], ["created_at", "2015-02-27 19:54:57.893911"], ["updated_at", "2015-02-27 19:54:57.893911"]]
|
|
2549
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2550
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2551
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:54:57.894919"], ["ends_at", "2014-02-27 19:54:57.894965"], ["created_at", "2015-02-27 19:54:57.895490"], ["updated_at", "2015-02-27 19:54:57.895490"]]
|
|
2552
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2554
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:54:57.896501"], ["ends_at", "2016-02-27 19:54:57.896550"], ["created_at", "2015-02-27 19:54:57.896883"], ["updated_at", "2015-02-27 19:54:57.896883"]]
|
|
2555
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2556
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2557
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:54:57.898096"], ["ends_at", "2016-02-27 19:54:57.898158"], ["created_at", "2015-02-27 19:54:57.898613"], ["updated_at", "2015-02-27 19:54:57.898613"]]
|
|
2558
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2559
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2560
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:54:57.899601"], ["ends_at", "2015-02-27 18:54:57.899645"], ["created_at", "2015-02-27 19:54:57.899938"], ["updated_at", "2015-02-27 19:54:57.899938"]]
|
|
2561
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2562
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2563
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2564
|
+
----------------------------------------------------
|
|
2565
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2566
|
+
----------------------------------------------------
|
|
2567
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2568
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2569
|
+
---------------------------------------------
|
|
2570
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2571
|
+
---------------------------------------------
|
|
2572
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2573
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2574
|
+
[1m[36m (93.4ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2575
|
+
[1m[35m (68.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2576
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2577
|
+
[1m[35m (98.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2578
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2579
|
+
[1m[35m (99.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2580
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2581
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2582
|
+
-----------------------------------------------
|
|
2583
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2584
|
+
-----------------------------------------------
|
|
2585
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
2586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2587
|
+
-----------------------------------------------
|
|
2588
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2589
|
+
-----------------------------------------------
|
|
2590
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2591
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:56:28.566031"], ["ends_at", "2015-02-28 19:56:28.566178"], ["created_at", "2015-02-27 19:56:28.569275"], ["updated_at", "2015-02-27 19:56:28.569275"]]
|
|
2592
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2593
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2594
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:56:28.573852"], ["ends_at", "2015-01-27 19:56:28.573933"], ["created_at", "2015-02-27 19:56:28.574341"], ["updated_at", "2015-02-27 19:56:28.574341"]]
|
|
2595
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2596
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2597
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:56:28.575278"], ["ends_at", "2017-02-27 19:56:28.575327"], ["created_at", "2015-02-27 19:56:28.575815"], ["updated_at", "2015-02-27 19:56:28.575815"]]
|
|
2598
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2599
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2600
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:56:28.576623"], ["ends_at", "2015-03-27 19:56:28.576670"], ["created_at", "2015-02-27 19:56:28.577154"], ["updated_at", "2015-02-27 19:56:28.577154"]]
|
|
2601
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2602
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2603
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2604
|
+
----------------------------------------
|
|
2605
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2606
|
+
----------------------------------------
|
|
2607
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2608
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:56:28.578599"], ["ends_at", "2015-02-20 19:56:28.578648"], ["created_at", "2015-02-27 19:56:28.578973"], ["updated_at", "2015-02-27 19:56:28.578973"]]
|
|
2609
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2610
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2611
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:56:28.580021"], ["ends_at", "2014-02-27 19:56:28.580072"], ["created_at", "2015-02-27 19:56:28.580604"], ["updated_at", "2015-02-27 19:56:28.580604"]]
|
|
2612
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2613
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2614
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:56:28.581691"], ["ends_at", "2016-02-27 19:56:28.581757"], ["created_at", "2015-02-27 19:56:28.582646"], ["updated_at", "2015-02-27 19:56:28.582646"]]
|
|
2615
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2616
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2617
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:56:28.583891"], ["ends_at", "2016-02-27 19:56:28.583968"], ["created_at", "2015-02-27 19:56:28.584703"], ["updated_at", "2015-02-27 19:56:28.584703"]]
|
|
2618
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2619
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2620
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:56:28.585702"], ["ends_at", "2015-02-27 18:56:28.585750"], ["created_at", "2015-02-27 19:56:28.586210"], ["updated_at", "2015-02-27 19:56:28.586210"]]
|
|
2621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2622
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2623
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2624
|
+
-----------------------------------------
|
|
2625
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2626
|
+
-----------------------------------------
|
|
2627
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2628
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:56:28.587779"], ["ends_at", "2015-02-20 19:56:28.587860"], ["created_at", "2015-02-27 19:56:28.588336"], ["updated_at", "2015-02-27 19:56:28.588336"]]
|
|
2629
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2630
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2631
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:56:28.589354"], ["ends_at", "2014-02-27 19:56:28.589612"], ["created_at", "2015-02-27 19:56:28.589926"], ["updated_at", "2015-02-27 19:56:28.589926"]]
|
|
2632
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2633
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2634
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:56:28.590932"], ["ends_at", "2016-02-27 19:56:28.590980"], ["created_at", "2015-02-27 19:56:28.591292"], ["updated_at", "2015-02-27 19:56:28.591292"]]
|
|
2635
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2636
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2637
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:56:28.592063"], ["ends_at", "2016-02-27 19:56:28.592109"], ["created_at", "2015-02-27 19:56:28.592590"], ["updated_at", "2015-02-27 19:56:28.592590"]]
|
|
2638
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2639
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2640
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:56:28.593384"], ["ends_at", "2015-02-27 18:56:28.593428"], ["created_at", "2015-02-27 19:56:28.593715"], ["updated_at", "2015-02-27 19:56:28.593715"]]
|
|
2641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2642
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2643
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2644
|
+
----------------------------------------------------
|
|
2645
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2646
|
+
----------------------------------------------------
|
|
2647
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2648
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2649
|
+
---------------------------------------------
|
|
2650
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2651
|
+
---------------------------------------------
|
|
2652
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2653
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2654
|
+
[1m[36m (107.7ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2655
|
+
[1m[35m (101.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2656
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2657
|
+
[1m[35m (101.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2658
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2659
|
+
[1m[35m (97.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2660
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2661
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2662
|
+
-----------------------------------------------
|
|
2663
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2664
|
+
-----------------------------------------------
|
|
2665
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2666
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2667
|
+
-----------------------------------------------
|
|
2668
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2669
|
+
-----------------------------------------------
|
|
2670
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2671
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:57:03.268094"], ["ends_at", "2015-02-28 19:57:03.268291"], ["created_at", "2015-02-27 19:57:03.272952"], ["updated_at", "2015-02-27 19:57:03.272952"]]
|
|
2672
|
+
[1m[35m (0.6ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2673
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2674
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:57:03.279016"], ["ends_at", "2015-01-27 19:57:03.279111"], ["created_at", "2015-02-27 19:57:03.279868"], ["updated_at", "2015-02-27 19:57:03.279868"]]
|
|
2675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2676
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2677
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:57:03.281568"], ["ends_at", "2017-02-27 19:57:03.281859"], ["created_at", "2015-02-27 19:57:03.282295"], ["updated_at", "2015-02-27 19:57:03.282295"]]
|
|
2678
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2679
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2680
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:57:03.283342"], ["ends_at", "2015-03-27 19:57:03.283407"], ["created_at", "2015-02-27 19:57:03.284037"], ["updated_at", "2015-02-27 19:57:03.284037"]]
|
|
2681
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2682
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2683
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2684
|
+
----------------------------------------
|
|
2685
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2686
|
+
----------------------------------------
|
|
2687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2688
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:57:03.285567"], ["ends_at", "2015-02-20 19:57:03.285618"], ["created_at", "2015-02-27 19:57:03.285947"], ["updated_at", "2015-02-27 19:57:03.285947"]]
|
|
2689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2690
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2691
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:57:03.287007"], ["ends_at", "2014-02-27 19:57:03.287054"], ["created_at", "2015-02-27 19:57:03.287369"], ["updated_at", "2015-02-27 19:57:03.287369"]]
|
|
2692
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2694
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:57:03.288324"], ["ends_at", "2016-02-27 19:57:03.288370"], ["created_at", "2015-02-27 19:57:03.288863"], ["updated_at", "2015-02-27 19:57:03.288863"]]
|
|
2695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2696
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2697
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:57:03.289674"], ["ends_at", "2016-02-27 19:57:03.289719"], ["created_at", "2015-02-27 19:57:03.290227"], ["updated_at", "2015-02-27 19:57:03.290227"]]
|
|
2698
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2699
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2700
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:57:03.291063"], ["ends_at", "2015-02-27 18:57:03.291106"], ["created_at", "2015-02-27 19:57:03.291751"], ["updated_at", "2015-02-27 19:57:03.291751"]]
|
|
2701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2702
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
2703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2704
|
+
-----------------------------------------
|
|
2705
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2706
|
+
-----------------------------------------
|
|
2707
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2708
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:57:03.293066"], ["ends_at", "2015-02-20 19:57:03.293114"], ["created_at", "2015-02-27 19:57:03.293597"], ["updated_at", "2015-02-27 19:57:03.293597"]]
|
|
2709
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2710
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2711
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:57:03.294397"], ["ends_at", "2014-02-27 19:57:03.294463"], ["created_at", "2015-02-27 19:57:03.295026"], ["updated_at", "2015-02-27 19:57:03.295026"]]
|
|
2712
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2713
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2714
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:57:03.295827"], ["ends_at", "2016-02-27 19:57:03.295873"], ["created_at", "2015-02-27 19:57:03.296198"], ["updated_at", "2015-02-27 19:57:03.296198"]]
|
|
2715
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2716
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2717
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:57:03.297182"], ["ends_at", "2016-02-27 19:57:03.297227"], ["created_at", "2015-02-27 19:57:03.297542"], ["updated_at", "2015-02-27 19:57:03.297542"]]
|
|
2718
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2719
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2720
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:57:03.298451"], ["ends_at", "2015-02-27 18:57:03.298496"], ["created_at", "2015-02-27 19:57:03.298977"], ["updated_at", "2015-02-27 19:57:03.298977"]]
|
|
2721
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2722
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2724
|
+
----------------------------------------------------
|
|
2725
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2726
|
+
----------------------------------------------------
|
|
2727
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2728
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2729
|
+
---------------------------------------------
|
|
2730
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2731
|
+
---------------------------------------------
|
|
2732
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2733
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2734
|
+
[1m[36m (213.5ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2735
|
+
[1m[35m (217.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2736
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2737
|
+
[1m[35m (87.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2738
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2739
|
+
[1m[35m (79.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2740
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2741
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2742
|
+
-----------------------------------------------
|
|
2743
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2744
|
+
-----------------------------------------------
|
|
2745
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2747
|
+
-----------------------------------------------
|
|
2748
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2749
|
+
-----------------------------------------------
|
|
2750
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2751
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:57:46.550977"], ["ends_at", "2015-02-28 19:57:46.551168"], ["created_at", "2015-02-27 19:57:46.555038"], ["updated_at", "2015-02-27 19:57:46.555038"]]
|
|
2752
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2753
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2754
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:57:46.560387"], ["ends_at", "2015-01-27 19:57:46.560481"], ["created_at", "2015-02-27 19:57:46.561097"], ["updated_at", "2015-02-27 19:57:46.561097"]]
|
|
2755
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2756
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2757
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:57:46.562462"], ["ends_at", "2017-02-27 19:57:46.562541"], ["created_at", "2015-02-27 19:57:46.563236"], ["updated_at", "2015-02-27 19:57:46.563236"]]
|
|
2758
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2759
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2760
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:57:46.564768"], ["ends_at", "2015-03-27 19:57:46.564830"], ["created_at", "2015-02-27 19:57:46.565496"], ["updated_at", "2015-02-27 19:57:46.565496"]]
|
|
2761
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2762
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2763
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2764
|
+
----------------------------------------
|
|
2765
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2766
|
+
----------------------------------------
|
|
2767
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2768
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:57:46.567535"], ["ends_at", "2015-02-20 19:57:46.567606"], ["created_at", "2015-02-27 19:57:46.568067"], ["updated_at", "2015-02-27 19:57:46.568067"]]
|
|
2769
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2770
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2771
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:57:46.569391"], ["ends_at", "2014-02-27 19:57:46.569457"], ["created_at", "2015-02-27 19:57:46.570082"], ["updated_at", "2015-02-27 19:57:46.570082"]]
|
|
2772
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2774
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:57:46.571140"], ["ends_at", "2016-02-27 19:57:46.571197"], ["created_at", "2015-02-27 19:57:46.571784"], ["updated_at", "2015-02-27 19:57:46.571784"]]
|
|
2775
|
+
[1m[35m (0.4ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2776
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2777
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:57:46.573114"], ["ends_at", "2016-02-27 19:57:46.573174"], ["created_at", "2015-02-27 19:57:46.573574"], ["updated_at", "2015-02-27 19:57:46.573574"]]
|
|
2778
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2779
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2780
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:57:46.574552"], ["ends_at", "2015-02-27 18:57:46.574786"], ["created_at", "2015-02-27 19:57:46.575139"], ["updated_at", "2015-02-27 19:57:46.575139"]]
|
|
2781
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2782
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2783
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2784
|
+
-----------------------------------------
|
|
2785
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2786
|
+
-----------------------------------------
|
|
2787
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2788
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:57:46.576683"], ["ends_at", "2015-02-20 19:57:46.576740"], ["created_at", "2015-02-27 19:57:46.577379"], ["updated_at", "2015-02-27 19:57:46.577379"]]
|
|
2789
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2790
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2791
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:57:46.578402"], ["ends_at", "2014-02-27 19:57:46.578510"], ["created_at", "2015-02-27 19:57:46.579209"], ["updated_at", "2015-02-27 19:57:46.579209"]]
|
|
2792
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2793
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2794
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:57:46.580300"], ["ends_at", "2016-02-27 19:57:46.580358"], ["created_at", "2015-02-27 19:57:46.580736"], ["updated_at", "2015-02-27 19:57:46.580736"]]
|
|
2795
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2796
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2797
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:57:46.581845"], ["ends_at", "2016-02-27 19:57:46.581902"], ["created_at", "2015-02-27 19:57:46.582287"], ["updated_at", "2015-02-27 19:57:46.582287"]]
|
|
2798
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2799
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2800
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:57:46.583231"], ["ends_at", "2015-02-27 18:57:46.583283"], ["created_at", "2015-02-27 19:57:46.583809"], ["updated_at", "2015-02-27 19:57:46.583809"]]
|
|
2801
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2802
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2803
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2804
|
+
----------------------------------------------------
|
|
2805
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2806
|
+
----------------------------------------------------
|
|
2807
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2808
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2809
|
+
---------------------------------------------
|
|
2810
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2811
|
+
---------------------------------------------
|
|
2812
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2813
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2814
|
+
[1m[36m (113.3ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2815
|
+
[1m[35m (103.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2816
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2817
|
+
[1m[35m (121.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2818
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2819
|
+
[1m[35m (122.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2820
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2821
|
+
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
|
2822
|
+
-----------------------------------------------
|
|
2823
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2824
|
+
-----------------------------------------------
|
|
2825
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
2826
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2827
|
+
-----------------------------------------------
|
|
2828
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2829
|
+
-----------------------------------------------
|
|
2830
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2831
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:58:49.711179"], ["ends_at", "2015-02-28 19:58:49.711847"], ["created_at", "2015-02-27 19:58:49.715056"], ["updated_at", "2015-02-27 19:58:49.715056"]]
|
|
2832
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2833
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2834
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:58:49.718771"], ["ends_at", "2015-01-27 19:58:49.718841"], ["created_at", "2015-02-27 19:58:49.719232"], ["updated_at", "2015-02-27 19:58:49.719232"]]
|
|
2835
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2837
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:58:49.720353"], ["ends_at", "2017-02-27 19:58:49.720838"], ["created_at", "2015-02-27 19:58:49.721202"], ["updated_at", "2015-02-27 19:58:49.721202"]]
|
|
2838
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2839
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2840
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:58:49.722353"], ["ends_at", "2015-03-27 19:58:49.722902"], ["created_at", "2015-02-27 19:58:49.723441"], ["updated_at", "2015-02-27 19:58:49.723441"]]
|
|
2841
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2842
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2844
|
+
----------------------------------------
|
|
2845
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2846
|
+
----------------------------------------
|
|
2847
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2848
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:58:49.725637"], ["ends_at", "2015-02-20 19:58:49.725740"], ["created_at", "2015-02-27 19:58:49.726539"], ["updated_at", "2015-02-27 19:58:49.726539"]]
|
|
2849
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2850
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2851
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:58:49.727681"], ["ends_at", "2014-02-27 19:58:49.727742"], ["created_at", "2015-02-27 19:58:49.728270"], ["updated_at", "2015-02-27 19:58:49.728270"]]
|
|
2852
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2853
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2854
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:58:49.729168"], ["ends_at", "2016-02-27 19:58:49.729230"], ["created_at", "2015-02-27 19:58:49.729753"], ["updated_at", "2015-02-27 19:58:49.729753"]]
|
|
2855
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2856
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2857
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:58:49.731115"], ["ends_at", "2016-02-27 19:58:49.731182"], ["created_at", "2015-02-27 19:58:49.731707"], ["updated_at", "2015-02-27 19:58:49.731707"]]
|
|
2858
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2859
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2860
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:58:49.732685"], ["ends_at", "2015-02-27 18:58:49.732732"], ["created_at", "2015-02-27 19:58:49.733029"], ["updated_at", "2015-02-27 19:58:49.733029"]]
|
|
2861
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2862
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2863
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2864
|
+
-----------------------------------------
|
|
2865
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2866
|
+
-----------------------------------------
|
|
2867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2868
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:58:49.734477"], ["ends_at", "2015-02-20 19:58:49.734524"], ["created_at", "2015-02-27 19:58:49.734845"], ["updated_at", "2015-02-27 19:58:49.734845"]]
|
|
2869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2870
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2871
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:58:49.736038"], ["ends_at", "2014-02-27 19:58:49.736084"], ["created_at", "2015-02-27 19:58:49.736405"], ["updated_at", "2015-02-27 19:58:49.736405"]]
|
|
2872
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2873
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2874
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:58:49.737375"], ["ends_at", "2016-02-27 19:58:49.737422"], ["created_at", "2015-02-27 19:58:49.737735"], ["updated_at", "2015-02-27 19:58:49.737735"]]
|
|
2875
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2876
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2877
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:58:49.738689"], ["ends_at", "2016-02-27 19:58:49.738734"], ["created_at", "2015-02-27 19:58:49.739045"], ["updated_at", "2015-02-27 19:58:49.739045"]]
|
|
2878
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2880
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:58:49.740007"], ["ends_at", "2015-02-27 18:58:49.740049"], ["created_at", "2015-02-27 19:58:49.740334"], ["updated_at", "2015-02-27 19:58:49.740334"]]
|
|
2881
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2882
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2883
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2884
|
+
----------------------------------------------------
|
|
2885
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2886
|
+
----------------------------------------------------
|
|
2887
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2888
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2889
|
+
---------------------------------------------
|
|
2890
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2891
|
+
---------------------------------------------
|
|
2892
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2893
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2894
|
+
[1m[36m (149.3ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2895
|
+
[1m[35m (123.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2896
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
2897
|
+
[1m[35m (98.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2898
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2899
|
+
[1m[35m (99.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2900
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2901
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2902
|
+
-----------------------------------------------
|
|
2903
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2904
|
+
-----------------------------------------------
|
|
2905
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2906
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2907
|
+
-----------------------------------------------
|
|
2908
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2909
|
+
-----------------------------------------------
|
|
2910
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2911
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:58:58.135701"], ["ends_at", "2015-02-28 19:58:58.135943"], ["created_at", "2015-02-27 19:58:58.141416"], ["updated_at", "2015-02-27 19:58:58.141416"]]
|
|
2912
|
+
[1m[35m (0.5ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2913
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2914
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:58:58.148511"], ["ends_at", "2015-01-27 19:58:58.148590"], ["created_at", "2015-02-27 19:58:58.149011"], ["updated_at", "2015-02-27 19:58:58.149011"]]
|
|
2915
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2916
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2917
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 19:58:58.150340"], ["ends_at", "2017-02-27 19:58:58.150390"], ["created_at", "2015-02-27 19:58:58.150890"], ["updated_at", "2015-02-27 19:58:58.150890"]]
|
|
2918
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2919
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2920
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:58:58.151692"], ["ends_at", "2015-03-27 19:58:58.151737"], ["created_at", "2015-02-27 19:58:58.152226"], ["updated_at", "2015-02-27 19:58:58.152226"]]
|
|
2921
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2922
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2924
|
+
----------------------------------------
|
|
2925
|
+
ActsAsIntervalTest: test_intervals_after
|
|
2926
|
+
----------------------------------------
|
|
2927
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2928
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 19:58:58.153485"], ["ends_at", "2015-02-20 19:58:58.153536"], ["created_at", "2015-02-27 19:58:58.154062"], ["updated_at", "2015-02-27 19:58:58.154062"]]
|
|
2929
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2930
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2931
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 19:58:58.155109"], ["ends_at", "2014-02-27 19:58:58.155322"], ["created_at", "2015-02-27 19:58:58.155649"], ["updated_at", "2015-02-27 19:58:58.155649"]]
|
|
2932
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2933
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2934
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 19:58:58.156624"], ["ends_at", "2016-02-27 19:58:58.156674"], ["created_at", "2015-02-27 19:58:58.156996"], ["updated_at", "2015-02-27 19:58:58.156996"]]
|
|
2935
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2936
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2937
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 19:58:58.158070"], ["ends_at", "2016-02-27 19:58:58.158121"], ["created_at", "2015-02-27 19:58:58.158929"], ["updated_at", "2015-02-27 19:58:58.158929"]]
|
|
2938
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2939
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2940
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 19:58:58.160043"], ["ends_at", "2015-02-27 18:58:58.160091"], ["created_at", "2015-02-27 19:58:58.160553"], ["updated_at", "2015-02-27 19:58:58.160553"]]
|
|
2941
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2942
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
2943
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
2944
|
+
-----------------------------------------
|
|
2945
|
+
ActsAsIntervalTest: test_intervals_before
|
|
2946
|
+
-----------------------------------------
|
|
2947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2948
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 19:58:58.161762"], ["ends_at", "2015-02-20 19:58:58.161811"], ["created_at", "2015-02-27 19:58:58.162305"], ["updated_at", "2015-02-27 19:58:58.162305"]]
|
|
2949
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2951
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 19:58:58.163172"], ["ends_at", "2014-02-27 19:58:58.163220"], ["created_at", "2015-02-27 19:58:58.163731"], ["updated_at", "2015-02-27 19:58:58.163731"]]
|
|
2952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2953
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2954
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 19:58:58.164564"], ["ends_at", "2016-02-27 19:58:58.164613"], ["created_at", "2015-02-27 19:58:58.165125"], ["updated_at", "2015-02-27 19:58:58.165125"]]
|
|
2955
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
2957
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 19:58:58.165933"], ["ends_at", "2016-02-27 19:58:58.165981"], ["created_at", "2015-02-27 19:58:58.166478"], ["updated_at", "2015-02-27 19:58:58.166478"]]
|
|
2958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2959
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2960
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 19:58:58.167273"], ["ends_at", "2015-02-27 18:58:58.167318"], ["created_at", "2015-02-27 19:58:58.167791"], ["updated_at", "2015-02-27 19:58:58.167791"]]
|
|
2961
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2962
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
2963
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2964
|
+
----------------------------------------------------
|
|
2965
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
2966
|
+
----------------------------------------------------
|
|
2967
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2968
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
2969
|
+
---------------------------------------------
|
|
2970
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
2971
|
+
---------------------------------------------
|
|
2972
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
2973
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
2974
|
+
[1m[36m (212.6ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
2975
|
+
[1m[35m (221.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
2976
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
2977
|
+
[1m[35m (144.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
2978
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
2979
|
+
[1m[35m (100.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
2980
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
2981
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
2982
|
+
-----------------------------------------------
|
|
2983
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
2984
|
+
-----------------------------------------------
|
|
2985
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
|
2986
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
2987
|
+
-----------------------------------------------
|
|
2988
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
2989
|
+
-----------------------------------------------
|
|
2990
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
2991
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:01:19.987170"], ["ends_at", "2015-02-28 20:01:19.987662"], ["created_at", "2015-02-27 20:01:19.992801"], ["updated_at", "2015-02-27 20:01:19.992801"]]
|
|
2992
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2993
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
2994
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:01:20.004143"], ["ends_at", "2015-01-27 20:01:20.004391"], ["created_at", "2015-02-27 20:01:20.006775"], ["updated_at", "2015-02-27 20:01:20.006775"]]
|
|
2995
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
2996
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
2997
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 20:01:20.011114"], ["ends_at", "2017-02-27 20:01:20.011296"], ["created_at", "2015-02-27 20:01:20.013425"], ["updated_at", "2015-02-27 20:01:20.013425"]]
|
|
2998
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
2999
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3000
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:01:20.017803"], ["ends_at", "2015-03-27 20:01:20.017998"], ["created_at", "2015-02-27 20:01:20.022920"], ["updated_at", "2015-02-27 20:01:20.022920"]]
|
|
3001
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3002
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3003
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3004
|
+
----------------------------------------
|
|
3005
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3006
|
+
----------------------------------------
|
|
3007
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3008
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:01:20.028310"], ["ends_at", "2015-02-20 20:01:20.028511"], ["created_at", "2015-02-27 20:01:20.030462"], ["updated_at", "2015-02-27 20:01:20.030462"]]
|
|
3009
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3010
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3011
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:01:20.034604"], ["ends_at", "2014-02-27 20:01:20.034832"], ["created_at", "2015-02-27 20:01:20.036746"], ["updated_at", "2015-02-27 20:01:20.036746"]]
|
|
3012
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3013
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3014
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:01:20.040497"], ["ends_at", "2016-02-27 20:01:20.040707"], ["created_at", "2015-02-27 20:01:20.042489"], ["updated_at", "2015-02-27 20:01:20.042489"]]
|
|
3015
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3016
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3017
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:01:20.046185"], ["ends_at", "2016-02-27 20:01:20.046403"], ["created_at", "2015-02-27 20:01:20.048351"], ["updated_at", "2015-02-27 20:01:20.048351"]]
|
|
3018
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3019
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3020
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:01:20.052232"], ["ends_at", "2015-02-27 19:01:20.052413"], ["created_at", "2015-02-27 20:01:20.054195"], ["updated_at", "2015-02-27 20:01:20.054195"]]
|
|
3021
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3022
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
3023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
3024
|
+
-----------------------------------------
|
|
3025
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3026
|
+
-----------------------------------------
|
|
3027
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3028
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:01:20.059563"], ["ends_at", "2015-02-20 20:01:20.059757"], ["created_at", "2015-02-27 20:01:20.061660"], ["updated_at", "2015-02-27 20:01:20.061660"]]
|
|
3029
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3030
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3031
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:01:20.065855"], ["ends_at", "2014-02-27 20:01:20.066076"], ["created_at", "2015-02-27 20:01:20.068070"], ["updated_at", "2015-02-27 20:01:20.068070"]]
|
|
3032
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3033
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3034
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:01:20.072140"], ["ends_at", "2016-02-27 20:01:20.072334"], ["created_at", "2015-02-27 20:01:20.074185"], ["updated_at", "2015-02-27 20:01:20.074185"]]
|
|
3035
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3036
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3037
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:01:20.077936"], ["ends_at", "2016-02-27 20:01:20.078141"], ["created_at", "2015-02-27 20:01:20.080048"], ["updated_at", "2015-02-27 20:01:20.080048"]]
|
|
3038
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3039
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3040
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:01:20.084073"], ["ends_at", "2015-02-27 19:01:20.084261"], ["created_at", "2015-02-27 20:01:20.086085"], ["updated_at", "2015-02-27 20:01:20.086085"]]
|
|
3041
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3042
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3043
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3044
|
+
----------------------------------------------------
|
|
3045
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3046
|
+
----------------------------------------------------
|
|
3047
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3048
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3049
|
+
---------------------------------------------
|
|
3050
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3051
|
+
---------------------------------------------
|
|
3052
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3053
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3054
|
+
[1m[36m (123.9ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3055
|
+
[1m[35m (102.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3056
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
3057
|
+
[1m[35m (121.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3058
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3059
|
+
[1m[35m (121.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3060
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3061
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3062
|
+
-----------------------------------------------
|
|
3063
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3064
|
+
-----------------------------------------------
|
|
3065
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3067
|
+
-----------------------------------------------
|
|
3068
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
3069
|
+
-----------------------------------------------
|
|
3070
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3071
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:07:19.769647"], ["ends_at", "2015-02-28 20:07:19.769788"], ["created_at", "2015-02-27 20:07:19.773084"], ["updated_at", "2015-02-27 20:07:19.773084"]]
|
|
3072
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3073
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3074
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:07:19.777091"], ["ends_at", "2015-01-27 20:07:19.777180"], ["created_at", "2015-02-27 20:07:19.777966"], ["updated_at", "2015-02-27 20:07:19.777966"]]
|
|
3075
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3076
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3077
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 20:07:19.779087"], ["ends_at", "2017-02-27 20:07:19.779167"], ["created_at", "2015-02-27 20:07:19.779757"], ["updated_at", "2015-02-27 20:07:19.779757"]]
|
|
3078
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3079
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3080
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:07:19.781067"], ["ends_at", "2015-03-27 20:07:19.781133"], ["created_at", "2015-02-27 20:07:19.782076"], ["updated_at", "2015-02-27 20:07:19.782076"]]
|
|
3081
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3082
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3083
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3084
|
+
----------------------------------------
|
|
3085
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3086
|
+
----------------------------------------
|
|
3087
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3088
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:07:19.783819"], ["ends_at", "2015-02-20 20:07:19.783879"], ["created_at", "2015-02-27 20:07:19.784255"], ["updated_at", "2015-02-27 20:07:19.784255"]]
|
|
3089
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3090
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3091
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:07:19.785359"], ["ends_at", "2014-02-27 20:07:19.785407"], ["created_at", "2015-02-27 20:07:19.785970"], ["updated_at", "2015-02-27 20:07:19.785970"]]
|
|
3092
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3093
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3094
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:07:19.786821"], ["ends_at", "2016-02-27 20:07:19.786869"], ["created_at", "2015-02-27 20:07:19.787196"], ["updated_at", "2015-02-27 20:07:19.787196"]]
|
|
3095
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3096
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3097
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:07:19.788230"], ["ends_at", "2016-02-27 20:07:19.788294"], ["created_at", "2015-02-27 20:07:19.788892"], ["updated_at", "2015-02-27 20:07:19.788892"]]
|
|
3098
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3099
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3100
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:07:19.789896"], ["ends_at", "2015-02-27 19:07:19.789941"], ["created_at", "2015-02-27 20:07:19.790401"], ["updated_at", "2015-02-27 20:07:19.790401"]]
|
|
3101
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3102
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3104
|
+
-----------------------------------------
|
|
3105
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3106
|
+
-----------------------------------------
|
|
3107
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3108
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:07:19.791733"], ["ends_at", "2015-02-20 20:07:19.792152"], ["created_at", "2015-02-27 20:07:19.792642"], ["updated_at", "2015-02-27 20:07:19.792642"]]
|
|
3109
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3110
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3111
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:07:19.793734"], ["ends_at", "2014-02-27 20:07:19.793780"], ["created_at", "2015-02-27 20:07:19.794274"], ["updated_at", "2015-02-27 20:07:19.794274"]]
|
|
3112
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3113
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3114
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:07:19.795120"], ["ends_at", "2016-02-27 20:07:19.795166"], ["created_at", "2015-02-27 20:07:19.795484"], ["updated_at", "2015-02-27 20:07:19.795484"]]
|
|
3115
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3116
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3117
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:07:19.796426"], ["ends_at", "2016-02-27 20:07:19.796471"], ["created_at", "2015-02-27 20:07:19.796782"], ["updated_at", "2015-02-27 20:07:19.796782"]]
|
|
3118
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3119
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3120
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:07:19.797575"], ["ends_at", "2015-02-27 19:07:19.797618"], ["created_at", "2015-02-27 20:07:19.798070"], ["updated_at", "2015-02-27 20:07:19.798070"]]
|
|
3121
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3122
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3123
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3124
|
+
----------------------------------------------------
|
|
3125
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3126
|
+
----------------------------------------------------
|
|
3127
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3128
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3129
|
+
---------------------------------------------
|
|
3130
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3131
|
+
---------------------------------------------
|
|
3132
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3133
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3134
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3135
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3136
|
+
-----------------------------------------------
|
|
3137
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3138
|
+
-----------------------------------------------
|
|
3139
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3140
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3141
|
+
-----------------------------------------------
|
|
3142
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
3143
|
+
-----------------------------------------------
|
|
3144
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3145
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:08:04.711761"], ["ends_at", "2015-02-28 20:08:04.712101"], ["created_at", "2015-02-27 20:08:04.715704"], ["updated_at", "2015-02-27 20:08:04.715704"]]
|
|
3146
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3147
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3148
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:08:04.721921"], ["ends_at", "2015-01-27 20:08:04.722183"], ["created_at", "2015-02-27 20:08:04.724731"], ["updated_at", "2015-02-27 20:08:04.724731"]]
|
|
3149
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3150
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3151
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 20:08:04.730274"], ["ends_at", "2017-02-27 20:08:04.730555"], ["created_at", "2015-02-27 20:08:04.732869"], ["updated_at", "2015-02-27 20:08:04.732869"]]
|
|
3152
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3154
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:08:04.737883"], ["ends_at", "2015-03-27 20:08:04.738270"], ["created_at", "2015-02-27 20:08:04.740602"], ["updated_at", "2015-02-27 20:08:04.740602"]]
|
|
3155
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3156
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3158
|
+
----------------------------------------
|
|
3159
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3160
|
+
----------------------------------------
|
|
3161
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3162
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:08:04.746957"], ["ends_at", "2015-02-20 20:08:04.747201"], ["created_at", "2015-02-27 20:08:04.749458"], ["updated_at", "2015-02-27 20:08:04.749458"]]
|
|
3163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3164
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3165
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:08:04.754107"], ["ends_at", "2014-02-27 20:08:04.754346"], ["created_at", "2015-02-27 20:08:04.756562"], ["updated_at", "2015-02-27 20:08:04.756562"]]
|
|
3166
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3167
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3168
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:08:04.761240"], ["ends_at", "2016-02-27 20:08:04.761465"], ["created_at", "2015-02-27 20:08:04.763700"], ["updated_at", "2015-02-27 20:08:04.763700"]]
|
|
3169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3171
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:08:04.768318"], ["ends_at", "2016-02-27 20:08:04.768563"], ["created_at", "2015-02-27 20:08:04.770915"], ["updated_at", "2015-02-27 20:08:04.770915"]]
|
|
3172
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3173
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3174
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:08:04.775401"], ["ends_at", "2015-02-27 19:08:04.775613"], ["created_at", "2015-02-27 20:08:04.777623"], ["updated_at", "2015-02-27 20:08:04.777623"]]
|
|
3175
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3176
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
3177
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
3178
|
+
-----------------------------------------
|
|
3179
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3180
|
+
-----------------------------------------
|
|
3181
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3182
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:08:04.783879"], ["ends_at", "2015-02-20 20:08:04.784130"], ["created_at", "2015-02-27 20:08:04.786402"], ["updated_at", "2015-02-27 20:08:04.786402"]]
|
|
3183
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3184
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3185
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:08:04.791262"], ["ends_at", "2014-02-27 20:08:04.791517"], ["created_at", "2015-02-27 20:08:04.793905"], ["updated_at", "2015-02-27 20:08:04.793905"]]
|
|
3186
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3187
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3188
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:08:04.798642"], ["ends_at", "2016-02-27 20:08:04.798882"], ["created_at", "2015-02-27 20:08:04.801130"], ["updated_at", "2015-02-27 20:08:04.801130"]]
|
|
3189
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3190
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3191
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:08:04.805967"], ["ends_at", "2016-02-27 20:08:04.806231"], ["created_at", "2015-02-27 20:08:04.808749"], ["updated_at", "2015-02-27 20:08:04.808749"]]
|
|
3192
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3193
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3194
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:08:04.819566"], ["ends_at", "2015-02-27 19:08:04.819809"], ["created_at", "2015-02-27 20:08:04.821901"], ["updated_at", "2015-02-27 20:08:04.821901"]]
|
|
3195
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3196
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
|
3197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3198
|
+
----------------------------------------------------
|
|
3199
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3200
|
+
----------------------------------------------------
|
|
3201
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3203
|
+
---------------------------------------------
|
|
3204
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3205
|
+
---------------------------------------------
|
|
3206
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3207
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3208
|
+
[1m[36m (116.2ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3209
|
+
[1m[35m (96.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3210
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
3211
|
+
[1m[35m (107.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3212
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3213
|
+
[1m[35m (114.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3214
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3215
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3216
|
+
-----------------------------------------------
|
|
3217
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3218
|
+
-----------------------------------------------
|
|
3219
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3221
|
+
-----------------------------------------------
|
|
3222
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
3223
|
+
-----------------------------------------------
|
|
3224
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3225
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:21:19.826617"], ["ends_at", "2015-02-28 20:21:19.826755"], ["created_at", "2015-02-27 20:21:19.832030"], ["updated_at", "2015-02-27 20:21:19.832030"]]
|
|
3226
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3227
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3228
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:21:19.833960"], ["ends_at", "2015-01-27 20:21:19.834023"], ["created_at", "2015-02-27 20:21:19.834367"], ["updated_at", "2015-02-27 20:21:19.834367"]]
|
|
3229
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3230
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3231
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 20:21:19.835191"], ["ends_at", "2017-02-27 20:21:19.835258"], ["created_at", "2015-02-27 20:21:19.835619"], ["updated_at", "2015-02-27 20:21:19.835619"]]
|
|
3232
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3233
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3234
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:21:19.836257"], ["ends_at", "2015-03-27 20:21:19.836303"], ["created_at", "2015-02-27 20:21:19.836615"], ["updated_at", "2015-02-27 20:21:19.836615"]]
|
|
3235
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3236
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3238
|
+
----------------------------------------
|
|
3239
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3240
|
+
----------------------------------------
|
|
3241
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3242
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:21:19.837783"], ["ends_at", "2015-02-20 20:21:19.837836"], ["created_at", "2015-02-27 20:21:19.838177"], ["updated_at", "2015-02-27 20:21:19.838177"]]
|
|
3243
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3245
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:21:19.838965"], ["ends_at", "2014-02-27 20:21:19.839014"], ["created_at", "2015-02-27 20:21:19.839365"], ["updated_at", "2015-02-27 20:21:19.839365"]]
|
|
3246
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3247
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3248
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:21:19.840101"], ["ends_at", "2016-02-27 20:21:19.840147"], ["created_at", "2015-02-27 20:21:19.840466"], ["updated_at", "2015-02-27 20:21:19.840466"]]
|
|
3249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3250
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3251
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:21:19.841095"], ["ends_at", "2016-02-27 20:21:19.841139"], ["created_at", "2015-02-27 20:21:19.841460"], ["updated_at", "2015-02-27 20:21:19.841460"]]
|
|
3252
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3254
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:21:19.842052"], ["ends_at", "2015-02-27 19:21:19.842095"], ["created_at", "2015-02-27 20:21:19.842390"], ["updated_at", "2015-02-27 20:21:19.842390"]]
|
|
3255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3256
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3258
|
+
-----------------------------------------
|
|
3259
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3260
|
+
-----------------------------------------
|
|
3261
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3262
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:21:19.843427"], ["ends_at", "2015-02-20 20:21:19.843506"], ["created_at", "2015-02-27 20:21:19.843860"], ["updated_at", "2015-02-27 20:21:19.843860"]]
|
|
3263
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3264
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3265
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:21:19.844498"], ["ends_at", "2014-02-27 20:21:19.844543"], ["created_at", "2015-02-27 20:21:19.844842"], ["updated_at", "2015-02-27 20:21:19.844842"]]
|
|
3266
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3267
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3268
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:21:19.845504"], ["ends_at", "2016-02-27 20:21:19.845549"], ["created_at", "2015-02-27 20:21:19.845866"], ["updated_at", "2015-02-27 20:21:19.845866"]]
|
|
3269
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3271
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:21:19.846482"], ["ends_at", "2016-02-27 20:21:19.846526"], ["created_at", "2015-02-27 20:21:19.846845"], ["updated_at", "2015-02-27 20:21:19.846845"]]
|
|
3272
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3273
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3274
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:21:19.847447"], ["ends_at", "2015-02-27 19:21:19.847490"], ["created_at", "2015-02-27 20:21:19.847760"], ["updated_at", "2015-02-27 20:21:19.847760"]]
|
|
3275
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3276
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3277
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3278
|
+
----------------------------------------------------
|
|
3279
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3280
|
+
----------------------------------------------------
|
|
3281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3283
|
+
---------------------------------------------
|
|
3284
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3285
|
+
---------------------------------------------
|
|
3286
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3287
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3288
|
+
[1m[36m (114.2ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3289
|
+
[1m[35m (100.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3290
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
|
3291
|
+
[1m[35m (119.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3292
|
+
[1m[36m (0.5ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3293
|
+
[1m[35m (120.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3294
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3295
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3296
|
+
-----------------------------------------------
|
|
3297
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3298
|
+
-----------------------------------------------
|
|
3299
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3300
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3301
|
+
-----------------------------------------------
|
|
3302
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
3303
|
+
-----------------------------------------------
|
|
3304
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3305
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:33:42.059881"], ["ends_at", "2015-02-28 20:33:42.060313"], ["created_at", "2015-02-27 20:33:42.074344"], ["updated_at", "2015-02-27 20:33:42.074344"]]
|
|
3306
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3307
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3308
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:33:42.082319"], ["ends_at", "2015-01-27 20:33:42.082629"], ["created_at", "2015-02-27 20:33:42.085518"], ["updated_at", "2015-02-27 20:33:42.085518"]]
|
|
3309
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3310
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3311
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 20:33:42.091314"], ["ends_at", "2017-02-27 20:33:42.091609"], ["created_at", "2015-02-27 20:33:42.094186"], ["updated_at", "2015-02-27 20:33:42.094186"]]
|
|
3312
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3313
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3314
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:33:42.099434"], ["ends_at", "2015-03-27 20:33:42.099693"], ["created_at", "2015-02-27 20:33:42.102242"], ["updated_at", "2015-02-27 20:33:42.102242"]]
|
|
3315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3316
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3317
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3318
|
+
----------------------------------------
|
|
3319
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3320
|
+
----------------------------------------
|
|
3321
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3322
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:33:42.109252"], ["ends_at", "2015-02-20 20:33:42.109526"], ["created_at", "2015-02-27 20:33:42.112004"], ["updated_at", "2015-02-27 20:33:42.112004"]]
|
|
3323
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3324
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3325
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:33:42.117119"], ["ends_at", "2014-02-27 20:33:42.117397"], ["created_at", "2015-02-27 20:33:42.119874"], ["updated_at", "2015-02-27 20:33:42.119874"]]
|
|
3326
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3327
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3328
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:33:42.125023"], ["ends_at", "2016-02-27 20:33:42.125270"], ["created_at", "2015-02-27 20:33:42.127752"], ["updated_at", "2015-02-27 20:33:42.127752"]]
|
|
3329
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3330
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3331
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:33:42.132885"], ["ends_at", "2016-02-27 20:33:42.133134"], ["created_at", "2015-02-27 20:33:42.135706"], ["updated_at", "2015-02-27 20:33:42.135706"]]
|
|
3332
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3333
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3334
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:33:42.140649"], ["ends_at", "2015-02-27 19:33:42.140903"], ["created_at", "2015-02-27 20:33:42.143171"], ["updated_at", "2015-02-27 20:33:42.143171"]]
|
|
3335
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3336
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
3337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
3338
|
+
-----------------------------------------
|
|
3339
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3340
|
+
-----------------------------------------
|
|
3341
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3342
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:33:42.150194"], ["ends_at", "2015-02-20 20:33:42.150494"], ["created_at", "2015-02-27 20:33:42.152945"], ["updated_at", "2015-02-27 20:33:42.152945"]]
|
|
3343
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3344
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3345
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:33:42.157888"], ["ends_at", "2014-02-27 20:33:42.158166"], ["created_at", "2015-02-27 20:33:42.160537"], ["updated_at", "2015-02-27 20:33:42.160537"]]
|
|
3346
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3347
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3348
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:33:42.165524"], ["ends_at", "2016-02-27 20:33:42.165779"], ["created_at", "2015-02-27 20:33:42.168170"], ["updated_at", "2015-02-27 20:33:42.168170"]]
|
|
3349
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3350
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3351
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:33:42.172884"], ["ends_at", "2016-02-27 20:33:42.173131"], ["created_at", "2015-02-27 20:33:42.175370"], ["updated_at", "2015-02-27 20:33:42.175370"]]
|
|
3352
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3353
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3354
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:33:42.186106"], ["ends_at", "2015-02-27 19:33:42.186368"], ["created_at", "2015-02-27 20:33:42.188496"], ["updated_at", "2015-02-27 20:33:42.188496"]]
|
|
3355
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3356
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3357
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3358
|
+
----------------------------------------------------
|
|
3359
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3360
|
+
----------------------------------------------------
|
|
3361
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3362
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3363
|
+
---------------------------------------------
|
|
3364
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3365
|
+
---------------------------------------------
|
|
3366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3367
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3368
|
+
[1m[36m (132.6ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3369
|
+
[1m[35m (128.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3370
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
3371
|
+
[1m[35m (119.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3372
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3373
|
+
[1m[35m (100.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3374
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3375
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3376
|
+
-----------------------------------------------
|
|
3377
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3378
|
+
-----------------------------------------------
|
|
3379
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3380
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3381
|
+
-----------------------------------------------
|
|
3382
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
3383
|
+
-----------------------------------------------
|
|
3384
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3385
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:34:55.437973"], ["ends_at", "2015-02-28 20:34:55.438114"], ["created_at", "2015-02-27 20:34:55.449428"], ["updated_at", "2015-02-27 20:34:55.449428"]]
|
|
3386
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3387
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3388
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:34:55.453204"], ["ends_at", "2015-01-27 20:34:55.453276"], ["created_at", "2015-02-27 20:34:55.453678"], ["updated_at", "2015-02-27 20:34:55.453678"]]
|
|
3389
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3390
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3391
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 20:34:55.454912"], ["ends_at", "2017-02-27 20:34:55.454961"], ["created_at", "2015-02-27 20:34:55.455284"], ["updated_at", "2015-02-27 20:34:55.455284"]]
|
|
3392
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3393
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3394
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:34:55.456217"], ["ends_at", "2015-03-27 20:34:55.456263"], ["created_at", "2015-02-27 20:34:55.456581"], ["updated_at", "2015-02-27 20:34:55.456581"]]
|
|
3395
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3396
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3397
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3398
|
+
----------------------------------------
|
|
3399
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3400
|
+
----------------------------------------
|
|
3401
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3402
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:34:55.458041"], ["ends_at", "2015-02-20 20:34:55.458091"], ["created_at", "2015-02-27 20:34:55.458626"], ["updated_at", "2015-02-27 20:34:55.458626"]]
|
|
3403
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3405
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:34:55.459730"], ["ends_at", "2014-02-27 20:34:55.459799"], ["created_at", "2015-02-27 20:34:55.460416"], ["updated_at", "2015-02-27 20:34:55.460416"]]
|
|
3406
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3407
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3408
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:34:55.461597"], ["ends_at", "2016-02-27 20:34:55.461669"], ["created_at", "2015-02-27 20:34:55.462234"], ["updated_at", "2015-02-27 20:34:55.462234"]]
|
|
3409
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3410
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3411
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:34:55.463806"], ["ends_at", "2016-02-27 20:34:55.464080"], ["created_at", "2015-02-27 20:34:55.464484"], ["updated_at", "2015-02-27 20:34:55.464484"]]
|
|
3412
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3413
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3414
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:34:55.465750"], ["ends_at", "2015-02-27 19:34:55.465797"], ["created_at", "2015-02-27 20:34:55.466151"], ["updated_at", "2015-02-27 20:34:55.466151"]]
|
|
3415
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3416
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3417
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3418
|
+
-----------------------------------------
|
|
3419
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3420
|
+
-----------------------------------------
|
|
3421
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3422
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:34:55.468123"], ["ends_at", "2015-02-20 20:34:55.468207"], ["created_at", "2015-02-27 20:34:55.468758"], ["updated_at", "2015-02-27 20:34:55.468758"]]
|
|
3423
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3424
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3425
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:34:55.469614"], ["ends_at", "2014-02-27 20:34:55.469661"], ["created_at", "2015-02-27 20:34:55.470155"], ["updated_at", "2015-02-27 20:34:55.470155"]]
|
|
3426
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3427
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3428
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:34:55.471053"], ["ends_at", "2016-02-27 20:34:55.471100"], ["created_at", "2015-02-27 20:34:55.471576"], ["updated_at", "2015-02-27 20:34:55.471576"]]
|
|
3429
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3430
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
|
3431
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:34:55.472349"], ["ends_at", "2016-02-27 20:34:55.472395"], ["created_at", "2015-02-27 20:34:55.472877"], ["updated_at", "2015-02-27 20:34:55.472877"]]
|
|
3432
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3434
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:34:55.473666"], ["ends_at", "2015-02-27 19:34:55.473709"], ["created_at", "2015-02-27 20:34:55.474002"], ["updated_at", "2015-02-27 20:34:55.474002"]]
|
|
3435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3436
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3438
|
+
----------------------------------------------------
|
|
3439
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3440
|
+
----------------------------------------------------
|
|
3441
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3442
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3443
|
+
---------------------------------------------
|
|
3444
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3445
|
+
---------------------------------------------
|
|
3446
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3447
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3448
|
+
[1m[36m (141.1ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3449
|
+
[1m[35m (132.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3450
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
3451
|
+
[1m[35m (155.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3452
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3453
|
+
[1m[35m (132.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3454
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3455
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3456
|
+
-----------------------------------------------
|
|
3457
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3458
|
+
-----------------------------------------------
|
|
3459
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3460
|
+
[1m[36m (1.1ms)[0m [1mbegin transaction[0m
|
|
3461
|
+
-----------------------------------------------
|
|
3462
|
+
ActsAsIntervalTest: test_intersecting_intervals
|
|
3463
|
+
-----------------------------------------------
|
|
3464
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3465
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:52:19.109252"], ["ends_at", "2015-02-28 20:52:19.109529"], ["created_at", "2015-02-27 20:52:19.112865"], ["updated_at", "2015-02-27 20:52:19.112865"]]
|
|
3466
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3467
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3468
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:52:19.117156"], ["ends_at", "2015-01-27 20:52:19.117241"], ["created_at", "2015-02-27 20:52:19.118396"], ["updated_at", "2015-02-27 20:52:19.118396"]]
|
|
3469
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3470
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3471
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2016-02-27 20:52:19.119873"], ["ends_at", "2017-02-27 20:52:19.119939"], ["created_at", "2015-02-27 20:52:19.120495"], ["updated_at", "2015-02-27 20:52:19.120495"]]
|
|
3472
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3473
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3474
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:52:19.121348"], ["ends_at", "2015-03-27 20:52:19.121396"], ["created_at", "2015-02-27 20:52:19.121954"], ["updated_at", "2015-02-27 20:52:19.121954"]]
|
|
3475
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3476
|
+
[1m[35mInterval Load (0.3ms)[0m SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 20:52:19.109529') * DATEDIFF('2015-02-26 20:52:19.109252', ends_at) >= 0) AND ("intervals"."id" != ?) [["id", 1]]
|
|
3477
|
+
SQLite3::SQLException: no such function: DATEDIFF: SELECT "intervals".* FROM "intervals" WHERE (DATEDIFF(starts_at, '2015-02-28 20:52:19.109529') * DATEDIFF('2015-02-26 20:52:19.109252', ends_at) >= 0) AND ("intervals"."id" != ?)
|
|
3478
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3479
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3480
|
+
----------------------------------------
|
|
3481
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3482
|
+
----------------------------------------
|
|
3483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3484
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:52:19.126869"], ["ends_at", "2015-02-20 20:52:19.126952"], ["created_at", "2015-02-27 20:52:19.127551"], ["updated_at", "2015-02-27 20:52:19.127551"]]
|
|
3485
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3486
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3487
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:52:19.128460"], ["ends_at", "2014-02-27 20:52:19.128668"], ["created_at", "2015-02-27 20:52:19.128994"], ["updated_at", "2015-02-27 20:52:19.128994"]]
|
|
3488
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3489
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3490
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:52:19.129817"], ["ends_at", "2016-02-27 20:52:19.130206"], ["created_at", "2015-02-27 20:52:19.130571"], ["updated_at", "2015-02-27 20:52:19.130571"]]
|
|
3491
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3493
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:52:19.131334"], ["ends_at", "2016-02-27 20:52:19.131380"], ["created_at", "2015-02-27 20:52:19.131894"], ["updated_at", "2015-02-27 20:52:19.131894"]]
|
|
3494
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3495
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3496
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:52:19.132780"], ["ends_at", "2015-02-27 19:52:19.132997"], ["created_at", "2015-02-27 20:52:19.133292"], ["updated_at", "2015-02-27 20:52:19.133292"]]
|
|
3497
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3498
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3499
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3500
|
+
-----------------------------------------
|
|
3501
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3502
|
+
-----------------------------------------
|
|
3503
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3504
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:52:19.134688"], ["ends_at", "2015-02-20 20:52:19.134737"], ["created_at", "2015-02-27 20:52:19.135060"], ["updated_at", "2015-02-27 20:52:19.135060"]]
|
|
3505
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3507
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:52:19.136214"], ["ends_at", "2014-02-27 20:52:19.136262"], ["created_at", "2015-02-27 20:52:19.136575"], ["updated_at", "2015-02-27 20:52:19.136575"]]
|
|
3508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3509
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3510
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:52:19.137434"], ["ends_at", "2016-02-27 20:52:19.137646"], ["created_at", "2015-02-27 20:52:19.137967"], ["updated_at", "2015-02-27 20:52:19.137967"]]
|
|
3511
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3512
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3513
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:52:19.138784"], ["ends_at", "2016-02-27 20:52:19.138830"], ["created_at", "2015-02-27 20:52:19.139305"], ["updated_at", "2015-02-27 20:52:19.139305"]]
|
|
3514
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3515
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3516
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:52:19.140072"], ["ends_at", "2015-02-27 19:52:19.140115"], ["created_at", "2015-02-27 20:52:19.140561"], ["updated_at", "2015-02-27 20:52:19.140561"]]
|
|
3517
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3518
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3519
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3520
|
+
----------------------------------------------------
|
|
3521
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3522
|
+
----------------------------------------------------
|
|
3523
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
3524
|
+
[1m[35m (0.2ms)[0m begin transaction
|
|
3525
|
+
---------------------------------------------
|
|
3526
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3527
|
+
---------------------------------------------
|
|
3528
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
3529
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3530
|
+
[1m[36m (251.5ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3531
|
+
[1m[35m (234.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3532
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
3533
|
+
[1m[35m (253.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3534
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3535
|
+
[1m[35m (123.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3536
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3537
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3538
|
+
-----------------------------------------------
|
|
3539
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3540
|
+
-----------------------------------------------
|
|
3541
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3542
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3543
|
+
----------------------------------------
|
|
3544
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3545
|
+
----------------------------------------
|
|
3546
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3547
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:53:03.521511"], ["ends_at", "2015-02-20 20:53:03.521659"], ["created_at", "2015-02-27 20:53:03.525151"], ["updated_at", "2015-02-27 20:53:03.525151"]]
|
|
3548
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3549
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3550
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:53:03.529636"], ["ends_at", "2014-02-27 20:53:03.529740"], ["created_at", "2015-02-27 20:53:03.530263"], ["updated_at", "2015-02-27 20:53:03.530263"]]
|
|
3551
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3552
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3553
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:53:03.532130"], ["ends_at", "2016-02-27 20:53:03.532230"], ["created_at", "2015-02-27 20:53:03.532770"], ["updated_at", "2015-02-27 20:53:03.532770"]]
|
|
3554
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3555
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3556
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:53:03.533746"], ["ends_at", "2016-02-27 20:53:03.533963"], ["created_at", "2015-02-27 20:53:03.534310"], ["updated_at", "2015-02-27 20:53:03.534310"]]
|
|
3557
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3558
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3559
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:53:03.535159"], ["ends_at", "2015-02-27 19:53:03.535394"], ["created_at", "2015-02-27 20:53:03.535699"], ["updated_at", "2015-02-27 20:53:03.535699"]]
|
|
3560
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3561
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3562
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3563
|
+
-----------------------------------------
|
|
3564
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3565
|
+
-----------------------------------------
|
|
3566
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3567
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:53:03.537140"], ["ends_at", "2015-02-20 20:53:03.537191"], ["created_at", "2015-02-27 20:53:03.537536"], ["updated_at", "2015-02-27 20:53:03.537536"]]
|
|
3568
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3569
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3570
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:53:03.538582"], ["ends_at", "2014-02-27 20:53:03.538636"], ["created_at", "2015-02-27 20:53:03.539124"], ["updated_at", "2015-02-27 20:53:03.539124"]]
|
|
3571
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3572
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3573
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:53:03.539977"], ["ends_at", "2016-02-27 20:53:03.540025"], ["created_at", "2015-02-27 20:53:03.540526"], ["updated_at", "2015-02-27 20:53:03.540526"]]
|
|
3574
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3575
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3576
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:53:03.541615"], ["ends_at", "2016-02-27 20:53:03.541665"], ["created_at", "2015-02-27 20:53:03.541989"], ["updated_at", "2015-02-27 20:53:03.541989"]]
|
|
3577
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3578
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3579
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:53:03.542778"], ["ends_at", "2015-02-27 19:53:03.542974"], ["created_at", "2015-02-27 20:53:03.543275"], ["updated_at", "2015-02-27 20:53:03.543275"]]
|
|
3580
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3581
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3582
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3583
|
+
----------------------------------------------------
|
|
3584
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3585
|
+
----------------------------------------------------
|
|
3586
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3588
|
+
---------------------------------------------
|
|
3589
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3590
|
+
---------------------------------------------
|
|
3591
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3592
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3593
|
+
[1m[36m (677.5ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3594
|
+
[1m[35m (146.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3595
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
3596
|
+
[1m[35m (155.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3597
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3598
|
+
[1m[35m (177.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3599
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3601
|
+
-----------------------------------------------
|
|
3602
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3603
|
+
-----------------------------------------------
|
|
3604
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3605
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3606
|
+
----------------------------------------
|
|
3607
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3608
|
+
----------------------------------------
|
|
3609
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3610
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 20:53:08.913880"], ["ends_at", "2015-02-20 20:53:08.914098"], ["created_at", "2015-02-27 20:53:08.919026"], ["updated_at", "2015-02-27 20:53:08.919026"]]
|
|
3611
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3612
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3613
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 20:53:08.924895"], ["ends_at", "2014-02-27 20:53:08.925012"], ["created_at", "2015-02-27 20:53:08.926339"], ["updated_at", "2015-02-27 20:53:08.926339"]]
|
|
3614
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3615
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3616
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 20:53:08.928927"], ["ends_at", "2016-02-27 20:53:08.929019"], ["created_at", "2015-02-27 20:53:08.929590"], ["updated_at", "2015-02-27 20:53:08.929590"]]
|
|
3617
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3618
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3619
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 20:53:08.930954"], ["ends_at", "2016-02-27 20:53:08.931278"], ["created_at", "2015-02-27 20:53:08.931830"], ["updated_at", "2015-02-27 20:53:08.931830"]]
|
|
3620
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3621
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3622
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 20:53:08.933132"], ["ends_at", "2015-02-27 19:53:08.933213"], ["created_at", "2015-02-27 20:53:08.933992"], ["updated_at", "2015-02-27 20:53:08.933992"]]
|
|
3623
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3624
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3625
|
+
[1m[35m (0.3ms)[0m begin transaction
|
|
3626
|
+
-----------------------------------------
|
|
3627
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3628
|
+
-----------------------------------------
|
|
3629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3630
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 20:53:08.936346"], ["ends_at", "2015-02-20 20:53:08.936461"], ["created_at", "2015-02-27 20:53:08.937124"], ["updated_at", "2015-02-27 20:53:08.937124"]]
|
|
3631
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3632
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3633
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 20:53:08.938712"], ["ends_at", "2014-02-27 20:53:08.938791"], ["created_at", "2015-02-27 20:53:08.939308"], ["updated_at", "2015-02-27 20:53:08.939308"]]
|
|
3634
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3635
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3636
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 20:53:08.940824"], ["ends_at", "2016-02-27 20:53:08.940903"], ["created_at", "2015-02-27 20:53:08.941672"], ["updated_at", "2015-02-27 20:53:08.941672"]]
|
|
3637
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3638
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3639
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 20:53:08.942954"], ["ends_at", "2016-02-27 20:53:08.943032"], ["created_at", "2015-02-27 20:53:08.943795"], ["updated_at", "2015-02-27 20:53:08.943795"]]
|
|
3640
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3641
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3642
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 20:53:08.945226"], ["ends_at", "2015-02-27 19:53:08.945299"], ["created_at", "2015-02-27 20:53:08.945998"], ["updated_at", "2015-02-27 20:53:08.945998"]]
|
|
3643
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3644
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3646
|
+
----------------------------------------------------
|
|
3647
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3648
|
+
----------------------------------------------------
|
|
3649
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3650
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3651
|
+
---------------------------------------------
|
|
3652
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3653
|
+
---------------------------------------------
|
|
3654
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3655
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3656
|
+
[1m[36m (118.0ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3657
|
+
[1m[35m (134.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3658
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
3659
|
+
[1m[35m (113.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3660
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3661
|
+
[1m[35m (108.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3662
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3663
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3664
|
+
-----------------------------------------------
|
|
3665
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3666
|
+
-----------------------------------------------
|
|
3667
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3668
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3669
|
+
----------------------------------------
|
|
3670
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3671
|
+
----------------------------------------
|
|
3672
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3673
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:00:29.031928"], ["ends_at", "2015-02-20 21:00:29.032626"], ["created_at", "2015-02-27 21:00:29.048627"], ["updated_at", "2015-02-27 21:00:29.048627"]]
|
|
3674
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3675
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3676
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:00:29.059884"], ["ends_at", "2014-02-27 21:00:29.060147"], ["created_at", "2015-02-27 21:00:29.063204"], ["updated_at", "2015-02-27 21:00:29.063204"]]
|
|
3677
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3678
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3679
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:00:29.067955"], ["ends_at", "2016-02-27 21:00:29.068218"], ["created_at", "2015-02-27 21:00:29.070738"], ["updated_at", "2015-02-27 21:00:29.070738"]]
|
|
3680
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3682
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:00:29.075451"], ["ends_at", "2016-02-27 21:00:29.075687"], ["created_at", "2015-02-27 21:00:29.079930"], ["updated_at", "2015-02-27 21:00:29.079930"]]
|
|
3683
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3684
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3685
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:00:29.083697"], ["ends_at", "2015-02-27 20:00:29.083877"], ["created_at", "2015-02-27 21:00:29.085526"], ["updated_at", "2015-02-27 21:00:29.085526"]]
|
|
3686
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3687
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
3688
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
3689
|
+
-----------------------------------------
|
|
3690
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3691
|
+
-----------------------------------------
|
|
3692
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3693
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 21:00:29.090830"], ["ends_at", "2015-02-20 21:00:29.091021"], ["created_at", "2015-02-27 21:00:29.092825"], ["updated_at", "2015-02-27 21:00:29.092825"]]
|
|
3694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3695
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3696
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 21:00:29.096536"], ["ends_at", "2014-02-27 21:00:29.096710"], ["created_at", "2015-02-27 21:00:29.098542"], ["updated_at", "2015-02-27 21:00:29.098542"]]
|
|
3697
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3698
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3699
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 21:00:29.102487"], ["ends_at", "2016-02-27 21:00:29.102676"], ["created_at", "2015-02-27 21:00:29.104531"], ["updated_at", "2015-02-27 21:00:29.104531"]]
|
|
3700
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3701
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3702
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 21:00:29.108478"], ["ends_at", "2016-02-27 21:00:29.108663"], ["created_at", "2015-02-27 21:00:29.110620"], ["updated_at", "2015-02-27 21:00:29.110620"]]
|
|
3703
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3704
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3705
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 21:00:29.114423"], ["ends_at", "2015-02-27 20:00:29.114661"], ["created_at", "2015-02-27 21:00:29.116321"], ["updated_at", "2015-02-27 21:00:29.116321"]]
|
|
3706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3707
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3709
|
+
----------------------------------------------------
|
|
3710
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3711
|
+
----------------------------------------------------
|
|
3712
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3714
|
+
---------------------------------------------
|
|
3715
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3716
|
+
---------------------------------------------
|
|
3717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3718
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3719
|
+
[1m[36m (139.7ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3720
|
+
[1m[35m (104.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3721
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
3722
|
+
[1m[35m (110.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3723
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3724
|
+
[1m[35m (122.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3725
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3727
|
+
-----------------------------------------------
|
|
3728
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3729
|
+
-----------------------------------------------
|
|
3730
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3731
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3732
|
+
----------------------------------------
|
|
3733
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3734
|
+
----------------------------------------
|
|
3735
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3736
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:00:54.152187"], ["ends_at", "2015-02-20 21:00:54.152326"], ["created_at", "2015-02-27 21:00:54.161625"], ["updated_at", "2015-02-27 21:00:54.161625"]]
|
|
3737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3739
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:00:54.165321"], ["ends_at", "2014-02-27 21:00:54.165394"], ["created_at", "2015-02-27 21:00:54.166158"], ["updated_at", "2015-02-27 21:00:54.166158"]]
|
|
3740
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3741
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3742
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:00:54.167289"], ["ends_at", "2016-02-27 21:00:54.167336"], ["created_at", "2015-02-27 21:00:54.168110"], ["updated_at", "2015-02-27 21:00:54.168110"]]
|
|
3743
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3744
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3745
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:00:54.169225"], ["ends_at", "2016-02-27 21:00:54.169272"], ["created_at", "2015-02-27 21:00:54.169592"], ["updated_at", "2015-02-27 21:00:54.169592"]]
|
|
3746
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3747
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3748
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:00:54.170642"], ["ends_at", "2015-02-27 20:00:54.170688"], ["created_at", "2015-02-27 21:00:54.171006"], ["updated_at", "2015-02-27 21:00:54.171006"]]
|
|
3749
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3750
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3751
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3752
|
+
-----------------------------------------
|
|
3753
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3754
|
+
-----------------------------------------
|
|
3755
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3756
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 21:00:54.172445"], ["ends_at", "2015-02-20 21:00:54.172492"], ["created_at", "2015-02-27 21:00:54.173004"], ["updated_at", "2015-02-27 21:00:54.173004"]]
|
|
3757
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3758
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3759
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 21:00:54.173973"], ["ends_at", "2014-02-27 21:00:54.174024"], ["created_at", "2015-02-27 21:00:54.174615"], ["updated_at", "2015-02-27 21:00:54.174615"]]
|
|
3760
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3761
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3762
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 21:00:54.176095"], ["ends_at", "2016-02-27 21:00:54.176187"], ["created_at", "2015-02-27 21:00:54.176778"], ["updated_at", "2015-02-27 21:00:54.176778"]]
|
|
3763
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3764
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3765
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 21:00:54.178246"], ["ends_at", "2016-02-27 21:00:54.178345"], ["created_at", "2015-02-27 21:00:54.179195"], ["updated_at", "2015-02-27 21:00:54.179195"]]
|
|
3766
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3767
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3768
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 21:00:54.180123"], ["ends_at", "2015-02-27 20:00:54.180171"], ["created_at", "2015-02-27 21:00:54.180688"], ["updated_at", "2015-02-27 21:00:54.180688"]]
|
|
3769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3771
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3772
|
+
----------------------------------------------------
|
|
3773
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3774
|
+
----------------------------------------------------
|
|
3775
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3777
|
+
---------------------------------------------
|
|
3778
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3779
|
+
---------------------------------------------
|
|
3780
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3781
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3782
|
+
[1m[36m (134.5ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3783
|
+
[1m[35m (102.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3784
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
3785
|
+
[1m[35m (257.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3786
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3787
|
+
[1m[35m (110.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3788
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3789
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3790
|
+
-----------------------------------------------
|
|
3791
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3792
|
+
-----------------------------------------------
|
|
3793
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3794
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3795
|
+
----------------------------------------
|
|
3796
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3797
|
+
----------------------------------------
|
|
3798
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3799
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:01:14.670694"], ["ends_at", "2015-02-20 21:01:14.670914"], ["created_at", "2015-02-27 21:01:14.675679"], ["updated_at", "2015-02-27 21:01:14.675679"]]
|
|
3800
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3801
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3802
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:01:14.680982"], ["ends_at", "2014-02-27 21:01:14.681062"], ["created_at", "2015-02-27 21:01:14.681478"], ["updated_at", "2015-02-27 21:01:14.681478"]]
|
|
3803
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3804
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3805
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:01:14.683129"], ["ends_at", "2016-02-27 21:01:14.683194"], ["created_at", "2015-02-27 21:01:14.683527"], ["updated_at", "2015-02-27 21:01:14.683527"]]
|
|
3806
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3807
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3808
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:01:14.684370"], ["ends_at", "2016-02-27 21:01:14.684580"], ["created_at", "2015-02-27 21:01:14.684916"], ["updated_at", "2015-02-27 21:01:14.684916"]]
|
|
3809
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3811
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:01:14.685984"], ["ends_at", "2015-02-27 20:01:14.686390"], ["created_at", "2015-02-27 21:01:14.686792"], ["updated_at", "2015-02-27 21:01:14.686792"]]
|
|
3812
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3813
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 21:01:14.685984')[0m
|
|
3814
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3816
|
+
-----------------------------------------
|
|
3817
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3818
|
+
-----------------------------------------
|
|
3819
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3820
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:01:14.691150"], ["ends_at", "2015-02-20 21:01:14.691215"], ["created_at", "2015-02-27 21:01:14.691772"], ["updated_at", "2015-02-27 21:01:14.691772"]]
|
|
3821
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3822
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3823
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:01:14.692857"], ["ends_at", "2014-02-27 21:01:14.692910"], ["created_at", "2015-02-27 21:01:14.693242"], ["updated_at", "2015-02-27 21:01:14.693242"]]
|
|
3824
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3825
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3826
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:01:14.694286"], ["ends_at", "2016-02-27 21:01:14.694336"], ["created_at", "2015-02-27 21:01:14.694857"], ["updated_at", "2015-02-27 21:01:14.694857"]]
|
|
3827
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3828
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3829
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:01:14.695753"], ["ends_at", "2016-02-27 21:01:14.695800"], ["created_at", "2015-02-27 21:01:14.696274"], ["updated_at", "2015-02-27 21:01:14.696274"]]
|
|
3830
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3831
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3832
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:01:14.697039"], ["ends_at", "2015-02-27 20:01:14.697084"], ["created_at", "2015-02-27 21:01:14.697525"], ["updated_at", "2015-02-27 21:01:14.697525"]]
|
|
3833
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3834
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3835
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3836
|
+
----------------------------------------------------
|
|
3837
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3838
|
+
----------------------------------------------------
|
|
3839
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
3840
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3841
|
+
---------------------------------------------
|
|
3842
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3843
|
+
---------------------------------------------
|
|
3844
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
3845
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3846
|
+
[1m[36m (122.2ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3847
|
+
[1m[35m (101.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3848
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
3849
|
+
[1m[35m (131.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3850
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3851
|
+
[1m[35m (111.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3852
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3854
|
+
-----------------------------------------------
|
|
3855
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3856
|
+
-----------------------------------------------
|
|
3857
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3859
|
+
----------------------------------------
|
|
3860
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3861
|
+
----------------------------------------
|
|
3862
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3863
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:02:08.811215"], ["ends_at", "2015-02-20 21:02:08.811486"], ["created_at", "2015-02-27 21:02:08.816191"], ["updated_at", "2015-02-27 21:02:08.816191"]]
|
|
3864
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3865
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3866
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:02:08.821972"], ["ends_at", "2014-02-27 21:02:08.822067"], ["created_at", "2015-02-27 21:02:08.823505"], ["updated_at", "2015-02-27 21:02:08.823505"]]
|
|
3867
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3869
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:02:08.825355"], ["ends_at", "2016-02-27 21:02:08.825424"], ["created_at", "2015-02-27 21:02:08.825963"], ["updated_at", "2015-02-27 21:02:08.825963"]]
|
|
3870
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3871
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3872
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:02:08.827261"], ["ends_at", "2016-02-27 21:02:08.827340"], ["created_at", "2015-02-27 21:02:08.828075"], ["updated_at", "2015-02-27 21:02:08.828075"]]
|
|
3873
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3874
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3875
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:02:08.829312"], ["ends_at", "2015-02-27 20:02:08.829388"], ["created_at", "2015-02-27 21:02:08.830115"], ["updated_at", "2015-02-27 21:02:08.830115"]]
|
|
3876
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3877
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 20:02:08.829388')[0m
|
|
3878
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3879
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3880
|
+
-----------------------------------------
|
|
3881
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3882
|
+
-----------------------------------------
|
|
3883
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3884
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:02:08.832617"], ["ends_at", "2015-02-20 21:02:08.832685"], ["created_at", "2015-02-27 21:02:08.833312"], ["updated_at", "2015-02-27 21:02:08.833312"]]
|
|
3885
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3886
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3887
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:02:08.834377"], ["ends_at", "2014-02-27 21:02:08.834447"], ["created_at", "2015-02-27 21:02:08.835074"], ["updated_at", "2015-02-27 21:02:08.835074"]]
|
|
3888
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3889
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3890
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:02:08.836150"], ["ends_at", "2016-02-27 21:02:08.836409"], ["created_at", "2015-02-27 21:02:08.836832"], ["updated_at", "2015-02-27 21:02:08.836832"]]
|
|
3891
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3892
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3893
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:02:08.838252"], ["ends_at", "2016-02-27 21:02:08.838315"], ["created_at", "2015-02-27 21:02:08.838755"], ["updated_at", "2015-02-27 21:02:08.838755"]]
|
|
3894
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3895
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3896
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:02:08.839939"], ["ends_at", "2015-02-27 20:02:08.839998"], ["created_at", "2015-02-27 21:02:08.840378"], ["updated_at", "2015-02-27 21:02:08.840378"]]
|
|
3897
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3898
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
3899
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3900
|
+
----------------------------------------------------
|
|
3901
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3902
|
+
----------------------------------------------------
|
|
3903
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
3904
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
3905
|
+
---------------------------------------------
|
|
3906
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3907
|
+
---------------------------------------------
|
|
3908
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
3909
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3910
|
+
[1m[36m (149.2ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3911
|
+
[1m[35m (132.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3912
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
|
3913
|
+
[1m[35m (154.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3914
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3915
|
+
[1m[35m (180.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3916
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3917
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3918
|
+
-----------------------------------------------
|
|
3919
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3920
|
+
-----------------------------------------------
|
|
3921
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3922
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3923
|
+
----------------------------------------
|
|
3924
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3925
|
+
----------------------------------------
|
|
3926
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3927
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:02:25.285694"], ["ends_at", "2015-02-20 21:02:25.285900"], ["created_at", "2015-02-27 21:02:25.290212"], ["updated_at", "2015-02-27 21:02:25.290212"]]
|
|
3928
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3929
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3930
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:02:25.296048"], ["ends_at", "2014-02-27 21:02:25.296135"], ["created_at", "2015-02-27 21:02:25.296780"], ["updated_at", "2015-02-27 21:02:25.296780"]]
|
|
3931
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3932
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3933
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:02:25.299181"], ["ends_at", "2016-02-27 21:02:25.299262"], ["created_at", "2015-02-27 21:02:25.299827"], ["updated_at", "2015-02-27 21:02:25.299827"]]
|
|
3934
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3935
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3936
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:02:25.301794"], ["ends_at", "2016-02-27 21:02:25.301873"], ["created_at", "2015-02-27 21:02:25.302409"], ["updated_at", "2015-02-27 21:02:25.302409"]]
|
|
3937
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3938
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3939
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:02:25.303655"], ["ends_at", "2015-02-27 20:02:25.303717"], ["created_at", "2015-02-27 21:02:25.304116"], ["updated_at", "2015-02-27 21:02:25.304116"]]
|
|
3940
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3941
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 20:02:25.303717')[0m
|
|
3942
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3943
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
3944
|
+
-----------------------------------------
|
|
3945
|
+
ActsAsIntervalTest: test_intervals_before
|
|
3946
|
+
-----------------------------------------
|
|
3947
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3948
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:02:25.306536"], ["ends_at", "2015-02-20 21:02:25.306604"], ["created_at", "2015-02-27 21:02:25.307271"], ["updated_at", "2015-02-27 21:02:25.307271"]]
|
|
3949
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3950
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3951
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:02:25.308559"], ["ends_at", "2014-02-27 21:02:25.308624"], ["created_at", "2015-02-27 21:02:25.309053"], ["updated_at", "2015-02-27 21:02:25.309053"]]
|
|
3952
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3953
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3954
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:02:25.310292"], ["ends_at", "2016-02-27 21:02:25.310354"], ["created_at", "2015-02-27 21:02:25.310790"], ["updated_at", "2015-02-27 21:02:25.310790"]]
|
|
3955
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3956
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3957
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:02:25.312036"], ["ends_at", "2016-02-27 21:02:25.312097"], ["created_at", "2015-02-27 21:02:25.312522"], ["updated_at", "2015-02-27 21:02:25.312522"]]
|
|
3958
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3959
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
3960
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:02:25.313741"], ["ends_at", "2015-02-27 20:02:25.313798"], ["created_at", "2015-02-27 21:02:25.314187"], ["updated_at", "2015-02-27 21:02:25.314187"]]
|
|
3961
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3962
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 21:02:25.313741')[0m
|
|
3963
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
3964
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3965
|
+
----------------------------------------------------
|
|
3966
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
3967
|
+
----------------------------------------------------
|
|
3968
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3969
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
3970
|
+
---------------------------------------------
|
|
3971
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
3972
|
+
---------------------------------------------
|
|
3973
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
3974
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3975
|
+
[1m[36m (212.9ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
3976
|
+
[1m[35m (180.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
3977
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
3978
|
+
[1m[35m (110.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3979
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
3980
|
+
[1m[35m (165.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
3981
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
3982
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
3983
|
+
-----------------------------------------------
|
|
3984
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
3985
|
+
-----------------------------------------------
|
|
3986
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
3987
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
|
3988
|
+
----------------------------------------
|
|
3989
|
+
ActsAsIntervalTest: test_intervals_after
|
|
3990
|
+
----------------------------------------
|
|
3991
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3992
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:05:06.097123"], ["ends_at", "2015-02-20 21:05:06.097886"], ["created_at", "2015-02-27 21:05:06.115241"], ["updated_at", "2015-02-27 21:05:06.115241"]]
|
|
3993
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
|
3994
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
3995
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:05:06.127577"], ["ends_at", "2014-02-27 21:05:06.128015"], ["created_at", "2015-02-27 21:05:06.130504"], ["updated_at", "2015-02-27 21:05:06.130504"]]
|
|
3996
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
3997
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
3998
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:05:06.137304"], ["ends_at", "2016-02-27 21:05:06.137504"], ["created_at", "2015-02-27 21:05:06.139412"], ["updated_at", "2015-02-27 21:05:06.139412"]]
|
|
3999
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4000
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4001
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:05:06.143170"], ["ends_at", "2016-02-27 21:05:06.143348"], ["created_at", "2015-02-27 21:05:06.145168"], ["updated_at", "2015-02-27 21:05:06.145168"]]
|
|
4002
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4003
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4004
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:05:06.149011"], ["ends_at", "2015-02-27 20:05:06.149184"], ["created_at", "2015-02-27 21:05:06.150885"], ["updated_at", "2015-02-27 21:05:06.150885"]]
|
|
4005
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4006
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
|
4007
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
4008
|
+
-----------------------------------------
|
|
4009
|
+
ActsAsIntervalTest: test_intervals_before
|
|
4010
|
+
-----------------------------------------
|
|
4011
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4012
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-01-27 21:05:06.156212"], ["ends_at", "2015-02-20 21:05:06.156421"], ["created_at", "2015-02-27 21:05:06.158226"], ["updated_at", "2015-02-27 21:05:06.158226"]]
|
|
4013
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4014
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4015
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2013-02-27 21:05:06.162099"], ["ends_at", "2014-02-27 21:05:06.162278"], ["created_at", "2015-02-27 21:05:06.164200"], ["updated_at", "2015-02-27 21:05:06.164200"]]
|
|
4016
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4017
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4018
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-03-27 21:05:06.168036"], ["ends_at", "2016-02-27 21:05:06.168240"], ["created_at", "2015-02-27 21:05:06.170046"], ["updated_at", "2015-02-27 21:05:06.170046"]]
|
|
4019
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4020
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4021
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2014-02-27 21:05:06.173842"], ["ends_at", "2016-02-27 21:05:06.174020"], ["created_at", "2015-02-27 21:05:06.175840"], ["updated_at", "2015-02-27 21:05:06.175840"]]
|
|
4022
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4023
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4024
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2015-02-26 21:05:06.179501"], ["ends_at", "2015-02-27 20:05:06.179669"], ["created_at", "2015-02-27 21:05:06.181352"], ["updated_at", "2015-02-27 21:05:06.181352"]]
|
|
4025
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4026
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
|
4027
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
4028
|
+
----------------------------------------------------
|
|
4029
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
4030
|
+
----------------------------------------------------
|
|
4031
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4032
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
4033
|
+
---------------------------------------------
|
|
4034
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
4035
|
+
---------------------------------------------
|
|
4036
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4037
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4038
|
+
[1m[36m (363.5ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
4039
|
+
[1m[35m (142.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
4040
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
|
4041
|
+
[1m[35m (176.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
4042
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
4043
|
+
[1m[35m (188.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
4044
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
4045
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
|
4046
|
+
-----------------------------------------------
|
|
4047
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
4048
|
+
-----------------------------------------------
|
|
4049
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4050
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4051
|
+
----------------------------------------
|
|
4052
|
+
ActsAsIntervalTest: test_intervals_after
|
|
4053
|
+
----------------------------------------
|
|
4054
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4055
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:20:13.474394"], ["ends_at", "2015-02-20 21:20:13.474630"], ["created_at", "2015-02-27 21:20:13.478422"], ["updated_at", "2015-02-27 21:20:13.478422"]]
|
|
4056
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4057
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4058
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:20:13.482289"], ["ends_at", "2014-02-27 21:20:13.482359"], ["created_at", "2015-02-27 21:20:13.482968"], ["updated_at", "2015-02-27 21:20:13.482968"]]
|
|
4059
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4061
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:20:13.483914"], ["ends_at", "2016-02-27 21:20:13.483963"], ["created_at", "2015-02-27 21:20:13.484466"], ["updated_at", "2015-02-27 21:20:13.484466"]]
|
|
4062
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4063
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4064
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:20:13.485309"], ["ends_at", "2016-02-27 21:20:13.485358"], ["created_at", "2015-02-27 21:20:13.485867"], ["updated_at", "2015-02-27 21:20:13.485867"]]
|
|
4065
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4066
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4067
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:20:13.486705"], ["ends_at", "2015-02-27 20:20:13.486752"], ["created_at", "2015-02-27 21:20:13.487251"], ["updated_at", "2015-02-27 21:20:13.487251"]]
|
|
4068
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4069
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 20:20:13.486752')[0m
|
|
4070
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4071
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4072
|
+
-----------------------------------------
|
|
4073
|
+
ActsAsIntervalTest: test_intervals_before
|
|
4074
|
+
-----------------------------------------
|
|
4075
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4076
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:20:13.489244"], ["ends_at", "2015-02-20 21:20:13.489330"], ["created_at", "2015-02-27 21:20:13.490004"], ["updated_at", "2015-02-27 21:20:13.490004"]]
|
|
4077
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4078
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4079
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:20:13.491179"], ["ends_at", "2014-02-27 21:20:13.491295"], ["created_at", "2015-02-27 21:20:13.492061"], ["updated_at", "2015-02-27 21:20:13.492061"]]
|
|
4080
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4081
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4082
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:20:13.493227"], ["ends_at", "2016-02-27 21:20:13.493281"], ["created_at", "2015-02-27 21:20:13.493633"], ["updated_at", "2015-02-27 21:20:13.493633"]]
|
|
4083
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4085
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:20:13.494814"], ["ends_at", "2016-02-27 21:20:13.494861"], ["created_at", "2015-02-27 21:20:13.495189"], ["updated_at", "2015-02-27 21:20:13.495189"]]
|
|
4086
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4087
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4088
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:20:13.496118"], ["ends_at", "2015-02-27 20:20:13.496163"], ["created_at", "2015-02-27 21:20:13.496462"], ["updated_at", "2015-02-27 21:20:13.496462"]]
|
|
4089
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4090
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 21:20:13.496118')[0m
|
|
4091
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4092
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4093
|
+
----------------------------------------------------
|
|
4094
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
4095
|
+
----------------------------------------------------
|
|
4096
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
4097
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4098
|
+
---------------------------------------------
|
|
4099
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
4100
|
+
---------------------------------------------
|
|
4101
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
4102
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4103
|
+
[1m[36m (581.5ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
4104
|
+
[1m[35m (476.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
4105
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
4106
|
+
[1m[35m (521.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
4107
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
4108
|
+
[1m[35m (499.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
4109
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
4110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
4111
|
+
-----------------------------------------------
|
|
4112
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
4113
|
+
-----------------------------------------------
|
|
4114
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4115
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4116
|
+
----------------------------------------
|
|
4117
|
+
ActsAsIntervalTest: test_intervals_after
|
|
4118
|
+
----------------------------------------
|
|
4119
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4120
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:21:12.950263"], ["ends_at", "2015-02-20 21:21:12.950427"], ["created_at", "2015-02-27 21:21:12.954940"], ["updated_at", "2015-02-27 21:21:12.954940"]]
|
|
4121
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4123
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:21:12.959167"], ["ends_at", "2014-02-27 21:21:12.959245"], ["created_at", "2015-02-27 21:21:12.960044"], ["updated_at", "2015-02-27 21:21:12.960044"]]
|
|
4124
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4125
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4126
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:21:12.961299"], ["ends_at", "2016-02-27 21:21:12.961354"], ["created_at", "2015-02-27 21:21:12.962191"], ["updated_at", "2015-02-27 21:21:12.962191"]]
|
|
4127
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4128
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4129
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:21:12.963447"], ["ends_at", "2016-02-27 21:21:12.963501"], ["created_at", "2015-02-27 21:21:12.963848"], ["updated_at", "2015-02-27 21:21:12.963848"]]
|
|
4130
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4131
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4132
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:21:12.964657"], ["ends_at", "2015-02-27 20:21:12.964709"], ["created_at", "2015-02-27 21:21:12.965216"], ["updated_at", "2015-02-27 21:21:12.965216"]]
|
|
4133
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4134
|
+
[1m[36mInterval Load (0.3ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 20:21:12.964709')[0m
|
|
4135
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4136
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4137
|
+
-----------------------------------------
|
|
4138
|
+
ActsAsIntervalTest: test_intervals_before
|
|
4139
|
+
-----------------------------------------
|
|
4140
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4141
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:21:12.967574"], ["ends_at", "2015-02-20 21:21:12.967704"], ["created_at", "2015-02-27 21:21:12.968594"], ["updated_at", "2015-02-27 21:21:12.968594"]]
|
|
4142
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4143
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4144
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:21:12.969855"], ["ends_at", "2014-02-27 21:21:12.969944"], ["created_at", "2015-02-27 21:21:12.970553"], ["updated_at", "2015-02-27 21:21:12.970553"]]
|
|
4145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4146
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4147
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:21:12.971544"], ["ends_at", "2016-02-27 21:21:12.971596"], ["created_at", "2015-02-27 21:21:12.972106"], ["updated_at", "2015-02-27 21:21:12.972106"]]
|
|
4148
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4149
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4150
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:21:12.972954"], ["ends_at", "2016-02-27 21:21:12.973177"], ["created_at", "2015-02-27 21:21:12.973522"], ["updated_at", "2015-02-27 21:21:12.973522"]]
|
|
4151
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4152
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4153
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:21:12.974738"], ["ends_at", "2015-02-27 20:21:12.974786"], ["created_at", "2015-02-27 21:21:12.975262"], ["updated_at", "2015-02-27 21:21:12.975262"]]
|
|
4154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4155
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 21:21:12.974738')[0m
|
|
4156
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4157
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
|
4158
|
+
----------------------------------------------------
|
|
4159
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
4160
|
+
----------------------------------------------------
|
|
4161
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
4162
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4163
|
+
---------------------------------------------
|
|
4164
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
4165
|
+
---------------------------------------------
|
|
4166
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
4167
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4168
|
+
[1m[36m (341.6ms)[0m [1mCREATE TABLE "intervals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "starts_at" datetime, "ends_at" datetime, "created_at" datetime, "updated_at" datetime) [0m
|
|
4169
|
+
[1m[35m (396.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
|
4170
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
4171
|
+
[1m[35m (432.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
4172
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
4173
|
+
[1m[35m (454.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150227133736')
|
|
4174
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
4175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
4176
|
+
-----------------------------------------------
|
|
4177
|
+
ActsAsIntervalTest: test_future_interval_method
|
|
4178
|
+
-----------------------------------------------
|
|
4179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4181
|
+
----------------------------------------
|
|
4182
|
+
ActsAsIntervalTest: test_intervals_after
|
|
4183
|
+
----------------------------------------
|
|
4184
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4185
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:21:45.616455"], ["ends_at", "2015-02-20 21:21:45.616594"], ["created_at", "2015-02-27 21:21:45.620378"], ["updated_at", "2015-02-27 21:21:45.620378"]]
|
|
4186
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4187
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4188
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:21:45.624557"], ["ends_at", "2014-02-27 21:21:45.624629"], ["created_at", "2015-02-27 21:21:45.625445"], ["updated_at", "2015-02-27 21:21:45.625445"]]
|
|
4189
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4190
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4191
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:21:45.626734"], ["ends_at", "2016-02-27 21:21:45.626785"], ["created_at", "2015-02-27 21:21:45.627646"], ["updated_at", "2015-02-27 21:21:45.627646"]]
|
|
4192
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4193
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4194
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:21:45.628486"], ["ends_at", "2016-02-27 21:21:45.628535"], ["created_at", "2015-02-27 21:21:45.629037"], ["updated_at", "2015-02-27 21:21:45.629037"]]
|
|
4195
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4196
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4197
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:21:45.629841"], ["ends_at", "2015-02-27 20:21:45.629888"], ["created_at", "2015-02-27 21:21:45.630361"], ["updated_at", "2015-02-27 21:21:45.630361"]]
|
|
4198
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4199
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (starts_at >= '2015-02-27 20:21:45.629888')[0m
|
|
4200
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4202
|
+
-----------------------------------------
|
|
4203
|
+
ActsAsIntervalTest: test_intervals_before
|
|
4204
|
+
-----------------------------------------
|
|
4205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4206
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-01-27 21:21:45.632341"], ["ends_at", "2015-02-20 21:21:45.632396"], ["created_at", "2015-02-27 21:21:45.632953"], ["updated_at", "2015-02-27 21:21:45.632953"]]
|
|
4207
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4209
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2013-02-27 21:21:45.634029"], ["ends_at", "2014-02-27 21:21:45.634098"], ["created_at", "2015-02-27 21:21:45.634722"], ["updated_at", "2015-02-27 21:21:45.634722"]]
|
|
4210
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4211
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4212
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-03-27 21:21:45.635784"], ["ends_at", "2016-02-27 21:21:45.636040"], ["created_at", "2015-02-27 21:21:45.636423"], ["updated_at", "2015-02-27 21:21:45.636423"]]
|
|
4213
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4214
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
|
4215
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["starts_at", "2014-02-27 21:21:45.637309"], ["ends_at", "2016-02-27 21:21:45.637357"], ["created_at", "2015-02-27 21:21:45.637872"], ["updated_at", "2015-02-27 21:21:45.637872"]]
|
|
4216
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
4217
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
4218
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "intervals" ("starts_at", "ends_at", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["starts_at", "2015-02-26 21:21:45.638988"], ["ends_at", "2015-02-27 20:21:45.639034"], ["created_at", "2015-02-27 21:21:45.639347"], ["updated_at", "2015-02-27 21:21:45.639347"]]
|
|
4219
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
|
4220
|
+
[1m[36mInterval Load (0.1ms)[0m [1mSELECT "intervals".* FROM "intervals" WHERE (ends_at <= '2015-02-26 21:21:45.638988')[0m
|
|
4221
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
|
4222
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4223
|
+
----------------------------------------------------
|
|
4224
|
+
ActsAsIntervalTest: test_overlapping_interval_method
|
|
4225
|
+
----------------------------------------------------
|
|
4226
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
|
4227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
4228
|
+
---------------------------------------------
|
|
4229
|
+
ActsAsIntervalTest: test_past_interval_method
|
|
4230
|
+
---------------------------------------------
|
|
4231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|