terrazzo 0.4.2 → 0.4.4

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: 46571aa81f8e31a7bda6a53f7f045ea3422c80e7fd044d76dbb24f287229ff9d
4
- data.tar.gz: '0763742987e1a2245f4add794a04454889851d6fb86ef1cf2433f96d9e2c13dc'
3
+ metadata.gz: 74a2f483fcd5a4f5e5f1f10b02ad43368eb574bd74d4173849a9cc5c828b0d72
4
+ data.tar.gz: 511ac138a16190e0a487b5987beff0da4bac9886bcfcf71bad47eb8c7a8291bd
5
5
  SHA512:
6
- metadata.gz: b47cf143b25b492705edeb796d2944accd1c4d373a4679987e90dd3e2c48c447fb76081aafd9905ba7cd61ebdd9d87abb896dd846be79a7277322cfd8b826777
7
- data.tar.gz: 63d42b5a8988fa9960b0592a5615996f9759516cdf480af53f2a44aa015c5c1b705423993950d5224ccbf016bf796dbaa8f0534f3acdc5362839a2cc9bdb436e
6
+ metadata.gz: '08790b1f7b604d682c6e6a64053243dc79642b67dcbeb422e3258ca373ac7a9474f900022a2797edd0a10c7a24de05b68aef5021998a7ad8a15fb9fb01746787'
7
+ data.tar.gz: c86e8eafecea3af3aa701db0a3d7d76ea9276acdd6743be558c237ab82ecdc54432820fa6a6492fc96995f56afa1ca5331d564b08e550b1dd67a558589cb7fca
@@ -41,6 +41,7 @@ json.table do
41
41
  json.attribute attr.to_s
42
42
  json.fieldType field.field_type
43
43
  json.value field.serialize_value(:index)
44
+ json.options field.serializable_options
44
45
 
45
46
  if field.class.associative? && field.data.present?
46
47
  json.showPath polymorphic_path([namespace, field.data]) rescue nil
@@ -5,6 +5,7 @@ show_field_json = ->(json, field) do
5
5
  json.label field.attribute.to_s.humanize
6
6
  json.fieldType field.field_type
7
7
  json.value field.serialize_value(:show)
8
+ json.options field.serializable_options
8
9
 
9
10
  if field.class.associative? && field.data.present?
10
11
  if field.is_a?(Terrazzo::Field::HasMany)
@@ -1,3 +1,3 @@
1
1
  module Terrazzo
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terrazzo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terrazzo Contributors