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 +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/zadok_controller.rb +2 -2
- data/lib/zadok/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c7af38285fdb380b56c03e824b299f6f912f6a968753efd7603c48de7a9900e
|
|
4
|
+
data.tar.gz: ec5167ee216d92b61d86550198b59efe51c1d5824b240bc32cca59bd905056e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2f84231f990f8b68fab2131e76cd90c85fa00e0922e3562fcb6e08902f9dbf59fb417eff4b8a1741e2866a97c0f460116a82295ccb118facfe6688df54a70ce
|
|
7
|
+
data.tar.gz: 6420d021f8f3651af3c4ab3eccbfcfd95fce6299bcead8df6935bc5e10d3e1ecef91cc5d19f0a3fb41a6c057e6dad141dccb47f05e9abff6d505ffe5c73c7d25
|
data/Gemfile.lock
CHANGED
|
@@ -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