pushmi_pullyu 2.1.3 → 2.1.4
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 +4 -4
- data/.github/workflows/ruby.yml +2 -2
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +31 -0
- data/Dangerfile +1 -1
- data/Gemfile +5 -5
- data/Gemfile.lock +48 -59
- data/README.md +2 -2
- data/lib/pushmi_pullyu/aip/creator.rb +3 -1
- data/lib/pushmi_pullyu/swift_depositer.rb +6 -2
- data/lib/pushmi_pullyu/version.rb +1 -1
- data/pushmi_pullyu.gemspec +12 -12
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1c8f5c84c24f23977c7f8ff928e8439e45e2b099b63e3ff8972a772266e987c
|
|
4
|
+
data.tar.gz: a064f9b40b1cfb10e2cf3788954e95533f00a1729703811345d323f015576eb4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fb80ac9494f4ad90043f780ac88c79476bd7f07888c20d8466c3633234630ac77dd24ce0afa323cc3276aed2facdef530d8923affd82ee23064e0c71cff0cfc
|
|
7
|
+
data.tar.gz: 326793c9c9d7db37cd65b3990dbc2e62b1639ef23405a2ab0d46a1be3519b5ac215e5defc0d17376e670956def228dd45ec30aafa8b79dda7e90e5dca0eee940
|
data/.github/workflows/ruby.yml
CHANGED
data/.rubocop.yml
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
# https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
|
|
5
5
|
require: rubocop-rspec
|
|
6
6
|
|
|
7
|
+
inherit_from:
|
|
8
|
+
- https://raw.githubusercontent.com/ualbertalib/library_applications_development_inclusive_language/main/inclusive_language_rubocop.yml
|
|
9
|
+
|
|
7
10
|
AllCops:
|
|
8
11
|
DisplayCopNames: true
|
|
9
12
|
DisplayStyleGuide: true
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,37 @@ PushmiPullyu is a Ruby application, whose primary job is to manage the flow of c
|
|
|
6
6
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
7
7
|
and releases in PushmiPullyu adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
8
8
|
|
|
9
|
+
## [Unreleased]
|
|
10
|
+
|
|
11
|
+
## [2.1.4]
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- Bring in and enforce inclusive language cops [PR#469](https://github.com/ualbertalib/pushmi_pullyu/pull/469)
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Use `File.open` with a block for simple exception handling and ensuring files are closed [#475](https://github.com/ualbertalib/pushmi_pullyu/issues/475)
|
|
18
|
+
- Fix problem with authentication token expiration by @lagoan in https://github.com/ualbertalib/pushmi_pullyu/pull/457
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Bump bundler from 2.3.12 to 2.4.9 [PR#483](https://github.com/ualbertalib/pushmi_pullyu/pull/483)
|
|
22
|
+
|
|
23
|
+
### Chores
|
|
24
|
+
- Use add_dependency instead of add_runtime_dependency. [PR#473](https://github.com/ualbertalib/pushmi_pullyu/pull/473)
|
|
25
|
+
- Bump rexml from 3.2.8 to 3.3.2 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/462
|
|
26
|
+
- Bump timecop from 0.9.8 to 0.9.10 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/450
|
|
27
|
+
- Bump redis from 5.0.8 to 5.3.0 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/468
|
|
28
|
+
- Update CI for branch name changes by @pgwillia in https://github.com/ualbertalib/pushmi_pullyu/pull/480
|
|
29
|
+
- Bump danger from 9.3.2 to 9.5.0 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/466
|
|
30
|
+
- Bump bagit from 0.4.6 to 0.6.0 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/482
|
|
31
|
+
- Update minitar requirement from ~> 0.7 to >= 0.7, < 2.0 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/481
|
|
32
|
+
- Bump rubocop-rspec from 2.24.1 to 3.1.0 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/478
|
|
33
|
+
- Bump rdf from 3.2.11 to 3.2.12 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/479
|
|
34
|
+
- Bump webmock from 3.19.1 to 3.24.0 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/477
|
|
35
|
+
- Bump rubocop from 1.64.0 to 1.66.1 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/473
|
|
36
|
+
- Bump rollbar from 3.4.1 to 3.6.0 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/472
|
|
37
|
+
- Bump activesupport from 7.1.1 to 7.1.4 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/470
|
|
38
|
+
- Bump rake from 13.0.6 to 13.2.1 by @dependabot in https://github.com/ualbertalib/pushmi_pullyu/pull/426
|
|
39
|
+
|
|
9
40
|
## [2.1.3]
|
|
10
41
|
- Refresh authentication token after it expires [#311](https://github.com/ualbertalib/pushmi_pullyu/issues/311)
|
|
11
42
|
|
data/Dangerfile
CHANGED
|
@@ -18,7 +18,7 @@ declared_trivial = (github.pr_title + github.pr_body).include?('#trivial') || !h
|
|
|
18
18
|
|
|
19
19
|
if !git.modified_files.include?('CHANGELOG.md') && !declared_trivial
|
|
20
20
|
error_message = "Please include a CHANGELOG entry. \nYou can find it at " \
|
|
21
|
-
'[CHANGELOG.md](https://github.com/ualbertalib/pushmi_pullyu/blob/
|
|
21
|
+
'[CHANGELOG.md](https://github.com/ualbertalib/pushmi_pullyu/blob/main/CHANGELOG.md).'
|
|
22
22
|
fail(error_message, sticky: false)
|
|
23
23
|
end
|
|
24
24
|
|
data/Gemfile
CHANGED
|
@@ -5,14 +5,14 @@ gemspec
|
|
|
5
5
|
|
|
6
6
|
group :development, :test do
|
|
7
7
|
gem 'bundler', '~> 2.0'
|
|
8
|
-
gem 'danger', '~> 9.
|
|
8
|
+
gem 'danger', '~> 9.5'
|
|
9
9
|
gem 'pry', '~> 0.10', '>= 0.10.4'
|
|
10
10
|
gem 'pry-byebug', '~> 3.6'
|
|
11
|
-
gem 'rake', '~> 13.
|
|
11
|
+
gem 'rake', '~> 13.2'
|
|
12
12
|
gem 'rspec', '~> 3.13'
|
|
13
|
-
gem 'rubocop', '~> 1.
|
|
14
|
-
gem 'rubocop-rspec', '~>
|
|
13
|
+
gem 'rubocop', '~> 1.66'
|
|
14
|
+
gem 'rubocop-rspec', '~> 3.1'
|
|
15
15
|
gem 'timecop', '~> 0.9'
|
|
16
16
|
gem 'vcr', '~> 5.0'
|
|
17
|
-
gem 'webmock', '~> 3.
|
|
17
|
+
gem 'webmock', '~> 3.24'
|
|
18
18
|
end
|
data/Gemfile.lock
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pushmi_pullyu (2.1.
|
|
4
|
+
pushmi_pullyu (2.1.4)
|
|
5
5
|
activesupport (>= 5, < 8)
|
|
6
6
|
bagit (~> 0.4)
|
|
7
7
|
connection_pool (~> 2.2)
|
|
8
8
|
daemons (~> 1.2, >= 1.2.4)
|
|
9
|
-
minitar (
|
|
9
|
+
minitar (>= 0.7, < 2.0)
|
|
10
10
|
openstack (~> 3.3, >= 3.3.10)
|
|
11
11
|
rdf (>= 1.99, < 4.0)
|
|
12
12
|
rdf-n3 (>= 1.99, < 4.0)
|
|
@@ -18,7 +18,7 @@ PATH
|
|
|
18
18
|
GEM
|
|
19
19
|
remote: https://rubygems.org/
|
|
20
20
|
specs:
|
|
21
|
-
activesupport (7.1.
|
|
21
|
+
activesupport (7.1.4)
|
|
22
22
|
base64
|
|
23
23
|
bigdecimal
|
|
24
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
@@ -28,14 +28,14 @@ GEM
|
|
|
28
28
|
minitest (>= 5.1)
|
|
29
29
|
mutex_m
|
|
30
30
|
tzinfo (~> 2.0)
|
|
31
|
-
addressable (2.8.
|
|
32
|
-
public_suffix (>= 2.0.2, <
|
|
31
|
+
addressable (2.8.7)
|
|
32
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
33
33
|
ast (2.4.2)
|
|
34
|
-
bagit (0.
|
|
34
|
+
bagit (0.6.0)
|
|
35
35
|
docopt (~> 0.5.0)
|
|
36
36
|
validatable (~> 1.6)
|
|
37
37
|
base64 (0.2.0)
|
|
38
|
-
bigdecimal (3.1.
|
|
38
|
+
bigdecimal (3.1.8)
|
|
39
39
|
builder (3.2.4)
|
|
40
40
|
byebug (11.1.3)
|
|
41
41
|
claide (1.1.0)
|
|
@@ -45,14 +45,15 @@ GEM
|
|
|
45
45
|
open4 (~> 1.3)
|
|
46
46
|
coderay (1.1.3)
|
|
47
47
|
colored2 (3.1.2)
|
|
48
|
-
concurrent-ruby (1.
|
|
48
|
+
concurrent-ruby (1.3.4)
|
|
49
49
|
connection_pool (2.4.1)
|
|
50
50
|
cork (0.3.0)
|
|
51
51
|
colored2 (~> 3.1)
|
|
52
|
-
crack (0.
|
|
52
|
+
crack (1.0.0)
|
|
53
|
+
bigdecimal
|
|
53
54
|
rexml
|
|
54
55
|
daemons (1.4.1)
|
|
55
|
-
danger (9.
|
|
56
|
+
danger (9.5.0)
|
|
56
57
|
claide (~> 1.0)
|
|
57
58
|
claide-plugins (>= 0.9.2)
|
|
58
59
|
colored2 (~> 3.1)
|
|
@@ -62,37 +63,35 @@ GEM
|
|
|
62
63
|
git (~> 1.13)
|
|
63
64
|
kramdown (~> 2.3)
|
|
64
65
|
kramdown-parser-gfm (~> 1.0)
|
|
65
|
-
|
|
66
|
-
octokit (~> 6.0)
|
|
66
|
+
octokit (>= 4.0)
|
|
67
67
|
terminal-table (>= 1, < 4)
|
|
68
68
|
diff-lcs (1.5.1)
|
|
69
69
|
docopt (0.5.0)
|
|
70
70
|
domain_name (0.5.20190701)
|
|
71
71
|
unf (>= 0.0.5, < 1.0.0)
|
|
72
|
-
drb (2.
|
|
73
|
-
ruby2_keywords
|
|
72
|
+
drb (2.2.1)
|
|
74
73
|
ebnf (2.3.5)
|
|
75
74
|
htmlentities (~> 4.3)
|
|
76
75
|
rdf (~> 3.2)
|
|
77
76
|
scanf (~> 1.0)
|
|
78
77
|
sxp (~> 1.2)
|
|
79
78
|
unicode-types (~> 1.8)
|
|
80
|
-
faraday (2.
|
|
79
|
+
faraday (2.8.1)
|
|
81
80
|
base64
|
|
82
81
|
faraday-net_http (>= 2.0, < 3.1)
|
|
83
82
|
ruby2_keywords (>= 0.0.4)
|
|
84
|
-
faraday-http-cache (2.5.
|
|
83
|
+
faraday-http-cache (2.5.1)
|
|
85
84
|
faraday (>= 0.8)
|
|
86
85
|
faraday-net_http (3.0.2)
|
|
87
|
-
git (1.
|
|
86
|
+
git (1.19.1)
|
|
88
87
|
addressable (~> 2.8)
|
|
89
88
|
rchardet (~> 1.8)
|
|
90
|
-
hashdiff (1.
|
|
89
|
+
hashdiff (1.1.1)
|
|
91
90
|
htmlentities (4.3.4)
|
|
92
91
|
http-accept (1.7.0)
|
|
93
92
|
http-cookie (1.0.5)
|
|
94
93
|
domain_name (~> 0.5)
|
|
95
|
-
i18n (1.14.
|
|
94
|
+
i18n (1.14.6)
|
|
96
95
|
concurrent-ruby (~> 1.0)
|
|
97
96
|
json (2.7.2)
|
|
98
97
|
kramdown (2.4.0)
|
|
@@ -109,22 +108,21 @@ GEM
|
|
|
109
108
|
mime-types (3.5.1)
|
|
110
109
|
mime-types-data (~> 3.2015)
|
|
111
110
|
mime-types-data (3.2023.1003)
|
|
112
|
-
minitar (0.
|
|
113
|
-
minitest (5.
|
|
114
|
-
mutex_m (0.
|
|
111
|
+
minitar (0.12.1)
|
|
112
|
+
minitest (5.25.1)
|
|
113
|
+
mutex_m (0.2.0)
|
|
115
114
|
nap (1.1.0)
|
|
116
115
|
net-http-persistent (4.0.2)
|
|
117
116
|
connection_pool (~> 2.2)
|
|
118
117
|
netrc (0.11.0)
|
|
119
|
-
|
|
120
|
-
octokit (6.1.1)
|
|
118
|
+
octokit (9.1.0)
|
|
121
119
|
faraday (>= 1, < 3)
|
|
122
120
|
sawyer (~> 0.9)
|
|
123
121
|
open4 (1.3.4)
|
|
124
122
|
openstack (3.3.21)
|
|
125
123
|
json
|
|
126
|
-
parallel (1.
|
|
127
|
-
parser (3.3.
|
|
124
|
+
parallel (1.26.3)
|
|
125
|
+
parser (3.3.5.0)
|
|
128
126
|
ast (~> 2.4.1)
|
|
129
127
|
racc
|
|
130
128
|
pry (0.14.2)
|
|
@@ -133,12 +131,12 @@ GEM
|
|
|
133
131
|
pry-byebug (3.10.1)
|
|
134
132
|
byebug (~> 11.0)
|
|
135
133
|
pry (>= 0.13, < 0.15)
|
|
136
|
-
public_suffix (5.
|
|
137
|
-
racc (1.8.
|
|
134
|
+
public_suffix (5.1.1)
|
|
135
|
+
racc (1.8.1)
|
|
138
136
|
rainbow (3.1.1)
|
|
139
|
-
rake (13.
|
|
137
|
+
rake (13.2.1)
|
|
140
138
|
rchardet (1.8.0)
|
|
141
|
-
rdf (3.2.
|
|
139
|
+
rdf (3.2.12)
|
|
142
140
|
link_header (~> 0.0, >= 0.0.8)
|
|
143
141
|
rdf-aggregate-repo (3.2.1)
|
|
144
142
|
rdf (~> 3.2)
|
|
@@ -150,9 +148,9 @@ GEM
|
|
|
150
148
|
rdf-xsd (3.2.1)
|
|
151
149
|
rdf (~> 3.2)
|
|
152
150
|
rexml (~> 3.2)
|
|
153
|
-
redis (5.0
|
|
154
|
-
redis-client (>= 0.
|
|
155
|
-
redis-client (0.
|
|
151
|
+
redis (5.3.0)
|
|
152
|
+
redis-client (>= 0.22.0)
|
|
153
|
+
redis-client (0.22.2)
|
|
156
154
|
connection_pool
|
|
157
155
|
regexp_parser (2.9.2)
|
|
158
156
|
rest-client (2.1.0)
|
|
@@ -160,9 +158,8 @@ GEM
|
|
|
160
158
|
http-cookie (>= 1.0.2, < 2.0)
|
|
161
159
|
mime-types (>= 1.16, < 4.0)
|
|
162
160
|
netrc (~> 0.8)
|
|
163
|
-
rexml (3.
|
|
164
|
-
|
|
165
|
-
rollbar (3.4.1)
|
|
161
|
+
rexml (3.3.8)
|
|
162
|
+
rollbar (3.6.0)
|
|
166
163
|
rspec (3.13.0)
|
|
167
164
|
rspec-core (~> 3.13.0)
|
|
168
165
|
rspec-expectations (~> 3.13.0)
|
|
@@ -176,27 +173,20 @@ GEM
|
|
|
176
173
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
177
174
|
rspec-support (~> 3.13.0)
|
|
178
175
|
rspec-support (3.13.0)
|
|
179
|
-
rubocop (1.
|
|
176
|
+
rubocop (1.66.1)
|
|
180
177
|
json (~> 2.3)
|
|
181
178
|
language_server-protocol (>= 3.17.0)
|
|
182
179
|
parallel (~> 1.10)
|
|
183
180
|
parser (>= 3.3.0.2)
|
|
184
181
|
rainbow (>= 2.2.2, < 4.0)
|
|
185
|
-
regexp_parser (>=
|
|
186
|
-
|
|
187
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
|
182
|
+
regexp_parser (>= 2.4, < 3.0)
|
|
183
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
|
188
184
|
ruby-progressbar (~> 1.7)
|
|
189
185
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
190
|
-
rubocop-ast (1.
|
|
186
|
+
rubocop-ast (1.32.3)
|
|
191
187
|
parser (>= 3.3.1.0)
|
|
192
|
-
rubocop-
|
|
193
|
-
rubocop (~> 1.
|
|
194
|
-
rubocop-factory_bot (2.24.0)
|
|
195
|
-
rubocop (~> 1.33)
|
|
196
|
-
rubocop-rspec (2.24.1)
|
|
197
|
-
rubocop (~> 1.33)
|
|
198
|
-
rubocop-capybara (~> 2.17)
|
|
199
|
-
rubocop-factory_bot (~> 2.22)
|
|
188
|
+
rubocop-rspec (3.1.0)
|
|
189
|
+
rubocop (~> 1.61)
|
|
200
190
|
ruby-progressbar (1.13.0)
|
|
201
191
|
ruby2_keywords (0.0.5)
|
|
202
192
|
sawyer (0.9.2)
|
|
@@ -215,26 +205,25 @@ GEM
|
|
|
215
205
|
sparql-client (3.2.2)
|
|
216
206
|
net-http-persistent (~> 4.0, >= 4.0.2)
|
|
217
207
|
rdf (~> 3.2, >= 3.2.11)
|
|
218
|
-
strscan (3.1.0)
|
|
219
208
|
sxp (1.2.4)
|
|
220
209
|
matrix (~> 0.4)
|
|
221
210
|
rdf (~> 3.2)
|
|
222
211
|
systemu (2.6.5)
|
|
223
212
|
terminal-table (3.0.2)
|
|
224
213
|
unicode-display_width (>= 1.1.1, < 3)
|
|
225
|
-
timecop (0.9.
|
|
214
|
+
timecop (0.9.10)
|
|
226
215
|
tzinfo (2.0.6)
|
|
227
216
|
concurrent-ruby (~> 1.0)
|
|
228
217
|
unf (0.1.4)
|
|
229
218
|
unf_ext
|
|
230
219
|
unf_ext (0.0.8.2)
|
|
231
|
-
unicode-display_width (2.
|
|
220
|
+
unicode-display_width (2.6.0)
|
|
232
221
|
unicode-types (1.9.0)
|
|
233
222
|
uuid (2.3.9)
|
|
234
223
|
macaddr (~> 1.0)
|
|
235
224
|
validatable (1.6.7)
|
|
236
225
|
vcr (5.1.0)
|
|
237
|
-
webmock (3.
|
|
226
|
+
webmock (3.24.0)
|
|
238
227
|
addressable (>= 2.8.0)
|
|
239
228
|
crack (>= 0.3.2)
|
|
240
229
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
@@ -244,17 +233,17 @@ PLATFORMS
|
|
|
244
233
|
|
|
245
234
|
DEPENDENCIES
|
|
246
235
|
bundler (~> 2.0)
|
|
247
|
-
danger (~> 9.
|
|
236
|
+
danger (~> 9.5)
|
|
248
237
|
pry (~> 0.10, >= 0.10.4)
|
|
249
238
|
pry-byebug (~> 3.6)
|
|
250
239
|
pushmi_pullyu!
|
|
251
|
-
rake (~> 13.
|
|
240
|
+
rake (~> 13.2)
|
|
252
241
|
rspec (~> 3.13)
|
|
253
|
-
rubocop (~> 1.
|
|
254
|
-
rubocop-rspec (~>
|
|
242
|
+
rubocop (~> 1.66)
|
|
243
|
+
rubocop-rspec (~> 3.1)
|
|
255
244
|
timecop (~> 0.9)
|
|
256
245
|
vcr (~> 5.0)
|
|
257
|
-
webmock (~> 3.
|
|
246
|
+
webmock (~> 3.24)
|
|
258
247
|
|
|
259
248
|
BUNDLED WITH
|
|
260
|
-
2.
|
|
249
|
+
2.4.9
|
data/README.md
CHANGED
|
@@ -86,7 +86,7 @@ You can also provide a configuration file which PushmiPullyu will use with the -
|
|
|
86
86
|
|
|
87
87
|
By default, if no configuration file is specified, PushmiPullyu will look for a configuration file at config/pushmi_pullyu.yml.
|
|
88
88
|
|
|
89
|
-
Take the following [sample configuration](https://github.com/ualbertalib/pushmi_pullyu/blob/
|
|
89
|
+
Take the following [sample configuration](https://github.com/ualbertalib/pushmi_pullyu/blob/main/examples/pushmi_pullyu.yml) as inspiration or check out the [DEFAULTS hash](https://github.com/ualbertalib/pushmi_pullyu/blob/main/lib/pushmi_pullyu.rb) in the main module to see all available options.
|
|
90
90
|
|
|
91
91
|
Options passed on the command line will also override options specified in the config file.
|
|
92
92
|
|
|
@@ -144,7 +144,7 @@ To release a new version, bump the version file found here: `lib/pushmi_pullyu/v
|
|
|
144
144
|
|
|
145
145
|
Try to bump versions using [semantic versioning](http://semver.org/).
|
|
146
146
|
|
|
147
|
-
Commit this change into
|
|
147
|
+
Commit this change into main branch via a PR.
|
|
148
148
|
|
|
149
149
|
Once committed, you can do a release by running the following rake command:
|
|
150
150
|
|
|
@@ -41,7 +41,9 @@ class PushmiPullyu::AIP::Creator
|
|
|
41
41
|
tar_aip_filename = File.expand_path(@aip_filename)
|
|
42
42
|
|
|
43
43
|
Dir.chdir(PushmiPullyu.options[:workdir]) do
|
|
44
|
-
|
|
44
|
+
File.open(tar_aip_filename, 'wb') do |tar|
|
|
45
|
+
Minitar.pack(@noid, tar)
|
|
46
|
+
end
|
|
45
47
|
end
|
|
46
48
|
end
|
|
47
49
|
|
|
@@ -53,13 +53,17 @@ class PushmiPullyu::SwiftDepositer
|
|
|
53
53
|
headers = { 'etag' => checksum,
|
|
54
54
|
'content-type' => 'application/x-tar' }.merge(metadata)
|
|
55
55
|
deposited_file = era_container.object(file_base_name)
|
|
56
|
-
|
|
56
|
+
File.open(file_name) do |file|
|
|
57
|
+
deposited_file.write(file, headers)
|
|
58
|
+
end
|
|
57
59
|
else
|
|
58
60
|
# for creating new: construct hash with symbols as keys, add metadata as a hash within the header hash
|
|
59
61
|
headers = { etag: checksum,
|
|
60
62
|
content_type: 'application/x-tar',
|
|
61
63
|
metadata: metadata }
|
|
62
|
-
|
|
64
|
+
File.open(file_name) do |file|
|
|
65
|
+
deposited_file = era_container.create_object(file_base_name, headers, file)
|
|
66
|
+
end
|
|
63
67
|
end
|
|
64
68
|
|
|
65
69
|
deposited_file
|
data/pushmi_pullyu.gemspec
CHANGED
|
@@ -21,18 +21,18 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
|
|
22
22
|
spec.required_ruby_version = '>= 2.7'
|
|
23
23
|
|
|
24
|
-
spec.
|
|
25
|
-
spec.
|
|
26
|
-
spec.
|
|
27
|
-
spec.
|
|
28
|
-
spec.
|
|
29
|
-
spec.
|
|
30
|
-
spec.
|
|
31
|
-
spec.
|
|
32
|
-
spec.
|
|
33
|
-
spec.
|
|
34
|
-
spec.
|
|
35
|
-
spec.
|
|
24
|
+
spec.add_dependency 'activesupport', '>= 5', '< 8'
|
|
25
|
+
spec.add_dependency 'bagit', '~> 0.4'
|
|
26
|
+
spec.add_dependency 'connection_pool', '~> 2.2'
|
|
27
|
+
spec.add_dependency 'daemons', '~> 1.2', '>= 1.2.4'
|
|
28
|
+
spec.add_dependency 'minitar', '>= 0.7', '< 2.0'
|
|
29
|
+
spec.add_dependency 'openstack', '~> 3.3', '>= 3.3.10'
|
|
30
|
+
spec.add_dependency 'rdf', '>= 1.99', '< 4.0'
|
|
31
|
+
spec.add_dependency 'rdf-n3', '>= 1.99', '< 4.0'
|
|
32
|
+
spec.add_dependency 'redis', '>= 3.3', '< 6.0'
|
|
33
|
+
spec.add_dependency 'rest-client', '>= 1.8', '< 3.0'
|
|
34
|
+
spec.add_dependency 'rollbar', '>= 2.18', '< 4.0'
|
|
35
|
+
spec.add_dependency 'uuid', '~> 2.3.9'
|
|
36
36
|
|
|
37
37
|
spec.metadata = {
|
|
38
38
|
'rubygems_mfa_required' => 'true'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pushmi_pullyu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shane Murnaghan
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2024-
|
|
12
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -83,16 +83,22 @@ dependencies:
|
|
|
83
83
|
name: minitar
|
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
|
85
85
|
requirements:
|
|
86
|
-
- - "
|
|
86
|
+
- - ">="
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
88
|
version: '0.7'
|
|
89
|
+
- - "<"
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: '2.0'
|
|
89
92
|
type: :runtime
|
|
90
93
|
prerelease: false
|
|
91
94
|
version_requirements: !ruby/object:Gem::Requirement
|
|
92
95
|
requirements:
|
|
93
|
-
- - "
|
|
96
|
+
- - ">="
|
|
94
97
|
- !ruby/object:Gem::Version
|
|
95
98
|
version: '0.7'
|
|
99
|
+
- - "<"
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '2.0'
|
|
96
102
|
- !ruby/object:Gem::Dependency
|
|
97
103
|
name: openstack
|
|
98
104
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -294,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
294
300
|
- !ruby/object:Gem::Version
|
|
295
301
|
version: '0'
|
|
296
302
|
requirements: []
|
|
297
|
-
rubygems_version: 3.
|
|
303
|
+
rubygems_version: 3.5.5
|
|
298
304
|
signing_key:
|
|
299
305
|
specification_version: 4
|
|
300
306
|
summary: Ruby application to manage flow of content from Jupiter into Swift for preservation
|