pulp_deb_client 2.17.1 → 2.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/pulp_deb_client/api_client.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +3 -3
- metadata +61 -62
- data/git_push.sh +0 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f0999d1961ede8d9cbf1b591566d89544f2c9131c59052635ea3db1efcffe61
|
4
|
+
data.tar.gz: ad30d12de568e77c4d22c803ec300393a0aee1d2673d83080b0b33e05a93cb68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8881629d57cdd6da544faf8843c2acdf981a1eeebc3f0527129a640ca429da82d34b029a9499a71137fa7f78178ef8754d591cdd98e98e761a83e35465cc1cba
|
7
|
+
data.tar.gz: b09e2fdf309271f06eb3d2757330348870fc7ce8ab2eba94fcfe9f226522507dab10f6d9b98ef59d3990efa71424a93d3da21130d8164819d15b2d35b596de6d
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 2.17.
|
10
|
+
- Package version: 2.17.2
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.17.
|
27
|
+
gem install ./pulp_deb_client-2.17.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.17.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.17.2.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_deb_client', '~> 2.17.
|
36
|
+
gem 'pulp_deb_client', '~> 2.17.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -154,7 +154,7 @@ module PulpDebClient
|
|
154
154
|
case value
|
155
155
|
when ::File, ::Tempfile
|
156
156
|
# TODO hardcode to application/octet-stream, need better way to detect content type
|
157
|
-
data[key] = Faraday::
|
157
|
+
data[key] = Faraday::FilePart.new(value.path, 'application/octet-stream', value.path)
|
158
158
|
when ::Array, nil
|
159
159
|
# let Faraday handle Array and nil parameters
|
160
160
|
data[key] = value
|
data/pulp_deb_client.gemspec
CHANGED
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
23
23
|
s.email = ["pulp-list@redhat.com"]
|
24
|
-
s.homepage = "https://
|
24
|
+
s.homepage = "https://github.com/pulp/pulp_deb"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
-
s.license = '
|
27
|
+
s.license = 'GPLv2+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
30
|
+
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.0'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_deb_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.17.
|
4
|
+
version: 2.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: '2.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 1.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '2.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,7 +150,6 @@ files:
|
|
150
150
|
- docs/RepositorySyncURL.md
|
151
151
|
- docs/RepositoryVersion.md
|
152
152
|
- docs/RepositoryVersionResponse.md
|
153
|
-
- git_push.sh
|
154
153
|
- lib/pulp_deb_client.rb
|
155
154
|
- lib/pulp_deb_client/api/content_generic_contents_api.rb
|
156
155
|
- lib/pulp_deb_client/api/content_installer_file_indices_api.rb
|
@@ -300,9 +299,9 @@ files:
|
|
300
299
|
- spec/models/repository_version_response_spec.rb
|
301
300
|
- spec/models/repository_version_spec.rb
|
302
301
|
- spec/spec_helper.rb
|
303
|
-
homepage: https://
|
302
|
+
homepage: https://github.com/pulp/pulp_deb
|
304
303
|
licenses:
|
305
|
-
-
|
304
|
+
- GPLv2+
|
306
305
|
metadata: {}
|
307
306
|
post_install_message:
|
308
307
|
rdoc_options: []
|
@@ -324,76 +323,76 @@ signing_key:
|
|
324
323
|
specification_version: 4
|
325
324
|
summary: Pulp 3 API Ruby Gem
|
326
325
|
test_files:
|
327
|
-
- spec/api/
|
326
|
+
- spec/api/repositories_apt_versions_api_spec.rb
|
328
327
|
- spec/api/content_release_files_api_spec.rb
|
329
|
-
- spec/api/
|
330
|
-
- spec/api/
|
328
|
+
- spec/api/publications_verbatim_api_spec.rb
|
329
|
+
- spec/api/content_packages_api_spec.rb
|
331
330
|
- spec/api/repositories_apt_api_spec.rb
|
331
|
+
- spec/api/content_generic_contents_api_spec.rb
|
332
|
+
- spec/api/publications_apt_api_spec.rb
|
332
333
|
- spec/api/distributions_apt_api_spec.rb
|
333
|
-
- spec/api/
|
334
|
+
- spec/api/content_package_release_components_api_spec.rb
|
334
335
|
- spec/api/content_package_indices_api_spec.rb
|
335
336
|
- spec/api/content_release_architectures_api_spec.rb
|
336
|
-
- spec/api/content_package_release_components_api_spec.rb
|
337
|
-
- spec/api/content_packages_api_spec.rb
|
338
|
-
- spec/api/publications_verbatim_api_spec.rb
|
339
|
-
- spec/api/publications_apt_api_spec.rb
|
340
337
|
- spec/api/remotes_apt_api_spec.rb
|
341
|
-
- spec/api/
|
338
|
+
- spec/api/content_installer_packages_api_spec.rb
|
342
339
|
- spec/api/content_installer_file_indices_api_spec.rb
|
340
|
+
- spec/api/content_releases_api_spec.rb
|
341
|
+
- spec/api/content_release_components_api_spec.rb
|
343
342
|
- spec/api_client_spec.rb
|
344
343
|
- spec/configuration_spec.rb
|
345
|
-
- spec/models/
|
346
|
-
- spec/models/
|
347
|
-
- spec/models/deb_base_package_response_spec.rb
|
348
|
-
- spec/models/deb_apt_distribution_response_spec.rb
|
349
|
-
- spec/models/deb_apt_distribution_spec.rb
|
350
|
-
- spec/models/deb_verbatim_publication_response_spec.rb
|
351
|
-
- spec/models/deb_apt_remote_response_spec.rb
|
344
|
+
- spec/models/paginateddeb_generic_content_response_list_spec.rb
|
345
|
+
- spec/models/repository_version_response_spec.rb
|
352
346
|
- spec/models/paginateddeb_apt_publication_response_list_spec.rb
|
353
|
-
- spec/models/
|
354
|
-
- spec/models/
|
355
|
-
- spec/models/deb_apt_publication_response_spec.rb
|
356
|
-
- spec/models/patcheddeb_apt_repository_spec.rb
|
347
|
+
- spec/models/deb_installer_file_index_spec.rb
|
348
|
+
- spec/models/paginateddeb_package_index_response_list_spec.rb
|
357
349
|
- spec/models/deb_verbatim_publication_spec.rb
|
350
|
+
- spec/models/deb_base_package_response_spec.rb
|
351
|
+
- spec/models/paginateddeb_release_component_response_list_spec.rb
|
358
352
|
- spec/models/paginateddeb_apt_remote_response_list_spec.rb
|
359
|
-
- spec/models/repository_add_remove_content_spec.rb
|
360
|
-
- spec/models/deb_installer_file_index_spec.rb
|
361
|
-
- spec/models/repository_sync_url_spec.rb
|
362
|
-
- spec/models/deb_base_package_spec.rb
|
363
|
-
- spec/models/deb_package_index_spec.rb
|
364
353
|
- spec/models/paginateddeb_apt_repository_response_list_spec.rb
|
365
|
-
- spec/models/
|
366
|
-
- spec/models/deb_installer_file_index_response_spec.rb
|
367
|
-
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
368
|
-
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
369
|
-
- spec/models/deb_release_spec.rb
|
370
|
-
- spec/models/deb_apt_repository_spec.rb
|
371
|
-
- spec/models/deb_release_component_spec.rb
|
372
|
-
- spec/models/deb_package_release_component_response_spec.rb
|
373
|
-
- spec/models/async_operation_response_spec.rb
|
374
|
-
- spec/models/deb_apt_remote_spec.rb
|
375
|
-
- spec/models/deb_release_architecture_spec.rb
|
354
|
+
- spec/models/patcheddeb_apt_remote_spec.rb
|
376
355
|
- spec/models/deb_package_release_component_spec.rb
|
377
|
-
- spec/models/
|
378
|
-
- spec/models/
|
356
|
+
- spec/models/deb_release_file_response_spec.rb
|
357
|
+
- spec/models/deb_release_architecture_spec.rb
|
358
|
+
- spec/models/deb_release_architecture_response_spec.rb
|
359
|
+
- spec/models/repository_version_spec.rb
|
379
360
|
- spec/models/paginateddeb_release_file_response_list_spec.rb
|
380
|
-
- spec/models/
|
381
|
-
- spec/models/
|
382
|
-
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
361
|
+
- spec/models/async_operation_response_spec.rb
|
362
|
+
- spec/models/deb_apt_distribution_spec.rb
|
383
363
|
- spec/models/paginateddeb_installer_file_index_response_list_spec.rb
|
384
|
-
- spec/models/
|
364
|
+
- spec/models/deb_apt_repository_spec.rb
|
365
|
+
- spec/models/deb_apt_remote_spec.rb
|
366
|
+
- spec/models/content_summary_response_spec.rb
|
367
|
+
- spec/models/deb_package_index_response_spec.rb
|
368
|
+
- spec/models/deb_generic_content_spec.rb
|
369
|
+
- spec/models/deb_release_file_spec.rb
|
370
|
+
- spec/models/deb_generic_content_response_spec.rb
|
371
|
+
- spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
|
372
|
+
- spec/models/policy_enum_spec.rb
|
385
373
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
386
|
-
- spec/models/
|
374
|
+
- spec/models/repository_sync_url_spec.rb
|
375
|
+
- spec/models/deb_apt_publication_response_spec.rb
|
376
|
+
- spec/models/paginateddeb_release_architecture_response_list_spec.rb
|
377
|
+
- spec/models/deb_release_component_spec.rb
|
378
|
+
- spec/models/deb_release_component_response_spec.rb
|
379
|
+
- spec/models/deb_apt_repository_response_spec.rb
|
387
380
|
- spec/models/patcheddeb_apt_distribution_spec.rb
|
388
|
-
- spec/models/
|
389
|
-
- spec/models/
|
390
|
-
- spec/models/deb_package_index_response_spec.rb
|
381
|
+
- spec/models/deb_apt_distribution_response_spec.rb
|
382
|
+
- spec/models/paginateddeb_package_release_component_response_list_spec.rb
|
391
383
|
- spec/models/content_summary_spec.rb
|
384
|
+
- spec/models/deb_apt_publication_spec.rb
|
385
|
+
- spec/models/deb_base_package_spec.rb
|
386
|
+
- spec/models/deb_package_index_spec.rb
|
387
|
+
- spec/models/patcheddeb_apt_repository_spec.rb
|
388
|
+
- spec/models/deb_package_release_component_response_spec.rb
|
389
|
+
- spec/models/deb_release_response_spec.rb
|
392
390
|
- spec/models/paginateddeb_base_package_response_list_spec.rb
|
393
|
-
- spec/models/
|
394
|
-
- spec/models/
|
395
|
-
- spec/models/
|
396
|
-
- spec/models/
|
397
|
-
- spec/models/
|
391
|
+
- spec/models/repository_add_remove_content_spec.rb
|
392
|
+
- spec/models/deb_apt_remote_response_spec.rb
|
393
|
+
- spec/models/deb_verbatim_publication_response_spec.rb
|
394
|
+
- spec/models/paginateddeb_apt_distribution_response_list_spec.rb
|
395
|
+
- spec/models/deb_installer_file_index_response_spec.rb
|
398
396
|
- spec/models/paginateddeb_release_response_list_spec.rb
|
397
|
+
- spec/models/deb_release_spec.rb
|
399
398
|
- spec/spec_helper.rb
|
data/git_push.sh
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
3
|
-
#
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
|
5
|
-
|
6
|
-
git_user_id=$1
|
7
|
-
git_repo_id=$2
|
8
|
-
release_note=$3
|
9
|
-
git_host=$4
|
10
|
-
|
11
|
-
if [ "$git_host" = "" ]; then
|
12
|
-
git_host="github.com"
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
14
|
-
fi
|
15
|
-
|
16
|
-
if [ "$git_user_id" = "" ]; then
|
17
|
-
git_user_id="GIT_USER_ID"
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
19
|
-
fi
|
20
|
-
|
21
|
-
if [ "$git_repo_id" = "" ]; then
|
22
|
-
git_repo_id="GIT_REPO_ID"
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
24
|
-
fi
|
25
|
-
|
26
|
-
if [ "$release_note" = "" ]; then
|
27
|
-
release_note="Minor update"
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
29
|
-
fi
|
30
|
-
|
31
|
-
# Initialize the local directory as a Git repository
|
32
|
-
git init
|
33
|
-
|
34
|
-
# Adds the files in the local repository and stages them for commit.
|
35
|
-
git add .
|
36
|
-
|
37
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
38
|
-
git commit -m "$release_note"
|
39
|
-
|
40
|
-
# Sets the new remote
|
41
|
-
git_remote=`git remote`
|
42
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
43
|
-
|
44
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
47
|
-
else
|
48
|
-
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
49
|
-
fi
|
50
|
-
|
51
|
-
fi
|
52
|
-
|
53
|
-
git pull origin master
|
54
|
-
|
55
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
56
|
-
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
57
|
-
git push origin master 2>&1 | grep -v 'To https'
|
58
|
-
|