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 +4 -4
- data/lib/aptible/api/database.rb +1 -0
- data/lib/aptible/api/database_credential.rb +14 -0
- data/lib/aptible/api/resource.rb +1 -0
- data/lib/aptible/api/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df2cbf14879f45f5be0928889f96b38564b9c7f3
|
4
|
+
data.tar.gz: 39deaa47082e7ac1b6c0610b56dc448e1f99cec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4d78ff4ed29e93960826ff41c0e0b5a891faa4b0e20c01c531a416de6bd55923785b61223e62b0f3276ec052d27256f3d8ff900e2157d4fac6df21d5df1df50
|
7
|
+
data.tar.gz: 55a5511ade788151054b842a70a1ecc353c9da1493a49b98ce6903eb5caff70574ba0c398ad0162b1b6f3a3b4917f48d4a69dad649537407c5919e105da10d40
|
data/lib/aptible/api/database.rb
CHANGED
@@ -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
|
data/lib/aptible/api/resource.rb
CHANGED
data/lib/aptible/api/version.rb
CHANGED
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.
|
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
|