ocean-rails 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/ocean_application_controller.rb +1 -1
- data/lib/ocean/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e65974075d4560d7f8ec08829b674ae3efe69c3c
|
4
|
+
data.tar.gz: 62484168192588513d334385303fbc4a0fae1c2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ff9ba803b356e60e380d46254001cdd2582c898470234a9d49cca7399d9174edef45722e3270bf7353fb19ea03df7e2ea89379964bcecb6f182580fb07e1171
|
7
|
+
data.tar.gz: 34c7afeb5eeb6933b45d38fa19414325c1b1a84b39f51f6ad5617767e4328f439dcd26e0da6fef5cb17927012a1968155e019751638b8158f120f6e76daafbab
|
@@ -183,7 +183,7 @@ module OceanApplicationController
|
|
183
183
|
resources = x.dup.collect { |m| render_to_string(partial: m.to_partial_path,
|
184
184
|
locals: {m.class.model_name.i18n_key => m}) }
|
185
185
|
count = resources.count
|
186
|
-
total_count = x.unscope(:limit, :offset).count
|
186
|
+
total_count = x.respond_to?(:unscope) ? x.unscope(:limit, :offset).count : count
|
187
187
|
attrs = {count: count,
|
188
188
|
total_count: total_count
|
189
189
|
}
|
data/lib/ocean/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ocean-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Bengtson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 4.
|
131
|
+
version: 4.1.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 4.
|
138
|
+
version: 4.1.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: sqlite3
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|