ocean-rails 4.0.9 → 4.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/application_helper.rb +1 -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: c8428b54104958053416521f95a4dfad5b1df204
|
4
|
+
data.tar.gz: bb5ff30b4d567ddbe38f1a4f18750686150ffad5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a70bb2a9e22a2e975106551817ccb9e9d87df364e018f3742f0454496abcec6baa70a02cad1cfc2d13fbcd0b7b0ea0d5b2e83b4af98ffb080ee34e7ca64aea01
|
7
|
+
data.tar.gz: 1773aba1c65c2ee0d6172db689feed21686fd941aafc6ec7dd70b732c9f326f789d995030aaea7664d0d27db3b31d7c2fb6f04e3fd4334443981dd1c4419f8df
|
@@ -6,7 +6,7 @@ module ApplicationHelper
|
|
6
6
|
def hyperlinks(links={})
|
7
7
|
result = {}
|
8
8
|
links.each do |qi, val|
|
9
|
-
next unless val
|
9
|
+
next unless val.present?
|
10
10
|
result[qi.to_s] = {
|
11
11
|
"href" => val.kind_of?(String) ? val : val[:href],
|
12
12
|
"type" => val.kind_of?(String) ? "application/json" : val[:type]
|
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: 4.0.
|
4
|
+
version: 4.0.10
|
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-11-
|
11
|
+
date: 2014-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|