pulp_npm_client 0.1.0a4.dev1647949306 → 0.1.0a4.dev1648092706

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: 588a6fd9cf32c20b9c7d605bec969b11a884a65ee8c1fccbec0412baafa161d5
4
- data.tar.gz: c4a3474b2757688c482dd34164c5de517cd7a6e6a57cf257a69d0e42126a8898
3
+ metadata.gz: b62d306f889190a3f562e488ab22db26638072e4c3510d62ec959d56e89ce427
4
+ data.tar.gz: 799b22f817b19c8c7ab42fe54f11b81834ae6cfb43949c2078ad522dc015998e
5
5
  SHA512:
6
- metadata.gz: 3553df6a02da989386292efdc60fb7da428f37e91341d8e131a47819e3fb41f2e8634fc57cc996004c9f30f0fc9c74548a14e5a34b8850fba42fdb18a8f34e89
7
- data.tar.gz: ef72a2fe0f5967e2f489e25364a8a22129927a7cdfbaad688ce496a5583752057734915f56a439cfc05272289a5cb809fa31ae9987f246ae70a55eab678f162d
6
+ metadata.gz: b36772e172531aba2b2a0c3dd97f60356b391c71ae8d72f2daa6b7d15f266bc74f78a61d602d36ad1eaf4294ac6cd9eb36c0127506f1c06ca1c8a66635d81120
7
+ data.tar.gz: 7151d78cfd96d46bc861472f2bc68fda64161a67936b8c836b15718db7493ba6dad490945d7e20a3a15ecd9b493e39e6eef87b67f404e79d2d6fdb8daa618bac
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.dev1647949306
10
+ - Package version: 0.1.0a4.dev1648092706
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.dev1647949306.gem
27
+ gem install ./pulp_npm_client-0.1.0a4.dev1648092706.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_npm_client-0.1.0a4.dev1647949306.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_npm_client-0.1.0a4.dev1648092706.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.dev1647949306'
36
+ gem 'pulp_npm_client', '~> 0.1.0a4.dev1648092706'
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.dev1647949306'
14
+ VERSION = '0.1.0a4.dev1648092706'
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.dev1647949306
4
+ version: 0.1.0a4.dev1648092706
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-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday