aptible-api 0.3.1 → 0.4.0

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: c5062881ccb8f15f410415a7349c3bd6cd7c3a44
4
- data.tar.gz: cd9a3a858eb9afc0d43f597ffc032296191298b3
3
+ metadata.gz: b7803a18c33841cee6818fabba5af95a1c400f95
4
+ data.tar.gz: dd84114b9e5ba177c6713993de1a98b521224e93
5
5
  SHA512:
6
- metadata.gz: 0290f531af21f94e548f6a0bac158793a42905fb4fa5281adeef73dc2c6962b742a1b78c4ce1a805f628dbdb6bdd7969cf2fe30424e203ccf07064398cbb41ff
7
- data.tar.gz: d01d70ec9608bf24e5ed3d7959a0e8f165094c16f4c696af80136bb60b4302178d282a6f62c49af0ca53e6c250491dddd212f49eed66d42c44a2e6af10b0e3d0
6
+ metadata.gz: 9775eeafeb3bfb63e8317ed3e7dbff09f9948f30db2e2e39d594fbc8ddd12c9896854bb8183c1dd2ae855e73fd28cb3d32e43820632b9ac05e371a647fd22f5b
7
+ data.tar.gz: bb6a13e19eb8c7ae2143092e728c8cd74b798b42151511128f0792b37c9fc728717d67255bbfda505f32dc3f783afcd1bc2449ec4202b015509cdf9489dc069d
data/aptible-api.gemspec CHANGED
@@ -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.3.1'
9
+ spec.version = '0.4.0'
10
10
  spec.authors = ['Frank Macreery']
11
11
  spec.email = ['frank@macreery.com']
12
12
  spec.description = %q{Ruby client for api.aptible.com}
@@ -83,7 +83,6 @@ require 'aptible/api/disk'
83
83
  require 'aptible/api/image'
84
84
  require 'aptible/api/operation'
85
85
  require 'aptible/api/permission'
86
- require 'aptible/api/proxy'
87
86
  require 'aptible/api/release'
88
87
  require 'aptible/api/service'
89
88
  require 'aptible/api/vhost'
@@ -5,7 +5,6 @@ module Aptible
5
5
  has_many :vhosts
6
6
  has_many :operations
7
7
  has_many :permissions
8
- has_many :proxies
9
8
  has_many :releases
10
9
  end
11
10
  end
@@ -1,5 +1,9 @@
1
1
  module Aptible
2
2
  class Api::Vhost < Api::Resource
3
3
  belongs_to :service
4
+
5
+ def provisioned?
6
+ provisioned
7
+ end
4
8
  end
5
9
  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.3.1
4
+ version: 0.4.0
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-03-11 00:00:00.000000000 Z
11
+ date: 2014-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_config
@@ -191,7 +191,6 @@ files:
191
191
  - lib/aptible/api/image.rb
192
192
  - lib/aptible/api/operation.rb
193
193
  - lib/aptible/api/permission.rb
194
- - lib/aptible/api/proxy.rb
195
194
  - lib/aptible/api/release.rb
196
195
  - lib/aptible/api/resource.rb
197
196
  - lib/aptible/api/service.rb
@@ -1,5 +0,0 @@
1
- module Aptible
2
- class Api::Proxy < Api::Resource
3
- belongs_to :service
4
- end
5
- end