civo_cli 0.5.9 → 0.5.10

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
  SHA256:
3
- metadata.gz: afd6eb59ccb5d4705c1ad9297b54a82b532156d4dce0fea48d22090e3023a247
4
- data.tar.gz: 56963fcf395128dac55f6d4902de0f5f6a30adc7b998a18515632a410c3f5ff4
3
+ metadata.gz: 0cb0eaf57e97a29880d3cb97eef482d0695e456ad4f47e3a86612ff9225668c6
4
+ data.tar.gz: c0605d8fbd5cf9d8f2a166279d860601c5d0f91860dede1628f0aa0e687d8c03
5
5
  SHA512:
6
- metadata.gz: d1df2645cf61927040d5ee7f5b9025622255a328f208fdb2a736df1c92f9b8513c03cb67a0ac78f5ba00fc66e398cc6234ff83259850c1a6ffbd2023660688ef
7
- data.tar.gz: 95596ea445dde062af24522d0d06c044b2fcd4fff526a75ff2af4df4baf828f276d211705e7da5f06203ea3049966e1372d616a8ff41c87b7846321d7d3d7967
6
+ metadata.gz: df6e03b13cfa8205c614cc86ab508f73dd03e5e579151ab80b00b2932245c3ef88c4be30618b67486e4ebf99ba8b4672574d9d6092e5f86c162d1fa0a22fdc5e
7
+ data.tar.gz: 319da3e9971b7fa6d85e4c9352a358213f95adf4e1de0456b1e1238f8000d052a826ee42e5beb20fccce317b634ed5102423e09d191ee939c9b6fd3790edacde
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- civo_cli (0.5.9)
4
+ civo_cli (0.5.10)
5
5
  activesupport (>= 6.0.0)
6
6
  bundler (>= 1.17)
7
7
  civo (>= 1.2.9)
@@ -13,30 +13,30 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activesupport (6.0.2.2)
16
+ activesupport (6.0.3.1)
17
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
18
  i18n (>= 0.7, < 2)
19
19
  minitest (~> 5.1)
20
20
  tzinfo (~> 1.1)
21
- zeitwerk (~> 2.2)
21
+ zeitwerk (~> 2.2, >= 2.2.2)
22
22
  addressable (2.6.0)
23
23
  public_suffix (>= 2.0.2, < 4.0)
24
- civo (1.2.9)
24
+ civo (1.3.3)
25
25
  commander
26
26
  flexirest (>= 1.4.6)
27
27
  toml
28
28
  coderay (1.1.2)
29
29
  colorize (0.8.1)
30
- commander (4.5.0)
30
+ commander (4.5.2)
31
31
  highline (~> 2.0.0)
32
32
  concurrent-ruby (1.1.6)
33
33
  crack (0.4.3)
34
34
  safe_yaml (~> 1.0.0)
35
35
  diff-lcs (1.3)
36
- faraday (1.0.0)
36
+ faraday (1.0.1)
37
37
  multipart-post (>= 1.2, < 3)
38
38
  ffi (1.11.1)
39
- flexirest (1.9.12)
39
+ flexirest (1.9.15)
40
40
  activesupport
41
41
  crack
42
42
  faraday
@@ -59,7 +59,7 @@ GEM
59
59
  rspec (>= 2.99.0, < 4.0)
60
60
  hashdiff (1.0.0)
61
61
  highline (2.0.3)
62
- i18n (1.8.2)
62
+ i18n (1.8.3)
63
63
  concurrent-ruby (~> 1.0)
64
64
  json (2.3.0)
65
65
  listen (3.1.5)
@@ -70,8 +70,8 @@ GEM
70
70
  method_source (0.9.2)
71
71
  mime-types (3.3.1)
72
72
  mime-types-data (~> 3.2015)
73
- mime-types-data (3.2019.1009)
74
- minitest (5.14.0)
73
+ mime-types-data (3.2020.0512)
74
+ minitest (5.14.1)
75
75
  multi_json (1.14.1)
76
76
  multipart-post (2.1.1)
77
77
  nenv (0.3.0)
@@ -110,9 +110,9 @@ GEM
110
110
  thread_safe (0.3.6)
111
111
  toml (0.2.0)
112
112
  parslet (~> 1.8.0)
113
- tzinfo (1.2.6)
113
+ tzinfo (1.2.7)
114
114
  thread_safe (~> 0.1)
115
- unicode-display_width (1.6.1)
115
+ unicode-display_width (1.7.0)
116
116
  webmock (3.7.0)
117
117
  addressable (>= 2.3.6)
118
118
  crack (>= 0.3.2)
@@ -132,4 +132,4 @@ DEPENDENCIES
132
132
  webmock
133
133
 
134
134
  BUNDLED WITH
135
- 1.17.3
135
+ 2.1.4
@@ -12,6 +12,10 @@ module CivoCLI
12
12
  class Error < StandardError; end
13
13
 
14
14
  class Main < Thor
15
+ puts "This Ruby-based CLI is officially deprecated and won't be maintained going forward"
16
+ puts "For a supported version please visit: https://github.com/civo/cli/releases"
17
+ puts
18
+
15
19
  check_unknown_options!
16
20
 
17
21
  desc "apikey", "manage API keys stored in the client"
@@ -93,22 +97,10 @@ module CivoCLI
93
97
 
94
98
  desc "version", "show the version of Civo CLI used"
95
99
  def version
96
- gem_details = Civo::Base._request("https://rubygems.org/api/v1/gems/civo_cli.json")
97
- gem_version = Gem::Version.new(gem_details.version)
98
- this_version = Gem::Version.new(CivoCLI::VERSION)
99
- if this_version > gem_version
100
- puts "You are running an #{"unreleased v#{CivoCLI::VERSION}".colorize(:green)} of Civo CLI"
101
- elsif this_version == gem_version
102
- puts "You are running the #{"current".colorize(:green)} v#{CivoCLI::VERSION} of Civo CLI"
103
- else
104
- puts "You are running v#{CivoCLI::VERSION} of Civo CLI, but are out of date because #{"v#{gem_details.version}".colorize(:red)} is available"
105
-
106
- end
107
100
  end
108
101
 
109
102
  desc "volume", "manage volumes"
110
103
  subcommand "volume", CivoCLI::Volume
111
104
  map "volumes" => "volume"
112
-
113
105
  end
114
106
  end
@@ -1,3 +1,3 @@
1
1
  module CivoCLI
2
- VERSION = "0.5.9"
2
+ VERSION = "0.5.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civo_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-04-08 00:00:00.000000000 Z
13
+ date: 2020-06-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  - !ruby/object:Gem::Version
269
269
  version: '0'
270
270
  requirements: []
271
- rubygems_version: 3.0.6
271
+ rubygems_version: 3.1.2
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: CLI for interacting with Civo.com