prmd 0.7.2 → 0.7.3

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: ad3015a34801fc75b07428616e167869efbff607
4
- data.tar.gz: e15c2358f3f537025e8c9d10a852b04cadfe501d
3
+ metadata.gz: 991f3f369ace8993454c827543547b3d3b16dd79
4
+ data.tar.gz: b75648a1d59e295af15f91ff05386cb946547b96
5
5
  SHA512:
6
- metadata.gz: b97e766bfc40c8fa7208cd81e9cf39702c69f662950db04cae6a5eee9e9e99c949ff920338e1609276028aa964ee8d3a943f1e3e6e8631171a299fe39a39a589
7
- data.tar.gz: 05dec32d1af0abc88f4aaa62c53335e1083b0c6121de47205bec8a0213ef49959431c9cba806fddc28e5ceed9526cd07334c02a3ed0b07b45a6fc109322befb3
6
+ metadata.gz: ccc994060505e113f80b4709e6ae1bef92ae070182f3d8901028bd94b00c9b55cf2aefffdad68c4dc52b412de84b810c6cdaa084e6ad84a0c9eec78756958625
7
+ data.tar.gz: 8d773628f0cc4e02e42bd8cc39d8baa0ea2b4726890e5308a38cd45c3c74a68d2c51782eeec2684cee985b5d3e97cd1a5854bb21d991ca7d5d77b8bc3255d1e3
@@ -70,11 +70,7 @@ HTTP/1.1 <%=
70
70
  <%- else %>
71
71
  <%- if link['rel'] == 'empty' %>
72
72
  <%- elsif link.has_key?('targetSchema') %>
73
- <%- if link['targetSchema']['type'].include?('array') -%>
74
- <%= JSON.pretty_generate([schema.schema_example(link['targetSchema'])]) %>
75
- <%- else -%>
76
- <%= JSON.pretty_generate(schema.schema_example(link['targetSchema'])) %>
77
- <%- end -%>
73
+ <%= JSON.pretty_generate(schema.schema_example(link['targetSchema'])) %>
78
74
  <%- elsif link['rel'] == 'instances' %>
79
75
  <%= JSON.pretty_generate([schema.schemata_example(resource)]) %>
80
76
  <%- else %>
data/lib/prmd/version.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  module Prmd
3
3
  # Well, duh, its a Version module, what did you expect?
4
4
  module Version
5
- MAJOR, MINOR, TEENY, PATCH = 0, 7, 2, nil
5
+ MAJOR, MINOR, TEENY, PATCH = 0, 7, 3, nil
6
6
  # version string
7
7
  # @return [String]
8
8
  STRING = [MAJOR, MINOR, TEENY, PATCH].compact.join('.').freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus