active_record_api-rest 1.0.2 → 1.0.3

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: 6d13c4d21074fc31eedf67e6cdeca9e98cca020fb1371049bbb97d256de498ea
4
- data.tar.gz: a74f5a9fb832f73ee718f3bb0af8c224850941a1cd7c6414dab028154e32ca2c
3
+ metadata.gz: f46306ab7aa8dfd69c9d099776f1fc095c2e9188eee1ece50edc83b87543ac69
4
+ data.tar.gz: 59fc5ee48bfa4341773b76b41e7f543f0aefe6973332751aaa931b49a6197fb8
5
5
  SHA512:
6
- metadata.gz: f8f04fff61ac0de2df004e16a2fd75aacef7b3ccc3f8ad4d55407925ff10ec706de4b2d62f294173e0729c6030032fe0745c747fdea9639f4525a57696071253
7
- data.tar.gz: bb628b25b744b8683ace2eed96d44108fb875355e060d8b596f1c2a031d94e2bc7c33167db150fd811a30e117d585ba81f3e0899d14fac15f152de843cf6bf5a
6
+ metadata.gz: 421c5a6f00e821c52d51d1b940664e9f8498b049ab77fbec9adb955564b7053ccc804c2310d7322d3e3806f801b536c890c46baf4d23a6a07d63abefb0d8aee1
7
+ data.tar.gz: 69b974c414193b3667f0e5327e0e60e12939b6024937452c2d3f7b6ed7f05582eb339828b6f3ac5d8d52eadb155ac68d6e3e573a7f70a2085b22c2790fb7d4d2
@@ -27,7 +27,7 @@ module ActiveRecordApi
27
27
  def allowed_params
28
28
  @allowed_params ||= model_klass.column_names.flat_map do |column_name|
29
29
  col = column_name.to_s.gsub('encrypted_', '').to_sym
30
- [col, col => []]
30
+ [col, col => [], col => {}]
31
31
  end
32
32
  end
33
33
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecordApi
4
4
  module Rest
5
- VERSION = '1.0.2'.freeze
5
+ VERSION = '1.0.3'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_api-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Full Measure Education