uricp 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/features/auth_download.feature +9 -0
- data/lib/uricp/strategy/piped_local_decompress.rb +1 -1
- data/lib/uricp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 504ac718e28c260c29336ae9089d9a58d9948f7d
|
4
|
+
data.tar.gz: ac2c9bc45430805b2a0845e80392e2c75ec2f471
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1518d8d9ae106c51d1eceb9ad5d50f0d93e3b7fbf9df43a8cca797c42d2dbdb6f44c96a7a3a4636562fd42523ca880a3859ff2b70374d70aebcf205e238a5d9
|
7
|
+
data.tar.gz: 419cedbe0b8be9fcbef9ba4634906adb4ad6f346b6bcdbae06d627bea6efc4c21c6d71c646d2d0d1343081c3e0cfd34df3d273cedd4362db0aafbfb55112df93
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
uricp (0.0.
|
4
|
+
uricp (0.0.13)
|
5
5
|
filesize (= 0.0.2)
|
6
6
|
methadone (~> 1.8.0)
|
7
7
|
open4 (~> 1.3.0)
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
cucumber (>= 1.1.1)
|
16
16
|
rspec-expectations (>= 2.7.0)
|
17
17
|
builder (3.2.2)
|
18
|
-
childprocess (0.5.
|
18
|
+
childprocess (0.5.7)
|
19
19
|
ffi (~> 1.0, >= 1.0.11)
|
20
20
|
cucumber (1.3.20)
|
21
21
|
builder (>= 2.1.2)
|
@@ -151,3 +151,12 @@ Feature: Authenticated download of images from orbit
|
|
151
151
|
And the file named "/tmp/uricp/srv-testa" should have a file format of "qcow2"
|
152
152
|
And a file named "/tmp/uricp/cache/img-lz4cy" should exist
|
153
153
|
And the file named "/tmp/uricp/cache/img-lz4cy" should have a file format of "lz4"
|
154
|
+
|
155
|
+
Scenario: lz4 download sparse convert to raw, cache, overwrite file
|
156
|
+
Given a correctly initialised cache at "/tmp/uricp"
|
157
|
+
And a 102400 byte file named "/tmp/uricp/srv-test9"
|
158
|
+
When I retrieve "img-lz4cy" with options "--force --target-format=raw --cache=/tmp/uricp" from container "test" into "file:///tmp/uricp/srv-test9"
|
159
|
+
Then a file named "/tmp/uricp/srv-test9" should exist
|
160
|
+
And the file named "/tmp/uricp/srv-test9" should have a file format of "raw"
|
161
|
+
And a file named "/tmp/uricp/cache/img-lz4cy" should exist
|
162
|
+
And the file named "/tmp/uricp/cache/img-lz4cy" should have a file format of "lz4"
|
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.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|