aptible-api 1.2.5 → 1.2.6

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
  SHA256:
3
- metadata.gz: 0c17a175be6627d2e9564500be8c04cf71aa023095ac540a63d335ed5023e862
4
- data.tar.gz: af1b087b5da64df2b05b4e115794fe598fadedb333cda3d75d818fb141f8cce5
3
+ metadata.gz: 11486a74413506d5253d3aa80d89010b6c59684e6b05047e7a375facce6e473d
4
+ data.tar.gz: 9790aaccc3c86d4eeb67f93d053ab54dd5794a50bc78649bad4cc7a2dfbf2240
5
5
  SHA512:
6
- metadata.gz: 5c297593f1327ef5c1185824e346aa53fb84583cf76b28119da78225c058dfc4e6f37b524facbd82d8c5c7c4740b3ff60718f30984253a5460219ad5a2ed9786
7
- data.tar.gz: 94be27ed37557d00d8cf3e54ec9cfacb51b02b411477282d789498a16625d699e2175fc68f0e2a0962f653bf7c57b841ab213fed753b05f67b48cc30bd5c31af
6
+ metadata.gz: 56146c4e1b43e32ab1b991745a51b916c3603ee76c181c9427595ea32acde2c25298cf3b0f8f972a32e349bfc6bb23bc1ef201cbd104a85184a781e8c4636b3e
7
+ data.tar.gz: 3c1462715bc56a7e2b0e925c8a7f01ee95529a1ddcea01a0e7304e8bd328c1533a0690cb4b5133912b061fb18a59278f9353a6464cb76e0f0463f240d024b3cb
@@ -31,6 +31,8 @@ module Aptible
31
31
  field :gentlemanjerry_certificate
32
32
  field :gentlemanjerry_docker_name
33
33
  field :gentlemanjerry_instance_id
34
+ field :ca_body
35
+ field :ca_private_key
34
36
 
35
37
  def production?
36
38
  type == 'production'
@@ -0,0 +1,18 @@
1
+ module Aptible
2
+ module Api
3
+ class AwsInstance < Resource
4
+ belongs_to :stack
5
+ has_many :operations
6
+
7
+ field :id
8
+ field :instance_id
9
+ field :ami
10
+ field :instance_type
11
+ field :availability_zone
12
+ field :name
13
+ field :layers
14
+ field :created_at, type: Time
15
+ field :updated_at, type: Time
16
+ end
17
+ end
18
+ end
@@ -3,8 +3,9 @@ require 'aptible/auth'
3
3
  module Aptible
4
4
  module Api
5
5
  class Operation < Resource
6
- belongs_to :account
7
6
  belongs_to :resource
7
+ belongs_to :account
8
+ belongs_to :destination_account
8
9
 
9
10
  has_many :ssh_portal_connections
10
11
  has_many :ephemeral_sessions
@@ -25,7 +26,6 @@ module Aptible
25
26
  field :command
26
27
  field :destination_region
27
28
  field :interactive
28
- belongs_to :destination_account
29
29
  field :user_name
30
30
  field :user_email
31
31
  field :immediate
@@ -16,6 +16,7 @@ end
16
16
 
17
17
  require 'aptible/api/account'
18
18
  require 'aptible/api/app'
19
+ require 'aptible/api/aws_instance'
19
20
  require 'aptible/api/backup'
20
21
  require 'aptible/api/certificate'
21
22
  require 'aptible/api/configuration'
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.2.5'.freeze
3
+ VERSION = '1.2.6'.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.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-05 00:00:00.000000000 Z
11
+ date: 2021-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-auth
@@ -185,6 +185,7 @@ files:
185
185
  - lib/aptible/api/account.rb
186
186
  - lib/aptible/api/agent.rb
187
187
  - lib/aptible/api/app.rb
188
+ - lib/aptible/api/aws_instance.rb
188
189
  - lib/aptible/api/backup.rb
189
190
  - lib/aptible/api/backup_retention_policy.rb
190
191
  - lib/aptible/api/certificate.rb