aptible-api 0.9.17 → 0.9.18

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
  SHA1:
3
- metadata.gz: c40dd32ed0e4fc43580b3297e9c1949954c6f7e4
4
- data.tar.gz: 8683ede65bc0c727ab45295cca8f103adf4d669b
3
+ metadata.gz: df2cbf14879f45f5be0928889f96b38564b9c7f3
4
+ data.tar.gz: 39deaa47082e7ac1b6c0610b56dc448e1f99cec1
5
5
  SHA512:
6
- metadata.gz: adf2dd421070a11b63740cf483a51f20bfe0d8a6b94ccbe377b2da721ad34f67c906ec8a5703f1e979bca5a460d954fe94020bd1e085902955bca1a19a7f864b
7
- data.tar.gz: 4cb1dcaf8c8a396812e3603109d132d7f288adb28f420c07cdc35bd7d17dca4cfd8d7d3d7b5aeeca7e4c40338689240f25ded6205209bd44d46c39c70d914caf
6
+ metadata.gz: e4d78ff4ed29e93960826ff41c0e0b5a891faa4b0e20c01c531a416de6bd55923785b61223e62b0f3276ec052d27256f3d8ff900e2157d4fac6df21d5df1df50
7
+ data.tar.gz: 55a5511ade788151054b842a70a1ecc353c9da1493a49b98ce6903eb5caff70574ba0c398ad0162b1b6f3a3b4917f48d4a69dad649537407c5919e105da10d40
@@ -12,6 +12,7 @@ module Aptible
12
12
  has_many :backups
13
13
  has_many :dependents
14
14
  has_many :configurations
15
+ embeds_many :database_credentials
15
16
 
16
17
  field :id
17
18
  field :handle
@@ -0,0 +1,14 @@
1
+ module Aptible
2
+ module Api
3
+ class DatabaseCredential < Resource
4
+ belongs_to :database
5
+
6
+ field :id
7
+ field :type
8
+ field :default, type: Aptible::Resource::Boolean
9
+ field :connection_url
10
+ field :created_at, type: Time
11
+ field :updated_at, type: Time
12
+ end
13
+ end
14
+ end
@@ -32,3 +32,4 @@ require 'aptible/api/service'
32
32
  require 'aptible/api/vhost'
33
33
  require 'aptible/api/ssh_portal_connection'
34
34
  require 'aptible/api/stack'
35
+ require 'aptible/api/database_credential'
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '0.9.17'.freeze
3
+ VERSION = '0.9.18'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aptible-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.17
4
+ version: 0.9.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
@@ -175,6 +175,7 @@ files:
175
175
  - lib/aptible/api/configuration.rb
176
176
  - lib/aptible/api/container.rb
177
177
  - lib/aptible/api/database.rb
178
+ - lib/aptible/api/database_credential.rb
178
179
  - lib/aptible/api/database_image.rb
179
180
  - lib/aptible/api/disk.rb
180
181
  - lib/aptible/api/image.rb