rack-json_schema 1.0.4 → 1.0.5

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: 1e0b5338585d499ad7ed74519298916787228c9a
4
- data.tar.gz: afaa04ccab52b02cc7d46635fd382f73655920f9
3
+ metadata.gz: b6da6bb7a2748033ab7dc47aa490f1617265393d
4
+ data.tar.gz: a54ebaaba2cfc47e00fe913dea7cd5bb7920ba58
5
5
  SHA512:
6
- metadata.gz: 14f2c52610aed807c0949bd7250bae38944c5f7c99b34f23168f63d03af05f09273ebfdaf957281443ec5b2149495207522d81897ea07a9002df6ec9e2f5e4ec
7
- data.tar.gz: ab7158997890e654d8007017553be3b20219d9e25bdad5c995eb9d0af9e534582fa30f97afd32e1736fe29db202f3ecd8d0fa3668b01b7a12100f3ea7f0a2772
6
+ metadata.gz: 670fe82fcfbb0a7184dd2011dd3249ad3707ac559d1ccc6dd10114b5cdf358ed0e2db7341752861323e0f061a362b188adaa8e3e50545a7c452153596886502b
7
+ data.tar.gz: e7e34437007befd196f76cccbcbdfecd6770f92ca70543be316ce39c3c2bda428ea698d734c5f37421a0d9842ea403ee9f714911723dccb1c27855d08d06bd32
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.0.5
2
+ * Declare charset=utf-8 in response content type
3
+
1
4
  ## 1.0.4
2
5
  * Return example of array property
3
6
 
@@ -19,7 +19,7 @@ module Rack
19
19
  end
20
20
 
21
21
  def headers
22
- { "Content-Type" => "application/json" }
22
+ { "Content-Type" => "application/json; charset=utf-8" }
23
23
  end
24
24
 
25
25
  def body
@@ -43,7 +43,7 @@ module Rack
43
43
  end
44
44
 
45
45
  def dummy_headers
46
- { "Content-Type" => "application/json" }
46
+ { "Content-Type" => "application/json; charset=utf-8" }
47
47
  end
48
48
 
49
49
  def dummy_body
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module JsonSchema
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-json_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura