uricp 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -12
- data/Jenkinsfile +6 -6
- data/centos7/Dockerfile +2 -4
- data/features/step_definitions/uricp_steps.rb +8 -4
- data/{trusty → focal}/Dockerfile +5 -4
- data/lib/uricp/strategy/local_convert.rb +1 -1
- data/lib/uricp/version.rb +4 -2
- data/uricp.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9944582044883ff45f3847042ca62016416d06198a0af41751de93ab992c646
|
4
|
+
data.tar.gz: 19c14777647bb01fec3a4e6214e8183b29432843bf47b8b0c818d0401dafaea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c157e985f79891ca962fb0b792dab2a4fab89bd651c15b940e75ba4baf0e86a42922b9dc8a0f96fa53b8de4151d3e9b6aeefac256ffe59faa2ed6ad5becfad47
|
7
|
+
data.tar.gz: 45444dfcbc92079f7221d0f239315db22f6af749843f6a89312e949c1f12068a2254f6ffd8830a4ab00833e3b66d16d259cfcccb9388f24dde9ff23fbad99ee2
|
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.18)
|
5
5
|
filesize (= 0.0.2)
|
6
6
|
methadone (~> 2.0.0)
|
7
7
|
open4 (~> 1.3.0)
|
@@ -14,17 +14,16 @@ GEM
|
|
14
14
|
childprocess (>= 0.3.6)
|
15
15
|
cucumber (>= 1.1.1)
|
16
16
|
rspec-expectations (>= 2.7.0)
|
17
|
-
builder (3.2.
|
18
|
-
childprocess (0.
|
19
|
-
|
17
|
+
builder (3.2.4)
|
18
|
+
childprocess (1.0.1)
|
19
|
+
rake (< 13.0)
|
20
20
|
cucumber (1.3.20)
|
21
21
|
builder (>= 2.1.2)
|
22
22
|
diff-lcs (>= 1.1.3)
|
23
23
|
gherkin (~> 2.12)
|
24
24
|
multi_json (>= 1.7.5, < 2.0)
|
25
25
|
multi_test (>= 0.1.2)
|
26
|
-
diff-lcs (1.
|
27
|
-
ffi (1.9.23)
|
26
|
+
diff-lcs (1.4.4)
|
28
27
|
filesize (0.0.2)
|
29
28
|
gherkin (2.12.2)
|
30
29
|
multi_json (~> 1.3)
|
@@ -32,14 +31,16 @@ GEM
|
|
32
31
|
json (1.8.6)
|
33
32
|
methadone (2.0.2)
|
34
33
|
bundler
|
35
|
-
multi_json (1.
|
34
|
+
multi_json (1.15.0)
|
36
35
|
multi_test (0.1.2)
|
37
36
|
open4 (1.3.4)
|
38
|
-
rake (
|
37
|
+
rake (12.3.3)
|
39
38
|
rdoc (4.2.2)
|
40
39
|
json (~> 1.4)
|
41
|
-
rspec-expectations (
|
42
|
-
diff-lcs (>= 1.
|
40
|
+
rspec-expectations (3.10.1)
|
41
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
42
|
+
rspec-support (~> 3.10.0)
|
43
|
+
rspec-support (3.10.2)
|
43
44
|
sendfile (1.2.2)
|
44
45
|
|
45
46
|
PLATFORMS
|
@@ -50,9 +51,9 @@ DEPENDENCIES
|
|
50
51
|
bundler (~> 1.7)
|
51
52
|
cucumber (~> 1.3)
|
52
53
|
inifile (~> 1.1)
|
53
|
-
rake (~>
|
54
|
+
rake (~> 12.3)
|
54
55
|
rdoc (~> 4.2.0)
|
55
56
|
uricp!
|
56
57
|
|
57
58
|
BUNDLED WITH
|
58
|
-
1.
|
59
|
+
1.17.3
|
data/Jenkinsfile
CHANGED
@@ -36,10 +36,10 @@ pipeline {
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
}
|
39
|
-
stage("
|
39
|
+
stage("Xenial, Ruby 2.3.1") {
|
40
40
|
agent {
|
41
41
|
dockerfile {
|
42
|
-
dir '
|
42
|
+
dir 'xenial'
|
43
43
|
label "docker"
|
44
44
|
}
|
45
45
|
}
|
@@ -58,10 +58,10 @@ pipeline {
|
|
58
58
|
}
|
59
59
|
}
|
60
60
|
}
|
61
|
-
stage("
|
61
|
+
stage("Bionic, Ruby 2.5.1") {
|
62
62
|
agent {
|
63
63
|
dockerfile {
|
64
|
-
dir '
|
64
|
+
dir 'bionic'
|
65
65
|
label "docker"
|
66
66
|
}
|
67
67
|
}
|
@@ -80,10 +80,10 @@ pipeline {
|
|
80
80
|
}
|
81
81
|
}
|
82
82
|
}
|
83
|
-
stage("
|
83
|
+
stage("Focal, Ruby 2.7.0") {
|
84
84
|
agent {
|
85
85
|
dockerfile {
|
86
|
-
dir '
|
86
|
+
dir 'focal'
|
87
87
|
label "docker"
|
88
88
|
}
|
89
89
|
}
|
data/centos7/Dockerfile
CHANGED
@@ -11,10 +11,8 @@ RUN yum update -y && yum -y install \
|
|
11
11
|
rubygems \
|
12
12
|
rubygem-bundler
|
13
13
|
|
14
|
-
RUN yum -y install
|
15
|
-
|
16
|
-
pip install --upgrade setuptools && \
|
17
|
-
pip install python-swiftclient
|
14
|
+
RUN yum -y install centos-release-openstack-train && \
|
15
|
+
yum -y install python-swiftclient
|
18
16
|
|
19
17
|
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
20
18
|
|
@@ -1,8 +1,10 @@
|
|
1
1
|
Then(/^the file named "(.*?)" should have a file format of "(.*?)"$/) do |filename, format|
|
2
2
|
case format
|
3
3
|
when 'lz4'
|
4
|
-
assert_exact_output(
|
5
|
-
|
4
|
+
assert_exact_output(
|
5
|
+
[0x184D2204].pack('V'),
|
6
|
+
File.open(filename, 'rb') { |f| f.read(4) } || String.new
|
7
|
+
)
|
6
8
|
when 'qcow2v3', 'qcow3'
|
7
9
|
steps %{
|
8
10
|
When I successfully run `qemu-img info #{filename}`
|
@@ -10,8 +12,10 @@ Then(/^the file named "(.*?)" should have a file format of "(.*?)"$/) do |filena
|
|
10
12
|
And the output from "qemu-img info #{filename}" should contain "compat: 1.1"
|
11
13
|
}
|
12
14
|
else
|
13
|
-
assert_no_partial_output(
|
14
|
-
|
15
|
+
assert_no_partial_output(
|
16
|
+
[0x184D2204].pack('V'),
|
17
|
+
File.open(filename, 'rb') { |f| f.read(4) } || String.new
|
18
|
+
)
|
15
19
|
steps(%{
|
16
20
|
When I successfully run `qemu-img info #{filename}`
|
17
21
|
Then the output from "qemu-img info #{filename}" should contain "file format: #{format}"
|
data/{trusty → focal}/Dockerfile
RENAMED
@@ -1,9 +1,9 @@
|
|
1
|
-
FROM ubuntu:
|
1
|
+
FROM ubuntu:focal
|
2
2
|
MAINTAINER support@brightbox.co.uk
|
3
3
|
|
4
4
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq software-properties-common
|
5
5
|
|
6
|
-
RUN apt-add-repository ppa:brightbox/ruby-ng
|
6
|
+
#RUN apt-add-repository ppa:brightbox/ruby-ng
|
7
7
|
|
8
8
|
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
|
9
9
|
build-essential \
|
@@ -11,10 +11,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq \
|
|
11
11
|
qemu-utils \
|
12
12
|
liblz4-tool \
|
13
13
|
curl \
|
14
|
-
|
14
|
+
ruby \
|
15
15
|
ruby-dev \
|
16
|
-
|
16
|
+
python3-swiftclient \
|
17
17
|
ruby-bundler
|
18
18
|
|
19
19
|
RUN echo "gem: --no-ri --no-rdoc" >> "$HOME/.gemrc"
|
20
20
|
|
21
|
+
RUN gem install bundler -v '~> 1.7'
|
data/lib/uricp/version.rb
CHANGED
data/uricp.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency('rdoc', '~> 4.2.0')
|
23
23
|
spec.add_development_dependency('aruba', '~> 0.6.0')
|
24
24
|
spec.add_development_dependency('cucumber', '~> 1.3')
|
25
|
-
spec.add_development_dependency('rake', '~>
|
25
|
+
spec.add_development_dependency('rake', '~> 12.3')
|
26
26
|
spec.add_dependency('methadone', '~> 2.0.0')
|
27
27
|
spec.add_dependency('open4', '~> 1.3.0')
|
28
28
|
spec.add_dependency('filesize', '= 0.0.2')
|
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.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil Wilson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '12.3'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '12.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: methadone
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -183,6 +183,7 @@ files:
|
|
183
183
|
- features/step_definitions/uricp_steps.rb
|
184
184
|
- features/support/env.rb
|
185
185
|
- features/userid_download.feature
|
186
|
+
- focal/Dockerfile
|
186
187
|
- lib/segment_upload.rb
|
187
188
|
- lib/uricp.rb
|
188
189
|
- lib/uricp/curl_primitives.rb
|
@@ -211,7 +212,6 @@ files:
|
|
211
212
|
- lib/uricp/strategy/sweeper.rb
|
212
213
|
- lib/uricp/uri_strategy.rb
|
213
214
|
- lib/uricp/version.rb
|
214
|
-
- trusty/Dockerfile
|
215
215
|
- uricp.gemspec
|
216
216
|
- xenial/Dockerfile
|
217
217
|
homepage: ''
|