ocean-rails 5.0.3 → 5.0.4

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: 18985fe60c759f6758a3dea2c49a225a68575e19
4
- data.tar.gz: cb1acd8a361ec310ddcc21b239ab75453b5c3c5f
3
+ metadata.gz: 6adcceec6a0b514e278387c8f3e12c31d9fe7699
4
+ data.tar.gz: 40c361542d3464513a9cf9d5ee4ab8031834a6c5
5
5
  SHA512:
6
- metadata.gz: 9cff269897bc0ce41a98192d62ed1a29307950a398fea2d46fc2cf63d9006ff8fccd2ea0d935237726ff689046c887f8f17829cd8a95ce7e4f116dec49184696
7
- data.tar.gz: 5c94c0934d8c799234afabf768f15c376ccdf4a3fff5f88765e267da2de10e84f1d56f2239ad0d85e84552f0a3d93fa32402e2f9915e685d3bab46a69123f475
6
+ metadata.gz: 67e391bc47c90d4d0310d8f6ca33af78cd103561c52c5c4eafd307aedb0c8df2b99576bb37071356f2c86153968a294e2113462af070e2fc428bde3679864588
7
+ data.tar.gz: b40aa8790f913a1615c4d96656f4647bf881dfd4adc2ac0fb6f9e6ba77fdeff49839d4f5f56838009d652c9d28212c05877921fc89029caf02df78aaa32fdcc6
@@ -117,8 +117,8 @@ end
117
117
  # This renders creator and updater links correctly.
118
118
  #
119
119
  def smart_api_user_url(x)
120
- if x.blank?
121
- "#{OCEAN_API_URL}/#{Api.version_for :api_user}/api_users/0-0-0-0-0"
120
+ if x.blank? || x == "0" || x == 0
121
+ false #"#{OCEAN_API_URL}/#{Api.version_for :api_user}/api_users/0-0-0-0-0"
122
122
  elsif x.is_a?(Integer)
123
123
  "#{OCEAN_API_URL}/#{Api.version_for :api_user}/api_users/#{x}"
124
124
  elsif x.is_a?(String)
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "5.0.3"
2
+ VERSION = "5.0.4"
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: 5.0.3
4
+ version: 5.0.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-06-20 00:00:00.000000000 Z
11
+ date: 2015-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus