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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2138ef4ed7f849da77bd5e9895cb363f0aceb6de8ea5cad5eb3a33ad41584c35
4
- data.tar.gz: 7687f1c3dd5869302c2611c6689211a90b8c256f765d8495d38732679f328eb5
3
+ metadata.gz: 29a15dd8532ed3da03c1c8700fed2ffec55b88deca863a7aec78e8bea1ac0fca
4
+ data.tar.gz: c7f315c2f92adf4731f2b92b6508b39535519f0644281b95934d793fb6ab1928
5
5
  SHA512:
6
- metadata.gz: 50e830e59a7c64c5de7c7424421dd20fb779e9b207e6cd4c8e4529e57f59ec0669eaf3db9d60e234c82d3ec26b82ea111d5011b52f97d3a835862a80b3b5a0b9
7
- data.tar.gz: f96a6477d69044fddcbc3dd56e86d0436cdae90b28c7e6638d57a4d060f2861ecb82f064267c70fd65b7684e4020bf766ce5db31e547d1595be50d1563e0e64e
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.2)
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.1)
21
+ civo (1.2.3)
22
22
  commander
23
23
  flexirest (>= 1.4.6)
24
24
  toml
@@ -1,3 +1,3 @@
1
1
  module CivoCLI
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
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.2
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-05 00:00:00.000000000 Z
13
+ date: 2019-07-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler