uricp 0.0.27 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/features/rbd_access.feature +1 -1
- data/lib/uricp/strategy/rbd_cached_put.rb +2 -2
- data/lib/uricp/version.rb +1 -1
- 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: f38de4de6dab603e4d1afb48ef53953b96ab81ab3c00e43d00175fd70b833ff2
|
4
|
+
data.tar.gz: f801e290216b13aad5c8dc18e03415a8892b9833130298ed0bc06d86d3b81edc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12a6308de8648ef1695db50ef507fcb86302f53534631dba9949386217f3f07e8f2ed1bd3738b0bcf77b40d6b9f5603d5aa1becd319b8025ba16e8eb6f4821d0
|
7
|
+
data.tar.gz: 03f1d0286bf5d74f0c34987f00d35f19634fd3172599241954c443c70621976b59deaa566b615f37351a14d6a3eb55273f4df84fe76698e7c01c69d027ad7c96
|
data/Gemfile.lock
CHANGED
data/features/rbd_access.feature
CHANGED
@@ -32,7 +32,7 @@ Feature: Manipulate file images in ceph
|
|
32
32
|
"""
|
33
33
|
And the output should contain:
|
34
34
|
"""
|
35
|
-
rbd clone --id libvirt 'servers/freedos.qcow2@base' 'servers/srv-testy'
|
35
|
+
rbd clone --id libvirt 'servers/freedos.qcow2@base' 'servers/srv-testy' || { [ $? -eq 22 ] && rbd create --id libvirt -s 0 'servers/srv-testy'; };
|
36
36
|
"""
|
37
37
|
|
38
38
|
Scenario: HTTP URI from file cache via unpopulated rbd cache
|
@@ -17,8 +17,8 @@ module Uricp::Strategy
|
|
17
17
|
|
18
18
|
def command
|
19
19
|
"rbd clone --id #{rbd_id} '#{rbd_image_spec(from)}' "\
|
20
|
-
"'#{rbd_image_spec(to)}' || [ $? -eq 22 ] && "\
|
21
|
-
"rbd create --id #{rbd_id} -s 0 '#{rbd_image_spec(to)}';"
|
20
|
+
"'#{rbd_image_spec(to)}' || { [ $? -eq 22 ] && "\
|
21
|
+
"rbd create --id #{rbd_id} -s 0 '#{rbd_image_spec(to)}'; };"
|
22
22
|
end
|
23
23
|
|
24
24
|
def proposal
|
data/lib/uricp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uricp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aruba
|