tuning 0.3.0 → 0.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ccdf6743e408ee68f181557d5c909389c58b52d
4
- data.tar.gz: 77cf15c2b95be8ade4c131d2fbc7604a07f786c9
3
+ metadata.gz: 869c3007b9a6d207e4197989794005b384ae348f
4
+ data.tar.gz: 81cb0d38f0a0014e9756a74228ec9cad8ef23f2b
5
5
  SHA512:
6
- metadata.gz: e0a976e1a6f8bab5fa1592f0936883fd65e3206a1184969d477f09508ee6b59294944a527ae7cc42e89d1c1bc56e2dd327d4f8a96214ce3a93253e4f2fcdc43e
7
- data.tar.gz: 7999d6551c93e101dafbab93e2c28dd90fefe3f3ae9ff6418114a03466b3abecc5ef205039e8f72370f2bbfcf29fcae377269925e116fa41b990661903285aef
6
+ metadata.gz: 100e0663d7f238a65ae3fda6d8c19956716c10aca84685839174c7b0cf6985e49025048db4f79ec242e4a65d826aa0d65aa67cfef05c3ca68b38c0864621d48f
7
+ data.tar.gz: 1051d4857405d36fc6ccb4306f70d2f25974d9317f4068a4d6e12cd437d6b6af698720c6f24a275faeedb3635c9fa7ee06d4047c597a18046d30211f813bf2fc
@@ -1,5 +1,5 @@
1
1
  module Tuning
2
2
 
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.2'
4
4
 
5
5
  end
@@ -13580,3 +13580,199 @@ ContentTagIfTest: test_true_condition
13580
13580
  ContentTagIfTest: test_false_condition
13581
13581
  --------------------------------------
13582
13582
   (0.0ms) rollback transaction
13583
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
13584
+  (0.1ms) select sqlite_version(*)
13585
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13586
+  (0.0ms) SELECT version FROM "schema_migrations"
13587
+  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
13588
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
13589
+  (0.0ms) select sqlite_version(*)
13590
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13591
+  (0.0ms) SELECT version FROM "schema_migrations"
13592
+  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
13593
+  (0.2ms) begin transaction
13594
+ -------------------------------------
13595
+ ContentTagIfTest: test_true_condition
13596
+ -------------------------------------
13597
+  (0.1ms) rollback transaction
13598
+  (0.1ms) begin transaction
13599
+ --------------------------------------
13600
+ ContentTagIfTest: test_false_condition
13601
+ --------------------------------------
13602
+  (0.0ms) rollback transaction
13603
+  (0.0ms) begin transaction
13604
+ -----------------------------------------
13605
+ ContentTagIfTest: test_attributes_options
13606
+ -----------------------------------------
13607
+  (0.0ms) rollback transaction
13608
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13620
+  (0.0ms) 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
+  (0.0ms) rollback transaction
13632
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13644
+  (0.0ms) 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
+  (0.0ms) rollback transaction
13652
+  (0.0ms) 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
+  (0.0ms) rollback transaction
13664
+  (0.0ms) begin transaction
13665
+ -----------------------------------------------
13666
+ ActiveTrailTest: test_active_trail_same_as_path
13667
+ -----------------------------------------------
13668
+  (0.0ms) rollback transaction
13669
+  (0.0ms) begin transaction
13670
+ ----------------------------------------------
13671
+ ActiveTrailTest: test_active_trail_not_in_path
13672
+ ----------------------------------------------
13673
+  (0.0ms) rollback transaction
13674
+  (0.0ms) begin transaction
13675
+ ------------------------------------------
13676
+ ActiveTrailTest: test_active_trail_in_path
13677
+ ------------------------------------------
13678
+  (0.0ms) rollback transaction
13679
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
13680
+  (0.0ms) select sqlite_version(*)
13681
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13682
+  (0.0ms) SELECT version FROM "schema_migrations"
13683
+  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
13684
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
13685
+  (0.0ms) select sqlite_version(*)
13686
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13687
+  (0.1ms) SELECT version FROM "schema_migrations"
13688
+  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
13689
+  (0.1ms) begin transaction
13690
+ -----------------------------------------
13691
+ ContentTagIfTest: test_attributes_options
13692
+ -----------------------------------------
13693
+  (0.0ms) rollback transaction
13694
+  (0.0ms) begin transaction
13695
+ -------------------------------------
13696
+ ContentTagIfTest: test_true_condition
13697
+ -------------------------------------
13698
+  (0.0ms) rollback transaction
13699
+  (0.0ms) begin transaction
13700
+ --------------------------------------
13701
+ ContentTagIfTest: test_false_condition
13702
+ --------------------------------------
13703
+  (0.0ms) rollback transaction
13704
+  (0.0ms) begin transaction
13705
+ ------------------------------------------
13706
+ ActiveTrailTest: test_active_trail_in_path
13707
+ ------------------------------------------
13708
+  (0.0ms) rollback transaction
13709
+  (0.0ms) begin transaction
13710
+ ----------------------------------------------
13711
+ ActiveTrailTest: test_active_trail_not_in_path
13712
+ ----------------------------------------------
13713
+  (0.0ms) rollback transaction
13714
+  (0.0ms) begin transaction
13715
+ -----------------------------------------------
13716
+ ActiveTrailTest: test_active_trail_same_as_path
13717
+ -----------------------------------------------
13718
+  (0.0ms) rollback transaction
13719
+  (0.1ms) 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
+  (0.0ms) rollback transaction
13731
+  (0.0ms) 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
+  (0.0ms) rollback transaction
13743
+  (0.0ms) 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
+  (0.0ms) rollback transaction
13755
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13767
+  (0.0ms) 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
+  (0.0ms) rollback transaction
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 ' ', response.body
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 ' ', response.body
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 ' ', response.body
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 ' ', response.body
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 ' ', response.body
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.0
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-02-22 00:00:00.000000000 Z
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.2.0
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.2.0
32
+ version: 4.3.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: sqlite3
35
35
  requirement: !ruby/object:Gem::Requirement