civo 0.6.1 → 0.6.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: c74497ec61fe77ae9d31a49419b8dfbc0ee6b5b2
4
- data.tar.gz: a47aee9b39678543df358b7d65d2523333a83dc7
3
+ metadata.gz: ca6e6843932981e134d7eb3490c27eccace57104
4
+ data.tar.gz: 327412dae1e786d7a9428c0b3606f5e8ab127c40
5
5
  SHA512:
6
- metadata.gz: c4663ec341edf8f7335404ab95cf788a0e230af2721778a6d6f3b1295cc2e031e4d2863287517a439417b04a5a863812fc9db21682edbbe52c30dbc632aa8996
7
- data.tar.gz: c2dd167a5d12ba6c23a57a010b68ad4315cd28ffd3e281cc208b8f308e9dcbe6e834aff541097b5e0da084dee2d05d9f1cdf5393f84fe50b7a670ba8c97953fb
6
+ metadata.gz: 7c10ed6da5e41af6d59b084a60abd650fae069874d59361a06160d79885832ba344268db19fd382da39a06300c40a0232ec4474b598d2ba28577aaf36d774705
7
+ data.tar.gz: 2467591007648223b7a510ce2d790aa7f28d1f6ad3223a43d980274bb52d18e5d5b62bcd48b57ff277b73d5f55e2a20ff77111baf4d6db6747b7b63cd2a69111
@@ -15,11 +15,11 @@ module Civo
15
15
  return
16
16
  end
17
17
 
18
- user_id = request.post_params[:user_id] # Don't delete the param in case it's needed by an action
18
+ user_id = (request.post_params[:user_id] || request.get_params[:user_id]) # Don't delete the param in case it's needed by an action
19
19
  if user_id.present?
20
20
  request.headers["X-Civo-UserID"] = user_id
21
21
  end
22
- account_id = request.post_params[:account_id] # Don't delete the param in case it's needed by an action
22
+ account_id = (request.post_params[:account_id] || request.get_params[:account_id]) # Don't delete the param in case it's needed by an action
23
23
  if account_id.present?
24
24
  request.headers["X-Civo-AccountID"] = account_id
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries