pulp_python_client 3.7.1 → 3.7.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_python_client/version.rb +1 -1
- data/pulp_python_client.gemspec +3 -3
- metadata +36 -37
- 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: d7c9ca5b2db776a5b0c788de659703714d0dcfffef958713ef456518ff2408af
|
4
|
+
data.tar.gz: 3699bd0455bdab880b15ed9761e640f3b1a8630ef95d7f8341fdd5e252c523e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee5062a991553c352fee9b325db2092b974cab2a7307c77ccfbf3e2a722678dd88781e00ebe60ebcfdf2dce9150cd94ca44ea51dcaaadd46c685141ff3925975
|
7
|
+
data.tar.gz: e410169aca9eda2bc2c7dc47371c74ca68dca9186577b2ad489347216371cfd48e4678feb58de1f6f678e7b0196885ce1826eb4f0c189174c293dd49ae140dd4
|
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: 3.7.
|
10
|
+
- Package version: 3.7.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_python_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_python_client-3.7.
|
27
|
+
gem install ./pulp_python_client-3.7.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.7.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.7.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_python_client', '~> 3.7.
|
36
|
+
gem 'pulp_python_client', '~> 3.7.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/pulp_python_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_python"
|
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', '>= 0.17', '< 1.9.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,20 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_python_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.7.
|
4
|
+
version: 3.7.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-08-04 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
19
|
version: '0.17'
|
20
20
|
- - "<"
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0.17'
|
30
30
|
- - "<"
|
@@ -123,7 +123,6 @@ files:
|
|
123
123
|
- docs/RepositorySyncURL.md
|
124
124
|
- docs/RepositoryVersionResponse.md
|
125
125
|
- docs/SummaryResponse.md
|
126
|
-
- git_push.sh
|
127
126
|
- lib/pulp_python_client.rb
|
128
127
|
- lib/pulp_python_client/api/content_packages_api.rb
|
129
128
|
- lib/pulp_python_client/api/distributions_pypi_api.rb
|
@@ -219,9 +218,9 @@ files:
|
|
219
218
|
- spec/models/repository_version_response_spec.rb
|
220
219
|
- spec/models/summary_response_spec.rb
|
221
220
|
- spec/spec_helper.rb
|
222
|
-
homepage: https://
|
221
|
+
homepage: https://github.com/pulp/pulp_python
|
223
222
|
licenses:
|
224
|
-
-
|
223
|
+
- GPLv2+
|
225
224
|
metadata: {}
|
226
225
|
post_install_message:
|
227
226
|
rdoc_options: []
|
@@ -243,49 +242,49 @@ signing_key:
|
|
243
242
|
specification_version: 4
|
244
243
|
summary: Pulp 3 API Ruby Gem
|
245
244
|
test_files:
|
246
|
-
- spec/api/
|
247
|
-
- spec/api/repositories_python_versions_api_spec.rb
|
245
|
+
- spec/api/pypi_metadata_api_spec.rb
|
248
246
|
- spec/api/publications_pypi_api_spec.rb
|
249
|
-
- spec/api/distributions_pypi_api_spec.rb
|
250
247
|
- spec/api/content_packages_api_spec.rb
|
251
|
-
- spec/api/
|
248
|
+
- spec/api/distributions_pypi_api_spec.rb
|
249
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
250
|
+
- spec/api/remotes_python_api_spec.rb
|
252
251
|
- spec/api/pypi_api_spec.rb
|
253
252
|
- spec/api/repositories_python_api_spec.rb
|
254
|
-
- spec/api/remotes_python_api_spec.rb
|
255
253
|
- spec/api/pypi_legacy_api_spec.rb
|
254
|
+
- spec/api/pypi_simple_api_spec.rb
|
256
255
|
- spec/api_client_spec.rb
|
257
256
|
- spec/configuration_spec.rb
|
258
|
-
- spec/models/
|
259
|
-
- spec/models/summary_response_spec.rb
|
260
|
-
- spec/models/python_python_remote_response_spec.rb
|
261
|
-
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
262
|
-
- spec/models/repair_spec.rb
|
257
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
263
258
|
- spec/models/python_python_repository_spec.rb
|
264
|
-
- spec/models/
|
265
|
-
- spec/models/
|
259
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
260
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
261
|
+
- spec/models/async_operation_response_spec.rb
|
262
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
263
|
+
- spec/models/repair_spec.rb
|
264
|
+
- spec/models/python_python_distribution_response_spec.rb
|
265
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
266
|
+
- spec/models/repository_version_response_spec.rb
|
267
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
266
268
|
- spec/models/python_python_package_content_spec.rb
|
267
|
-
- spec/models/
|
268
|
-
- spec/models/content_summary_response_spec.rb
|
269
|
-
- spec/models/package_types_enum_spec.rb
|
269
|
+
- spec/models/repository_sync_url_spec.rb
|
270
270
|
- spec/models/python_python_repository_response_spec.rb
|
271
|
-
- spec/models/repository_add_remove_content_spec.rb
|
272
271
|
- spec/models/policy_enum_spec.rb
|
273
|
-
- spec/models/package_upload_spec.rb
|
274
272
|
- spec/models/python_python_publication_response_spec.rb
|
275
|
-
- spec/models/
|
276
|
-
- spec/models/
|
277
|
-
- spec/models/
|
278
|
-
- spec/models/
|
273
|
+
- spec/models/package_types_enum_spec.rb
|
274
|
+
- spec/models/summary_response_spec.rb
|
275
|
+
- spec/models/repository_add_remove_content_spec.rb
|
276
|
+
- spec/models/python_python_distribution_spec.rb
|
279
277
|
- spec/models/package_upload_task_response_spec.rb
|
280
|
-
- spec/models/
|
281
|
-
- spec/models/repository_sync_url_spec.rb
|
282
|
-
- spec/models/patchedpython_python_distribution_spec.rb
|
283
|
-
- spec/models/exclude_platforms_enum_spec.rb
|
284
|
-
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
285
|
-
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
286
|
-
- spec/models/repository_version_response_spec.rb
|
278
|
+
- spec/models/package_upload_spec.rb
|
287
279
|
- spec/models/python_python_remote_spec.rb
|
288
|
-
- spec/models/
|
289
|
-
- spec/models/
|
280
|
+
- spec/models/python_python_remote_response_spec.rb
|
281
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
282
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
283
|
+
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
284
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
290
285
|
- spec/models/python_bander_remote_spec.rb
|
286
|
+
- spec/models/package_metadata_response_spec.rb
|
287
|
+
- spec/models/python_python_publication_spec.rb
|
288
|
+
- spec/models/content_summary_response_spec.rb
|
289
|
+
- spec/models/python_python_package_content_response_spec.rb
|
291
290
|
- 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
|
-
|