tuning 0.3.0 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tuning/version.rb +1 -1
- data/test/dummy/log/test.log +196 -0
- data/test/status_test.rb +6 -6
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 869c3007b9a6d207e4197989794005b384ae348f
|
4
|
+
data.tar.gz: 81cb0d38f0a0014e9756a74228ec9cad8ef23f2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 100e0663d7f238a65ae3fda6d8c19956716c10aca84685839174c7b0cf6985e49025048db4f79ec242e4a65d826aa0d65aa67cfef05c3ca68b38c0864621d48f
|
7
|
+
data.tar.gz: 1051d4857405d36fc6ccb4306f70d2f25974d9317f4068a4d6e12cd437d6b6af698720c6f24a275faeedb3635c9fa7ee06d4047c597a18046d30211f813bf2fc
|
data/lib/tuning/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -13580,3 +13580,199 @@ ContentTagIfTest: test_true_condition
|
|
13580
13580
|
ContentTagIfTest: test_false_condition
|
13581
13581
|
--------------------------------------
|
13582
13582
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13583
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
13584
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
13585
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
13586
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
13587
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
13588
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
13589
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
13590
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
13591
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
13592
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
13593
|
+
[1m[35m (0.2ms)[0m begin transaction
|
13594
|
+
-------------------------------------
|
13595
|
+
ContentTagIfTest: test_true_condition
|
13596
|
+
-------------------------------------
|
13597
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13598
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13599
|
+
--------------------------------------
|
13600
|
+
ContentTagIfTest: test_false_condition
|
13601
|
+
--------------------------------------
|
13602
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13603
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13604
|
+
-----------------------------------------
|
13605
|
+
ContentTagIfTest: test_attributes_options
|
13606
|
+
-----------------------------------------
|
13607
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13608
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13609
|
+
-------------------------------------
|
13610
|
+
StatusTest: test_unprocessable_entity
|
13611
|
+
-------------------------------------
|
13612
|
+
Started GET "/unprocessable_entity.json" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13613
|
+
Processing by StatusController#unprocessable_entity_action as JSON
|
13614
|
+
Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms)
|
13615
|
+
Started GET "/unprocessable_entity" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13616
|
+
Processing by StatusController#unprocessable_entity_action as HTML
|
13617
|
+
Rendered public/422.html (0.5ms)
|
13618
|
+
Completed 422 Unprocessable Entity in 9ms (Views: 9.3ms | ActiveRecord: 0.0ms)
|
13619
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13620
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13621
|
+
-----------------------------
|
13622
|
+
StatusTest: test_unauthorized
|
13623
|
+
-----------------------------
|
13624
|
+
Started GET "/unauthorized.json" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13625
|
+
Processing by StatusController#unauthorized_action as JSON
|
13626
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
13627
|
+
Started GET "/unauthorized" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13628
|
+
Processing by StatusController#unauthorized_action as HTML
|
13629
|
+
Rendered public/422.html (0.0ms)
|
13630
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
13631
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13633
|
+
--------------------------
|
13634
|
+
StatusTest: test_not_found
|
13635
|
+
--------------------------
|
13636
|
+
Started GET "/not_found.json" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13637
|
+
Processing by StatusController#not_found_action as JSON
|
13638
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
13639
|
+
Started GET "/not_found" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13640
|
+
Processing by StatusController#not_found_action as HTML
|
13641
|
+
Rendered public/404.html (0.4ms)
|
13642
|
+
Completed 404 Not Found in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
13643
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13644
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13645
|
+
----------------------
|
13646
|
+
StatusTest: test_error
|
13647
|
+
----------------------
|
13648
|
+
Started GET "/error.json" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13649
|
+
Processing by StatusController#error_action as JSON
|
13650
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
13651
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13653
|
+
--------------------------
|
13654
|
+
StatusTest: test_forbidden
|
13655
|
+
--------------------------
|
13656
|
+
Started GET "/forbidden.json" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13657
|
+
Processing by StatusController#forbidden_action as JSON
|
13658
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
13659
|
+
Started GET "/forbidden" for 127.0.0.1 at 2015-07-03 20:01:25 -0300
|
13660
|
+
Processing by StatusController#forbidden_action as HTML
|
13661
|
+
Rendered public/422.html (0.0ms)
|
13662
|
+
Completed 403 Forbidden in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
13663
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13665
|
+
-----------------------------------------------
|
13666
|
+
ActiveTrailTest: test_active_trail_same_as_path
|
13667
|
+
-----------------------------------------------
|
13668
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13670
|
+
----------------------------------------------
|
13671
|
+
ActiveTrailTest: test_active_trail_not_in_path
|
13672
|
+
----------------------------------------------
|
13673
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13674
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13675
|
+
------------------------------------------
|
13676
|
+
ActiveTrailTest: test_active_trail_in_path
|
13677
|
+
------------------------------------------
|
13678
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13679
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
13680
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
13681
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
13682
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
13683
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
13684
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
13685
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
13686
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
13687
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
13688
|
+
[1m[36m (0.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
13689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13690
|
+
-----------------------------------------
|
13691
|
+
ContentTagIfTest: test_attributes_options
|
13692
|
+
-----------------------------------------
|
13693
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13695
|
+
-------------------------------------
|
13696
|
+
ContentTagIfTest: test_true_condition
|
13697
|
+
-------------------------------------
|
13698
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13700
|
+
--------------------------------------
|
13701
|
+
ContentTagIfTest: test_false_condition
|
13702
|
+
--------------------------------------
|
13703
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13704
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13705
|
+
------------------------------------------
|
13706
|
+
ActiveTrailTest: test_active_trail_in_path
|
13707
|
+
------------------------------------------
|
13708
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13709
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13710
|
+
----------------------------------------------
|
13711
|
+
ActiveTrailTest: test_active_trail_not_in_path
|
13712
|
+
----------------------------------------------
|
13713
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13715
|
+
-----------------------------------------------
|
13716
|
+
ActiveTrailTest: test_active_trail_same_as_path
|
13717
|
+
-----------------------------------------------
|
13718
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13719
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13720
|
+
--------------------------
|
13721
|
+
StatusTest: test_not_found
|
13722
|
+
--------------------------
|
13723
|
+
Started GET "/not_found.json" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13724
|
+
Processing by StatusController#not_found_action as JSON
|
13725
|
+
Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms)
|
13726
|
+
Started GET "/not_found" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13727
|
+
Processing by StatusController#not_found_action as HTML
|
13728
|
+
Rendered public/404.html (0.4ms)
|
13729
|
+
Completed 404 Not Found in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
13730
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13731
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13732
|
+
--------------------------
|
13733
|
+
StatusTest: test_forbidden
|
13734
|
+
--------------------------
|
13735
|
+
Started GET "/forbidden.json" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13736
|
+
Processing by StatusController#forbidden_action as JSON
|
13737
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
13738
|
+
Started GET "/forbidden" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13739
|
+
Processing by StatusController#forbidden_action as HTML
|
13740
|
+
Rendered public/422.html (0.3ms)
|
13741
|
+
Completed 403 Forbidden in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
13742
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13743
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13744
|
+
-----------------------------
|
13745
|
+
StatusTest: test_unauthorized
|
13746
|
+
-----------------------------
|
13747
|
+
Started GET "/unauthorized.json" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13748
|
+
Processing by StatusController#unauthorized_action as JSON
|
13749
|
+
Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
|
13750
|
+
Started GET "/unauthorized" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13751
|
+
Processing by StatusController#unauthorized_action as HTML
|
13752
|
+
Rendered public/422.html (0.1ms)
|
13753
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
13754
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13755
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13756
|
+
----------------------
|
13757
|
+
StatusTest: test_error
|
13758
|
+
----------------------
|
13759
|
+
Started GET "/error.json" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13760
|
+
Processing by StatusController#error_action as JSON
|
13761
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
13762
|
+
Started GET "/error" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13763
|
+
Processing by StatusController#error_action as HTML
|
13764
|
+
Rendered public/500.html (0.4ms)
|
13765
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
13766
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13767
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13768
|
+
-------------------------------------
|
13769
|
+
StatusTest: test_unprocessable_entity
|
13770
|
+
-------------------------------------
|
13771
|
+
Started GET "/unprocessable_entity.json" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13772
|
+
Processing by StatusController#unprocessable_entity_action as JSON
|
13773
|
+
Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms)
|
13774
|
+
Started GET "/unprocessable_entity" for 127.0.0.1 at 2015-07-03 20:01:40 -0300
|
13775
|
+
Processing by StatusController#unprocessable_entity_action as HTML
|
13776
|
+
Rendered public/422.html (0.0ms)
|
13777
|
+
Completed 422 Unprocessable Entity in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
13778
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
data/test/status_test.rb
CHANGED
@@ -5,7 +5,7 @@ class StatusTest < ActionDispatch::IntegrationTest
|
|
5
5
|
test 'error' do
|
6
6
|
get '/error.json'
|
7
7
|
assert_response 500
|
8
|
-
assert_equal '
|
8
|
+
assert_equal '', response.body.strip
|
9
9
|
|
10
10
|
get '/error'
|
11
11
|
assert_response 500
|
@@ -15,8 +15,8 @@ class StatusTest < ActionDispatch::IntegrationTest
|
|
15
15
|
test 'not found' do
|
16
16
|
get '/not_found.json'
|
17
17
|
assert_response 404
|
18
|
-
assert_equal '
|
19
|
-
|
18
|
+
assert_equal '', response.body.strip
|
19
|
+
|
20
20
|
get '/not_found'
|
21
21
|
assert_response 404
|
22
22
|
assert_equal File.read(Rails.root.join('public', '404.html')), response.body
|
@@ -25,7 +25,7 @@ class StatusTest < ActionDispatch::IntegrationTest
|
|
25
25
|
test 'unauthorized' do
|
26
26
|
get '/unauthorized.json'
|
27
27
|
assert_response 401
|
28
|
-
assert_equal '
|
28
|
+
assert_equal '', response.body.strip
|
29
29
|
|
30
30
|
get '/unauthorized'
|
31
31
|
assert_response 401
|
@@ -35,7 +35,7 @@ class StatusTest < ActionDispatch::IntegrationTest
|
|
35
35
|
test 'forbidden' do
|
36
36
|
get '/forbidden.json'
|
37
37
|
assert_response 403
|
38
|
-
assert_equal '
|
38
|
+
assert_equal '', response.body.strip
|
39
39
|
|
40
40
|
get '/forbidden'
|
41
41
|
assert_response 403
|
@@ -45,7 +45,7 @@ class StatusTest < ActionDispatch::IntegrationTest
|
|
45
45
|
test 'unprocessable entity' do
|
46
46
|
get '/unprocessable_entity.json'
|
47
47
|
assert_response 422
|
48
|
-
assert_equal '
|
48
|
+
assert_equal '', response.body.strip
|
49
49
|
|
50
50
|
get '/unprocessable_entity'
|
51
51
|
assert_response 422
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tuning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Museways
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -17,9 +17,9 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.0.0
|
20
|
-
- - "
|
20
|
+
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 4.
|
22
|
+
version: 4.3.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +27,9 @@ dependencies:
|
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 4.0.0
|
30
|
-
- - "
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 4.
|
32
|
+
version: 4.3.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: sqlite3
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|