pulp_npm_client 0.1.0a4.dev1647950461 → 0.1.0a4.dev1648266846

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_npm_client might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12b55f08ec9fff224cd8ed7a96a1cd00a60d50d92a3ca1202690a6eafb0f1cad
4
- data.tar.gz: 377b2505e2eb88522c7db7862db3672b07a14c45012737da0686648dc7eecf2c
3
+ metadata.gz: 397336049383ed9ec769ec5282c1deb9d0e362df84f771d7ae9514ba7bfe35f2
4
+ data.tar.gz: 33f90744907936120069e91501e253ee6dde4e3c1d9269cba40ca861fb9327d7
5
5
  SHA512:
6
- metadata.gz: '0481d165d358073b6a03ffe199384791a9386120ceb418fa29bffd0c6729095461ca4bdf707fc1f3a4af0fa1038c972f41a96226d121b9982d79c1ecbab87f03'
7
- data.tar.gz: e2df8771123f9ad58c2a6e8089341bddaf8ae332c95fb558972a20f2bcefffc4401eff3d02bbbdcf3aea15148fc34e682eaa4c06efe8fc3bf146f6b500e37a72
6
+ metadata.gz: cc361bd0a2de06d031682ec45c6c15c1fa1f66f7e0b703fadb7394c5d7452e0fb5ec4d45673b63cb7670a726d25b97bdd7eaa88d587a9a785a28f6c60ad44da0
7
+ data.tar.gz: c2f875e56baf97a5e5b01b43c3b0f377e5c0614cb1c0f713ffff93987d399f6db2cf62a2d7dd75afb76fa5d6f4e20edcf69c83bb64f1dbc10c0f850824f09a9e
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.1.0a4.dev1647950461
10
+ - Package version: 0.1.0a4.dev1648266846
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_npm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_npm_client-0.1.0a4.dev1647950461.gem
27
+ gem install ./pulp_npm_client-0.1.0a4.dev1648266846.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_npm_client-0.1.0a4.dev1647950461.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_npm_client-0.1.0a4.dev1648266846.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_npm_client', '~> 0.1.0a4.dev1647950461'
36
+ gem 'pulp_npm_client', '~> 0.1.0a4.dev1648266846'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -118,9 +118,6 @@ module PulpNpmClient
118
118
  update_params_for_auth! header_params, query_params, opts[:auth_names]
119
119
 
120
120
  req_opts = {
121
- :method => http_method,
122
- :headers => header_params,
123
- :params => query_params,
124
121
  :params_encoding => @config.params_encoding,
125
122
  :timeout => @config.timeout,
126
123
  :verbose => @config.debugging
@@ -128,13 +125,13 @@ module PulpNpmClient
128
125
 
129
126
  if [:post, :patch, :put, :delete].include?(http_method)
130
127
  req_body = build_request_body(header_params, form_params, opts[:body])
131
- req_opts.update :body => req_body
132
128
  if @config.debugging
133
129
  @config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
134
130
  end
135
131
  end
136
132
  request.headers = header_params
137
133
  request.body = req_body
134
+ request.options = OpenStruct.new(req_opts)
138
135
  request.url url
139
136
  request.params = query_params
140
137
  download_file(request) if opts[:return_type] == 'File'
@@ -140,6 +140,7 @@ module PulpNpmClient
140
140
  @ssl_client_cert = nil
141
141
  @ssl_client_key = nil
142
142
  @params_encoder = nil
143
+ @timeout = 60
143
144
  @debugging = false
144
145
  @inject_format = false
145
146
  @force_ending_format = false
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpNpmClient
14
- VERSION = '0.1.0a4.dev1647950461'
14
+ VERSION = '0.1.0a4.dev1648266846'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_npm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0a4.dev1647950461
4
+ version: 0.1.0a4.dev1648266846
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-03-22 00:00:00.000000000 Z
11
+ date: 2022-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday