vpsfree-client 0.10.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 820c4e063731843d6b2ade1fb7479cb6752429b4
4
- data.tar.gz: aa62767a1ce2e4b5a0fb0422ff61785c29063c31
2
+ SHA256:
3
+ metadata.gz: 413ed26d705046d66d7505f0d5b70644fbe11e1d135fe63a9f1675ffc301f78d
4
+ data.tar.gz: 4fceb92b1ef6495f648556f5f1db7fb4ac313a079803bdbc9fbc57f0cde78522
5
5
  SHA512:
6
- metadata.gz: def1dc330decb015ae74e09f2c777a19d1f0e4db0b4006528d27ad6c9c69e745c6ece5efa8304f310f0c52e90ffee8e07080d5051c59112245f91dfc3fd0eaed
7
- data.tar.gz: c0e818174c12f543ce4957ffb2eba2d8c04fe4d25a0ecd007e32d757534aa78d52019de341c052a99d9b8c1d402bd1b47216f16658c13399d414e59751e85348
6
+ metadata.gz: 5e096a62a808b82a9523ab1728c7c9bfff2471532c7a78a5c10e93ffc36fecc2ec100ceb29cd8c07124a2bd35c74097655083e39f75737e6d9ea8ac4cd341565
7
+ data.tar.gz: 585eb14cb033cd16e2ee29aee8c4e6e6021b04c61a235fb5afef474583733d53118cfd9fd5ac6c2bff985faa3c6f45377e18934cc6c03d04f4a72b995da7ddfa
data/.gitignore CHANGED
@@ -20,3 +20,4 @@ tmp
20
20
  *.o
21
21
  *.a
22
22
  mkmf.log
23
+ .gems
data/CHANGELOG CHANGED
@@ -1,3 +1,15 @@
1
+ * Fri Jan 07 2022 - version 0.14.0
2
+ - Base on vpsadmin-client 3.0.0.master.20220107-0.57b7b680
3
+
4
+ * Thu Dec 09 2021 - version 0.13.0
5
+ - Base on vpsadmin-client 3.0.0.master.20211209-0.34bce62b
6
+
7
+ * Sat Jul 11 2020 - version 0.12.0
8
+ - Base on vpsadmin-client v3.0.0 pre-release
9
+
10
+ * Fri May 17 2019 - version 0.11.0
11
+ - Base on vpsadmin-client v3.0.0 pre-release
12
+
1
13
  * Mon Nov 27 2017 - version 0.10.0
2
14
  - Depend on vpsadmin-client v2.9.1
3
15
 
data/README.md CHANGED
@@ -1,8 +1,13 @@
1
1
  vpsFree-Client
2
2
  ==============
3
- vpsFree-Client is a Ruby CLI and client library for vpsFree.cz API. It is based
4
- on vpsadmin-client, which is in turn based on haveapi-client. Check haveapi-client
5
- for more extensive documentation.
3
+ vpsFree-Client is a Ruby CLI and client library for
4
+ [vpsFree.cz API](https://api.vpsfree.cz). It is based on
5
+ [vpsadmin-client](https://github.com/vpsfreecz/vpsadmin/tree/master/client),
6
+ which is in turn based on
7
+ [haveapi-client](https://github.com/vpsfreecz/haveapi/tree/master/clients/ruby).
8
+
9
+ More information about vpsFree-Client can be found at vpsFree.cz's
10
+ [knowledge base](https://kb.vpsfree.org/manuals/vps/api).
6
11
 
7
12
  ## Installation
8
13
 
@@ -18,13 +23,17 @@ Or install it yourself as:
18
23
 
19
24
  $ gem install vpsfree-client
20
25
 
26
+ ### Distributions
27
+
28
+ If you are a Nix user, you can use `nixpkgs.vpsfree-client`.
29
+
21
30
  ## Usage
22
31
  ### CLI
23
32
  $ vpsfreectl -h
24
33
  Usage: vpsfreectl [options] <resource> <action> [objects ids] [-- [parameters]]
25
34
  -u, --api URL API URL
26
35
  -a, --auth METHOD Authentication method
27
- --list-versions List all available API versions
36
+ --list-versions List all available API versions
28
37
  --list-auth-methods [VERSION]
29
38
  List available authentication methods
30
39
  --list-resources [VERSION] List all resource in API version
@@ -42,6 +51,8 @@ Or install it yourself as:
42
51
  --utc Display Datetime parameters in UTC
43
52
  --localtime Display Datetime parameters in local timezone
44
53
  --date-format FORMAT Display Datetime in custom format
54
+ --[no-]block Toggle action blocking mode
55
+ --timeout SEC Fail when the action does not finish within the timeout
45
56
  -v, --[no-]verbose Run verbosely
46
57
  --client-version Show client version
47
58
  --protocol-version Show protocol version
@@ -49,7 +60,14 @@ Or install it yourself as:
49
60
  -h, --help Show this message
50
61
 
51
62
  Commands:
63
+ action_state wait <STATE ID> Block until the action is finished
52
64
  vps remote_console VPS_ID Open VPS remote console
65
+ vps migrate_many VPS_ID... Migrate multiple VPSes using a migration plan
66
+ snapshot download [SNAPSHOT_ID] Download a snapshot as an archive or a stream
67
+ snapshot send SNAPSHOT_ID Download a snapshot stream and write it on stdout
68
+ backup dataset [DATASET_ID] FILESYSTEM Backup dataset locally
69
+ backup vps [VPS_ID] FILESYSTEM Backup VPS locally
70
+ ip_traffic top Live IP traffic monitor
53
71
 
54
72
  #### Examples
55
73
  Authenticate using token and save it to config for later use:
@@ -1,5 +1,5 @@
1
1
  module VpsFree
2
2
  module Client
3
- VERSION = '0.10.0'
3
+ VERSION = '0.14.0'
4
4
  end
5
5
  end
data/shell.nix ADDED
@@ -0,0 +1,33 @@
1
+ let
2
+ pkgs = import <nixpkgs> {};
3
+ stdenv = pkgs.stdenv;
4
+
5
+ in stdenv.mkDerivation rec {
6
+ name = "vpsfree-client";
7
+
8
+ buildInputs = [
9
+ pkgs.ruby
10
+ pkgs.git
11
+ pkgs.zlib
12
+ pkgs.openssl
13
+ pkgs.ncurses
14
+ ];
15
+
16
+ shellHook = ''
17
+ export GEM_HOME="$PWD/.gems"
18
+ mkdir -p "$GEM_HOME"
19
+ export GEM_PATH="$GEM_HOME:$PWD/lib"
20
+ export PATH="$GEM_HOME/bin:$PATH"
21
+
22
+ BUNDLE="$GEM_HOME/bin/bundle"
23
+
24
+ [ ! -x "$BUNDLE" ] && ${pkgs.ruby}/bin/gem install bundler
25
+
26
+ export BUNDLE_PATH="$GEM_HOME"
27
+ export BUNDLE_GEMFILE="$PWD/Gemfile"
28
+
29
+ $BUNDLE install
30
+
31
+ export RUBYOPT=-rbundler/setup
32
+ '';
33
+ }
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_development_dependency 'bundler', '~> 1.6'
21
+ spec.add_development_dependency 'bundler'
22
22
  spec.add_development_dependency 'rake'
23
23
 
24
- spec.add_runtime_dependency 'vpsadmin-client', '~> 2.9.1'
24
+ spec.add_runtime_dependency 'vpsadmin-client', '3.0.0.master.20220107-0.57b7b680'
25
25
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpsfree-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Skokan
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-27 00:00:00.000000000 Z
11
+ date: 1980-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.6'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: vpsadmin-client
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.9.1
47
+ version: 3.0.0.master.20220107.pre.0.57b7b680
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.9.1
54
+ version: 3.0.0.master.20220107.pre.0.57b7b680
55
55
  description: Ruby API and CLI for vpsFree.cz API
56
56
  email:
57
57
  - jakub.skokan@vpsfree.cz
@@ -70,12 +70,13 @@ files:
70
70
  - lib/vpsfree/cli.rb
71
71
  - lib/vpsfree/client.rb
72
72
  - lib/vpsfree/client/version.rb
73
+ - shell.nix
73
74
  - vpsfree-client.gemspec
74
75
  homepage: ''
75
76
  licenses:
76
77
  - GPL
77
78
  metadata: {}
78
- post_install_message:
79
+ post_install_message:
79
80
  rdoc_options: []
80
81
  require_paths:
81
82
  - lib
@@ -90,9 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
91
  - !ruby/object:Gem::Version
91
92
  version: '0'
92
93
  requirements: []
93
- rubyforge_project:
94
- rubygems_version: 2.6.14
95
- signing_key:
94
+ rubygems_version: 3.2.26
95
+ signing_key:
96
96
  specification_version: 4
97
97
  summary: Ruby API and CLI for vpsFree.cz API
98
98
  test_files: []