dynamic_text 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -23
- data/app/assets/stylesheets/dynamic_text/dynamic_text.scss +12 -1
- data/app/helpers/dynamic_text/view_helper.rb +2 -0
- data/app/views/dynamic_text/_dynamic_text.html.erb +1 -1
- data/app/views/dynamic_text/_editable_text.html.erb +1 -1
- data/lib/dynamic_text/configuration.rb +12 -0
- data/lib/dynamic_text/locals_setter.rb +9 -1
- data/lib/dynamic_text/version.rb +1 -1
- data/spec/dummy/log/test.log +720 -0
- data/spec/lib/locals_setter_spec.rb +27 -0
- metadata +54 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 170d3043bf20729ce856f83b704685672813c178ccdd466344ba18f85c9f3ad3
|
4
|
+
data.tar.gz: 270e719155b19386ff6cb00de6e70b479b952c98fb8ebef56b3f0e0750703451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c594d92ff07e3cd1e9646429b1fc065799637f64234885e769617e898d274e323e0fe293f0b736b3f0cf39b8b6e422219fb01bd09aa659e78a9462d2710163f3
|
7
|
+
data.tar.gz: 62cec8be8065c29f84c59849886a1cd56b77bfee6bce4c5373b3498969ee0e5fb5bf28d405dc81d78d103d7bceec068321547abba12eea04ce1d6a3b35b40b02
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Welcome to Dynamic Text
|
2
2
|
Create a more seamless integration between displaying information and editing it! With Dynamic Text, you can allow users to easily update elements of a resource in your app just by clicking on the text and changing it, no separate edit page needed!
|
3
3
|
|
4
|
+
![](dynamic-text-in-action.gif)
|
5
|
+
|
4
6
|
## Build Status
|
5
7
|
[![Build Status](https://travis-ci.org/JoshHadik/dynamic_text.svg?branch=master)](https://travis-ci.org/JoshHadik/dynamic_text)
|
6
8
|
|
@@ -25,32 +27,27 @@ $ gem install dynamic_text
|
|
25
27
|
|
26
28
|
Dynamic Text allows you to do two main things:
|
27
29
|
|
28
|
-
### 1
|
30
|
+
### 1) Render editable content based on a resource and attribute
|
29
31
|
|
30
32
|
With the dynamic_text gem, you can easily create a hybrid HTML element that acts as both the display text for a specific attribute of a resource, and the text box for updating that attribute.
|
31
33
|
|
32
34
|
```html
|
33
|
-
|
34
|
-
<%= editable_text_for(@article, :title) %>
|
35
|
-
</div>
|
35
|
+
<%= editable_text_for(@article, :title) %>
|
36
36
|
```
|
37
37
|
|
38
|
-
### 2
|
38
|
+
### 2) Render dynamic content that updates in real time with editable text
|
39
39
|
|
40
40
|
You might not want all of the text for a specific attribute of a specific resource to be editable. For example, you might want to display the title for a blog post in both an 'h1' tag above the body of the post, as well as the navigation bar on the top of the screen.
|
41
41
|
|
42
|
-
|
43
42
|
In this case, you might want the text to be editable when pressed on in the main article section of the page, but not in the header. However, you probably still want the text in the header to change in real time if a user edits the title from within the article section.
|
44
43
|
|
45
44
|
You can use the following method to identify content that isn't editable but updates in real time when changes are made to the attribute of the resource somewhere else on the page.
|
46
45
|
|
47
46
|
```html
|
48
|
-
|
49
|
-
<%= dynamic_text_for(@article, :title) %>
|
50
|
-
</div>
|
47
|
+
<%= dynamic_text_for(@article, :title) %>
|
51
48
|
```
|
52
49
|
|
53
|
-
|
50
|
+
## Why Does It Do It?
|
54
51
|
|
55
52
|
Long ago, in the Wild West of software, the key ingredient for a successful app was functionality. Every idea was unique back then, and the potential of apps and websites was virtually untapped.
|
56
53
|
|
@@ -58,19 +55,7 @@ Nowadays, almost everything has been done. In order to gain an edge on competito
|
|
58
55
|
|
59
56
|
I believe the days of pure CRUD apps in consumer facing applications are numbered, users no longer want to navigate through completely separate pages for specific actions on specific resources. Users want pages that provide information and actions for many different resources at once in an intuitive and easy-to-navigate manner (think 'dashboard' pages).
|
60
57
|
|
61
|
-
This gem is built as a way to merge the 'edit' page and the 'show' page for a given resource, so users can update content in real time just by clicking on the text that displays that information.
|
62
|
-
|
63
|
-
For example, you could use this gem to merge the display text and edit field for the title of a blog post, so the H1 tag on the show page merges with the <input type='text'> tag in the edit form, removing the necessity for a separate edit page to update that information.
|
64
|
-
|
65
|
-
|
66
|
-
### How Can You Use It?
|
67
|
-
|
68
|
-
1. Dynamic Text
|
69
|
-
2. Editable Text
|
70
|
-
|
71
|
-
### Configuration
|
72
|
-
|
73
|
-
1. AJAX
|
58
|
+
This gem is built as a way to merge the 'edit' page and the 'show' page for a given resource, so users can update content in real time just by clicking on the text that displays that information. For example, you could use this gem to merge the display text and edit field for the title of a blog post, so the H1 tag on the show page merges with the <input type='text'> tag in the edit form, removing the necessity for a separate edit page to update that information.
|
74
59
|
|
75
60
|
## License
|
76
61
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -3,7 +3,7 @@
|
|
3
3
|
}
|
4
4
|
|
5
5
|
.editable-text {
|
6
|
-
cursor:
|
6
|
+
cursor: pointer;
|
7
7
|
display: block;
|
8
8
|
white-space: pre-line;
|
9
9
|
position: relative;
|
@@ -20,3 +20,14 @@
|
|
20
20
|
color: #878787;
|
21
21
|
font-style: italic;
|
22
22
|
}
|
23
|
+
|
24
|
+
// Default style (only works when enabled by developer)
|
25
|
+
.editable-text.dt-default-style:focus {
|
26
|
+
background-color: #f2f2f2;
|
27
|
+
border: 2px solid blue;
|
28
|
+
outline: none;
|
29
|
+
outline-width: 0;
|
30
|
+
line-height: 1.2;
|
31
|
+
// padding: 8px;
|
32
|
+
border-radius: 2px;
|
33
|
+
}
|
@@ -1,10 +1,12 @@
|
|
1
1
|
module DynamicText
|
2
2
|
module ViewHelper
|
3
|
+
# Render editable text view partial for attribute of resource
|
3
4
|
def dynamic_text_for(resource, attribute, opts={})
|
4
5
|
DynamicText::ViewRenderer.new(self)
|
5
6
|
.render_dynamic_text_for(resource, attribute, opts)
|
6
7
|
end
|
7
8
|
|
9
|
+
# Render editable text view partial for attribute of resource
|
8
10
|
def editable_text_for(resource, attribute, opts={})
|
9
11
|
DynamicText::ViewRenderer.new(self)
|
10
12
|
.render_editable_text_for(resource, attribute, opts)
|
@@ -3,9 +3,21 @@ class DynamicText::Configuration
|
|
3
3
|
|
4
4
|
def initialize
|
5
5
|
@resource_scope = nil
|
6
|
+
@use_default_style = false
|
6
7
|
end
|
7
8
|
|
9
|
+
# Set a custom scope for the default resource path (in case your Rails app uses something other than the default path)
|
8
10
|
def resource_scope=(resource_scope)
|
9
11
|
@resource_scope = "/#{resource_scope}"
|
10
12
|
end
|
13
|
+
|
14
|
+
# Use the dynamic text default style for editable text boxes
|
15
|
+
def use_default_style!
|
16
|
+
@use_default_style = true
|
17
|
+
end
|
18
|
+
|
19
|
+
# Check if using default style
|
20
|
+
def use_default_style?
|
21
|
+
return @use_default_style
|
22
|
+
end
|
11
23
|
end
|
@@ -1,4 +1,5 @@
|
|
1
1
|
class DynamicText::LocalsSetter
|
2
|
+
# Set all locals for dynamic text view partial based on passed in arguments
|
2
3
|
def get_dynamic_locals(resource, attribute, opts={})
|
3
4
|
locals.merge!(opts).tap do |locals|
|
4
5
|
locals[:resource] = resource
|
@@ -10,20 +11,23 @@ class DynamicText::LocalsSetter
|
|
10
11
|
locals[:resource_type] ||= default_resource_type
|
11
12
|
locals[:resource_route] ||= default_resource_route
|
12
13
|
locals[:dynamic_tag] ||= default_dynamic_tag
|
14
|
+
locals[:style_class] ||= default_style_class
|
13
15
|
end
|
14
16
|
end #PT
|
15
17
|
|
18
|
+
# Set all locals for editable text view partial based on passed in arguments
|
16
19
|
def get_editable_locals(resource, attribute, opts={})
|
17
20
|
get_dynamic_locals(resource, attribute, opts).tap do |locals|
|
18
21
|
locals[:url] ||= default_url
|
19
22
|
locals[:js_key] ||= default_js_key
|
23
|
+
locals[:style_class] ||= default_style_class
|
20
24
|
end
|
21
25
|
end #PT
|
22
26
|
|
23
27
|
private
|
24
28
|
|
25
29
|
# Defaults
|
26
|
-
|
30
|
+
|
27
31
|
def default_resource_scope
|
28
32
|
DynamicText.configuration.resource_scope
|
29
33
|
end
|
@@ -52,6 +56,10 @@ class DynamicText::LocalsSetter
|
|
52
56
|
get_locals(:resource_type, :attribute).join(":")
|
53
57
|
end
|
54
58
|
|
59
|
+
def default_style_class
|
60
|
+
DynamicText.configuration.use_default_style? ? "dt-default-style" : ""
|
61
|
+
end
|
62
|
+
|
55
63
|
# Helpers
|
56
64
|
|
57
65
|
def locals
|
data/lib/dynamic_text/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -1698,3 +1698,723 @@ DynamicText::Test: test_truth
|
|
1698
1698
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1699
1699
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1700
1700
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1701
|
+
[1m[35m (2.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1702
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1703
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1704
|
+
[1m[35m (139.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
1705
|
+
[1m[35m (377.4ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
1706
|
+
[1m[35mSQL (3.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1707
|
+
[1m[35m (18.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1708
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1709
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1710
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1711
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1712
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1713
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-08 22:32:21.612110"], ["updated_at", "2019-08-08 22:32:21.612110"]]
|
1714
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
1715
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1716
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1717
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1718
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1719
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1720
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1721
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1722
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1723
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1724
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1725
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1726
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1727
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1728
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1729
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1730
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1731
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1732
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1733
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1734
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1735
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1736
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1737
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1738
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1739
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1740
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1741
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1742
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1743
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1744
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1745
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1746
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1747
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1748
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1749
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1750
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1751
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1752
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1753
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1754
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1755
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1756
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1757
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1758
|
+
[1m[35m (133.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
1759
|
+
[1m[35m (358.1ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
1760
|
+
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1761
|
+
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1762
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1763
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1764
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1765
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1766
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1767
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-10 21:51:35.398116"], ["updated_at", "2019-08-10 21:51:35.398116"]]
|
1768
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1769
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1770
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1771
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1772
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1773
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1774
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1775
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1776
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1777
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1778
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1779
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1780
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1781
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1782
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1783
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1784
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1785
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1786
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1787
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1788
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1789
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1790
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1791
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1792
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1793
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1794
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1795
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1796
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1797
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1798
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1799
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1800
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1801
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1802
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1803
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1804
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1805
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1806
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1807
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1808
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1809
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1810
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1811
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1812
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1813
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1814
|
+
[1m[35m (135.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
1815
|
+
[1m[35m (295.1ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
1816
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1817
|
+
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1818
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1819
|
+
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1820
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1821
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1822
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1823
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-10 21:53:11.095249"], ["updated_at", "2019-08-10 21:53:11.095249"]]
|
1824
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1825
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1826
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1827
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1828
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1829
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1830
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1831
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1832
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1833
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1834
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1835
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1836
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1837
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1838
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1839
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1840
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1841
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1842
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1843
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1844
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1845
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1846
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1847
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1848
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1849
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1850
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1851
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1852
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1853
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1854
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1855
|
+
[1m[35m (20.0ms)[0m [1m[35mBEGIN[0m
|
1856
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1857
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1858
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1859
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1860
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1861
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1862
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1863
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1864
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1865
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1866
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1867
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1868
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1869
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1870
|
+
[1m[35m (133.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
1871
|
+
[1m[35m (292.4ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
1872
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1873
|
+
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1874
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1875
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1876
|
+
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1877
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1878
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1879
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-10 21:53:52.146820"], ["updated_at", "2019-08-10 21:53:52.146820"]]
|
1880
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1881
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1882
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1883
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1884
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1885
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1886
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1887
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1888
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1889
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1890
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1891
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1892
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1893
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1894
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1895
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1896
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1897
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1898
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1899
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1900
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1901
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1902
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1903
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1904
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1905
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1906
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1907
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1908
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1909
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1910
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1911
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1912
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1913
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1914
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1915
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1916
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1917
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1918
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1919
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1920
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1921
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1922
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1923
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1924
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1925
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1926
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1927
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1928
|
+
[1m[35m (133.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
1929
|
+
[1m[35m (293.3ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
1930
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1931
|
+
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1932
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1933
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1934
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1935
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1936
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1937
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-10 21:54:10.735037"], ["updated_at", "2019-08-10 21:54:10.735037"]]
|
1938
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
1939
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1940
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1941
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
1942
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1943
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1944
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1945
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1946
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1947
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1948
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1949
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1950
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1951
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1952
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1953
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1954
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1955
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1956
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1957
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1958
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1959
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1960
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1961
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1962
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1963
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1964
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1965
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1966
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1967
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1968
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1969
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1970
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1971
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1972
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1973
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1974
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1975
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1976
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1977
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1978
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1979
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1980
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1981
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1982
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1983
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1984
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1985
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1986
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1987
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1988
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1989
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1990
|
+
[1m[35m (135.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
1991
|
+
[1m[35m (291.8ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
1992
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1993
|
+
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1994
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1995
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
1996
|
+
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1997
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1998
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1999
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-10 21:54:32.322759"], ["updated_at", "2019-08-10 21:54:32.322759"]]
|
2000
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
2001
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2002
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2003
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
2004
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2005
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2006
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2007
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2008
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2009
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2010
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2011
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2012
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2013
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2014
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2015
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2016
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2017
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2018
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2019
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2020
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2021
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2022
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2023
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2024
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2025
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2026
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2027
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2028
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2029
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2030
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2031
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2032
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2033
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2034
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2035
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2036
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2037
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2038
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2039
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2040
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2041
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2042
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2043
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2044
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2045
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2046
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2047
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2048
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2049
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2050
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2051
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2052
|
+
[1m[35m (135.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
2053
|
+
[1m[35m (298.4ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
2054
|
+
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2055
|
+
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2056
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2057
|
+
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2058
|
+
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2059
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2060
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2061
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-10 21:55:32.494021"], ["updated_at", "2019-08-10 21:55:32.494021"]]
|
2062
|
+
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
|
2063
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2064
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2065
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
2066
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2067
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2068
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2069
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2070
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2071
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2072
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2073
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2074
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2075
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2076
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2077
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2078
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2079
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2080
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2081
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2082
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2083
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2084
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2085
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2086
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2087
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2088
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2089
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2090
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2091
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2092
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2093
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2094
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2095
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2096
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2097
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2098
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2099
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2100
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2101
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2102
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2103
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2104
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2105
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2106
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2107
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2108
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2109
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2110
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2111
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2112
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2113
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2114
|
+
[1m[35m (132.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
2115
|
+
[1m[35m (295.6ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
2116
|
+
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2117
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2118
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2119
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2120
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2121
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2122
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2123
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-10 21:55:44.095848"], ["updated_at", "2019-08-10 21:55:44.095848"]]
|
2124
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
2125
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2126
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2127
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
2128
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2129
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2130
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2131
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2132
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2133
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2134
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2135
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2136
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2137
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2138
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2139
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2140
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2141
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2142
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2143
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2144
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2145
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2146
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2147
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2148
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2149
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2150
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2151
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2152
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2153
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2154
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2155
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2156
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2157
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2158
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2159
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2160
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2161
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2162
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2163
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2164
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2165
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2166
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2167
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2168
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2169
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2170
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2171
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2172
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2173
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2174
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2175
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2176
|
+
[1m[35m (146.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
2177
|
+
[1m[35m (362.9ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
2178
|
+
[1m[35mSQL (2.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2179
|
+
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2180
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2181
|
+
[1m[35m (1.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2182
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2183
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2184
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2185
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-11 22:50:30.826941"], ["updated_at", "2019-08-11 22:50:30.826941"]]
|
2186
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
2187
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2188
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2189
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
2190
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2191
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2192
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2193
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2194
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2195
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2196
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2197
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2198
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2199
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2200
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2201
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2202
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2203
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2204
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2205
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2206
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2207
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2208
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2209
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2210
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2211
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2212
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2213
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2214
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2215
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2216
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2217
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2218
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2219
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2220
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2221
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2222
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2223
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2224
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2225
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2226
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2227
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2228
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2229
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2230
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2231
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2232
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2233
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2234
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2235
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2236
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2237
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2238
|
+
[1m[35m (130.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
2239
|
+
[1m[35m (328.4ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
2240
|
+
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2241
|
+
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2242
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2243
|
+
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2244
|
+
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2245
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2246
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2247
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-11 22:55:16.992817"], ["updated_at", "2019-08-11 22:55:16.992817"]]
|
2248
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
2249
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2250
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2251
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
2252
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2253
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2254
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2255
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2256
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2257
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2258
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2259
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2260
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2261
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2262
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2263
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2264
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2265
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2266
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2267
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2268
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2269
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2270
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2271
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2272
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2273
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2274
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2275
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2276
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2277
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2278
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2279
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2280
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2281
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2282
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2283
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2284
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2285
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2286
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2287
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2288
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2289
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2290
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2291
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2292
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2293
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2294
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2295
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2296
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2297
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2298
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2299
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2300
|
+
[1m[35m (132.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
2301
|
+
[1m[35m (403.0ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
2302
|
+
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2303
|
+
[1m[35m (9.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2304
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2305
|
+
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2306
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2307
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2308
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2309
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-11 23:39:16.796749"], ["updated_at", "2019-08-11 23:39:16.796749"]]
|
2310
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
2311
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2312
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2313
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
2314
|
+
[1m[35m (2.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2315
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
2316
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
2317
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2318
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2319
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2320
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2321
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2322
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2323
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2324
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2325
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2326
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2327
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2328
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2329
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2330
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2331
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2332
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2333
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2334
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2335
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2336
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2337
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2338
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2339
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2340
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2341
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2342
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2343
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2344
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2345
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2346
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2347
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2348
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2349
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2350
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2351
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2352
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2353
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2354
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2355
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2356
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2357
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2358
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2359
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2360
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2361
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2362
|
+
[1m[35m (133.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "dynamic_text_test"[0m
|
2363
|
+
[1m[35m (275.4ms)[0m [1m[35mCREATE DATABASE "dynamic_text_test" ENCODING = 'unicode'[0m
|
2364
|
+
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
2365
|
+
[1m[35m (11.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
2366
|
+
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2367
|
+
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (0)[0m
|
2368
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
2369
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2370
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2371
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2019-08-11 23:41:52.767420"], ["updated_at", "2019-08-11 23:41:52.767420"]]
|
2372
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
2373
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
2374
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2375
|
+
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
|
2376
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2377
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2378
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2379
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2380
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2381
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2382
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2383
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2384
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2385
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2386
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2387
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2388
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2389
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2390
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2391
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2392
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2393
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2394
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2395
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2396
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2397
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2398
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2399
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2400
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2401
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2402
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2403
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2404
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2405
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2406
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2407
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2408
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2409
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2410
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2411
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2412
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2413
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
2414
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
2415
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2416
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2417
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2418
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
2419
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
2420
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
@@ -21,6 +21,11 @@ RSpec.describe DynamicText::LocalsSetter do
|
|
21
21
|
Resource.new(attribute_value)
|
22
22
|
end
|
23
23
|
|
24
|
+
# Reset the configuration after each test is run
|
25
|
+
after(:each) do
|
26
|
+
DynamicText.reset!
|
27
|
+
end
|
28
|
+
|
24
29
|
describe '#get_dynamic_locals' do
|
25
30
|
it 'returns a hash with :resource set to the first parameter' do
|
26
31
|
output = subject.get_dynamic_locals(resource, :attribute)
|
@@ -57,6 +62,17 @@ RSpec.describe DynamicText::LocalsSetter do
|
|
57
62
|
output = subject.get_dynamic_locals(resource, :attribute)
|
58
63
|
expect(output[:dynamic_tag]).to eq("resource:#{resource.id}:attribute")
|
59
64
|
end
|
65
|
+
|
66
|
+
it 'returns a hash with :style_class defaulted to an empty string' do
|
67
|
+
output = subject.get_dynamic_locals(resource, :attribute)
|
68
|
+
expect(output[:style_class]).to eq("")
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'returns a hash with :style_class defaulted to dt-default-style when configuration was set to use_default_style' do
|
72
|
+
DynamicText.configuration.use_default_style!
|
73
|
+
output = subject.get_dynamic_locals(resource, :attribute)
|
74
|
+
expect(output[:style_class]).to eq("dt-default-style")
|
75
|
+
end
|
60
76
|
end
|
61
77
|
|
62
78
|
describe '#get_editable_locals' do
|
@@ -110,5 +126,16 @@ RSpec.describe DynamicText::LocalsSetter do
|
|
110
126
|
output = subject.get_editable_locals(resource, :attribute)
|
111
127
|
expect(output[:js_key]).to eq("resource:attribute")
|
112
128
|
end
|
129
|
+
|
130
|
+
it 'returns a hash with :style_class defaulted to an empty string' do
|
131
|
+
output = subject.get_editable_locals(resource, :attribute)
|
132
|
+
expect(output[:style_class]).to eq("")
|
133
|
+
end
|
134
|
+
|
135
|
+
it 'returns a hash with :style_class defaulted to dt-default-style when configuration was set to use_default_style' do
|
136
|
+
DynamicText.configuration.use_default_style!
|
137
|
+
output = subject.get_editable_locals(resource, :attribute)
|
138
|
+
expect(output[:style_class]).to eq("dt-default-style")
|
139
|
+
end
|
113
140
|
end
|
114
141
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynamic_text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Hadik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -216,68 +216,69 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
216
|
- !ruby/object:Gem::Version
|
217
217
|
version: '0'
|
218
218
|
requirements: []
|
219
|
-
|
219
|
+
rubyforge_project:
|
220
|
+
rubygems_version: 2.7.7
|
220
221
|
signing_key:
|
221
222
|
specification_version: 4
|
222
223
|
summary: A light-weight gem for adding content editable text to a rails project.
|
223
224
|
test_files:
|
224
|
-
- spec/
|
225
|
-
- spec/dummy/config/environments/production.rb
|
226
|
-
- spec/dummy/config/environments/development.rb
|
227
|
-
- spec/dummy/config/environments/test.rb
|
228
|
-
- spec/dummy/config/initializers/inflections.rb
|
229
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
230
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
231
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
232
|
-
- spec/dummy/config/initializers/assets.rb
|
233
|
-
- spec/dummy/config/initializers/mime_types.rb
|
234
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
235
|
-
- spec/dummy/config/initializers/content_security_policy.rb
|
236
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
237
|
-
- spec/dummy/config/locales/en.yml
|
238
|
-
- spec/dummy/config/routes.rb
|
239
|
-
- spec/dummy/config/puma.rb
|
240
|
-
- spec/dummy/config/environment.rb
|
241
|
-
- spec/dummy/config/boot.rb
|
242
|
-
- spec/dummy/config/spring.rb
|
243
|
-
- spec/dummy/config/storage.yml
|
244
|
-
- spec/dummy/config/cable.yml
|
245
|
-
- spec/dummy/config/database.yml
|
246
|
-
- spec/dummy/Rakefile
|
247
|
-
- spec/dummy/bin/bundle
|
248
|
-
- spec/dummy/bin/setup
|
249
|
-
- spec/dummy/bin/rails
|
250
|
-
- spec/dummy/bin/update
|
251
|
-
- spec/dummy/bin/rake
|
252
|
-
- spec/dummy/bin/yarn
|
253
|
-
- spec/dummy/db/schema.rb
|
254
|
-
- spec/dummy/public/apple-touch-icon.png
|
255
|
-
- spec/dummy/public/500.html
|
256
|
-
- spec/dummy/public/422.html
|
257
|
-
- spec/dummy/public/404.html
|
258
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
259
|
-
- spec/dummy/public/favicon.ico
|
260
|
-
- spec/dummy/package.json
|
261
|
-
- spec/dummy/app/jobs/application_job.rb
|
225
|
+
- spec/spec_helper.rb
|
262
226
|
- spec/dummy/app/mailers/application_mailer.rb
|
263
|
-
- spec/dummy/app/models/application_record.rb
|
264
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
265
227
|
- spec/dummy/app/channels/application_cable/connection.rb
|
266
|
-
- spec/dummy/app/
|
267
|
-
- spec/dummy/app/assets/config/manifest.js
|
268
|
-
- spec/dummy/app/assets/javascripts/cable.js
|
269
|
-
- spec/dummy/app/assets/javascripts/application.js
|
228
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
270
229
|
- spec/dummy/app/views/layouts/application.html.erb
|
271
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
272
230
|
- spec/dummy/app/views/layouts/mailer.text.erb
|
273
|
-
- spec/dummy/app/
|
231
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
232
|
+
- spec/dummy/app/jobs/application_job.rb
|
233
|
+
- spec/dummy/app/models/application_record.rb
|
274
234
|
- spec/dummy/app/helpers/application_helper.rb
|
235
|
+
- spec/dummy/app/assets/javascripts/application.js
|
236
|
+
- spec/dummy/app/assets/javascripts/cable.js
|
237
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
238
|
+
- spec/dummy/app/assets/config/manifest.js
|
239
|
+
- spec/dummy/app/controllers/application_controller.rb
|
275
240
|
- spec/dummy/log/test.log
|
276
241
|
- spec/dummy/log/development.log
|
242
|
+
- spec/dummy/Rakefile
|
243
|
+
- spec/dummy/bin/yarn
|
244
|
+
- spec/dummy/bin/update
|
245
|
+
- spec/dummy/bin/rake
|
246
|
+
- spec/dummy/bin/bundle
|
247
|
+
- spec/dummy/bin/rails
|
248
|
+
- spec/dummy/bin/setup
|
249
|
+
- spec/dummy/public/404.html
|
250
|
+
- spec/dummy/public/500.html
|
251
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
252
|
+
- spec/dummy/public/422.html
|
253
|
+
- spec/dummy/public/apple-touch-icon.png
|
254
|
+
- spec/dummy/public/favicon.ico
|
277
255
|
- spec/dummy/config.ru
|
278
|
-
- spec/
|
279
|
-
- spec/
|
280
|
-
- spec/
|
281
|
-
- spec/
|
256
|
+
- spec/dummy/db/schema.rb
|
257
|
+
- spec/dummy/config/routes.rb
|
258
|
+
- spec/dummy/config/environment.rb
|
259
|
+
- spec/dummy/config/spring.rb
|
260
|
+
- spec/dummy/config/cable.yml
|
261
|
+
- spec/dummy/config/application.rb
|
262
|
+
- spec/dummy/config/boot.rb
|
263
|
+
- spec/dummy/config/environments/test.rb
|
264
|
+
- spec/dummy/config/environments/development.rb
|
265
|
+
- spec/dummy/config/environments/production.rb
|
266
|
+
- spec/dummy/config/locales/en.yml
|
267
|
+
- spec/dummy/config/storage.yml
|
268
|
+
- spec/dummy/config/puma.rb
|
269
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
270
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
271
|
+
- spec/dummy/config/initializers/mime_types.rb
|
272
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
273
|
+
- spec/dummy/config/initializers/assets.rb
|
274
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
275
|
+
- spec/dummy/config/initializers/inflections.rb
|
276
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
277
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
278
|
+
- spec/dummy/config/database.yml
|
279
|
+
- spec/dummy/package.json
|
282
280
|
- spec/lib/locals_setter_spec.rb
|
283
281
|
- spec/lib/view_renderer.rb
|
282
|
+
- spec/integration/navigation_test.rb
|
283
|
+
- spec/helpers/view_helper_spec.rb
|
284
|
+
- spec/rails_helper.rb
|