ocean-rails 5.5.3 → 5.5.4
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 +2 -1
- data/lib/ocean/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9637983e267669c5b662b9bf37dfb1b07c414e11
|
4
|
+
data.tar.gz: 13378c3e4654918727df6ac2799a32205e33b054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5255bd7807561486a10dbc7064b7bc653c0a0bcb9c186d14edfab72bbea495709efd233bde18f2259444c00f91704b2206fa82aa18a944b0a4e55335cc1348f
|
7
|
+
data.tar.gz: e85ac61eb38c0ab5f8594eef0c9eb03d86dbcb911ff77af5f6a93fe136b7ed342d596c7bacb24919985add39db1f9257085157b2bdeac5ad8c440743505b29fe
|
@@ -174,7 +174,8 @@ module OceanApplicationController
|
|
174
174
|
count = resources.count
|
175
175
|
total_count = x.respond_to?(:unscope) ? x.unscope(:limit, :offset).count : count
|
176
176
|
attrs = {count: count,
|
177
|
-
total_count: total_count
|
177
|
+
total_count: total_count,
|
178
|
+
resource_type: x.table_name.singularize # We could also go through the class (better)
|
178
179
|
}
|
179
180
|
links = {}
|
180
181
|
if href
|
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: 5.5.
|
4
|
+
version: 5.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Bengtson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|