aptible-api 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/aptible-api.gemspec +2 -2
- data/lib/aptible/api/app.rb +1 -0
- data/lib/aptible/api/resource.rb +1 -0
- 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: c5062881ccb8f15f410415a7349c3bd6cd7c3a44
|
4
|
+
data.tar.gz: cd9a3a858eb9afc0d43f597ffc032296191298b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0290f531af21f94e548f6a0bac158793a42905fb4fa5281adeef73dc2c6962b742a1b78c4ce1a805f628dbdb6bdd7969cf2fe30424e203ccf07064398cbb41ff
|
7
|
+
data.tar.gz: d01d70ec9608bf24e5ed3d7959a0e8f165094c16f4c696af80136bb60b4302178d282a6f62c49af0ca53e6c250491dddd212f49eed66d42c44a2e6af10b0e3d0
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ And then run `bundle install`.
|
|
21
21
|
First, get a token:
|
22
22
|
|
23
23
|
```ruby
|
24
|
-
token = Aptible::Auth::Token.
|
24
|
+
token = Aptible::Auth::Token.create(email: 'user0@example.com', password: 'password')
|
25
25
|
```
|
26
26
|
|
27
27
|
From here, you can interact with the Authorization API however you wish:
|
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.
|
9
|
+
spec.version = '0.3.1'
|
10
10
|
spec.authors = ['Frank Macreery']
|
11
11
|
spec.email = ['frank@macreery.com']
|
12
12
|
spec.description = %q{Ruby client for api.aptible.com}
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.add_dependency 'gem_config'
|
22
|
-
spec.add_dependency 'hyperresource-aptible'
|
22
|
+
spec.add_dependency 'hyperresource-aptible', '>= 0.9.0'
|
23
23
|
spec.add_dependency 'aptible-auth'
|
24
24
|
spec.add_dependency 'fridge'
|
25
25
|
|
data/lib/aptible/api/app.rb
CHANGED
data/lib/aptible/api/resource.rb
CHANGED
data/lib/aptible/api/service.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.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Macreery
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.9.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.9.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: aptible-auth
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|