stationed 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +5 -1
- data/lib/stationed/version.rb +1 -1
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +15 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +47 -0
- data/spec/dummy/log/test.log +300 -0
- data/spec/helpers/crud_link_helper_spec.rb +4 -4
- data/spec/helpers/page_title_helper_spec.rb +1 -1
- data/spec/helpers/placeholder_helper_spec.rb +1 -1
- metadata +13 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c4e215738acbf55b8955f921f4815256b7fafbc
|
4
|
+
data.tar.gz: 4fb867dfdd7d030d44deafc7808ec12589c84f24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 480eb2ef9fc8f7624109b155c185da45dcedd7d1e7edfbf2f7b122142639d998844497c0677989e11d3cffdc1f55e7d17cde552e55d505d8270dbeaa4fb56a78
|
7
|
+
data.tar.gz: dba2ac7cc6dd3d61d42248e8194659bc09ce84a1448abc6a8ac096e84e036c814807cbf834504dc05e3758f4e848e853f07938ce0f20503b6383d468c77d7f1b
|
data/HISTORY.md
CHANGED
data/lib/stationed/version.rb
CHANGED
@@ -14,7 +14,7 @@ Dummy::Application.configure do
|
|
14
14
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
16
16
|
config.serve_static_assets = true
|
17
|
-
config.
|
17
|
+
config.public_file_server.headers = { "Cache-Control" => "public, max-age=3600" }
|
18
18
|
|
19
19
|
# Show full error reports and disable caching.
|
20
20
|
config.consider_all_requests_local = true
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended that you check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(version: 0) do
|
14
|
+
|
15
|
+
end
|
Binary file
|
@@ -0,0 +1,47 @@
|
|
1
|
+
DEPRECATION WARNING: Passing #original_exception is deprecated and has no effect. Exceptions will automatically capture the original exception. (called from load at /usr/local/var/rbenv/versions/2.4.0/bin/rake:22)
|
2
|
+
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
4
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
5
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-03-01 06:37:56 UTC], ["updated_at", 2017-03-01 06:37:56 UTC]]
|
7
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
8
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11
|
+
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
12
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
13
|
+
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
14
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
15
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
16
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
17
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-03-01 06:38:02 UTC], ["updated_at", 2017-03-01 06:38:02 UTC]]
|
18
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
19
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
20
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
21
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
22
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
23
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
24
|
+
[1m[35m (9.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
25
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
26
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
27
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
28
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
29
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
30
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-03-01 06:40:38 UTC], ["updated_at", 2017-03-01 06:40:38 UTC]]
|
31
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
32
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
33
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
35
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
36
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37
|
+
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
38
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
39
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
40
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
41
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
42
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
43
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-03-01 06:44:31 UTC], ["updated_at", 2017-03-01 06:44:31 UTC]]
|
44
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
45
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
46
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
47
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -0,0 +1,300 @@
|
|
1
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
2
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
3
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
4
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
5
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
7
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
9
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
10
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
13
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
14
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
15
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
16
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
17
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
18
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
19
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
20
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
21
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
22
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
23
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
24
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
25
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
26
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
27
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
29
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
30
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
31
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
32
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
33
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
35
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
36
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
38
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
39
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
40
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
41
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
43
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
44
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
45
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
46
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
47
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
48
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
49
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
50
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
51
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
52
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
53
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
54
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
55
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
56
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
57
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
58
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
59
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
60
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
61
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
62
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
63
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
64
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
65
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
66
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
67
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
68
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
69
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
70
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
71
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
72
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
73
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
74
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
75
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
76
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
77
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
78
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
79
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
80
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
81
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
82
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
83
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
84
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
85
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
86
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
87
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
88
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
89
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
90
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
91
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
92
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
93
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
94
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
95
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
96
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
97
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
98
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
99
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
100
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
101
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
102
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
103
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
104
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
105
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
106
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
107
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
108
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
109
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
110
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
111
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
112
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
113
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
114
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
115
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
116
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
117
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
118
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
119
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
120
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
121
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
122
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
123
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
124
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
125
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
126
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
127
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
128
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
129
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
130
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
131
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
132
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
133
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
134
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
135
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
136
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
137
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
138
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
139
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
140
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
141
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
142
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
143
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
144
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
145
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
146
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
147
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
148
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
149
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
150
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
151
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
152
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
153
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
154
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
155
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
156
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
157
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
158
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
159
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
160
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
161
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
162
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
163
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
164
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
165
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
166
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
167
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
168
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
169
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
170
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
171
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
172
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
174
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
175
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
176
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
177
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
178
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
179
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
180
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
181
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
182
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
183
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
184
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
185
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
186
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
187
|
+
[1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
|
188
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
189
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
190
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
191
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
192
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
193
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
194
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
195
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
196
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
197
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
198
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
199
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
200
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
201
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
202
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
203
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
204
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
205
|
+
[1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
|
206
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
207
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
208
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
209
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
210
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
211
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
212
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
213
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
214
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
215
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
216
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
217
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
218
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
219
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
220
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
221
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
222
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
223
|
+
[1m[35m (0.6ms)[0m [1m[36mbegin transaction[0m
|
224
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
225
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
226
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
227
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
228
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
229
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
230
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
231
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
232
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
233
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
234
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
235
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
236
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
237
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
238
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
239
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
240
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
241
|
+
[1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
|
242
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
243
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
244
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
245
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
246
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
247
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
248
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
249
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
250
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
251
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
252
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
253
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
254
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
255
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
256
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
257
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
258
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
259
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
260
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
261
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
262
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
263
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
264
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
265
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
266
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
267
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
268
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
269
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
270
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
271
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
272
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
273
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
274
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
275
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
276
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
277
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
278
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
279
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
280
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
281
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
282
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
283
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
284
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
285
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
286
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
287
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
288
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
289
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
290
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
291
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
292
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
293
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
294
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
295
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
296
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
297
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
298
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
299
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
300
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe CrudLinkHelper do
|
3
|
+
RSpec.describe CrudLinkHelper, type: :helper do
|
4
4
|
before do
|
5
5
|
I18n.backend.store_translations(
|
6
6
|
:en,
|
@@ -68,21 +68,21 @@ describe CrudLinkHelper do
|
|
68
68
|
it 'allows adding custom options' do
|
69
69
|
allow(helper).to receive(:new_post_path).and_return('/posts/new')
|
70
70
|
expect(helper.link_to_new(Post, title: 'bla')).to eql(
|
71
|
-
'<a href="/posts/new"
|
71
|
+
'<a title="bla" href="/posts/new">New Blog post</a>'
|
72
72
|
)
|
73
73
|
end
|
74
74
|
|
75
75
|
it 'creates a button' do
|
76
76
|
allow(helper).to receive(:new_post_path).and_return('/posts/new')
|
77
77
|
expect(helper.button_to_new(Post)).to eql(
|
78
|
-
%Q{<form
|
78
|
+
%Q{<form class="button_to" method="post" action="/posts/new"><input type="submit" value="New Blog post" /></form>}
|
79
79
|
)
|
80
80
|
end
|
81
81
|
|
82
82
|
it 'creates a button link' do
|
83
83
|
allow(helper).to receive(:new_post_path).and_return('/posts/new')
|
84
84
|
expect(helper.button_link_to_new(Post, title: 'bla')).to eql(
|
85
|
-
'<a class="button" href="/posts/new"
|
85
|
+
'<a title="bla" class="button" href="/posts/new">New Blog post</a>'
|
86
86
|
)
|
87
87
|
end
|
88
88
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stationed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arjan van der Gaag
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -194,6 +194,10 @@ files:
|
|
194
194
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
195
195
|
- spec/dummy/config/locales/en.yml
|
196
196
|
- spec/dummy/config/routes.rb
|
197
|
+
- spec/dummy/db/development.sqlite3
|
198
|
+
- spec/dummy/db/schema.rb
|
199
|
+
- spec/dummy/db/test.sqlite3
|
200
|
+
- spec/dummy/log/development.log
|
197
201
|
- spec/dummy/log/test.log
|
198
202
|
- spec/dummy/public/404.html
|
199
203
|
- spec/dummy/public/422.html
|
@@ -222,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
226
|
version: '0'
|
223
227
|
requirements: []
|
224
228
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.
|
229
|
+
rubygems_version: 2.6.10
|
226
230
|
signing_key:
|
227
231
|
specification_version: 4
|
228
232
|
summary: Rails application and scaffold generator.
|
@@ -252,6 +256,10 @@ test_files:
|
|
252
256
|
- spec/dummy/config/locales/en.yml
|
253
257
|
- spec/dummy/config/routes.rb
|
254
258
|
- spec/dummy/config.ru
|
259
|
+
- spec/dummy/db/development.sqlite3
|
260
|
+
- spec/dummy/db/schema.rb
|
261
|
+
- spec/dummy/db/test.sqlite3
|
262
|
+
- spec/dummy/log/development.log
|
255
263
|
- spec/dummy/log/test.log
|
256
264
|
- spec/dummy/public/404.html
|
257
265
|
- spec/dummy/public/422.html
|