aptible-api 1.2.3 → 1.2.8

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
- SHA256:
3
- metadata.gz: 8ae1bc084c3cd404f53f6c9881d8dff9fb166e149fe10affe48a622edb41a12a
4
- data.tar.gz: 91ffae818c21a9058f1d34928f7dcffb5c80f0530d2964cc8fea9d4548751c8d
2
+ SHA1:
3
+ metadata.gz: db84b979622af74b9365022a3b08e14ed210f0f4
4
+ data.tar.gz: 2cf8c8fb5f07350d1ce0c63de7a83f6ba7d22629
5
5
  SHA512:
6
- metadata.gz: 3bf20c90a080274edd1fdbf1f56d122995732572d41bc27859102406c532d0ab00571e0f366abc365338569489bee999ba2c627c743f21aadd56f0d8052bf889
7
- data.tar.gz: 99aa25ed38f9638c48781b041dfc289b384ca1c717ab95cddf30e630b5cd1ab72186ec7a23833b3cb38ad2f4da93ff505497f66a717f76c776801d84d430fc44
6
+ metadata.gz: 5280782ffc9b2c1f5b2247802dc06737fe42c42f86aedf5264cb5e756af0299994591c2fca54aa98821b35025245c72aa0ed115b6d5590ac1d32c643fc5c037a
7
+ data.tar.gz: 3291d012de8f5a10cf5732ecd9ed965121cd607e612932cf370a08e4fd2d7ffed3f9ede72b7e66833162b0d7bbf37f170406b5e0de59a76a6f506fa3b185ebb0
@@ -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'
@@ -11,6 +11,7 @@ module Aptible
11
11
  has_many :operations
12
12
  has_many :vhosts
13
13
  has_many :ephemeral_sessions
14
+ has_many :aws_instances
14
15
  embeds_many :services
15
16
 
16
17
  field :id
@@ -19,6 +20,7 @@ module Aptible
19
20
  field :created_at, type: Time
20
21
  field :updated_at, type: Time
21
22
  field :status
23
+ field :deployment_method
22
24
 
23
25
  def provisioned?
24
26
  status == 'provisioned'
@@ -0,0 +1,19 @@
1
+ module Aptible
2
+ module Api
3
+ class AwsInstance < Resource
4
+ belongs_to :stack
5
+ has_many :operations
6
+ embeds_many :databases
7
+
8
+ field :id
9
+ field :instance_id
10
+ field :ami
11
+ field :instance_type
12
+ field :availability_zone
13
+ field :name
14
+ field :layers
15
+ field :created_at, type: Time
16
+ field :updated_at, type: Time
17
+ end
18
+ end
19
+ end
@@ -12,6 +12,7 @@ module Aptible
12
12
  has_many :backups
13
13
  has_many :dependents
14
14
  has_many :configurations
15
+ has_many :aws_instances
15
16
  embeds_many :database_credentials
16
17
 
17
18
  field :id
@@ -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,9 +26,9 @@ 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
+ field :immediate
31
32
  field :created_at, type: Time
32
33
  field :updated_at, type: Time
33
34
 
@@ -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,6 +1,8 @@
1
1
  module Aptible
2
2
  module Api
3
3
  class Stack < Resource
4
+ has_many :aws_instances
5
+
4
6
  field :id
5
7
  field :type
6
8
  field :name
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '1.2.3'.freeze
3
+ VERSION = '1.2.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.2.3
4
+ version: 1.2.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: 2020-08-11 00:00:00.000000000 Z
11
+ date: 2021-03-23 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
@@ -218,7 +219,7 @@ homepage: https://github.com/aptible/aptible-api-ruby
218
219
  licenses:
219
220
  - MIT
220
221
  metadata: {}
221
- post_install_message:
222
+ post_install_message:
222
223
  rdoc_options: []
223
224
  require_paths:
224
225
  - lib
@@ -233,8 +234,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
234
  - !ruby/object:Gem::Version
234
235
  version: '0'
235
236
  requirements: []
236
- rubygems_version: 3.0.3
237
- signing_key:
237
+ rubyforge_project:
238
+ rubygems_version: 2.4.5.5
239
+ signing_key:
238
240
  specification_version: 4
239
241
  summary: Ruby client for api.aptible.com
240
242
  test_files: