jsonapi_compliable 0.10.6 → 0.10.7

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
  SHA1:
3
- metadata.gz: 1579f5bdcf4744c155f8a0802eff802217ffc3d0
4
- data.tar.gz: 01a4158c657caf8de761bfdc5eaf0c046b2af66b
3
+ metadata.gz: f7f3fde1d93829c0cae1e4a182d93fb179480ebe
4
+ data.tar.gz: 617a21bae42b814b68d59205da139504436549fb
5
5
  SHA512:
6
- metadata.gz: 8f6f4cb39b344a54c85a7eaab74ce3b6b431c3494a5b29741955a790a5ad5d0595078e099f7c5fb2c4096e15d6470690a8cddae9a63262055e01c726504e9b29
7
- data.tar.gz: e8fab3971524823850fe62654428dabcacd9321878d724aa0c655b1b23b77537fb864a4d69a82ad6c5f6eae2ef95d00e0a1ac1f94073978b887c003a58a122f9
6
+ metadata.gz: aa0f523a1ab819795655ae3fa18961b883f790432de523582ad9113737bc79f48d76082fc76895fbcccff0c0b5a7ecdd6051c3bb0c87aab5550ae46ad55ff707
7
+ data.tar.gz: 410d64165adb71abf7925194247e7931e27d5f216b2dbd47491ff2f02827c936294cd7c22c8226e81316b85d8eddef503bbac6fd8866992ebc0c9b3437b8539c
@@ -91,7 +91,7 @@ module Jsonapi
91
91
  code = " strong_resource :#{file_name} do\n"
92
92
  attributes.each do |a|
93
93
  type = a.type
94
- type = 'string' if type == 'text'
94
+ type = :string if type == :text
95
95
  code << " attribute :#{a.name}, :#{type}\n"
96
96
  end
97
97
  code << " end\n"
@@ -1,3 +1,3 @@
1
1
  module JsonapiCompliable
2
- VERSION = "0.10.6"
2
+ VERSION = "0.10.7"
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.10.6
4
+ version: 0.10.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond