active_record_api-rest 1.0.15 → 1.0.16

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: 7002f861f64ff1747bb41baa65026f4c74db325a8bd1a230a2846283c2d7b65e
4
- data.tar.gz: f31eb5759067290435edf494fc2a0317208d7e9301affdae34334b009368fb81
3
+ metadata.gz: 22ce247d0acae1c5bb22947063296a614289602b9e0d5140b2f155f284970449
4
+ data.tar.gz: 5cc534ab4272636f7125ec32575d69063b82236f7739b7721884bef51e11551a
5
5
  SHA512:
6
- metadata.gz: bb151f99b8f3aa796cf4f282005714a1c22c75444697f8cd7ffaea6051cc26772efe2520e76dadf3eb441d1040e24674870760255118f87a52677392a342dd9b
7
- data.tar.gz: 1acacde814702317e012c331a58d8b61f2657f4d55e6fdfa20df0159437cf60e7f2c76cac0f99ddc3494bb9aa312727662f2abad5cd790f5a60444f427950ae2
6
+ metadata.gz: f9222655c33fbf8991927ba8ab57d46b870f396ae85052e00597a30e7886bfdeeab0a719a37cab221e4fbda5455d248394c54ceb3fb31b2271e72b5a8ec0b2f9
7
+ data.tar.gz: '0059cedbe396572fc1f1412c4914025f563d7aad457202efc566b903539de3cf6d87a68663caee7aab9a0b003905502148dda4931bee69de4810dd52b9b41d02'
@@ -32,7 +32,7 @@ module ActiveRecordApi
32
32
  end
33
33
 
34
34
  def scope
35
- @scope ||= scope_klass.new(session: session, model_klass: model_klass, action_name: action_name)
35
+ @scope ||= scope_klass.new(session: session, model_klass: model_klass, action_name: action_name, queryable_params: queryable_params, modifiable_params: modifiable_params)
36
36
  end
37
37
 
38
38
  def scope_klass
@@ -3,7 +3,7 @@ module ActiveRecordApi
3
3
  module Auth
4
4
  class Scope
5
5
  include ActiveAttr::Model
6
- attr_accessor :session, :model_klass, :action_name
6
+ attr_accessor :session, :model_klass, :action_name, :modifiable_params, :queryable_params
7
7
 
8
8
  def authorized_models
9
9
  send(action_name)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecordApi
4
4
  module Rest
5
- VERSION = '1.0.15'.freeze
5
+ VERSION = '1.0.16'.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.15
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Full Measure Education