uricp 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/features/remote_upload.feature +6 -0
- data/lib/uricp/strategy/common.rb +1 -1
- data/lib/uricp/version.rb +1 -1
- metadata +2 -2
@@ -47,3 +47,9 @@ Feature: Upload VM images with authentication
|
|
47
47
|
And a correctly initialised cache at "/tmp/uricp"
|
48
48
|
When I store "img-teste" with segment size "10kiB" and options "--target-format 'qcow2' --cache /tmp/uricp" into container "test_upload" from "file:///tmp/uricp/srv-teste" with a userid
|
49
49
|
Then a qcow2 entry should exist in container "test_upload" called "img-teste"
|
50
|
+
|
51
|
+
Scenario: Direct upload with userid of zero byte file.
|
52
|
+
Given an empty file named "/tmp/uricp/srv-zerob"
|
53
|
+
And a correctly initialised cache at "/tmp/uricp"
|
54
|
+
When I store "img-zerob" with segment size "10kiB" and options "--target-format 'qcow2' --cache /tmp/uricp" into container "test_upload" from "file:///tmp/uricp/srv-zerob" with a userid
|
55
|
+
Then a qcow2 entry should exist in container "test_upload" called "img-zerob"
|
data/lib/uricp/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
12
|
+
date: 2015-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|