aptible-api 0.9.10 → 0.9.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/aptible-api.gemspec +0 -1
- data/lib/aptible/api/account.rb +0 -1
- data/lib/aptible/api/container.rb +1 -1
- data/lib/aptible/api/log_drain.rb +3 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd0e32a04925a5978fa57968932ee2c0e7bc105a
|
4
|
+
data.tar.gz: 6c6cfd5ecf75b4da020dc17635ec7de88d27964d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58479c401a1fdc122f5a239473592ae90a8887600a43e84b8bc40b2d7b33db960d82a84718f501ea3ea7c44131aa3fb805c365204db30cad356744856e2da455
|
7
|
+
data.tar.gz: a3243e62edce88e032f94420dfd9399755c4b861025ef28eba5156c34fb83e9c09b0267ad20ddfdb086e62813745d2426a15514a81344e22ee964f360054ec53
|
data/aptible-api.gemspec
CHANGED
@@ -21,7 +21,6 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_dependency 'aptible-resource', '>= 0.3.4'
|
23
23
|
spec.add_dependency 'aptible-auth', '>= 0.5.0'
|
24
|
-
spec.add_dependency 'aptible-billforward'
|
25
24
|
spec.add_dependency 'stripe', '>= 1.13.0'
|
26
25
|
spec.add_dependency 'gem_config'
|
27
26
|
|
data/lib/aptible/api/account.rb
CHANGED
@@ -3,6 +3,7 @@ module Aptible
|
|
3
3
|
class Container < Resource
|
4
4
|
belongs_to :release
|
5
5
|
belongs_to :vhost
|
6
|
+
belongs_to :log_drain
|
6
7
|
|
7
8
|
field :id
|
8
9
|
field :host
|
@@ -12,7 +13,6 @@ module Aptible
|
|
12
13
|
field :memory_limit
|
13
14
|
field :created_at, type: Time
|
14
15
|
field :updated_at, type: Time
|
15
|
-
field :billforward_usage_session_id
|
16
16
|
field :layer
|
17
17
|
field :aws_instance_id
|
18
18
|
end
|
@@ -3,6 +3,7 @@ module Aptible
|
|
3
3
|
class LogDrain < Resource
|
4
4
|
belongs_to :account
|
5
5
|
has_many :operations
|
6
|
+
has_many :containers
|
6
7
|
|
7
8
|
field :id
|
8
9
|
field :handle
|
@@ -11,6 +12,8 @@ module Aptible
|
|
11
12
|
field :drain_port
|
12
13
|
field :drain_username
|
13
14
|
field :drain_password
|
15
|
+
field :drain_databases
|
16
|
+
field :drain_apps
|
14
17
|
field :created_at, type: Time
|
15
18
|
field :updated_at, type: Time
|
16
19
|
field :status
|
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: 0.9.
|
4
|
+
version: 0.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aptible-resource
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.5.0
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: aptible-billforward
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: stripe
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|