jbuilder-schema 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/jbuilder/schema/template.rb +3 -3
- data/lib/jbuilder/schema/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: 107585dfe29e3a414e42dad33ff837e22dbc00f0b7aed766969a6cf1b9e179fe
|
4
|
+
data.tar.gz: '0343937fb81680763593dc29d595aa1316df7b9ad570b2c08d6bb6f08fa82cf1'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6948f8725b2f12ac47701c4bfe42c335b646a35faabef11a8becd943d48881dcdc52a5374630b7e13ac0b8560bd9ee084621b039b03722589b9b3474a08f38be
|
7
|
+
data.tar.gz: 47016cfdd21c0b5cc98576619e760de7a40881279cd74a341dfadf8c8b68f493477b9722f009aa8f49419513dac3fce0d9e0571d9904e88db06671ef7513fbb3
|
data/Gemfile.lock
CHANGED
@@ -259,14 +259,14 @@ module JbuilderSchema
|
|
259
259
|
|
260
260
|
def _type(type)
|
261
261
|
case type
|
262
|
-
when :time, :date, :datetime, :"activesupport::timewithzone", nil, :text, :nilclass, :"actiontext::richtext"
|
263
|
-
:string
|
264
262
|
when :float, :bigdecimal
|
265
263
|
:number
|
266
264
|
when :trueclass, :falseclass
|
267
265
|
:boolean
|
266
|
+
when :integer
|
267
|
+
:integer
|
268
268
|
else
|
269
|
-
|
269
|
+
:string
|
270
270
|
end
|
271
271
|
end
|
272
272
|
|