jsonapi_compliable 0.11.7 → 0.11.8

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
  SHA1:
3
- metadata.gz: 60f27c537bf287c553e477bb6adbcded75ebe24b
4
- data.tar.gz: 1ae2eb4627d60aaca63de6133372878c1c9ebb34
3
+ metadata.gz: a845c1141c0c2a6bde9e63207a6937f5bda4f592
4
+ data.tar.gz: 6db8101f04fde4fad38fed98612a2e90facc4937
5
5
  SHA512:
6
- metadata.gz: 61e47b36632f23dac308e532a259778727fc026944c38e18606c7cb91cad30db12800c5c3d5319903eff197a2a4093996173795befe5f5c8a26823becbf7f817
7
- data.tar.gz: 60b001d02e3324dc98717b3b4a71f49413341b026d03c1ad98a1cdb085ee28ea9ae92f38c429f74f333d617f411a6047433bd86a13ac0a55b05b5dd31d4f4f12
6
+ metadata.gz: 06a6ba4c9abefc42659cdb8f1984517c7a7a30d41b83463b3dcd2cc3b996e935f3d1ccb0b267221fbeba692d3b86ba42ed73d6b5374d9da68a7441c69b613c0d
7
+ data.tar.gz: 87a7f332b4c57867d30cace428761a428179e23b921e9150997407a0f5723e31d93e603b2e0759692873ef72ebada4504ad3fbd8f9b78e8f248fadb9872713cd
@@ -92,6 +92,7 @@ module Jsonapi
92
92
  attributes.each do |a|
93
93
  type = a.type
94
94
  type = :string if type == :text
95
+ type = :number if [:float, :decimal].include?(type)
95
96
  code << " attribute :#{a.name}, :#{type}\n"
96
97
  end
97
98
  code << " end\n"
@@ -1,3 +1,3 @@
1
1
  module JsonapiCompliable
2
- VERSION = "0.11.7"
2
+ VERSION = "0.11.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi_compliable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.7
4
+ version: 0.11.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-05-07 00:00:00.000000000 Z
12
+ date: 2018-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jsonapi-serializable