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 +4 -4
- data/lib/ocean-rails.rb +2 -2
- 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: 6adcceec6a0b514e278387c8f3e12c31d9fe7699
|
4
|
+
data.tar.gz: 40c361542d3464513a9cf9d5ee4ab8031834a6c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67e391bc47c90d4d0310d8f6ca33af78cd103561c52c5c4eafd307aedb0c8df2b99576bb37071356f2c86153968a294e2113462af070e2fc428bde3679864588
|
7
|
+
data.tar.gz: b40aa8790f913a1615c4d96656f4647bf881dfd4adc2ac0fb6f9e6ba77fdeff49839d4f5f56838009d652c9d28212c05877921fc89029caf02df78aaa32fdcc6
|
data/lib/ocean-rails.rb
CHANGED
@@ -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)
|
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: 5.0.
|
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-
|
11
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|