ocean-rails 3.0.1 → 3.0.2

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: 6cc5dc4be08f61d82e7257188c0b43a9f7b92003
4
- data.tar.gz: b6d6ac63a74cac60c4135809712bdfe029524eff
3
+ metadata.gz: edfb1b981df389cc044a312855c0c19851bd3782
4
+ data.tar.gz: 4753da1219255185d3b0b973b257e7b1713eba7e
5
5
  SHA512:
6
- metadata.gz: 21de7027c4e5bda8ec2997a827af0f7e410f12d5e24db5052138dc7410ac3d264da9d3ee390cd14849a9fea1a7ec43af39f184e82758417d8b8745c8e38fefc5
7
- data.tar.gz: da59e85eeeb42fa80793b3488c785da70b4dd458cb57c7a612ac78ab75a38cbdb7cfbf632395e06b3015bf208001bc21150669566acbee09ca41cb32e0f629c1
6
+ metadata.gz: fa0b7f421f92b2e3d0dfad05f0dd77f3871226bf03b70823e6ccbeeb49e4727e9f89224c72dd7fcde4233913f9c8a4c2f42538efb8f10c1d5fe4720361e25af6
7
+ data.tar.gz: 899b534021f839b91c4697a572d7f559bc1f610c6f3a3ed7c11fd6134830799b9657bd423500b77d00e125f7c634c5be0cb84fba6da1b29a436e6e20ea42cb13
@@ -6,6 +6,7 @@ module ApplicationHelper
6
6
  def hyperlinks(links={})
7
7
  result = {}
8
8
  links.each do |qi, val|
9
+ next unless val
9
10
  result[qi.to_s] = {
10
11
  "href" => val.kind_of?(String) ? val : val[:href],
11
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 = "3.0.1"
2
+ VERSION = "3.0.2"
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: 3.0.1
4
+ version: 3.0.2
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-09-05 00:00:00.000000000 Z
11
+ date: 2014-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus