civo_cli 0.3.2 → 0.3.3
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/lib/civo_cli/version.rb +1 -1
- data/lib/instance.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29a15dd8532ed3da03c1c8700fed2ffec55b88deca863a7aec78e8bea1ac0fca
|
|
4
|
+
data.tar.gz: c7f315c2f92adf4731f2b92b6508b39535519f0644281b95934d793fb6ab1928
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 749d4fd19ee9d0689db4dd76177a1aaf19bcc1897444144a1dd287919b567b58bb6a241979f5a3e9a95215019f4d80da919cad80bc8d125922738832672f0e6e
|
|
7
|
+
data.tar.gz: 9755bea0ac088f4f0d9d6376e0a12c60550357c2533858c153d37070475fd5f73cbe515911328c44fea3263d750d87852a0a8fca8942c775e0b9cf09895a683b
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@ All notable changes to the Civo CLI will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [0.3.3] - 2019-07-08
|
|
7
|
+
### Fixed
|
|
8
|
+
- Instances list was only showing first twenty servers, now shows all
|
|
9
|
+
|
|
6
10
|
## [0.3.2] - 2019-07-05
|
|
7
11
|
### Fixed
|
|
8
12
|
- CLI was always hiding the cursor, requiring a `reset` afterwards
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
civo_cli (0.3.
|
|
4
|
+
civo_cli (0.3.3)
|
|
5
5
|
civo (>= 1.2.1)
|
|
6
6
|
colorize
|
|
7
7
|
json
|
|
@@ -18,7 +18,7 @@ GEM
|
|
|
18
18
|
tzinfo (~> 1.1)
|
|
19
19
|
addressable (2.6.0)
|
|
20
20
|
public_suffix (>= 2.0.2, < 4.0)
|
|
21
|
-
civo (1.2.
|
|
21
|
+
civo (1.2.3)
|
|
22
22
|
commander
|
|
23
23
|
flexirest (>= 1.4.6)
|
|
24
24
|
toml
|
data/lib/civo_cli/version.rb
CHANGED
data/lib/instance.rb
CHANGED
|
@@ -5,7 +5,7 @@ module CivoCLI
|
|
|
5
5
|
CivoCLI::Config.set_api_auth
|
|
6
6
|
rows = []
|
|
7
7
|
sizes = Civo::Size.all.items
|
|
8
|
-
Civo::Instance.all.items.each do |instance|
|
|
8
|
+
Civo::Instance.all(per_page: 10_000_000).items.each do |instance|
|
|
9
9
|
size_name = sizes.detect {|s| s.name == instance.size}&.nice_name
|
|
10
10
|
rows << [instance.id, instance.hostname, size_name, instance.region, instance.public_ip, instance.status]
|
|
11
11
|
end
|
|
@@ -287,7 +287,7 @@ module CivoCLI
|
|
|
287
287
|
|
|
288
288
|
def detect_instance(id)
|
|
289
289
|
result = []
|
|
290
|
-
Civo::Instance.all.items.each do |instance|
|
|
290
|
+
Civo::Instance.all(per_page: 10_000_000).items.each do |instance|
|
|
291
291
|
result << instance
|
|
292
292
|
end
|
|
293
293
|
result.select! { |instance| instance.hostname.include?(id) || instance.id.include?(id) }
|
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.3.
|
|
4
|
+
version: 0.3.3
|
|
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: 2019-07-
|
|
13
|
+
date: 2019-07-08 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|