qops 1.4.7 → 1.4.8

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: e27f5d27a82f0f2144c5060350638de6c5758341
4
- data.tar.gz: 8fffc9f857cf867d0cee47d47775b14e629881be
3
+ metadata.gz: a8cb1267b68ccb2ba295715db97406c98b1f54cc
4
+ data.tar.gz: 64fe3dfb047c12408a29c7fb700a62187c6a6ada
5
5
  SHA512:
6
- metadata.gz: e03053e8b52fabc5d4ddbe351fe6900ef24cc5f50ce323ac97ad38d0c6e62348a93c188af4dfa0048c2fef0da52a51ec3827353468ec60b1c97189f95b30f21d
7
- data.tar.gz: 3adf525a474cf17af511db6f6cdaf8f48b40c996824fe1702579b33c86d6440baf32eead767198604446bcba34a8324455e9ad458477e21ee5330e0e65f3b8d2
6
+ metadata.gz: 238a79d5bef69ae93742f3d93e9a7904437c29115b21801aa0f91badaee066c6215ff07cf54b61340bcc797447ff7d23d348a85c83087ca82e85780ed50d3ea4
7
+ data.tar.gz: 4ff4483d28a9b3d0c6443de5b1ac52d8f9c7090dc761a7d86667c07c7244a2c911900cf323f9d113086b613d7b1830fc90b2fde7f4554be5a38a4d65f236e0ee
@@ -12,7 +12,7 @@ class Qops::Deploy < Thor
12
12
  end
13
13
  online_instances = instances.select { |instance| instance.status == 'online' }
14
14
 
15
- if online_instances.zero?
15
+ if online_instances.empty?
16
16
  raise 'Could not find any running instance(s) to deploy to. Perhaps you need to run "qops:instance:up" first'
17
17
  end
18
18
 
data/lib/qops/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Qops
4
- VERSION = '1.4.7'.freeze
4
+ VERSION = '1.4.8'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qops
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Basset
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-04-24 00:00:00.000000000 Z
14
+ date: 2017-04-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: qthor