deep_unrest 0.1.76 → 0.1.77

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: 5414c5023858644639737c10519236d5d27d7d5f645a65c1a47f784b5c0f1cdc
4
- data.tar.gz: e36e32772f0e662881f2d29acbbff47634d6f8cb2f214394a52aa72937a43262
3
+ metadata.gz: 309a91b576429c12d2c5b6dfe938c736f20e065dfb36e19cd7e842e4e63a09f5
4
+ data.tar.gz: 9b3b6cd5b50ab09b43946721322783431bd3d1be59fc8d5c0234529662d451c1
5
5
  SHA512:
6
- metadata.gz: afd8b1351ecfc59ae5c4ce9834cdabe02ad3fd4cf89b9e9c955b92512d2a12ca7f1b0a779b649cdc3cc538a8711d8e8071d5199a383ac7f9e11806c9add4e4fe
7
- data.tar.gz: 5cc341b7eb963ad418a813087c44a24d28aef45548babc7bd35f1f150fba14dc6b804fd501cfc533c950ae7d143224de0422546414241751880b68bc542e8968
6
+ metadata.gz: b6485d0999073274a62414519b7e807d5e97024904705f89d9aafb6e5170ea045faa6321223b3b929bfa84948a64aa1c40ce18e9c1f1369ffabe571a2f1c351c
7
+ data.tar.gz: ee10b543d71193acc2e8d4751e5ccfcfcbd3d90bd79b1e1d1a8ba7ff4505ef1d08b34bd604ecf8f13013b60b382476535a2dcd9cdc2f78040042b641f4f026f1
@@ -3,9 +3,9 @@ module DeepUnrest
3
3
  module ResourceScope
4
4
  extend ActiveSupport::Concern
5
5
 
6
- included do
6
+ class_methods do
7
7
  def records_base(opts)
8
- opts[:scope] || super(opts)
8
+ opts&.dig(:context, :scope) || super(opts)
9
9
  end
10
10
  end
11
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeepUnrest
4
- VERSION = '0.1.76'
4
+ VERSION = '0.1.77'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep_unrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.76
4
+ version: 0.1.77
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lynn Hurley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-29 00:00:00.000000000 Z
11
+ date: 2021-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails