administrate-field-jsontable 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 59e9d9dd36f223fce8b089fb5598192c8771eb55
4
- data.tar.gz: a6c4258a03ce324cb17a77d2f1e1a7952d59927b
3
+ metadata.gz: b223c4f98474b6c7f8c4538def584f6140c5edfb
4
+ data.tar.gz: 5cc51b7e605c837c4b5be5d4df9d03c9cd27a439
5
5
  SHA512:
6
- metadata.gz: b37c6b4b52af795c212b5b4cd7b99290a57d91a96d28612bb20c6c03d37e3dcefd21495e1527c7459e4dfce21ed13f2ecbdb72d1c950c47af17a87f8a2f775d4
7
- data.tar.gz: 06d409c0c30ef039a892712f6f05abc772bbdf68f11fac58d806c8c098ad6d07133f6fe4bbe0a6a477ee964439a14cb999da1ed4561b89864b56cbc5abd901f3
6
+ metadata.gz: 53ad456e48a3364039791259442d04fa717d3c45f22595183e90213b02999794989684827872695e43d39d9f6e5610b08812eab4d24be419bc3d37fc1cb526c2
7
+ data.tar.gz: 3268585c747235f0d8a770ec2119bc0de035ed91d3cf640e73bd810d220dcc793ca2a62c75f262c10e774d76f0ef57dcf6482a9ca75b58194780aea333946972
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'administrate-field-jsontable'
5
- s.version = '0.0.1'
5
+ s.version = '0.0.2'
6
6
  s.authors = ['Enrique Barragan', 'Esteban Arocha']
7
7
  s.email = ['enrique@disruptiveangels.com','esteban@disruptiveangels.com']
8
8
  s.homepage = 'https://github.com/DisruptiveAngels/administrate-field-jsontable'
@@ -1,7 +1,7 @@
1
1
  <%#
2
- # JSON to table Show Partial
2
+ # Enum Show Partial
3
3
 
4
- This partial renders an JSON to table attribute,
4
+ This partial renders an enum attribute,
5
5
  to be displayed on a resource's show page.
6
6
 
7
7
  By default, the attribute is rendered as a text tag.
@@ -9,8 +9,8 @@ By default, the attribute is rendered as a text tag.
9
9
  ## Local variables:
10
10
 
11
11
  - `field`:
12
- An instance of [Administrate::Field::Jsontable][1].
13
- A wrapper around the JSON to table attributes pulled from the model.
12
+ An instance of [Administrate::Field::Enum][1].
13
+ A wrapper around the enum attributes pulled from the model.
14
14
 
15
15
  %>
16
16
 
@@ -18,7 +18,7 @@ By default, the attribute is rendered as a text tag.
18
18
  <thead>
19
19
  <tr>
20
20
  <% field.data.each do |k,v| %>
21
- <th><%= k %></th>
21
+ <th><%= t(k) %></th>
22
22
  <% end %>
23
23
  </tr>
24
24
  </thead>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: administrate-field-jsontable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrique Barragan