aptible-api 0.7.14 → 0.7.17

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: 1cac826edd49817c733e0b9972f1ddf5fdc57841
4
- data.tar.gz: 7031798c0ddd150636a7feb721782fba9d94f246
3
+ metadata.gz: 2ab12eb7aac70b41ec8a6da2522950330c5ee24d
4
+ data.tar.gz: e8f0c4112ca080e021792fc06d2f800229389157
5
5
  SHA512:
6
- metadata.gz: 69ab6c51cf0176ddcb59a054cd203621d0c0d6211fd26fd610f10c1987e75f16477d4fe8ac5f5403d295853878dae857572cc61a6e0c25b7521d1f5d0cd47cf2
7
- data.tar.gz: 70605ff1e9bf7b7b358c4a6156b6fc03cb47b2aea3476669fa86d31d65fcfc23f0aed5bc56f6512ff04c109b51f70e873832937c96114d9a62c541efdad17a01
6
+ metadata.gz: 132743f4e6c73641e1de3278feb1df6c199a997abfeaa1306441b7fbc8fd67fd0d4dae9a92d76bb480a64c054f9b747ef93c6e6608fd5d9873f5393a78cac7bc
7
+ data.tar.gz: b28fe96511ac677ad912c4477197dccd8433536da645e667b4918f7e63f6c97cc9ccc9023620c527edbb19274c2046d2704b2ac42acf6b0ff7a203708104d720
data/aptible-api.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.license = 'MIT'
17
17
 
18
18
  spec.files = `git ls-files`.split($RS)
19
- spec.test_files = spec.files.grep(/^spec\//)
19
+ spec.test_files = spec.files.grep(%r{^spec/})
20
20
  spec.require_paths = ['lib']
21
21
 
22
22
  spec.add_dependency 'aptible-resource', '>= 0.2.9'
@@ -59,7 +59,7 @@ module Aptible
59
59
  end
60
60
 
61
61
  def self.generate_handle(organization_name, plan_id)
62
- rand = ('a'..'z').to_a.shuffle[0, 8].join
62
+ rand = ('a'..'z').to_a.sample(8).join
63
63
  "#{organization_name.parameterize}-#{plan_id}-#{rand}"
64
64
  end
65
65
  end
@@ -15,6 +15,7 @@ module Aptible
15
15
  field :created_at, type: Time
16
16
  field :updated_at, type: Time
17
17
  field :status
18
+ field :docker_repo
18
19
 
19
20
  def failed?
20
21
  # TODO: Add failed status at API level
@@ -16,6 +16,7 @@ module Aptible
16
16
  field :attached, type: Aptible::Resource::Boolean
17
17
  field :created_at, type: Time
18
18
  field :updated_at, type: Time
19
+ field :ec2_instance_id
19
20
  end
20
21
  end
21
22
  end
@@ -1,5 +1,5 @@
1
1
  module Aptible
2
2
  module Api
3
- VERSION = '0.7.14'
3
+ VERSION = '0.7.17'
4
4
  end
5
5
  end
@@ -20,7 +20,8 @@ module Aptible
20
20
  field :created_at, type: Time
21
21
  field :updated_at, type: Time
22
22
  field :status
23
- field :default
23
+ field :default, type: Aptible::Resource::Boolean
24
+ field :internal, type: Aptible::Resource::Boolean
24
25
 
25
26
  def account
26
27
  service.account
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.14
4
+ version: 0.7.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Macreery
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-16 00:00:00.000000000 Z
11
+ date: 2015-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aptible-resource