zadok 0.5.1 → 0.5.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
  SHA256:
3
- metadata.gz: 1fe6dfbb9a8ebcc631efd35d17ab43f2ce0e2cb9bcfe29c3861253d8f688417b
4
- data.tar.gz: e06049667308bc96fec26122fc5aebd387577aa6cd185887871a4a4281dadda3
3
+ metadata.gz: 1c7af38285fdb380b56c03e824b299f6f912f6a968753efd7603c48de7a9900e
4
+ data.tar.gz: ec5167ee216d92b61d86550198b59efe51c1d5824b240bc32cca59bd905056e9
5
5
  SHA512:
6
- metadata.gz: 0eee670317198cfef1a6ca086a376e30e1ba48095849eda36896a4f90483bfee3d2ed9a121bb942fe40ce6a3bb006be26a8b3ea9e7fae63a99e6f967c4fe228d
7
- data.tar.gz: ec6dce1dba669be87ea49e5949e67db5bc1481785cf7f56c46cbc26756ecd0e14008024635af2ed4b924c1a289cd8db3dde58969488d80799bf89100dc38cf3a
6
+ metadata.gz: b2f84231f990f8b68fab2131e76cd90c85fa00e0922e3562fcb6e08902f9dbf59fb417eff4b8a1741e2866a97c0f460116a82295ccb118facfe6688df54a70ce
7
+ data.tar.gz: 6420d021f8f3651af3c4ab3eccbfcfd95fce6299bcead8df6935bc5e10d3e1ecef91cc5d19f0a3fb41a6c057e6dad141dccb47f05e9abff6d505ffe5c73c7d25
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zadok (0.5.1)
4
+ zadok (0.5.2)
5
5
  bootstrap (~> 4.0)
6
6
  bundler-audit (~> 0.6)
7
7
  cancancan (~> 2.1)
@@ -158,7 +158,7 @@ class ZadokController < ApplicationController
158
158
  def new_attributes
159
159
  Hash[
160
160
  resource_class.attribute_types.map do |attr, type|
161
- [attr, type.class.name.demodulize.downcase]
161
+ [attr, { type: type.class.name.demodulize.downcase }]
162
162
  end
163
163
  ]
164
164
  end
@@ -166,7 +166,7 @@ class ZadokController < ApplicationController
166
166
  def edit_attributes
167
167
  Hash[
168
168
  resource_class.attribute_types.map do |attr, type|
169
- [attr, type.class.name.demodulize.downcase]
169
+ [attr, { type: type.class.name.demodulize.downcase }]
170
170
  end
171
171
  ]
172
172
  end
data/lib/zadok/version.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Zadok
4
4
  VERSION_MAJOR = 0
5
5
  VERSION_MINOR = 5
6
- VERSION_TINY = 1
6
+ VERSION_TINY = 2
7
7
  VERSION_PRE = nil
8
8
 
9
9
  VERSION = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zadok
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Hooijer