ocean-rails 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97f9a34ca65d7137708b075d4e52e8f5c44ce096
4
- data.tar.gz: c5782aa737668936d7d8f4fe222b498292f20437
3
+ metadata.gz: ac295d46c01283272dcf2bfd02bdc86170b4bf87
4
+ data.tar.gz: 99d4f7e4b7cdf86738dd7991945b0365cc4574d0
5
5
  SHA512:
6
- metadata.gz: fb662d2693c0aa5594ae84507e06e96b469b64cb86373448637f58563491a4d2a58735a492c116c28a240c9eaa8c4247aa52a52ff002924f6b2576ebaca5348a
7
- data.tar.gz: ce7566987e78b3267327602beda61000c6d64edc7180f6b8a77dfb7a3b59633c17ae0ff1c7d73b69080a45193ee6cb3851053083a10a093a9f157105e4a899d5
6
+ metadata.gz: 88d08d9514b4b7946a066f5e3150ec13219dd4d77ba400bda3ed28389e982ea7fd59a170d9f2c657c332ff8252f17ca9cdaf13693eb44290f37ee8780b48f6e8
7
+ data.tar.gz: 9eaef29359bd7593ade30e260e7fd2819de2e15da1375d92ab2b300d35ca8965dd5ce45bb9ed4924752b29683847637cc4da21fe37698b1c844aa39a7d938e5a
data/lib/ocean/api.rb CHANGED
@@ -422,8 +422,11 @@ class Api
422
422
  #
423
423
  def self.permitted?(token, args={})
424
424
  raise unless token
425
- response = Api.get(:auth, "/authentications/#{token}", args)
426
- response
425
+ #response = Api.get(:auth, "/authentications/#{token}", args)
426
+
427
+ #response
428
+ Api.request "#{INTERNAL_OCEAN_API_URL}/v1/authentications/#{token}", :get,
429
+ args: args
427
430
  end
428
431
 
429
432
 
@@ -61,7 +61,7 @@ class Api
61
61
  # x.get(:creator)
62
62
  # x.get!(:creator)['username']
63
63
  # x.put(:confirm, body: {x:2, y:3})
64
- # x.post(:bars, body: {username: "Bl0feld", password: "SPECTRE"})
64
+ # x.post(:login, body: {username: "Bl0feld", password: "SPECTRE"})
65
65
  # x.delete(:expired)
66
66
  #
67
67
  # Note the difference between:
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson