aptible-api 0.7.3 → 0.7.4

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
  SHA1:
3
- metadata.gz: 3e3ac2856db4e87b0cebfdd376b76234dcca0607
4
- data.tar.gz: 510598550b3ad69f65f04db367760b0ad6844a2c
3
+ metadata.gz: 5b7e992bb0ec84d4cda8c2375e3384c9e5c47a71
4
+ data.tar.gz: b666d09b62583a57ea73bb4a3a8a068ff6351a97
5
5
  SHA512:
6
- metadata.gz: d81ee630a74bda50cf44f926e5a5f0ecdc68e864f7d4e8c3c86a2e1217b0487f20409e0a007c2aa403488bd454eb54c4384dba4fad3ef1d9e120b872c9e8ecf5
7
- data.tar.gz: 1eb6d6c5d3cae7d7b0082eb488e78f8de942d7ee1c8e8e299dd2404b9f28aee345338932e4506ad9582e67b6fedea2197a838388e2d83bccfc6655ba203742f2
6
+ metadata.gz: 992b787056e791974d4747b263f71dec10921680369dd86acf803d735c42f663ffae318c7ed7c9f55e703b9883271856ff55f2cb0af149b2a1a38536f6c3bf38
7
+ data.tar.gz: e90a6dee357edca23223129e52fafd7eb6bede114d39d56331bc8e36b6e2edcba77a369deeae2f7e5748fe876abd2296e65fd91f7a50ab0638685ce22d335e2c
@@ -9,6 +9,7 @@ module Aptible
9
9
  has_many :disks
10
10
  has_many :services
11
11
  has_many :permissions
12
+ has_many :log_drains
12
13
 
13
14
  field :id
14
15
  field :type
@@ -22,6 +23,9 @@ module Aptible
22
23
  field :created_at, type: Time
23
24
  field :updated_at, type: Time
24
25
  field :billforward_subscription_id
26
+ field :gentlemanjerry_endpoint
27
+ field :gentlemanjerry_certificate
28
+ field :gentlemanjerry_docker_name
25
29
 
26
30
  def billforward_subscription
27
31
  return nil if billforward_subscription_id.nil?
@@ -11,6 +11,7 @@ module Aptible
11
11
  field :created_at, type: Time
12
12
  field :updated_at, type: Time
13
13
  field :billforward_usage_session_id
14
+ field :layer
14
15
  end
15
16
  end
16
17
  end
@@ -0,0 +1,17 @@
1
+ module Aptible
2
+ module Api
3
+ class LogDrain < Resource
4
+ belongs_to :account
5
+ has_many :operations
6
+
7
+ field :id
8
+ field :handle
9
+ field :drain_type
10
+ field :drain_host
11
+ field :drain_port
12
+ field :created_at, type: Time
13
+ field :updated_at, type: Time
14
+ field :status
15
+ end
16
+ end
17
+ end
@@ -21,6 +21,7 @@ require 'aptible/api/container'
21
21
  require 'aptible/api/database'
22
22
  require 'aptible/api/disk'
23
23
  require 'aptible/api/image'
24
+ require 'aptible/api/log_drain'
24
25
  require 'aptible/api/operation'
25
26
  require 'aptible/api/permission'
26
27
  require 'aptible/api/release'
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '0.7.3'
3
+ VERSION = '0.7.4'
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: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-24 00:00:00.000000000 Z
11
+ date: 2014-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-resource
@@ -203,6 +203,7 @@ files:
203
203
  - lib/aptible/api/database.rb
204
204
  - lib/aptible/api/disk.rb
205
205
  - lib/aptible/api/image.rb
206
+ - lib/aptible/api/log_drain.rb
206
207
  - lib/aptible/api/operation.rb
207
208
  - lib/aptible/api/permission.rb
208
209
  - lib/aptible/api/release.rb
@@ -235,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
236
  version: '0'
236
237
  requirements: []
237
238
  rubyforge_project:
238
- rubygems_version: 2.2.2
239
+ rubygems_version: 2.0.14
239
240
  signing_key:
240
241
  specification_version: 4
241
242
  summary: Ruby client for api.aptible.com