micro_cms 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/micro_cms/engine.rb +2 -1
- data/lib/micro_cms/version.rb +1 -1
- data/spec/dummy/db/{development.sqlite3 → test.sqlite3} +0 -0
- data/spec/dummy/log/development.log +0 -23
- data/spec/dummy/log/test.log +351 -0
- data/spec/dummy/tmp/development_secret.txt +1 -1
- data/spec/examples.txt +29 -0
- metadata +15 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c07cc5c21d44d0bde6dfa7bde4e7b5688e7b91d89dde60cf0bdd0fd6e9f9968
|
|
4
|
+
data.tar.gz: fc83030b2ec6e131e1e06c7973cc310646494ebcdcc000e1445502231123a721
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc5e6115395ff2ecf1f73cf4858eebd16278577d4e6429abd1ed3588c1ed48bf6ee8e0294b45e5ab4d83d688f5b6ec9986133b8c20a6378b785ffbb9f881e4ab
|
|
7
|
+
data.tar.gz: e4a8ddbfd248205257603b2da075bebf683f7eaa4fee68e458ba3e63c969aa81a08444d81fd88d566219afcd6eb7b8c77528a6fd121154a568461604c5f36612
|
data/lib/micro_cms/engine.rb
CHANGED
|
@@ -10,6 +10,7 @@ module MicroCms
|
|
|
10
10
|
FACTORIES = File.expand_path('../../spec/factories', __dir__).freeze
|
|
11
11
|
|
|
12
12
|
isolate_namespace MicroCms
|
|
13
|
+
config.autoload_once_paths << "#{root}/app/helpers"
|
|
13
14
|
|
|
14
15
|
config.generators do |generators|
|
|
15
16
|
generators.test_framework :rspec
|
|
@@ -19,7 +20,7 @@ module MicroCms
|
|
|
19
20
|
|
|
20
21
|
initializer 'micro_cms.include_view_helpers' do |_app|
|
|
21
22
|
ActiveSupport.on_load :action_view do
|
|
22
|
-
|
|
23
|
+
include MicroCms::CmsBlockHelper
|
|
23
24
|
end
|
|
24
25
|
end
|
|
25
26
|
|
data/lib/micro_cms/version.rb
CHANGED
|
Binary file
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
Started GET "/" for ::1 at 2020-05-06 15:26:50 +0200
|
|
2
|
-
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
|
3
|
-
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
4
|
-
Processing by Rails::WelcomeController#index as HTML
|
|
5
|
-
Rendering /Users/sihu/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb
|
|
6
|
-
Rendered /Users/sihu/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb (Duration: 7.1ms | Allocations: 484)
|
|
7
|
-
Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.0ms | Allocations: 2613)
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Started GET "/" for ::1 at 2020-05-06 15:26:52 +0200
|
|
11
|
-
Processing by Rails::WelcomeController#index as HTML
|
|
12
|
-
Rendering /Users/sihu/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb
|
|
13
|
-
Rendered /Users/sihu/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb (Duration: 6.1ms | Allocations: 195)
|
|
14
|
-
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms | Allocations: 748)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
Started GET "/" for ::1 at 2020-05-06 15:26:55 +0200
|
|
18
|
-
Processing by Rails::WelcomeController#index as HTML
|
|
19
|
-
Rendering /Users/sihu/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb
|
|
20
|
-
Rendered /Users/sihu/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/railties-6.0.0/lib/rails/templates/rails/welcome/index.html.erb (Duration: 0.5ms | Allocations: 7)
|
|
21
|
-
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms | Allocations: 254)
|
|
22
|
-
|
|
23
|
-
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
|
2
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
|
3
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
|
4
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
|
5
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "micro_cms_content_blocks"[0m
|
|
6
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "micro_cms_content_blocks" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "path" varchar, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
7
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
|
8
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
9
|
+
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190923150252)[0m
|
|
10
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
|
11
|
+
[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]]
|
|
12
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
13
|
+
[1m[36mActiveRecord::InternalMetadata Create (4.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2022-05-22 10:07:52.539158"], ["updated_at", "2022-05-22 10:07:52.539158"]]
|
|
14
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[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[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
|
17
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
18
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "schema_sha1"], ["value", "9368cdd51a843c0e310eaeaabe787de49915ee4d"], ["created_at", "2022-05-22 10:07:52.548995"], ["updated_at", "2022-05-22 10:07:52.548995"]]
|
|
19
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
|
20
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
|
21
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
22
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
23
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
24
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.650190"], ["updated_at", "2022-05-22 10:07:52.650190"]]
|
|
25
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
26
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 1.6ms | Allocations: 725)
|
|
27
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
28
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
29
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
30
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.659443"], ["updated_at", "2022-05-22 10:07:52.659443"]]
|
|
31
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
32
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
|
33
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
34
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
35
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
36
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.666915"], ["updated_at", "2022-05-22 10:07:52.666915"]]
|
|
37
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
38
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
|
39
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
40
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
41
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
42
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.670752"], ["updated_at", "2022-05-22 10:07:52.670752"]]
|
|
43
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
44
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
|
45
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
46
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
47
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
48
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.771017"], ["updated_at", "2022-05-22 10:07:52.771017"]]
|
|
49
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
50
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
|
51
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2022-05-22 12:07:52 +0200
|
|
52
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
|
53
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"my-path-de"}
|
|
54
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-path-de"], ["LIMIT", 1]]
|
|
55
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
56
|
+
[1m[36mMicroCms::ContentBlock Update (0.1ms)[0m [1m[33mUPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ?[0m [["content", "my new content"], ["updated_at", "2022-05-22 10:07:52.798672"], ["id", 1]]
|
|
57
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
58
|
+
Completed 204 No Content in 2ms (ActiveRecord: 0.3ms | Allocations: 1000)
|
|
59
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
|
60
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
61
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
62
|
+
Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2022-05-22 12:07:52 +0200
|
|
63
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
|
64
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"not-existent"}
|
|
65
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "not-existent"], ["LIMIT", 1]]
|
|
66
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 461)
|
|
67
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
68
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
69
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
70
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.814891"], ["updated_at", "2022-05-22 10:07:52.814891"]]
|
|
71
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
72
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2022-05-22 12:07:52 +0200
|
|
73
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
|
74
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
|
75
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 323)
|
|
76
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
|
77
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
78
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
79
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
80
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
81
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
82
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
83
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
84
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
85
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
86
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
87
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
88
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
89
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
90
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
91
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
92
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
|
93
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
94
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2022-05-22 10:07:52.860381"], ["updated_at", "2022-05-22 10:07:52.860381"]]
|
|
95
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
96
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
97
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
98
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
99
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
100
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
101
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.863900"], ["updated_at", "2022-05-22 10:07:52.863900"]]
|
|
102
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
103
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
|
104
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
105
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
106
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
107
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
108
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
109
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
110
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
111
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2022-05-22 10:07:52.874888"], ["updated_at", "2022-05-22 10:07:52.874888"]]
|
|
112
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
113
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
114
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
115
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
116
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
117
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
118
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
119
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my default value"], ["created_at", "2022-05-22 10:07:52.881342"], ["updated_at", "2022-05-22 10:07:52.881342"]]
|
|
120
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
121
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.6ms | Allocations: 425)
|
|
122
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
123
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
124
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
125
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
126
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
127
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
128
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
129
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2022-05-22 10:07:52.886931"], ["updated_at", "2022-05-22 10:07:52.886931"]]
|
|
130
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
131
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
|
132
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
133
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
134
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
135
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
136
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
137
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
138
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2022-05-22 10:07:52.891497"], ["updated_at", "2022-05-22 10:07:52.891497"]]
|
|
139
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
140
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
141
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
142
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
143
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
144
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
145
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
146
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2022-05-22 10:07:52.896373"], ["updated_at", "2022-05-22 10:07:52.896373"]]
|
|
147
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
148
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 169)
|
|
149
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
150
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
151
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
152
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
153
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
154
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
|
155
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
156
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", ""], ["created_at", "2022-05-22 10:07:52.901521"], ["updated_at", "2022-05-22 10:07:52.901521"]]
|
|
157
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
158
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
159
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
160
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
161
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
162
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
163
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
|
164
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
165
|
+
[1m[36mMicroCms::ContentBlock Create (0.2ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default value"], ["created_at", "2022-05-22 10:07:52.905420"], ["updated_at", "2022-05-22 10:07:52.905420"]]
|
|
166
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
167
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
168
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
169
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
170
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
171
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
172
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
|
173
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
174
|
+
[1m[36mMicroCms::ContentBlock Create (0.2ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2022-05-22 10:07:52.909269"], ["updated_at", "2022-05-22 10:07:52.909269"]]
|
|
175
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
176
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
177
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
178
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
|
179
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
180
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
181
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2022-05-22 10:07:52.912704"], ["updated_at", "2022-05-22 10:07:52.912704"]]
|
|
182
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
183
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
184
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
185
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
|
186
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "schema_sha1"]]
|
|
187
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
|
188
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
|
189
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
190
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
191
|
+
[1m[36mMicroCms::ContentBlock Create (1.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:27.891785"], ["updated_at", "2022-05-22 10:38:27.891785"]]
|
|
192
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
193
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 1.3ms | Allocations: 637)
|
|
194
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
|
195
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
196
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
197
|
+
[1m[36mMicroCms::ContentBlock Create (0.5ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.028959"], ["updated_at", "2022-05-22 10:38:28.028959"]]
|
|
198
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
199
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.2ms | Allocations: 84)
|
|
200
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
201
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
202
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
203
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.040707"], ["updated_at", "2022-05-22 10:38:28.040707"]]
|
|
204
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
205
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.3ms | Allocations: 84)
|
|
206
|
+
[1m[36mTRANSACTION (0.6ms)[0m [1m[31mrollback transaction[0m
|
|
207
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
208
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
209
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.058214"], ["updated_at", "2022-05-22 10:38:28.058214"]]
|
|
210
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
211
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.5ms | Allocations: 84)
|
|
212
|
+
[1m[36mTRANSACTION (1.5ms)[0m [1m[31mrollback transaction[0m
|
|
213
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
214
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
215
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
216
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
217
|
+
[1m[36mMicroCms::ContentBlock Create (0.6ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.089420"], ["updated_at", "2022-05-22 10:38:28.089420"]]
|
|
218
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
219
|
+
[1m[36mMicroCms::ContentBlock Load (0.3ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
|
220
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2022-05-22 12:38:28 +0200
|
|
221
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
|
222
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"my-path-de"}
|
|
223
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-path-de"], ["LIMIT", 1]]
|
|
224
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
225
|
+
[1m[36mMicroCms::ContentBlock Update (0.1ms)[0m [1m[33mUPDATE "micro_cms_content_blocks" SET "content" = ?, "updated_at" = ? WHERE "micro_cms_content_blocks"."id" = ?[0m [["content", "my new content"], ["updated_at", "2022-05-22 10:38:28.122518"], ["id", 1]]
|
|
226
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
227
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.4ms | Allocations: 978)
|
|
228
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
|
229
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
|
230
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
231
|
+
Started PUT "/micro_cms/content_block/not-existent.js?micro_cms_content_block%5Bauthorization_token%5D=my-securely-generated-auth-tokenµ_cms_content_block%5Bcontent%5D=my+new+content" for 127.0.0.1 at 2022-05-22 12:38:28 +0200
|
|
232
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
|
233
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-securely-generated-auth-token", "content"=>"my new content"}, "path"=>"not-existent"}
|
|
234
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "not-existent"], ["LIMIT", 1]]
|
|
235
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms | Allocations: 441)
|
|
236
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
237
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
238
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
239
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-path-de"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.137182"], ["updated_at", "2022-05-22 10:38:28.137182"]]
|
|
240
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
241
|
+
Started PUT "/micro_cms/content_block/my-path-de.js?micro_cms_content_block%5Bauthorization_token%5D=my-evil-spoofing-tokenµ_cms_content_block%5Bcontent%5D=blubb" for 127.0.0.1 at 2022-05-22 12:38:28 +0200
|
|
242
|
+
Processing by MicroCms::ContentBlockController#update as JS
|
|
243
|
+
Parameters: {"micro_cms_content_block"=>{"authorization_token"=>"my-evil-spoofing-token", "content"=>"blubb"}, "path"=>"my-path-de"}
|
|
244
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 310)
|
|
245
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
|
246
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
247
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
248
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
249
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
250
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
251
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2022-05-22 10:38:28.191122"], ["updated_at", "2022-05-22 10:38:28.191122"]]
|
|
252
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
253
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.6ms | Allocations: 337)
|
|
254
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
255
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
256
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
257
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
258
|
+
[1m[36mMicroCms::ContentBlock Load (0.2ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
259
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
260
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", ""], ["created_at", "2022-05-22 10:38:28.201734"], ["updated_at", "2022-05-22 10:38:28.201734"]]
|
|
261
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
262
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
263
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
264
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
265
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
266
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
267
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
268
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my default value"], ["created_at", "2022-05-22 10:38:28.211739"], ["updated_at", "2022-05-22 10:38:28.211739"]]
|
|
269
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
270
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.2ms | Allocations: 84)
|
|
271
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
272
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
273
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
274
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
275
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
276
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
277
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
278
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2022-05-22 10:38:28.221860"], ["updated_at", "2022-05-22 10:38:28.221860"]]
|
|
279
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
280
|
+
Rendered /Users/simon/r/micro_cms/app/views/micro_cms/_content_block.html.erb (Duration: 0.2ms | Allocations: 84)
|
|
281
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
282
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
283
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
284
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
285
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
286
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.229665"], ["updated_at", "2022-05-22 10:38:28.229665"]]
|
|
287
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
288
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
289
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
|
290
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
291
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
292
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
|
293
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
294
|
+
[1m[36mMicroCms::ContentBlock Create (0.5ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", ""], ["created_at", "2022-05-22 10:38:28.243754"], ["updated_at", "2022-05-22 10:38:28.243754"]]
|
|
295
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
296
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
297
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
298
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
|
299
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
300
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
301
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
|
302
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
303
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", " <p>This is my custom content</p>"], ["created_at", "2022-05-22 10:38:28.256043"], ["updated_at", "2022-05-22 10:38:28.256043"]]
|
|
304
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
305
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
306
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
307
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
308
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
309
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
310
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-nonexistent-path-en"], ["LIMIT", 1]]
|
|
311
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
312
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-nonexistent-path-en"], ["content", "my default value"], ["created_at", "2022-05-22 10:38:28.267469"], ["updated_at", "2022-05-22 10:38:28.267469"]]
|
|
313
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
314
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
315
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
316
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
317
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
318
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
319
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-custom-path-en"], ["content", "my custom content of the block"], ["created_at", "2022-05-22 10:38:28.275881"], ["updated_at", "2022-05-22 10:38:28.275881"]]
|
|
320
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
321
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-custom-path-en"], ["LIMIT", 1]]
|
|
322
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
323
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
324
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
325
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
326
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
327
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
328
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
329
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
330
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
331
|
+
[1m[36mMicroCms::ContentBlock Load (0.0ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
|
332
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
333
|
+
[1m[36mMicroCms::ContentBlock Create (0.3ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "my content"], ["created_at", "2022-05-22 10:38:28.299610"], ["updated_at", "2022-05-22 10:38:28.299610"]]
|
|
334
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
335
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_cms_content_blocks"[0m
|
|
336
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" ORDER BY "micro_cms_content_blocks"."created_at" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
337
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
338
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
339
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
340
|
+
[1m[36mMicroCms::ContentBlock Create (0.4ms)[0m [1m[32mINSERT INTO "micro_cms_content_blocks" ("path", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["path", "my-content-block-en"], ["content", "MyText"], ["created_at", "2022-05-22 10:38:28.304615"], ["updated_at", "2022-05-22 10:38:28.304615"]]
|
|
341
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
342
|
+
[1m[36mMicroCms::ContentBlock Load (0.1ms)[0m [1m[34mSELECT "micro_cms_content_blocks".* FROM "micro_cms_content_blocks" WHERE "micro_cms_content_blocks"."path" = ? LIMIT ?[0m [["path", "my-content-block-en"], ["LIMIT", 1]]
|
|
343
|
+
[1m[36mTRANSACTION (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
344
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
345
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
346
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
347
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
348
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
349
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
350
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
351
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
090ff09e6c68cb820ad897dc43d4eb260fee01aa1e375f3a732ddafb5d6978d7b2614f006c67db297f923eda4c4fd2670b6ea435889384a1992d6a80367a10ad
|
data/spec/examples.txt
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
example_id | status | run_time |
|
|
2
|
+
--------------------------------------------------------------------- | ------ | --------------- |
|
|
3
|
+
./spec/engine/micro_cms_spec.rb[1:1:1] | passed | 0.0034 seconds |
|
|
4
|
+
./spec/helpers/micro_cms/application_helper_spec.rb[1:1:1:1] | passed | 0.01337 seconds |
|
|
5
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:1:1:1:1] | passed | 0.0092 seconds |
|
|
6
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:1:1:2:1:1] | passed | 0.00936 seconds |
|
|
7
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:1:1:3:1:1] | passed | 0.00916 seconds |
|
|
8
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:1:1:4:1:1] | passed | 0.0493 seconds |
|
|
9
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:1:2:1:1] | passed | 0.00928 seconds |
|
|
10
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:2:1:1] | passed | 0.00929 seconds |
|
|
11
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:2:2:1:1:1] | passed | 0.00912 seconds |
|
|
12
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:2:2:2:1:1] | passed | 0.01182 seconds |
|
|
13
|
+
./spec/helpers/micro_cms/cms_block_helper_spec.rb[1:2:2:3:1:1] | passed | 0.012 seconds |
|
|
14
|
+
./spec/models/micro_cms/content_block_spec.rb[1:1:1] | passed | 0.0057 seconds |
|
|
15
|
+
./spec/models/micro_cms/content_block_spec.rb[1:1:2] | passed | 0.00447 seconds |
|
|
16
|
+
./spec/models/micro_cms/content_block_spec.rb[1:2:1] | passed | 0.00064 seconds |
|
|
17
|
+
./spec/models/micro_cms/content_block_spec.rb[1:3:1] | passed | 0.00077 seconds |
|
|
18
|
+
./spec/models/micro_cms/content_block_spec.rb[1:4:1:1] | passed | 0.00525 seconds |
|
|
19
|
+
./spec/models/micro_cms/content_block_spec.rb[1:4:2:1] | passed | 0.00562 seconds |
|
|
20
|
+
./spec/models/micro_cms/content_block_spec.rb[1:5:1] | passed | 0.00144 seconds |
|
|
21
|
+
./spec/requests/micro_cms/content_block_controller_spec.rb[1:1:1:1] | passed | 0.04238 seconds |
|
|
22
|
+
./spec/requests/micro_cms/content_block_controller_spec.rb[1:1:1:2:1] | passed | 0.00939 seconds |
|
|
23
|
+
./spec/requests/micro_cms/content_block_controller_spec.rb[1:1:2:1] | passed | 0.00991 seconds |
|
|
24
|
+
./spec/routing/micro_cms/content_blocks_routing_spec.rb[1:1:1] | passed | 0.00147 seconds |
|
|
25
|
+
./spec/routing/micro_cms/content_blocks_routing_spec.rb[1:1:2] | passed | 0.00143 seconds |
|
|
26
|
+
./spec/views/micro_cms/content_block_spec.rb[1:1] | passed | 0.0229 seconds |
|
|
27
|
+
./spec/views/micro_cms/content_block_spec.rb[1:2] | passed | 0.16076 seconds |
|
|
28
|
+
./spec/views/micro_cms/content_block_spec.rb[1:3] | passed | 0.01244 seconds |
|
|
29
|
+
./spec/views/micro_cms/content_block_spec.rb[1:4] | passed | 0.01244 seconds |
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: micro_cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lukas Bischof
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: '6.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
26
|
+
version: '6.0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: factory_bot_rails
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -132,10 +132,11 @@ files:
|
|
|
132
132
|
- spec/dummy/config/routes.rb
|
|
133
133
|
- spec/dummy/config/spring.rb
|
|
134
134
|
- spec/dummy/config/storage.yml
|
|
135
|
-
- spec/dummy/db/development.sqlite3
|
|
136
135
|
- spec/dummy/db/migrate/20190923150252_create_micro_cms_content_blocks.micro_cms.rb
|
|
137
136
|
- spec/dummy/db/schema.rb
|
|
137
|
+
- spec/dummy/db/test.sqlite3
|
|
138
138
|
- spec/dummy/log/development.log
|
|
139
|
+
- spec/dummy/log/test.log
|
|
139
140
|
- spec/dummy/public/404.html
|
|
140
141
|
- spec/dummy/public/422.html
|
|
141
142
|
- spec/dummy/public/500.html
|
|
@@ -144,6 +145,7 @@ files:
|
|
|
144
145
|
- spec/dummy/public/favicon.ico
|
|
145
146
|
- spec/dummy/tmp/development_secret.txt
|
|
146
147
|
- spec/engine/micro_cms_spec.rb
|
|
148
|
+
- spec/examples.txt
|
|
147
149
|
- spec/factories/micro_cms/content_blocks.rb
|
|
148
150
|
- spec/helpers/micro_cms/application_helper_spec.rb
|
|
149
151
|
- spec/helpers/micro_cms/cms_block_helper_spec.rb
|
|
@@ -159,7 +161,7 @@ licenses:
|
|
|
159
161
|
- MIT
|
|
160
162
|
metadata:
|
|
161
163
|
allowed_push_host: https://rubygems.org/
|
|
162
|
-
post_install_message:
|
|
164
|
+
post_install_message:
|
|
163
165
|
rdoc_options: []
|
|
164
166
|
require_paths:
|
|
165
167
|
- lib
|
|
@@ -174,8 +176,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
174
176
|
- !ruby/object:Gem::Version
|
|
175
177
|
version: '0'
|
|
176
178
|
requirements: []
|
|
177
|
-
|
|
178
|
-
|
|
179
|
+
rubyforge_project:
|
|
180
|
+
rubygems_version: 2.7.6
|
|
181
|
+
signing_key:
|
|
179
182
|
specification_version: 4
|
|
180
183
|
summary: An inline micro cms
|
|
181
184
|
test_files:
|
|
@@ -229,10 +232,12 @@ test_files:
|
|
|
229
232
|
- spec/dummy/public/404.html
|
|
230
233
|
- spec/dummy/public/apple-touch-icon-precomposed.png
|
|
231
234
|
- spec/dummy/db/schema.rb
|
|
235
|
+
- spec/dummy/db/test.sqlite3
|
|
232
236
|
- spec/dummy/db/migrate/20190923150252_create_micro_cms_content_blocks.micro_cms.rb
|
|
233
|
-
- spec/dummy/
|
|
237
|
+
- spec/dummy/log/test.log
|
|
234
238
|
- spec/dummy/log/development.log
|
|
235
239
|
- spec/dummy/tmp/development_secret.txt
|
|
240
|
+
- spec/examples.txt
|
|
236
241
|
- spec/models/micro_cms/content_block_spec.rb
|
|
237
242
|
- spec/requests/micro_cms/content_block_controller_spec.rb
|
|
238
243
|
- spec/support/shared_examples/cms_block_helper_spec_helper.rb
|