MuranoCLI 3.2.2 → 3.2.3.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MuranoCLI.gemspec +4 -4
- data/lib/MrMurano/Commander-Entry.rb +1 -1
- data/lib/MrMurano/Keystore.rb +0 -1
- data/lib/MrMurano/commands/tsdb.rb +8 -1
- data/lib/MrMurano/http.rb +3 -0
- data/lib/MrMurano/version.rb +14 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c01f00ac27a62c6845fc1f5a5b8d0634bb815df90e73777e599304e0dcedf04a
|
4
|
+
data.tar.gz: 8607ec50ab670ac57d57c06c605a08ffe827906d656373ed6fc2d96123419800
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30d1e61ce380872b8f61f16e31bd6edcb605f807cba414d12736e806a69bbe764af5103ff237d7132d31d38401161496301b2c3ac9a9466759cb980982889e12
|
7
|
+
data.tar.gz: b5517a2088bf611a7da3a943c88422ee3b260397370ff135390d6e00997636d80d8f524a3ea5745d5f9ff94a86a84f7f89eb4b2b66a50fddd764fcdae1ef0c31
|
data/MuranoCLI.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright © 2016-
|
1
|
+
# Copyright © 2016-2018 Exosite LLC. All Rights Reserved
|
2
2
|
# License: PROPRIETARY. See LICENSE.txt.
|
3
3
|
# frozen_string_literal: true
|
4
4
|
|
@@ -11,10 +11,10 @@ require_relative 'lib/MrMurano/version.rb'
|
|
11
11
|
Gem::Specification.new do |s|
|
12
12
|
s.name = 'MuranoCLI'
|
13
13
|
s.version = MrMurano::VERSION
|
14
|
-
s.authors = ['
|
15
|
-
s.email = ['
|
14
|
+
s.authors = ['Exosite LLC']
|
15
|
+
s.email = ['it@exosite.com']
|
16
16
|
s.license = 'MIT'
|
17
|
-
s.homepage = '
|
17
|
+
s.homepage = 'http://docs.exosite.com/development/tools/murano-cli/'
|
18
18
|
s.summary = 'Do more from the command line with Murano'
|
19
19
|
s.description = %(
|
20
20
|
Do more from the command line with Murano.
|
@@ -29,7 +29,7 @@ Dotenv.load
|
|
29
29
|
# Per https://ruby-doc.org/core-2.2.0/Signal.html
|
30
30
|
Signal.trap('INT', 'EXIT')
|
31
31
|
|
32
|
-
program :version, MrMurano
|
32
|
+
program :version, MrMurano.check_version
|
33
33
|
|
34
34
|
program :description, %(
|
35
35
|
Manage Applications and Products in Exosite's Murano
|
data/lib/MrMurano/Keystore.rb
CHANGED
@@ -208,7 +208,14 @@ Also, many date-time formats can be parsed and will be converted to microseconds
|
|
208
208
|
query[:mode] = options.mode unless options.mode.nil?
|
209
209
|
query[:order_by] = options.order_by unless options.order_by.nil?
|
210
210
|
|
211
|
-
|
211
|
+
# Check if --fill was given an integer
|
212
|
+
begin
|
213
|
+
fill_integer = Integer(options.fill)
|
214
|
+
query[:fill] = fill_integer
|
215
|
+
rescue
|
216
|
+
query[:fill] = options.fill unless options.fill.nil?
|
217
|
+
end
|
218
|
+
|
212
219
|
return if options.aggregate.nil?
|
213
220
|
query[:aggregate] = options.aggregate.split(',')
|
214
221
|
end
|
data/lib/MrMurano/http.rb
CHANGED
data/lib/MrMurano/version.rb
CHANGED
@@ -26,7 +26,20 @@ module MrMurano
|
|
26
26
|
# '3.0.0-beta.2' is changed to '3.0.0.pre.beta.2'
|
27
27
|
# which breaks our build (which expects the version to match herein).
|
28
28
|
# So stick to using the '.pre.X' syntax, which ruby/gems knows.
|
29
|
-
|
29
|
+
def self.check_version
|
30
|
+
available_version = `gem query -r MuranoCLI`.strip
|
31
|
+
installed_version = "MuranoCLI (#{VERSION})".strip
|
32
|
+
return VERSION unless installed_version != available_version
|
33
|
+
version_notification = VERSION + "\n\n\n\n"
|
34
|
+
version_notification += "\033[30m----------------------------------------------------------\n\n"
|
35
|
+
version_notification += " A new version of MuranoCLI is available\n"
|
36
|
+
version_notification += " - Installed version: \033[34m" + installed_version + "\033[30m\n"
|
37
|
+
version_notification += " - Latest version: \033[32m" + available_version + "\033[30m\n\n"
|
38
|
+
version_notification += " Run \033[32mgem update MuranoCLI \033[30mto get the latest version! \n\n"
|
39
|
+
version_notification += "----------------------------------------------------------\n\n\n\n\n\n"
|
40
|
+
version_notification
|
41
|
+
end
|
42
|
+
VERSION = '3.2.3.beta.1'
|
30
43
|
EXE_NAME = File.basename($PROGRAM_NAME)
|
31
44
|
SIGN_UP_URL = 'https://exosite.com/signup/'
|
32
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: MuranoCLI
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Exosite LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: certified
|
@@ -497,7 +497,7 @@ description: |-
|
|
497
497
|
|
498
498
|
(This gem was formerly known as MrMurano.)
|
499
499
|
email:
|
500
|
-
-
|
500
|
+
- it@exosite.com
|
501
501
|
executables:
|
502
502
|
- murano
|
503
503
|
extensions: []
|
@@ -606,7 +606,7 @@ files:
|
|
606
606
|
- lib/MrMurano/variegated/ruby_dig.rb
|
607
607
|
- lib/MrMurano/verbosing.rb
|
608
608
|
- lib/MrMurano/version.rb
|
609
|
-
homepage:
|
609
|
+
homepage: http://docs.exosite.com/development/tools/murano-cli/
|
610
610
|
licenses:
|
611
611
|
- MIT
|
612
612
|
metadata: {}
|
@@ -621,9 +621,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
621
621
|
version: '2.0'
|
622
622
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
623
623
|
requirements:
|
624
|
-
- - "
|
624
|
+
- - ">"
|
625
625
|
- !ruby/object:Gem::Version
|
626
|
-
version:
|
626
|
+
version: 1.3.1
|
627
627
|
requirements: []
|
628
628
|
rubyforge_project:
|
629
629
|
rubygems_version: 2.7.6
|