katgut 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -13
- data/lib/katgut/engine.rb +0 -4
- data/lib/katgut/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +715 -0
- metadata +2 -4
- data/spec/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9e0af4382b30f4ec050991c18ef8518e2bfdd2b
|
4
|
+
data.tar.gz: 3f15c268cbe282e31b9d8309488209b823f6ba9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c5858465324662443c5e0a797bcfbfd74bc887caf8a712f790ab96f112a4626f91c411c2e68d179b72b1e3aeb0c61f46803e3680a399f76af2026c7d2dccbcf
|
7
|
+
data.tar.gz: 2c3c5dfbba597a2f256c8153f8eb9d7c96b9ad0118c4bda6a1baedd289bd1b64111136760d574c24d323543d68cf756e37d2bdfd79eb90304bd5537ca7c2fac5
|
data/README.md
CHANGED
@@ -42,22 +42,11 @@ end
|
|
42
42
|
## Defining the redirection rules
|
43
43
|
The redirection rules will be stored in `katgut_rules` table. A rule is a set of following parameters:
|
44
44
|
|
45
|
-
Example:
|
46
|
-
|
47
|
-
```ruby
|
48
|
-
# Define a rule...
|
49
|
-
Katgut::Rule.new(source: "go-to-google", destination: "https://www.google.co.jp/").save
|
50
|
-
|
51
|
-
# ... to create this redirection
|
52
|
-
# GET /katgut/go-to-google => GET https://www.google.co.jp/
|
53
|
-
```
|
54
|
-
|
55
|
-
You can set these 3 attributes to each redirection rule.
|
56
|
-
|
57
45
|
* source
|
58
46
|
* destination
|
59
47
|
* active
|
60
48
|
|
49
|
+
|
61
50
|
### `source`
|
62
51
|
Set a unique key to determine which rule should be used to redirect the request.
|
63
52
|
Only word characters and hyphens\(`[^a-zA-Z0-9_\-]`) are allowed and at least 5 characters needed.
|
@@ -76,6 +65,16 @@ Set the desination url.
|
|
76
65
|
### `active`
|
77
66
|
Set `false` to ignore the rule.
|
78
67
|
|
68
|
+
## Example
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
# Define a rule...
|
72
|
+
Katgut::Rule.new(source: "go-to-google", destination: "https://www.google.co.jp/").save
|
73
|
+
|
74
|
+
# ... to create this redirection
|
75
|
+
# GET /katgut/go-to-google => GET https://www.google.co.jp/
|
76
|
+
```
|
77
|
+
|
79
78
|
## Customization
|
80
79
|
You can customize the behavour of the gem through the initializer script.
|
81
80
|
|
@@ -100,8 +99,9 @@ The `rule` will be `nil` when the specified source url on the request was not va
|
|
100
99
|
|
101
100
|
```ruby
|
102
101
|
Katgut.configure do |config|
|
103
|
-
config.after_refirection_callback = do |request, parameters, rule|
|
102
|
+
config.after_refirection_callback = proc do |request, parameters, rule|
|
104
103
|
# add custom behaviour here, such as logging, overwriting the rule, etc...
|
104
|
+
# this block will be called in the context of Katgut::RulesController.
|
105
105
|
end
|
106
106
|
end
|
107
107
|
```
|
data/lib/katgut/engine.rb
CHANGED
@@ -6,9 +6,5 @@ module Katgut
|
|
6
6
|
g.test_framework :rspec, fixture: false
|
7
7
|
g.fixture_replacement :factory_girl, dir: "spec/factories"
|
8
8
|
end
|
9
|
-
|
10
|
-
initializer "static assets" do |app|
|
11
|
-
app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
|
12
|
-
end
|
13
9
|
end
|
14
10
|
end
|
data/lib/katgut/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -6695,3 +6695,718 @@ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
|
6695
6695
|
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6696
6696
|
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6697
6697
|
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
6698
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6699
|
+
[1m[35m (1.1ms)[0m DELETE FROM "katgut_rules";
|
6700
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6701
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6702
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6703
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6704
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1[0m
|
6705
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 07:24:04.052071"], ["updated_at", "2016-07-21 07:24:04.052071"]]
|
6706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6707
|
+
Processing by Katgut::RulesController#show as HTML
|
6708
|
+
Parameters: {"id"=>"advice"}
|
6709
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
|
6710
|
+
Redirected to http://test.host/
|
6711
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.1ms)
|
6712
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6713
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6714
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6715
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
6716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6717
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6718
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1[0m
|
6719
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 07:24:04.084638"], ["updated_at", "2016-07-21 07:24:04.084638"]]
|
6720
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6721
|
+
Processing by Katgut::RulesController#show as HTML
|
6722
|
+
Parameters: {"id"=>"advice"}
|
6723
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
|
6724
|
+
Redirected to http://test.host/
|
6725
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
6726
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6727
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6728
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6729
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6730
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6731
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
|
6732
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6733
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6734
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6735
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6736
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6737
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
|
6738
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6739
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6740
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6741
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6743
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
|
6744
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6745
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6746
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6747
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
6748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6749
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
|
6750
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6751
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6752
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6753
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6754
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6755
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
|
6756
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6757
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6758
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6759
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6761
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
|
6762
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6763
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6764
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6765
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6766
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6767
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
|
6768
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6769
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6770
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6771
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6773
|
+
[1m[35m (0.3ms)[0m DELETE FROM "katgut_rules";
|
6774
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6775
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6776
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6778
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6779
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6780
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6781
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6782
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6783
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
6784
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6785
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6786
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6787
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6789
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
|
6790
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 07:24:04.213274"], ["updated_at", "2016-07-21 07:24:04.213274"]]
|
6791
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6792
|
+
Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 16:24:04 +0900
|
6793
|
+
Processing by Katgut::RulesController#show as HTML
|
6794
|
+
Parameters: {"id"=>"torsitsugi_test_13"}
|
6795
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_13"]]
|
6796
|
+
Redirected to http://www.example.com/katgut_success.html
|
6797
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
6798
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
6799
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6800
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6801
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
6802
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6804
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
|
6805
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:24:04.241833"], ["updated_at", "2016-07-21 07:24:04.241833"]]
|
6806
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6807
|
+
Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 16:24:04 +0900
|
6808
|
+
Processing by Katgut::RulesController#show as HTML
|
6809
|
+
Parameters: {"id"=>"torsitsugi_test_14"}
|
6810
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_14"]]
|
6811
|
+
Redirected to https://httpbin.org/
|
6812
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
6813
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
6814
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6815
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6816
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6817
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6818
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
6819
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
|
6820
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:24:04.251349"], ["updated_at", "2016-07-21 07:24:04.251349"]]
|
6821
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6822
|
+
Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 16:24:04 +0900
|
6823
|
+
Processing by Katgut::RulesController#show as HTML
|
6824
|
+
Parameters: {"id"=>"torsitsugi_test_15"}
|
6825
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_15"]]
|
6826
|
+
Redirected to http://httpbin.org/
|
6827
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
6828
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
6829
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6830
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6831
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
6832
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6833
|
+
Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 16:24:04 +0900
|
6834
|
+
Processing by Katgut::RulesController#show as HTML
|
6835
|
+
Parameters: {"id"=>"not-existing-source-keyword"}
|
6836
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "not-existing-source-keyword"]]
|
6837
|
+
Redirected to http://www.example.com/
|
6838
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
6839
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
6840
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6841
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6842
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6843
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6844
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6845
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
|
6846
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 07:24:04.267996"], ["updated_at", "2016-07-21 07:24:04.267996"]]
|
6847
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6848
|
+
Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 16:24:04 +0900
|
6849
|
+
Processing by Katgut::RulesController#show as HTML
|
6850
|
+
Parameters: {"id"=>"torsitsugi_test_16"}
|
6851
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_16"]]
|
6852
|
+
Redirected to http://www.example.com/
|
6853
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
6854
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
6855
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6856
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6857
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
6858
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6859
|
+
[1m[35m (9.0ms)[0m DELETE FROM "katgut_rules";
|
6860
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6861
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6862
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6863
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6864
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1[0m
|
6865
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 07:24:36.219848"], ["updated_at", "2016-07-21 07:24:36.219848"]]
|
6866
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6867
|
+
Processing by Katgut::RulesController#show as HTML
|
6868
|
+
Parameters: {"id"=>"advice"}
|
6869
|
+
[1m[35mKatgut::Rule Load (0.2ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
|
6870
|
+
Redirected to http://test.host/
|
6871
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.2ms)
|
6872
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6873
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6874
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6875
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
6876
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6877
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
6878
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1[0m
|
6879
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 07:24:36.242884"], ["updated_at", "2016-07-21 07:24:36.242884"]]
|
6880
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
6881
|
+
Processing by Katgut::RulesController#show as HTML
|
6882
|
+
Parameters: {"id"=>"advice"}
|
6883
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
|
6884
|
+
Redirected to http://test.host/
|
6885
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
6886
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6887
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6888
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6889
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
6890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6891
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
|
6892
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6893
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6894
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6895
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
6896
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6897
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
|
6898
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6899
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6900
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6901
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6902
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6903
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
|
6904
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6905
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6906
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6907
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6908
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6909
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
|
6910
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6911
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6912
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6913
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6914
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6915
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
|
6916
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6917
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6918
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6919
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6920
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6921
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
|
6922
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6923
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6924
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6925
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6927
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
|
6928
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6929
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6930
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6931
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
6932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6933
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
6934
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6935
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6936
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
6937
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6938
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
6939
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
6940
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
6941
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
6942
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6943
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
6944
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6945
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6946
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6947
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6948
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6949
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
|
6950
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 07:24:36.302182"], ["updated_at", "2016-07-21 07:24:36.302182"]]
|
6951
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6952
|
+
Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 16:24:36 +0900
|
6953
|
+
Processing by Katgut::RulesController#show as HTML
|
6954
|
+
Parameters: {"id"=>"torsitsugi_test_13"}
|
6955
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_13"]]
|
6956
|
+
Redirected to http://www.example.com/katgut_success.html
|
6957
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
6958
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
6959
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6960
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6961
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6963
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6964
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
|
6965
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:24:36.314484"], ["updated_at", "2016-07-21 07:24:36.314484"]]
|
6966
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
6967
|
+
Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 16:24:36 +0900
|
6968
|
+
Processing by Katgut::RulesController#show as HTML
|
6969
|
+
Parameters: {"id"=>"torsitsugi_test_14"}
|
6970
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_14"]]
|
6971
|
+
Redirected to https://httpbin.org/
|
6972
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
6973
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
6974
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6975
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6976
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
6977
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6978
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
6979
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
|
6980
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:24:36.324373"], ["updated_at", "2016-07-21 07:24:36.324373"]]
|
6981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
6982
|
+
Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 16:24:36 +0900
|
6983
|
+
Processing by Katgut::RulesController#show as HTML
|
6984
|
+
Parameters: {"id"=>"torsitsugi_test_15"}
|
6985
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_15"]]
|
6986
|
+
Redirected to http://httpbin.org/
|
6987
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
6988
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
6989
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
6990
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
6991
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
6992
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6993
|
+
Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 16:24:36 +0900
|
6994
|
+
Processing by Katgut::RulesController#show as HTML
|
6995
|
+
Parameters: {"id"=>"not-existing-source-keyword"}
|
6996
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "not-existing-source-keyword"]]
|
6997
|
+
Redirected to http://www.example.com/
|
6998
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
6999
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
7000
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7001
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7002
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
7003
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7004
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7005
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
|
7006
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 07:24:36.340502"], ["updated_at", "2016-07-21 07:24:36.340502"]]
|
7007
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7008
|
+
Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 16:24:36 +0900
|
7009
|
+
Processing by Katgut::RulesController#show as HTML
|
7010
|
+
Parameters: {"id"=>"torsitsugi_test_16"}
|
7011
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_16"]]
|
7012
|
+
Redirected to http://www.example.com/
|
7013
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7014
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7015
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7016
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7017
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7018
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7019
|
+
[1m[35m (9.0ms)[0m DELETE FROM "katgut_rules";
|
7020
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7021
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7022
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7023
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7024
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1[0m
|
7025
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 07:24:41.143149"], ["updated_at", "2016-07-21 07:24:41.143149"]]
|
7026
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7027
|
+
Processing by Katgut::RulesController#show as HTML
|
7028
|
+
Parameters: {"id"=>"advice"}
|
7029
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
|
7030
|
+
Redirected to http://test.host/
|
7031
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
|
7032
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7033
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7034
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7035
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7036
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7037
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7038
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1[0m
|
7039
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 07:24:41.158626"], ["updated_at", "2016-07-21 07:24:41.158626"]]
|
7040
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7041
|
+
Processing by Katgut::RulesController#show as HTML
|
7042
|
+
Parameters: {"id"=>"advice"}
|
7043
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
|
7044
|
+
Redirected to http://test.host/
|
7045
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
7046
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7047
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7048
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7049
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7051
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
|
7052
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7053
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7054
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7055
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7057
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
|
7058
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7059
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7060
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7061
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7062
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7063
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
|
7064
|
+
[1m[36m (0.4ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7065
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7066
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7067
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7068
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7069
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
|
7070
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7071
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7072
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7073
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7074
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7075
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
|
7076
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7077
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7078
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7079
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7080
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7081
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
|
7082
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7083
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7084
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7085
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7086
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7087
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
|
7088
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7089
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7090
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7091
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7093
|
+
[1m[35m (0.4ms)[0m DELETE FROM "katgut_rules";
|
7094
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7095
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7096
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
7097
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7098
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7099
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7100
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7101
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7103
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
7104
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7105
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7106
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
7107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7108
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7109
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
|
7110
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 07:24:41.220880"], ["updated_at", "2016-07-21 07:24:41.220880"]]
|
7111
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7112
|
+
Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 16:24:41 +0900
|
7113
|
+
Processing by Katgut::RulesController#show as HTML
|
7114
|
+
Parameters: {"id"=>"torsitsugi_test_13"}
|
7115
|
+
[1m[36mKatgut::Rule Load (0.2ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_13"]]
|
7116
|
+
Redirected to http://www.example.com/katgut_success.html
|
7117
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
7118
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7119
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7120
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7121
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
7122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7123
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
7124
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
|
7125
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:24:41.245928"], ["updated_at", "2016-07-21 07:24:41.245928"]]
|
7126
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7127
|
+
Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 16:24:41 +0900
|
7128
|
+
Processing by Katgut::RulesController#show as HTML
|
7129
|
+
Parameters: {"id"=>"torsitsugi_test_14"}
|
7130
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_14"]]
|
7131
|
+
Redirected to https://httpbin.org/
|
7132
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7133
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7134
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7135
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7136
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7137
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7138
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7139
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
|
7140
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:24:41.255576"], ["updated_at", "2016-07-21 07:24:41.255576"]]
|
7141
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7142
|
+
Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 16:24:41 +0900
|
7143
|
+
Processing by Katgut::RulesController#show as HTML
|
7144
|
+
Parameters: {"id"=>"torsitsugi_test_15"}
|
7145
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_15"]]
|
7146
|
+
Redirected to http://httpbin.org/
|
7147
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7148
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7149
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7150
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7151
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7152
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7153
|
+
Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 16:24:41 +0900
|
7154
|
+
Processing by Katgut::RulesController#show as HTML
|
7155
|
+
Parameters: {"id"=>"not-existing-source-keyword"}
|
7156
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "not-existing-source-keyword"]]
|
7157
|
+
Redirected to http://www.example.com/
|
7158
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7159
|
+
[1m[35m (0.3ms)[0m DELETE FROM "katgut_rules";
|
7160
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7161
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7162
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7164
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7165
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
|
7166
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 07:24:41.271647"], ["updated_at", "2016-07-21 07:24:41.271647"]]
|
7167
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7168
|
+
Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 16:24:41 +0900
|
7169
|
+
Processing by Katgut::RulesController#show as HTML
|
7170
|
+
Parameters: {"id"=>"torsitsugi_test_16"}
|
7171
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_16"]]
|
7172
|
+
Redirected to http://www.example.com/
|
7173
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7174
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7175
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7176
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7177
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
7178
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7179
|
+
[1m[35m (1.1ms)[0m DELETE FROM "katgut_rules";
|
7180
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7181
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7183
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7184
|
+
[1m[36mKatgut::Rule Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1[0m
|
7185
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 07:24:59.264172"], ["updated_at", "2016-07-21 07:24:59.264172"]]
|
7186
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7187
|
+
Processing by Katgut::RulesController#show as HTML
|
7188
|
+
Parameters: {"id"=>"advice"}
|
7189
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
|
7190
|
+
Redirected to http://test.host/
|
7191
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
|
7192
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7193
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7194
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7195
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7197
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7198
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1[0m
|
7199
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "/advice"], ["active", "t"], ["created_at", "2016-07-21 07:24:59.278785"], ["updated_at", "2016-07-21 07:24:59.278785"]]
|
7200
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7201
|
+
Processing by Katgut::RulesController#show as HTML
|
7202
|
+
Parameters: {"id"=>"advice"}
|
7203
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "advice"]]
|
7204
|
+
Redirected to http://test.host/
|
7205
|
+
Completed in 1ms (ActiveRecord: 0.1ms)
|
7206
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7207
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7208
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7209
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7211
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1
|
7212
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7213
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7214
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7215
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
7216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7217
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" IS NULL LIMIT 1
|
7218
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7219
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7220
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7221
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
7222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7223
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_5' LIMIT 1
|
7224
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7225
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7226
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7227
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7229
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'test' LIMIT 1
|
7230
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7231
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7232
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7233
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7235
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = '@@test@@' LIMIT 1
|
7236
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7237
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7238
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7239
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
7240
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7241
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_8' LIMIT 1
|
7242
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7243
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7244
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7245
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7246
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7247
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_9' LIMIT 1
|
7248
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7249
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7250
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7251
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7253
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
7254
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7255
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7256
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7257
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7258
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7259
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7260
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7261
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7262
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7263
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
7264
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7265
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7266
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
7267
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7269
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_13' LIMIT 1
|
7270
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_13"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 07:24:59.336947"], ["updated_at", "2016-07-21 07:24:59.336947"]]
|
7271
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7272
|
+
Started GET "/katgut/torsitsugi_test_13" for 127.0.0.1 at 2016-07-21 16:24:59 +0900
|
7273
|
+
Processing by Katgut::RulesController#show as HTML
|
7274
|
+
Parameters: {"id"=>"torsitsugi_test_13"}
|
7275
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_13"]]
|
7276
|
+
Redirected to http://www.example.com/katgut_success.html
|
7277
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7278
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7279
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7280
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7281
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
7282
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7283
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
7284
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_14' LIMIT 1
|
7285
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_14"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:24:59.349423"], ["updated_at", "2016-07-21 07:24:59.349423"]]
|
7286
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
7287
|
+
Started GET "/katgut/torsitsugi_test_14" for 127.0.0.1 at 2016-07-21 16:24:59 +0900
|
7288
|
+
Processing by Katgut::RulesController#show as HTML
|
7289
|
+
Parameters: {"id"=>"torsitsugi_test_14"}
|
7290
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_14"]]
|
7291
|
+
Redirected to https://httpbin.org/
|
7292
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7293
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7294
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7295
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7296
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7298
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7299
|
+
[1m[35mKatgut::Rule Exists (0.1ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_15' LIMIT 1
|
7300
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["source", "torsitsugi_test_15"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:24:59.359749"], ["updated_at", "2016-07-21 07:24:59.359749"]]
|
7301
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7302
|
+
Started GET "/katgut/torsitsugi_test_15" for 127.0.0.1 at 2016-07-21 16:24:59 +0900
|
7303
|
+
Processing by Katgut::RulesController#show as HTML
|
7304
|
+
Parameters: {"id"=>"torsitsugi_test_15"}
|
7305
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_15"]]
|
7306
|
+
Redirected to http://httpbin.org/
|
7307
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7308
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7309
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7310
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7311
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
7312
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7313
|
+
Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 16:24:59 +0900
|
7314
|
+
Processing by Katgut::RulesController#show as HTML
|
7315
|
+
Parameters: {"id"=>"not-existing-source-keyword"}
|
7316
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "not-existing-source-keyword"]]
|
7317
|
+
Redirected to http://www.example.com/
|
7318
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7319
|
+
[1m[35m (0.2ms)[0m DELETE FROM "katgut_rules";
|
7320
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7321
|
+
[1m[35m (0.0ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7322
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7324
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
7325
|
+
[1m[35mKatgut::Rule Exists (0.2ms)[0m SELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_16' LIMIT 1
|
7326
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["source", "torsitsugi_test_16"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 07:24:59.375924"], ["updated_at", "2016-07-21 07:24:59.375924"]]
|
7327
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
7328
|
+
Started GET "/katgut/torsitsugi_test_16" for 127.0.0.1 at 2016-07-21 16:24:59 +0900
|
7329
|
+
Processing by Katgut::RulesController#show as HTML
|
7330
|
+
Parameters: {"id"=>"torsitsugi_test_16"}
|
7331
|
+
[1m[36mKatgut::Rule Load (0.1ms)[0m [1mSELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1[0m [["active", "t"], ["source", "torsitsugi_test_16"]]
|
7332
|
+
Redirected to http://www.example.com/
|
7333
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7334
|
+
[1m[35m (0.1ms)[0m DELETE FROM "katgut_rules";
|
7335
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7336
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7337
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
7338
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7339
|
+
[1m[35m (9.0ms)[0m DELETE FROM "katgut_rules";
|
7340
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
7341
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'katgut_rules';
|
7342
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7343
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
7344
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_1' LIMIT 1[0m
|
7345
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_1"], ["destination", "/katgut_success.html"], ["active", "t"], ["created_at", "2016-07-21 07:25:06.682048"], ["updated_at", "2016-07-21 07:25:06.682048"]]
|
7346
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7347
|
+
Started GET "/katgut/torsitsugi_test_1" for 127.0.0.1 at 2016-07-21 16:25:06 +0900
|
7348
|
+
Processing by Katgut::RulesController#show as HTML
|
7349
|
+
Parameters: {"id"=>"torsitsugi_test_1"}
|
7350
|
+
[1m[35mKatgut::Rule Load (0.2ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_1"]]
|
7351
|
+
Redirected to http://www.example.com/katgut_success.html
|
7352
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
7353
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7354
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7355
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7356
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7358
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7359
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_2' LIMIT 1[0m
|
7360
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_2"], ["destination", "https://httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:25:06.699453"], ["updated_at", "2016-07-21 07:25:06.699453"]]
|
7361
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7362
|
+
Started GET "/katgut/torsitsugi_test_2" for 127.0.0.1 at 2016-07-21 16:25:06 +0900
|
7363
|
+
Processing by Katgut::RulesController#show as HTML
|
7364
|
+
Parameters: {"id"=>"torsitsugi_test_2"}
|
7365
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_2"]]
|
7366
|
+
Redirected to https://httpbin.org/
|
7367
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7368
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7369
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7370
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7371
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7373
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7374
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_3' LIMIT 1[0m
|
7375
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["source", "torsitsugi_test_3"], ["destination", "httpbin.org/"], ["active", "t"], ["created_at", "2016-07-21 07:25:06.707956"], ["updated_at", "2016-07-21 07:25:06.707956"]]
|
7376
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7377
|
+
Started GET "/katgut/torsitsugi_test_3" for 127.0.0.1 at 2016-07-21 16:25:06 +0900
|
7378
|
+
Processing by Katgut::RulesController#show as HTML
|
7379
|
+
Parameters: {"id"=>"torsitsugi_test_3"}
|
7380
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_3"]]
|
7381
|
+
Redirected to http://httpbin.org/
|
7382
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7383
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7384
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7385
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7386
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
7387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7388
|
+
Started GET "/katgut/not-existing-source-keyword" for 127.0.0.1 at 2016-07-21 16:25:06 +0900
|
7389
|
+
Processing by Katgut::RulesController#show as HTML
|
7390
|
+
Parameters: {"id"=>"not-existing-source-keyword"}
|
7391
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "not-existing-source-keyword"]]
|
7392
|
+
Redirected to http://www.example.com/
|
7393
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7394
|
+
[1m[36m (5.7ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7395
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7396
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7397
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
7398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7399
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
7400
|
+
[1m[36mKatgut::Rule Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "katgut_rules" WHERE "katgut_rules"."source" = 'torsitsugi_test_4' LIMIT 1[0m
|
7401
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "katgut_rules" ("source", "destination", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["source", "torsitsugi_test_4"], ["destination", "https://httpbin.org/"], ["created_at", "2016-07-21 07:25:06.728758"], ["updated_at", "2016-07-21 07:25:06.728758"]]
|
7402
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
7403
|
+
Started GET "/katgut/torsitsugi_test_4" for 127.0.0.1 at 2016-07-21 16:25:06 +0900
|
7404
|
+
Processing by Katgut::RulesController#show as HTML
|
7405
|
+
Parameters: {"id"=>"torsitsugi_test_4"}
|
7406
|
+
[1m[35mKatgut::Rule Load (0.1ms)[0m SELECT "katgut_rules".* FROM "katgut_rules" WHERE "katgut_rules"."active" = ? AND "katgut_rules"."source" = ? LIMIT 1 [["active", "t"], ["source", "torsitsugi_test_4"]]
|
7407
|
+
Redirected to http://www.example.com/
|
7408
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.1ms)
|
7409
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM "katgut_rules";[0m
|
7410
|
+
[1m[35m (0.1ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
7411
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM sqlite_sequence where name = 'katgut_rules';[0m
|
7412
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katgut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HAMADA Kazuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -154,7 +154,6 @@ files:
|
|
154
154
|
- spec/dummy/public/422.html
|
155
155
|
- spec/dummy/public/500.html
|
156
156
|
- spec/dummy/public/favicon.ico
|
157
|
-
- spec/dummy/tmp/pids/server.pid
|
158
157
|
- spec/factories/rules.rb
|
159
158
|
- spec/integration/navigation_test.rb
|
160
159
|
- spec/katgut_test.rb
|
@@ -229,7 +228,6 @@ test_files:
|
|
229
228
|
- spec/dummy/public/favicon.ico
|
230
229
|
- spec/dummy/Rakefile
|
231
230
|
- spec/dummy/README.rdoc
|
232
|
-
- spec/dummy/tmp/pids/server.pid
|
233
231
|
- spec/factories/rules.rb
|
234
232
|
- spec/integration/navigation_test.rb
|
235
233
|
- spec/katgut_test.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
27548
|