azahara_schema 0.3.6 → 0.3.7
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d16b51a468467a947cfcc0c08d6837b1372b146ac8d384dbba6e427de7488e04
|
4
|
+
data.tar.gz: d5fdf2e19b6f784abce59e87721b2ab186e01abddeac848ae055df8afa33985a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62439f56c38a84cd0623a0978f8b2f7dbc653fe31bd0d1db34efbd5e21532cc05ec2adcb87715872a91ea59f1918d01dcf3aab21e4a5c9ae26fc70105a667002
|
7
|
+
data.tar.gz: 479927d0f410ef9862f6df418f05f1b7de8ece84447b5f997acf06d751485fd13eecfb9dbdb0f8525a0fd594fee110686bad7ef124e416da31317a2b1d59a8c9
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<%= render 'azahara_schema/index_form', schema: schema %>
|
3
3
|
<% end %>
|
4
4
|
<% schema.outputs.each do |output| %>
|
5
|
-
<%= render output, schema: schema %>
|
5
|
+
<%= render output, local_assigns.merge(schema: schema) %>
|
6
6
|
<% end %>
|
7
7
|
<div class="exports text-right">
|
8
8
|
<% if (csv_path = azahara_export_path(schema, :csv)) %>
|
@@ -91,7 +91,7 @@ module AzaharaSchema
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def format_value_html(attribute, unformated_value, **options)
|
94
|
-
|
94
|
+
real_formatter(attribute).format_value(attribute, unformated_value, options) || template.unfilled_attribute_message
|
95
95
|
end
|
96
96
|
|
97
97
|
def formatting_options(attribute, entity)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azahara_schema
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|