singularity-cli 0.2.0 → 0.2.1

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/lib/singularity.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b7c218077ad768e81b6f6d8d4c23422544163cb
4
- data.tar.gz: 9f4e2996ae020632d6fb3541be1741aff89dd25e
3
+ metadata.gz: 6f1b969a0fecc12a57a4d7526bd79b88f074755c
4
+ data.tar.gz: dd4d88b3fd58799b2baaa6f34f5b85b8d3f32e63
5
5
  SHA512:
6
- metadata.gz: 01a86bb734c0f8b3c6ab74168461915d68c8202a131a3413d032583591daca021f7848e37fd08e8c2cca2ac8858f113670c55b028f1ea8b3bf2108c99d199201
7
- data.tar.gz: 1d89e6ef633c995a84c01a961b4e430f52b84232513ce5be8bdac4e37abeccc06ba71108ceab68b6a2925dbef8f8ec27a505cb9817fad8513de92dbcb1819921
6
+ metadata.gz: e3ae653b12db18fc8334de1cbfe83ccc543e122269681ec777a9e4681380da7710de35649efe9774a7381bcba0159e0eeb2e7347dc86e3fc0d699a942b4c65ac
7
+ data.tar.gz: 7334989a24708803cf21db7d5e1a8b4d63419a93a02a327bf7c2c0171ddadfa5ab4c47d7ef6ded6e1de5c920dfcd4bfcb443e15f7f8bd161d5f70164342af4d7
data/lib/singularity.rb CHANGED
@@ -40,7 +40,7 @@ module Singularity
40
40
  begin
41
41
  if is_paused()
42
42
  puts " PAUSED, SKIPPING".yellow
43
- exit
43
+ return
44
44
  else
45
45
  # create or update the request
46
46
  resp = RestClient.post "#{@uri}/api/requests", @data.to_json, :content_type => :json
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: singularity-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Webb
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-04-11 00:00:00.000000000 Z
12
+ date: 2016-04-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client