ocean-rails 2.14.1 → 2.15.0

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: 0b26499445f8caadefff6944958ddf4f2913faa7
4
- data.tar.gz: c4407bf04564b7bc71f4d509e7b5d590b84bc66e
3
+ metadata.gz: 4e218968626a16b56c5743be6f22ab1f822e9182
4
+ data.tar.gz: 22e60a5c764791a5ac0e424de04dbbcf6d2708aa
5
5
  SHA512:
6
- metadata.gz: 2f1d3e976221fc58e16ef706284bc0416e6f361c41a279f7d2cf9122dc5fb20a44a1e6cbdf6da3d17ddb7b616a19a8fa602648a4b44da349bec0fea773bbe520
7
- data.tar.gz: 9be5c92fd768279e594f4cdb259fd1beda5e54273dc25ef30877f54cc98c92065fbfc8859b52a17a0ba43ad962765767aedb776bc1229a7eac1e4eb2b39c733b
6
+ metadata.gz: bac3e80e4203e4df89b28da660296e29599ddf64bfa8b443c5d053095219c2a230f2ade0dc6fe026f15bb1e71c0f393723aef2d2144e7934815fc473401a188d
7
+ data.tar.gz: 183633c8d48c1d629b36328c11cb2b0905a55bb1561ff6cee1d5e8eceec725b5fdea2f0ca90870dc4fd36c576c0da6f2bd977f6e7a1868bfe35682f5faf0b8b6
@@ -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 = "2.14.1"
2
+ VERSION = "2.15.0"
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: 2.14.1
4
+ version: 2.15.0
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-06-19 00:00:00.000000000 Z
11
+ date: 2014-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus