aptible-api 1.7 → 1.8

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: 109d9f6f89aafba620d6014467356d1cf418f68038510b9c1facaf7e9670912f
4
- data.tar.gz: 21857d1cb4ade6ba3db3f1e0676d77493f827258cae67ba9a0987e23d850ad4d
3
+ metadata.gz: 38788ccd2684d83c77134aa11244ad3e21dd8708db9158234259dffa3144d0ac
4
+ data.tar.gz: 0bfffaba390b065575e651ea177d2e6faaaac7faa29e7f20e7f9221d72ade542
5
5
  SHA512:
6
- metadata.gz: f5b53aff39fe74bb236bc69a66fe3c4a70577f17bdbd957c849fc61235c5413f2ea2aa959d98824aefa044206575ef72dd9fc81eafb6f9df7d783186e10b3402
7
- data.tar.gz: 2d5170360fea9184050519ce7a36b468b116069d4de9d0f73cc2a5ae8347a1439bde39f124594b5f8cb13ae4e35a60c9d61428a6a002b46bdde931b36c7a6bbe
6
+ metadata.gz: '008fa4bf2bee5aac7f58c5020680a3ea830c51416a22dc7876ba8eb832ee1a7331af417cbd69d20cb7276708f0700e6bb166d56ea38c755f020b34e1c13586de'
7
+ data.tar.gz: f75f3dfc64ef26edfd5626c090f6f52fbad541cd647a0164a7a9d37462fa2f8e080cb4f9defce6dad8f9d19b86d230a54dfc650757d78b6a812bea05e10c91ec
@@ -11,7 +11,7 @@ on:
11
11
  jobs:
12
12
  test:
13
13
  name: Run tests on Ruby ${{ matrix.RUBY_VERSION }}
14
- runs-on: ubuntu-20.04
14
+ runs-on: ubuntu-24.04
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
@@ -71,7 +71,10 @@ module Aptible
71
71
  connection = create_ssh_portal_connection!(ssh_public_key: public_key)
72
72
  certificate = connection.ssh_certificate_body
73
73
 
74
- stack = account.stack
74
+ # Backups can be restored across stacks, and the operation executes
75
+ # on the destiantion stack. Assuming all future cross-stack operations
76
+ # will behave the same way, fingers crossed they'll "just work"
77
+ stack = destination_account.try(&:stack) || account.stack
75
78
  host ||= stack.ssh_portal_host
76
79
  port ||= stack.ssh_portal_port
77
80
  host_key ||= stack.ssh_host_rsa_public_key
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.7'.freeze
3
+ VERSION = '1.8'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-api
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.7'
4
+ version: '1.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-27 00:00:00.000000000 Z
11
+ date: 2025-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-auth
@@ -251,7 +251,7 @@ homepage: https://github.com/aptible/aptible-api-ruby
251
251
  licenses:
252
252
  - MIT
253
253
  metadata: {}
254
- post_install_message:
254
+ post_install_message:
255
255
  rdoc_options: []
256
256
  require_paths:
257
257
  - lib
@@ -267,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  version: '0'
268
268
  requirements: []
269
269
  rubygems_version: 3.0.3.1
270
- signing_key:
270
+ signing_key:
271
271
  specification_version: 4
272
272
  summary: Ruby client for api.aptible.com
273
273
  test_files: