effective_resources 2.17.0 → 2.17.1

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: 55ffa99bff7ce09a36f31a7a12f9e0fb3eff53b07110a86724a1b7dad14a0438
4
- data.tar.gz: 356be85dc5dd7cbaeb0bfdf562b22442ef7102277e4b76bd479e5a0e70823062
3
+ metadata.gz: 66b9fac622ba1011fb81e24ca565d714b78028bd464b14b8e199558eb2e795f1
4
+ data.tar.gz: 72736d311ac7c200758628c5cf4b31b840b2f7e16d482f26771b79b038bb46c1
5
5
  SHA512:
6
- metadata.gz: 676d8e7f03e37d0781c909570b543a8089d9eb5a8e54f215f05bedba1977b9ad49b99e009c2c5cf20a330294c2daf0079c455df957f0198d897b6752210c74a3
7
- data.tar.gz: eb731aef09e46cea31da8fbdc57c591ec32e09f1c7454678635b51cdee10aedc1e991e3778b215e96da7b5797bc7322151f7864b5509f03ae6dcf8a30fdbdc41
6
+ metadata.gz: 6db9023e73e61521f5265407d753831fc8cc62e0b4d5481692242ccbe4643cb59dfe7b077db2de7ee66b3be4bfdf13492816804c9b76a19ac186266f89e95080
7
+ data.tar.gz: 6027c08af646b16c6e218c6842c35448aca20420919512ca81b3af573fdbbbe4d9e359a193ba80b37548449a972dccc94064edc305c512f5683b38552de25e31
@@ -83,13 +83,14 @@ module Effective
83
83
  scope.datatables_scope
84
84
  elsif scope.respond_to?(:datatables_filter)
85
85
  scope.datatables_filter
86
+ elsif scope.respond_to?(:shallow)
87
+ scope.shallow
86
88
  elsif scope.respond_to?(:sorted)
87
89
  scope.sorted
88
90
  else
89
91
  scope
90
92
  end
91
93
 
92
- scope = scope.deep if scope.respond_to?(:deep)
93
94
  scope = scope.unarchived if scope.respond_to?(:unarchived)
94
95
 
95
96
  # Now that we have the scope figured out let's pull the limit number of records into an Array
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.17.0'.freeze
2
+ VERSION = '2.17.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.17.0
4
+ version: 2.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect