cloudstrap 0.40.3.pre → 0.40.4.pre

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/cloudstrap +7 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbf453ee30aa4c0f6c5aa17b056e8c9c99ea9714
4
- data.tar.gz: 6c16726af4668ad827e15c8a1c243a810fd424a2
3
+ metadata.gz: c70ae3b879c9b1497241b1cd4429acbec76a383f
4
+ data.tar.gz: 971768e35e7f7cbb9ee4c19e7bb176e6ea04fc7d
5
5
  SHA512:
6
- metadata.gz: 9883340613aaf3b2192e375923d0765afefcd0a14402468119f0ce75d00394872ba0a38b7f59ae6ff2447a5abff61de3075c012f4e19524e1cfe9555508d61e9
7
- data.tar.gz: 8677d2430a55dcc0ae64de19a57574c9fec1ebdc60a512b77d70b050320188323c8b5a419c7e5467ed9bec9bc942663fb0ef49fbe4c60aa8ec922b8307b7a138
6
+ metadata.gz: '077285fa5fe416f08de73a2bbb5c83d889b0251ed13ed0a98acefd9c2d94c7fc4aea6aba5821161dc43bb2be42705d4da9fd2984b94ca4d7337a5b7b7900f000'
7
+ data.tar.gz: b77711a8352a5a4d42caf17c89e3f27560a76b9afadb4ea48128ab700462147f8076f93db2dcdcc17b852585b8a3c3c5cca9ca8a316d8612c443ccdf9c40731e
data/bin/cloudstrap CHANGED
@@ -13,6 +13,13 @@ gem = Gem::Specification
13
13
  .sort_by { |spec| spec.version }
14
14
  .last
15
15
 
16
+ version = Regexp.union(/^-[vV]$/, /--?version/)
17
+
18
+ if ARGV.any? { |arg| arg =~ version }
19
+ puts "#{gem.name} v#{gem.version}"
20
+ exit
21
+ end
22
+
16
23
  config = Cloudstrap::Config.new
17
24
  agent = Cloudstrap::Agent.new
18
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.3.pre
4
+ version: 0.40.4.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Olstrom