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 +5 -5
- data/lib/aptible/api/account.rb +2 -0
- data/lib/aptible/api/app.rb +2 -0
- data/lib/aptible/api/aws_instance.rb +19 -0
- data/lib/aptible/api/database.rb +1 -0
- data/lib/aptible/api/operation.rb +3 -2
- data/lib/aptible/api/resource.rb +1 -0
- data/lib/aptible/api/stack.rb +2 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: db84b979622af74b9365022a3b08e14ed210f0f4
|
4
|
+
data.tar.gz: 2cf8c8fb5f07350d1ce0c63de7a83f6ba7d22629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5280782ffc9b2c1f5b2247802dc06737fe42c42f86aedf5264cb5e756af0299994591c2fca54aa98821b35025245c72aa0ed115b6d5590ac1d32c643fc5c037a
|
7
|
+
data.tar.gz: 3291d012de8f5a10cf5732ecd9ed965121cd607e612932cf370a08e4fd2d7ffed3f9ede72b7e66833162b0d7bbf37f170406b5e0de59a76a6f506fa3b185ebb0
|
data/lib/aptible/api/account.rb
CHANGED
data/lib/aptible/api/app.rb
CHANGED
@@ -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
|
data/lib/aptible/api/database.rb
CHANGED
@@ -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
|
|
data/lib/aptible/api/resource.rb
CHANGED
data/lib/aptible/api/stack.rb
CHANGED
data/lib/aptible/api/version.rb
CHANGED
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.
|
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:
|
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
|
-
|
237
|
-
|
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:
|