ocean-rails 2.0.2 → 2.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
  SHA1:
3
- metadata.gz: 58b7c59491b48aac2169a883e6ce85cf34e74264
4
- data.tar.gz: 31e64b09dd45ee2de000c966957f9f56c5ff7158
3
+ metadata.gz: 9f8cd8f2ba59ac9b2f669890816ce5a5d16c3366
4
+ data.tar.gz: 1936254836b3381ff1948dcfb10325bc80ed756d
5
5
  SHA512:
6
- metadata.gz: f40db8a263bf19a89fd63f6dedc14ef833f735992bde8619cd089d7f6c6ad7c6b18a3a68c4877e9bddbc7c5928d8d85f7ab81b76f4e90374496a1cf517ea6270
7
- data.tar.gz: f27fa478cac0e998a45388009de1a97f8546ed41d37c6f4f221067371a2c6661603ffbafe63725abb933bcfa6ec1042e592be24995f27032af6b16e61e1ca94a
6
+ metadata.gz: eb87950b526164ca3faf68da4989f6123489ebbe16e78587e13a1f88757429a11a369595842301a1d4e857386b90763bee8e4dca922e4cafb5a5bf47233f5cd2
7
+ data.tar.gz: 722b84061b17866b7a7b1505a57941d218aac564dfda703ecf69b4554f5fa52a11d27b52733da2f3217281353fd04fcca2483e5cbc6c733ac15262756c2640e1
@@ -177,7 +177,7 @@ module OceanApplicationController
177
177
  resources = x.collect { |m| render_to_string(partial: m.to_partial_path,
178
178
  locals: {m.class.model_name.i18n_key => m}) }
179
179
  attrs = {count: resources.count,
180
- total_count: x.unscope(*ActiveRecord::QueryMethods::VALID_UNSCOPING_VALUES.to_a).count
180
+ total_count: x.unscope(:where, :limit, :offset).count
181
181
  }
182
182
  links = {}
183
183
  if href
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson