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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1e7d85cc667d65fb91991f07243e8dffa69c22b
4
- data.tar.gz: 4dfff55d3d5984152a6555042386772f8243e2ee
3
+ metadata.gz: c8428b54104958053416521f95a4dfad5b1df204
4
+ data.tar.gz: bb5ff30b4d567ddbe38f1a4f18750686150ffad5
5
5
  SHA512:
6
- metadata.gz: 62f9d6b9a05619904b236512f8e7c8c5cfa5a33ad9849d91aa44cc05b7cf5d346e8fb612f5e8a2ad751b4ad42f201c166e0a812185c8d06ff92a3498fa4e96d6
7
- data.tar.gz: 3f630910d6417a47adf2e91bf7636da456570fef2cf6409243ede4b9d442a4ebb038e70c817fb93aff12e1df3b8a8fc5051612f6d3ec423068c1d08666c8a845
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
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "4.0.9"
2
+ VERSION = "4.0.10"
3
3
  end
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.9
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-07 00:00:00.000000000 Z
11
+ date: 2014-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus