acquia-cloud 0.5.3 → 0.5.4

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: 8a3da6b6dde8cc28136f5648097d48f229eaa46e
4
- data.tar.gz: 58ac2d941a2df78f127d02f5e231eda2e8b04123
3
+ metadata.gz: d344dd0b4aac9724c42177e1db0ebd4ff1e99de5
4
+ data.tar.gz: af477384773b947d984e30c6bf7149991ee67d43
5
5
  SHA512:
6
- metadata.gz: abeaaf103ed5be71aa5c53f0972a95744b47012dab43b769bd2487972e79bb89b4a22b4ec8157336e96a4aacfadb82fbebdc97d84bc5245cc65f89f05b7fb18a
7
- data.tar.gz: c0115a40ae3c77de343cbd9f7e754789dbb6df46a19a6bed7b6ba484f324fc947a1132e598d695c08f2ccf5fa5474733dc1351e269d14746850f25b410b00747
6
+ metadata.gz: 40b074ee29df0f3cf85787b668e7bd86c7fa238ea787d9c79e712bf9da4250e9e1747822dc48483f7b5d7dfa7961659a8bd38b8bacc2222edee5e2071f641287
7
+ data.tar.gz: 96c7aaf78565bb1a3b2cbb606c0fb952647a3436dd7ca284c68973aa4e6554b0a21a0d589c2a7d1b39ada788e75ad80779a3f25535179065c1711fc22a5ffe75
data/.travis.yml CHANGED
@@ -1,13 +1,15 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0
5
- - 2.1
6
- - 2.2
3
+ - '1.9.3'
4
+ - '2.0'
5
+ - '2.1'
6
+ - '2.2'
7
+ - '2.3.0'
8
+ - '2.4.0'
7
9
  - jruby
8
10
 
9
11
  install:
10
- - bundle install --deployment
12
+ - bundle install
11
13
  script:
12
14
  - bundle exec rake ci
13
15
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 Matthew Scharley
1
+ Copyright (c) 2017 Matthew Scharley
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a
4
4
  copy of this software and associated documentation files (the "Software"),
data/README.md CHANGED
@@ -7,18 +7,18 @@
7
7
  **Author:** [Equiem](http://equiem.com.au/)
8
8
  **Contributors:** [See contributors on GitHub][gh-contrib]
9
9
  **Bugs/Support:** [Github Issues][gh-issues]
10
- **Copyright:** 2015-2016
10
+ **Copyright:** 2015-2017
11
11
  **License:** [MIT license][license]
12
12
  **Status:** Active
13
13
 
14
14
  ## Synopsis
15
15
 
16
- `acquia-cloud` is a Ruby binding for the Acquia Cloud API.
16
+ `acquia-cloud` is a Ruby binding for the Acquia Cloud API.
17
17
 
18
18
  ## Installation
19
19
 
20
20
  $ gem install acquia-cloud
21
-
21
+
22
22
  Or add `gem 'acquia-cloud'` to your Gemfile and update your bundle.
23
23
 
24
24
  ## Usage
@@ -44,6 +44,10 @@ module Acquia
44
44
  Time.at(data['completed'].to_i)
45
45
  end
46
46
 
47
+ def completed?
48
+ !data['completed'].to_i.zero?
49
+ end
50
+
47
51
  def type
48
52
  data['type'].to_sym
49
53
  end
@@ -1,5 +1,5 @@
1
1
  module Acquia
2
2
  class Cloud
3
- VERSION = '0.5.3'
3
+ VERSION = '0.5.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acquia-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Equiem
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-03 00:00:00.000000000 Z
11
+ date: 2017-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday