leofs_manager_client 0.4.5 → 0.4.6
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 +8 -8
- data/lib/leofs_manager_client.rb +10 -1
- data/spec/leofs_manager_client_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTVhODFjOWE1YzBiMDQzNTZhN2QyNjQwNTg3YjExNjgyMzc3Nzc0Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjNhMTdmNmQ0OWM0MmRiNzFjNzQ3MTg3ZjBmYWNjNzVjODNlZjk4Yg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTUwYTUwNjI2ZjMzNDUxNDllMTM2NTg4YTBlMTQ4ZjE3YmFjNjUzNTQwNWRm
|
10
|
+
YmJjMGE5YWMxOTQ2MDNhOWIzZDQzZjkyYjJlMjc4YTdiZWQyN2JkOTVlYThk
|
11
|
+
YTQyOTU1MGZhYmVjYjE4MmJlN2Q3Y2YzZmU3NGQ1YTllZDE0MzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDExNGViZWMyM2Y2Nzc2M2FlZmFkZTcwZjJkMmZmNjgwY2NkOTI2ODRhZDgy
|
14
|
+
ZWI1MzNlYzUwZGM2ZDU1MmMzZjAwN2ZkYzhjMTVjZGU4NzU4MWVjYThjYTlm
|
15
|
+
OWRkZWYxMzA0ZjVhODNhN2Q4Nzc5ZDJjYzU5MGM4NzA4ZjkxYzI=
|
data/lib/leofs_manager_client.rb
CHANGED
@@ -26,7 +26,7 @@ require "time"
|
|
26
26
|
require_relative "leofs_manager_client/leofs_manager_models"
|
27
27
|
|
28
28
|
module LeoFSManager
|
29
|
-
VERSION = "0.4.
|
29
|
+
VERSION = "0.4.6"
|
30
30
|
|
31
31
|
class Client
|
32
32
|
CMD_VERSION = "version"
|
@@ -54,6 +54,7 @@ module LeoFSManager
|
|
54
54
|
CMD_DEL_ENDPOINT = "delete-endpoint %s"
|
55
55
|
CMD_GET_ENDPOINTS = "get-endpoints"
|
56
56
|
CMD_ADD_BUCKET = "add-bucket %s %s"
|
57
|
+
CMD_DELETE_BUCKET = "delete-bucket %s %s"
|
57
58
|
CMD_GET_BUCKETS = "get-buckets"
|
58
59
|
CMD_RECOVER_FILE = "recover file %s"
|
59
60
|
CMD_RECOVER_NODE = "recover node %s"
|
@@ -272,6 +273,14 @@ module LeoFSManager
|
|
272
273
|
nil
|
273
274
|
end
|
274
275
|
|
276
|
+
# Delete an Bucket in the system
|
277
|
+
# Return::
|
278
|
+
# _nil_
|
279
|
+
def delete_bucket(bucket_name, access_key_id)
|
280
|
+
sender(CMD_DELETE_BUCKET % [bucket_name, access_key_id])
|
281
|
+
nil
|
282
|
+
end
|
283
|
+
|
275
284
|
# Retrieve all buckets from the system
|
276
285
|
# Return::
|
277
286
|
# Array of Bucket
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leofs_manager_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Matsushita
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Client for LeoFS Manager
|
15
15
|
email:
|