blueprinter_schema 1.0.2 → 1.1.0

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
  SHA256:
3
- metadata.gz: 62a979f21048d765a9ee74d4525c1d15e354c079432beef7ba8d730b4f8f2dd0
4
- data.tar.gz: 778688f0c08a12f682b0fd8aa82a3b0ecbe25c96f82172d92ebf884230cba7fd
3
+ metadata.gz: 79f76768380ae6cbe77da6ec153325e079ca2d5ee30df459378e0ebb90f674c2
4
+ data.tar.gz: 50a119f7dd0fb32789a24ed6ccddd05026a0bb8525f4c5c60f94f232edcc3e31
5
5
  SHA512:
6
- metadata.gz: '08fbf14b76e149fd139b7678c8e06908f12c06858e90d42b9f5f28d71155a12317b4ed5efb8ffd9f399b7348a7074ae8d710ae266638c6bae7931a594aed87dd'
7
- data.tar.gz: 997fa37f5e23f7a6081ea52a377afe58a22498b414f6cfd31cfb4ba6eef2c15d10bb496947e776c48257bf08c357bd351406730211da629efec508c971a2a5fd
6
+ metadata.gz: f057fdac75f35be16f955cbc083326ab32940ed5210ec8ed26922b4614741e0371e0e762371081d7afdf31dbee97d7fc14794650bde811ef636f3de64a2cb52f
7
+ data.tar.gz: e82e0011242c7838709c55c2d4d6ca8d2a43e620a6ff7c244c9fc70b816e6dd7c211a995ebea6fd57390744c0523d2b467168e9fc52e8bdec02ecebb10888811
@@ -74,6 +74,7 @@ module BlueprinterSchema
74
74
  type_definition = ar_column_to_json_schema(column)
75
75
  end
76
76
 
77
+ type_definition['items'] = field.options[:items].deep_stringify_keys if field.options[:items]
77
78
  type_definition['format'] = field.options[:format] if field.options[:format]
78
79
  type_definition['description'] = field.options[:description] if field.options[:description]
79
80
  type_definition
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BlueprinterSchema
4
- VERSION = '1.0.2'
4
+ VERSION = '1.1.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blueprinter_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thisismydesign