ocean-rails 2.0.4 → 2.0.5

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: 54a00270cbe07a37c7785915c098f9c8b0d940df
4
- data.tar.gz: aeee1e5932ee464984439d320bf371eb15790990
3
+ metadata.gz: 31cd0f03d31ec32c34db16825b1a8d72a4202f33
4
+ data.tar.gz: d7274913acdc3d9f5a3c1599eab958ff4a55b80f
5
5
  SHA512:
6
- metadata.gz: 927f4934bf95c3387f2b6db7647c9123d0f53848b1a32fd4e617b5b6a70d4125ade7117c1193afc51a228688897dd5aa2bf4451caa5500a310bb571a013f8597
7
- data.tar.gz: 9826379426c650aa2632e416fc0f6a8327f60b46a425d092cada44643bbc5d25f1d04286b03d5c1c33b00eb6087e928614ca118ff25d574f69204945ae0566b1
6
+ metadata.gz: 789accb15b8d2e6e83f3fc316050ac7d1baa53bc583e9fafc70926935ea09e641887447ee14dee818217e8e59ef548eded59113fb9ee8c058833374d26ee0fda
7
+ data.tar.gz: f33b65bfafec01de07e6a6abe9dfc61d65b9deed55aee7780adb4a19c1b81bed41288c3375fd8a02c9b9fbd264cd5f7147d71bf3e8811d57eb828c19f3905434
@@ -174,10 +174,10 @@ module OceanApplicationController
174
174
  end
175
175
  return
176
176
  else
177
- resources = x.collect { |m| render_to_string(partial: m.to_partial_path,
177
+ resources = x.dup.collect { |m| render_to_string(partial: m.to_partial_path,
178
178
  locals: {m.class.model_name.i18n_key => m}) }
179
- attrs = {count: resources.count #,
180
- #total_count: x.unscope(:where, :limit, :offset).count
179
+ attrs = {count: resources.count,
180
+ total_count: x.unscope(:where, :limit, :offset).count
181
181
  }
182
182
  links = {}
183
183
  if href
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.0.4"
2
+ VERSION = "2.0.5"
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.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson