zillabyte-cli 0.9.32 → 0.9.33

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTM4ZDY4YWZiOWEzNjlkYzYzNjhlY2ZkZTFkNjIxYmMwYzdiN2E1MA==
4
+ OGZjZTEyZTYyMmFmZTY5YzIwMDU0OTIyYjkyNDM3ZmViNWFlYzQ5ZA==
5
5
  data.tar.gz: !binary |-
6
- MzM1YWMwOTczMGY5ZDljOWU1Y2NhYjRkZjA1ZmU2NDg5M2YyMTNkNw==
6
+ YzMzMDAzYjRjYTQzNjE4YzA0NTI0MTJhYWFjYzc2ZjE2MDcwMWIwMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTAzNDIzNTExOGIyOGNjMTMyNDBhYTU2NmNlMTJjNjlhZTQ0MzFiZDlkYzYw
10
- M2JhMzAzYzY4MGJjZWNiNWYxOTU3OTJkNjdmOGMyMDZiYzJmNDdjYjAwNmMz
11
- YjdiMjhlMjdiYmYyNGU5ZmU3ZjY4YzM1NjE0OTJjMGRiZDNhNGE=
9
+ ZDBhZGVmZDU5NzFlOGZmNGM4MWQ4ZTEyNmYyNDgwMzI5YTVkMjFiMjFlYjc1
10
+ Zjc4OWY2YmU2MmEwN2JmY2QxZjhiMzk0NTVlYmJiODhhMjg2ZGNiNjk5OTMx
11
+ OTgwYjA0M2YzNWI0OGFlZjE4NDE4OGU4YjI1ZDAyMTMwNjdlNGY=
12
12
  data.tar.gz: !binary |-
13
- NDU4NDBiNzY2YmQ4NWFmOTEyN2FhMzUyMjE5YzYxYjViMjlmMTdmMzQxNWM4
14
- ZmVjM2ZiNmFhYmI3ZThiMmUwMDZjYTgzNzk0Njk0ZjMwZTVkMTliMjU2OTEw
15
- NWU5MGY5OWMzZDdiOTllZmQ1NTllZWQ3MmU0ZGY3ZWM1OWIyMTM=
13
+ NGQyNWUzNjVlZTFiMmRhYWNlMmU3NjJmYmMxMmRmNWRlNGM4M2YwOTE1MjFh
14
+ NjAwOGFmMDJlNzc2YTA1ZmQyM2U3MTZlZGM3NzgxNTNjMTcyMWUyNTQwZmQz
15
+ MGMzZDA5NjIyMDYxOGVkOGQ4ODhiNmU2Y2RkY2FmZjA1MWU2NmU=
@@ -5,7 +5,7 @@ require("zillabyte/cli/base")
5
5
  class Zillabyte::Command::Download < Zillabyte::Command::Base
6
6
 
7
7
  MIN_LOCAL_JAR_VERSION = "0.0.3"
8
- LATEST_JAR_VERSION = "0.0.3"
8
+ LATEST_JAR_VERSION = "0.9.33"
9
9
  MIN_JAVA_VERSION = "1.7.0"
10
10
 
11
11
  # --local # HIDDEN
@@ -55,6 +55,7 @@ class Zillabyte::Command::Download < Zillabyte::Command::Base
55
55
  # download the new jar
56
56
  display "The Zillabyte jar was not found or your jar is outdated. Downloading the latest Zillabyte local jar..."
57
57
  `cd #{jar_home} && curl -O https://s3.amazonaws.com/downloads.zillabyte.com/#{LATEST_JAR_VERSION}.jar`
58
+ error("Jar download failed! (Attempted to download to ~/.zillabyte/jars/)") if !File.exists? "#{jar_home}/#{LATEST_JAR_VERSION}.jar"
58
59
  current_jar_version = LATEST_JAR_VERSION
59
60
  end
60
61
  end
@@ -159,7 +159,7 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
159
159
 
160
160
  # flows:authorize [ID] [SCOPE]
161
161
  #
162
- # changes permission of the flow
162
+ # Changes permission of the flow.
163
163
  #
164
164
  # --id ID # The dataset id
165
165
  # --public # Makes the flow public (default)
@@ -819,6 +819,8 @@ class Zillabyte::Command::Flows < Zillabyte::Command::Base
819
819
  end
820
820
  end
821
821
  end
822
+ rescue Exception => e
823
+ # Do nothing on error...
822
824
  ensure
823
825
  on_exit meta["flow_type"]
824
826
  end
@@ -1,5 +1,5 @@
1
1
  module Zillabyte
2
2
  module CLI
3
- VERSION = "0.9.32"
3
+ VERSION = "0.9.33"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zillabyte-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.32
4
+ version: 0.9.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - zillabyte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-15 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  version: '0'
241
241
  requirements: []
242
242
  rubyforge_project:
243
- rubygems_version: 2.4.2
243
+ rubygems_version: 2.2.2
244
244
  signing_key:
245
245
  specification_version: 4
246
246
  summary: The Official Zillabyte CLI Gem