aptible-api 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/aptible-api.gemspec +1 -1
- data/lib/aptible/api/database.rb +2 -0
- data/lib/aptible/api/disk.rb +1 -0
- data/lib/aptible/api/resource.rb +6 -1
- data/lib/aptible/api/service.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a881798305f737ae7263ab219b43514d6dfbb5b3
|
4
|
+
data.tar.gz: 62e16936741141e2abb5bccf94091bacb1d04712
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3286094ab43a5feb6bc3d3af61514ee616e1fb1819e9c4d8c50f8cf936772c79a6f33dc6bb770dce96544bf49584772a2286e8000d24ed2faa49f5036ca1b548
|
7
|
+
data.tar.gz: e7b6fcfc8587297bdb643b6d5827d0f3be32b35d3a48b07142b3c9aa630c7740bbf0d00e60c25fc6987901b1037d07478cf96a60804f9eb98ae38240439a8768
|
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.4.
|
9
|
+
spec.version = '0.4.6'
|
10
10
|
spec.authors = ['Frank Macreery']
|
11
11
|
spec.email = ['frank@macreery.com']
|
12
12
|
spec.description = %q(Ruby client for api.aptible.com)
|
data/lib/aptible/api/database.rb
CHANGED
data/lib/aptible/api/disk.rb
CHANGED
data/lib/aptible/api/resource.rb
CHANGED
@@ -65,7 +65,12 @@ module Aptible
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
|
68
|
+
# rubocop:disable PredicateName
|
69
|
+
def self.has_one(relation)
|
70
|
+
# Better than class << self + alias_method?
|
71
|
+
belongs_to(relation)
|
72
|
+
end
|
73
|
+
# rubocop:enable PredicateName
|
69
74
|
|
70
75
|
def self.define_has_many_getter(relation)
|
71
76
|
define_method relation do
|
data/lib/aptible/api/service.rb
CHANGED
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.4.
|
4
|
+
version: 0.4.6
|
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-
|
11
|
+
date: 2014-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
|
-
rubygems_version: 2.2.
|
222
|
+
rubygems_version: 2.2.2
|
223
223
|
signing_key:
|
224
224
|
specification_version: 4
|
225
225
|
summary: Ruby client for api.aptible.com
|