rack-json_schema 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6da6bb7a2748033ab7dc47aa490f1617265393d
4
- data.tar.gz: a54ebaaba2cfc47e00fe913dea7cd5bb7920ba58
3
+ metadata.gz: 442a54e0315dd0d4f4c79214813b73adcd412f79
4
+ data.tar.gz: 588919fd85d9b5ab140733ffe112f7bcf1d6a131
5
5
  SHA512:
6
- metadata.gz: 670fe82fcfbb0a7184dd2011dd3249ad3707ac559d1ccc6dd10114b5cdf358ed0e2db7341752861323e0f061a362b188adaa8e3e50545a7c452153596886502b
7
- data.tar.gz: e7e34437007befd196f76cccbcbdfecd6770f92ca70543be316ce39c3c2bda428ea698d734c5f37421a0d9842ea403ee9f714911723dccb1c27855d08d06bd32
6
+ metadata.gz: 729e57e7b889c9beb7cbf13c32c03cd8702d96b536ed24ccafc745262058c595fb3f2994f7dfd6820af437b77e95600d52eceddfb992bf92d1ff59de3695036e
7
+ data.tar.gz: cfbdfff147ecb7acc5d76133f04bbfbb2753536c38cead79a17bd53ebfaeade12799f515fad95f6b7722ebb6f8faaff189454a703aefaf41e879416f539f14b1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.0.6
2
+ * Improve list detection logic
3
+
1
4
  ## 1.0.5
2
5
  * Declare charset=utf-8 in response content type
3
6
 
@@ -57,7 +57,7 @@ module Rack
57
57
 
58
58
  # @return [true, false] True if response is intended to be list data
59
59
  def has_list_data?
60
- link.rel == "instances" && !link.target_schema
60
+ link.rel == "instances"
61
61
  end
62
62
  end
63
63
  end
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module JsonSchema
3
- VERSION = "1.0.5"
3
+ VERSION = "1.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-json_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-17 00:00:00.000000000 Z
11
+ date: 2014-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jdoc