aptible-api 0.4.4 → 0.4.5

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: 4c774e10f821b26ab78c7eeccf051c95a03e916a
4
- data.tar.gz: b864ee0b17047f0f44429f17923c5bcc8759507e
3
+ metadata.gz: c1541196a911b6077bac967c1c34edead2063c58
4
+ data.tar.gz: 099b9df00a961e588f6b23146dd6d5e5b5acbe31
5
5
  SHA512:
6
- metadata.gz: 893fa1a9ec6a8933be486363134656dd5b8b557c230d6f45d52223d8c3f024fdebc834348dff740d60a03b6543a0c05524e6d397a574cd892ecd5675f913784d
7
- data.tar.gz: 1ba6d451ac6b92c2ba8f7195fe6912e1df21f8cb9d0b52d444b821729a49096f9d1831c289dc43a1e420bfcec3d234df902270ce79f0957109b411d9c7902fbe
6
+ metadata.gz: c2577ff1e8df1b8f439f0d235493755b1b10c29ae7f7e809cb31d37885e221bf07f4197d7629d716bfab054df35cbbc0b40b0ba3a38771a83abc16daaa3bbcea
7
+ data.tar.gz: b9909899937041dc6335c25967e15ba699abdaf30d4e5f1eafe3f6eef1da9000f0445a9c4238080854f81db0104869c6f401b87601715a71ef84360aefa3fe87
@@ -6,7 +6,7 @@ require 'English'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'aptible-api'
9
- spec.version = '0.4.4'
9
+ spec.version = '0.4.5'
10
10
  spec.authors = ['Frank Macreery']
11
11
  spec.email = ['frank@macreery.com']
12
12
  spec.description = %q(Ruby client for api.aptible.com)
@@ -2,6 +2,7 @@
2
2
  module Aptible
3
3
  class Api::Account < Api::Resource
4
4
  has_many :apps
5
+ has_many :databases
5
6
  has_many :disks
6
7
  has_many :services
7
8
 
@@ -0,0 +1,8 @@
1
+ # rubocop:disable ClassAndModuleChildren
2
+ module Aptible
3
+ class Api::Database < Api::Resource
4
+ belongs_to :account
5
+ has_many :operations
6
+ has_many :permissions
7
+ end
8
+ end
@@ -89,9 +89,9 @@ end
89
89
 
90
90
  require 'aptible/api/account'
91
91
  require 'aptible/api/app'
92
- require 'aptible/api/attachment'
93
92
  require 'aptible/api/configuration'
94
93
  require 'aptible/api/container'
94
+ require 'aptible/api/database'
95
95
  require 'aptible/api/disk'
96
96
  require 'aptible/api/image'
97
97
  require 'aptible/api/operation'
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.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
@@ -184,9 +184,9 @@ files:
184
184
  - lib/aptible/api/account.rb
185
185
  - lib/aptible/api/adapter.rb
186
186
  - lib/aptible/api/app.rb
187
- - lib/aptible/api/attachment.rb
188
187
  - lib/aptible/api/configuration.rb
189
188
  - lib/aptible/api/container.rb
189
+ - lib/aptible/api/database.rb
190
190
  - lib/aptible/api/disk.rb
191
191
  - lib/aptible/api/image.rb
192
192
  - lib/aptible/api/operation.rb
@@ -1,6 +0,0 @@
1
- # rubocop:disable ClassAndModuleChildren
2
- module Aptible
3
- class Api::Attachment < Api::Resource
4
- belongs_to :disk
5
- end
6
- end