vpsadmin-client 3.0.0.master.20240728.pre.0.dc5474cc → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -0
- data/lib/vpsadmin/cli/commands/backup_dataset.rb +2 -2
- data/lib/vpsadmin/cli/commands/network_top.rb +1 -1
- data/lib/vpsadmin/cli/stream_downloader.rb +2 -2
- data/lib/vpsadmin/client/version.rb +1 -1
- data/lib/vpsadmin/client.rb +2 -2
- data/shell.nix +1 -1
- data/vpsadmin-client.gemspec +4 -4
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73f9447cec0e8278700d4d5e56fdc50bd7b88ceb6debac252d3ab9bb5322260e
|
4
|
+
data.tar.gz: 45c1ef064847694f9432da3872baa7f67844b1fbd69500caa9369f4187f04bc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df1defede9d7b25d5279d0cfb75f84025ac503851737bda802acd084cb4cf3423fd2390d7083a8597b40f0bef86391fe6f74de67305505256cde04591a6082ee
|
7
|
+
data.tar.gz: e712ebdfc1f68faba266f8e117cf19403d705bf1f9f96bdf31824223362171506ac8de647eccd26ad239975179941f9747784da8ab347a0b5dca87d0f0849ac0
|
data/.rubocop.yml
ADDED
@@ -359,7 +359,7 @@ module VpsAdmin::CLI::Commands
|
|
359
359
|
local_state[s.hist_id].delete(s)
|
360
360
|
|
361
361
|
msg "Destroying #{ds}@#{s.name}"
|
362
|
-
zfs(:destroy, nil, "#{ds}@#{s.name}", pretend:)
|
362
|
+
zfs(:destroy, nil, "#{ds}@#{s.name}", pretend: pretend)
|
363
363
|
end
|
364
364
|
|
365
365
|
local_state.each do |hist_id, local_snapshots|
|
@@ -368,7 +368,7 @@ module VpsAdmin::CLI::Commands
|
|
368
368
|
ds = "#{fs}/#{hist_id}"
|
369
369
|
|
370
370
|
msg "Destroying #{ds}"
|
371
|
-
zfs(:destroy, nil, ds, pretend:)
|
371
|
+
zfs(:destroy, nil, ds, pretend: pretend)
|
372
372
|
end
|
373
373
|
end
|
374
374
|
|
@@ -7,8 +7,8 @@ module VpsAdmin::CLI
|
|
7
7
|
class DownloadError < StandardError; end
|
8
8
|
|
9
9
|
class StreamDownloader
|
10
|
-
def self.download(
|
11
|
-
new(
|
10
|
+
def self.download(*args, **kwargs)
|
11
|
+
new(*args, **kwargs)
|
12
12
|
end
|
13
13
|
|
14
14
|
def initialize(api, dl, io, progress: $stdout, position: 0, max_rate: nil,
|
data/lib/vpsadmin/client.rb
CHANGED
data/shell.nix
CHANGED
data/vpsadmin-client.gemspec
CHANGED
@@ -12,13 +12,13 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.homepage = ''
|
13
13
|
spec.license = 'GPL'
|
14
14
|
|
15
|
-
spec.required_ruby_version =
|
15
|
+
spec.required_ruby_version = '>= 3.0'
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
18
18
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.
|
22
|
-
spec.
|
23
|
-
spec.
|
21
|
+
spec.add_dependency 'curses'
|
22
|
+
spec.add_dependency 'haveapi-client', '~> 0.23.6'
|
23
|
+
spec.add_dependency 'json'
|
24
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vpsadmin-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Skokan
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.23.
|
33
|
+
version: 0.23.6
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.23.
|
40
|
+
version: 0.23.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: json
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,6 +61,7 @@ extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
63
|
- ".gitignore"
|
64
|
+
- ".rubocop.yml"
|
64
65
|
- CHANGELOG
|
65
66
|
- Gemfile
|
66
67
|
- LICENSE
|
@@ -94,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
95
|
requirements:
|
95
96
|
- - ">="
|
96
97
|
- !ruby/object:Gem::Version
|
97
|
-
version: 3.
|
98
|
+
version: '3.0'
|
98
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
100
|
requirements:
|
100
101
|
- - ">="
|