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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a468c68f0ab10f9d02f4b38e5b42ecfaa7a9570d8cc95e4f1a586bcdcd4b8d8
4
- data.tar.gz: 9cfbdbc84f0411af2945277c534ad86d3167bc276da4055630a75b9aab56f668
3
+ metadata.gz: 107585dfe29e3a414e42dad33ff837e22dbc00f0b7aed766969a6cf1b9e179fe
4
+ data.tar.gz: '0343937fb81680763593dc29d595aa1316df7b9ad570b2c08d6bb6f08fa82cf1'
5
5
  SHA512:
6
- metadata.gz: 5a45615f7ff8b2733fb20a21057ac66b46c8efcb40149dbf54e61d5aafc9d343e8977d3569806e1f5e5d17207db7378941c2b1f8199598faa8fe212886057320
7
- data.tar.gz: 516e22d82465a265605237ed8e777ebdfa4a39e6bc3edf49ad2f7bc83d26ad5129a55edc9f4c616c40f49c33ded8cbc0134a192fcb996fd0b1462692106321ab
6
+ metadata.gz: 6948f8725b2f12ac47701c4bfe42c335b646a35faabef11a8becd943d48881dcdc52a5374630b7e13ac0b8560bd9ee084621b039b03722589b9b3474a08f38be
7
+ data.tar.gz: 47016cfdd21c0b5cc98576619e760de7a40881279cd74a341dfadf8c8b68f493477b9722f009aa8f49419513dac3fce0d9e0571d9904e88db06671ef7513fbb3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jbuilder-schema (1.0.0)
4
+ jbuilder-schema (1.0.2)
5
5
  jbuilder
6
6
  rails (>= 5.0.0)
7
7
  safe_parser
@@ -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
- type
269
+ :string
270
270
  end
271
271
  end
272
272
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JbuilderSchema
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jbuilder-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Sidorov