civo 1.6 → 1.7

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
  SHA256:
3
- metadata.gz: 747c02a817ab96dfe04941c39452a55e129161824cf62d65bf838c9b725d37d6
4
- data.tar.gz: c3b2e32fc79394d63d0e0b77d9f5d0e3064963ff8c99f149884f72a9488599de
3
+ metadata.gz: cba19968a0954e1512efe22045b9cb1b9022fcd3b21cee6dd0ee69d199cb08a9
4
+ data.tar.gz: 6ca77cf40409b0903b4e3e642839d608263487e4167b78b46474e5fcc90d6e64
5
5
  SHA512:
6
- metadata.gz: 6a526fa47b509d47f1c44fcd420588aa8eec1ee34e00c4b9e1821607ed2054047644747173b63e8bbd33ef01aeaaaeb9ccbdb3768e57477dcd502a23f925eed8
7
- data.tar.gz: 3e28bd4091d0e56a10cbad6fa2caa42b9e5b0698afd011546bffebc1d667626c3de6dc0178c15c60d7d25aeb39b067873eda1208e3d3776b8da5d4761fc617d3
6
+ metadata.gz: 9ddda93339a10afde304e4217795587ef8685f36cbeead6101b6abde5429217ca9e9b18cc9bf02feac1b59a47592d6d4a2bdc4006509e4ae1937b79d5cf213ce
7
+ data.tar.gz: ad83f028aacd2bc5a90994d236ae7e08a149d43d8c9f8113fd2eebaa2caf58198318220e674dc7cbfd1a22516cb4ef21e1ca2915678571b87e2807bc615aa374
@@ -20,11 +20,11 @@ module Civo
20
20
 
21
21
  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
22
22
  if user_id.present?
23
- request.headers["X-Civo-UserID"] = user_id
23
+ request.headers["X-User-ID"] = user_id
24
24
  end
25
25
  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
26
26
  if account_id.present?
27
- request.headers["X-Civo-AccountID"] = account_id
27
+ request.headers["X-Account-ID"] = account_id
28
28
  end
29
29
  end
30
30
 
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.6"
2
+ VERSION = "1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civo
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.6'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-25 00:00:00.000000000 Z
11
+ date: 2025-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest