pulp_2to3_migration_client 0.11.11 → 0.11.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5129df5e043bdc5991a4ba302027d7ff3c3290d01909d159358ef3443a940d1
4
- data.tar.gz: 6c792f6e823eec7152513fd982754bda2c204b264cf1323446010890e25278e6
3
+ metadata.gz: 2a2b6d179e8d986311ff24923edc7be093fa6e1060f2a5e4ff0a04725e25d0cf
4
+ data.tar.gz: facf1af1f8467eae7527aca34b872edc5117da3792062e22146aa19293141e70
5
5
  SHA512:
6
- metadata.gz: aa2a8125eceb9254f944df8a17f12b150d472d708749251e44f83c497da609e2da8c064955f587719902e89cfc93f94e7e5e35e2830f5f03ea7e5eedef430281
7
- data.tar.gz: 1f58a8c0529afe55d8813eab6ca21f2699ecd085c180f5be46805d6448c9fef7b29598c5b21ddad32adf2b6d571f7724b796df39fe83ff16d28522b1970874de
6
+ metadata.gz: b408acd700807db17c4a2e4ee3dcb65c1c31c3284ebb900c740483df53fb4461eb49664f419ddb6328384ee83bebfdce12e6013001d71062ed2edf701ec9eadb
7
+ data.tar.gz: fd520af8c2120b186fcb6676d5210c16dc2f3e8e47bd4e6c1ddb0d560586b1475437048fd75760ff5111e4433c6b6ac50a12410f063e28f53b4d2e04f493af9e
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: 0.11.11
10
+ - Package version: 0.11.12
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_2to3_migration_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_2to3_migration_client-0.11.11.gem
27
+ gem install ./pulp_2to3_migration_client-0.11.12.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_2to3_migration_client-0.11.11.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_2to3_migration_client-0.11.12.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_2to3_migration_client', '~> 0.11.11'
36
+ gem 'pulp_2to3_migration_client', '~> 0.11.12'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -154,7 +154,7 @@ module Pulp2to3MigrationClient
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::UploadIO.new(value.path, 'application/octet-stream', value.path)
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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module Pulp2to3MigrationClient
14
- VERSION = '0.11.11'
14
+ VERSION = '0.11.12'
15
15
  end
@@ -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://openapi-generator.tech"
24
+ s.homepage = "https://github.com/pulp/pulp_2to3_migration"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
- s.license = 'GPL-2.0+'
27
+ s.license = 'GPLv2+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '~> 0.17', '< 1.9.0'
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_2to3_migration_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.11
4
+ version: 0.11.12
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-06-06 00:00:00.000000000 Z
11
+ date: 2022-10-20 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: '0.17'
19
+ version: 1.0.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 1.9.0
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: '0.17'
29
+ version: 1.0.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 1.9.0
32
+ version: '2.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -92,7 +92,6 @@ files:
92
92
  - docs/Pulp2to3MigrationMigrationPlanResponse.md
93
93
  - docs/Pulp2to3MigrationPulp2ContentResponse.md
94
94
  - docs/Pulp2to3MigrationPulp2RepositoryResponse.md
95
- - git_push.sh
96
95
  - lib/pulp_2to3_migration_client.rb
97
96
  - lib/pulp_2to3_migration_client/api/migration_plans_api.rb
98
97
  - lib/pulp_2to3_migration_client/api/pulp2_content_api.rb
@@ -126,9 +125,9 @@ files:
126
125
  - spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
127
126
  - spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb
128
127
  - spec/spec_helper.rb
129
- homepage: https://openapi-generator.tech
128
+ homepage: https://github.com/pulp/pulp_2to3_migration
130
129
  licenses:
131
- - GPL-2.0+
130
+ - GPLv2+
132
131
  metadata: {}
133
132
  post_install_message:
134
133
  rdoc_options: []
@@ -150,18 +149,18 @@ signing_key:
150
149
  specification_version: 4
151
150
  summary: Pulp 3 API Ruby Gem
152
151
  test_files:
153
- - spec/api/migration_plans_api_spec.rb
154
152
  - spec/api/pulp2_content_api_spec.rb
155
153
  - spec/api/pulp2_repositories_api_spec.rb
154
+ - spec/api/migration_plans_api_spec.rb
156
155
  - spec/api_client_spec.rb
157
156
  - spec/configuration_spec.rb
157
+ - spec/models/migration_plan_run_spec.rb
158
158
  - spec/models/inline_response2001_spec.rb
159
- - spec/models/inline_response2002_spec.rb
160
- - spec/models/pulp2to3_migration_migration_plan_response_spec.rb
159
+ - spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
161
160
  - spec/models/async_operation_response_spec.rb
162
- - spec/models/inline_response200_spec.rb
163
161
  - spec/models/pulp2to3_migration_migration_plan_spec.rb
164
- - spec/models/migration_plan_run_spec.rb
165
- - spec/models/pulp2to3_migration_pulp2_content_response_spec.rb
162
+ - spec/models/inline_response200_spec.rb
166
163
  - spec/models/pulp2to3_migration_pulp2_repository_response_spec.rb
164
+ - spec/models/pulp2to3_migration_migration_plan_response_spec.rb
165
+ - spec/models/inline_response2002_spec.rb
167
166
  - 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
-