pulpcore_client 3.0.0rc2.dev.1560174368 → 3.0.0rc2.dev.1560186355

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

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebe966d6422fae1e776180fa9be67e6212d48e068a06e7fe23ba64dc6b4cd63a
4
- data.tar.gz: 6989cec6c210aff85fdbe200557a02dfd9da25ddf76eb9c40e692c4606f9341a
3
+ metadata.gz: 2b10f6064eaf892eb65d76d2d7dd1ea9d9bd0b88585d4534f4b3a8b14105cfc7
4
+ data.tar.gz: b32e717cf9f12c951a4ea167b83ffcea061f7923ab535974b748b1f59e92ee59
5
5
  SHA512:
6
- metadata.gz: 14da4ea5a4dd7893558cc7c385088bc943188d48b59e1a7372de2accd0e54bd6c8d18f31dfff5ead69854bfadf3de783a30f22b4ffdc3103a17dbfbaa257de18
7
- data.tar.gz: 072ae1a13c0c36e1da9cb96c18a0f4a1705cd0f763c3e0403a8acbab2739e67fdaf368b7173eb525465c23ce7448a1d2c17ab84e63dc4848aa857b7bfd339848
6
+ metadata.gz: b9002b0b28415fbb67822914eef6b996d99d9d90f1b6e302e29d6667e4eb0f2bb4ba850f691ccfc0512ec54b233b4599eac8c8cb0124f6496b59660d5ab49477
7
+ data.tar.gz: 5fb715d3af5ed740e17bb934cde0aa49db19bd5aa10538b9e7ec76e4ddcb9b5b04215d474e318c3894d0217d0fae45601b64149c10c7c1c6d26294bc2ebb5fba
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pulpcore_client (3.0.0rc2.dev.1560174368)
4
+ pulpcore_client (3.0.0rc2.dev.1560186355)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
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.0.0rc2.dev.1560174368
10
+ - Package version: 3.0.0rc2.dev.1560186355
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulpcore_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulpcore_client-3.0.0rc2.dev.1560174368.gem
26
+ gem install ./pulpcore_client-3.0.0rc2.dev.1560186355.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulpcore_client-3.0.0rc2.dev.1560174368.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulpcore_client-3.0.0rc2.dev.1560186355.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulpcore_client', '~> 3.0.0rc2.dev.1560174368'
35
+ gem 'pulpcore_client', '~> 3.0.0rc2.dev.1560186355'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -112,7 +112,7 @@ Class | Method | HTTP request | Description
112
112
  *PulpcoreClient::TasksApi* | [**tasks_delete**](docs/TasksApi.md#tasks_delete) | **DELETE** {task_href} | Delete a task
113
113
  *PulpcoreClient::TasksApi* | [**tasks_list**](docs/TasksApi.md#tasks_list) | **GET** /pulp/api/v3/tasks/ | List tasks
114
114
  *PulpcoreClient::TasksApi* | [**tasks_read**](docs/TasksApi.md#tasks_read) | **GET** {task_href} | Inspect a task
115
- *PulpcoreClient::UploadsApi* | [**uploads_create**](docs/UploadsApi.md#uploads_create) | **PUT** /pulp/api/v3/uploads/ | Start Upload
115
+ *PulpcoreClient::UploadsApi* | [**uploads_create**](docs/UploadsApi.md#uploads_create) | **PUT** /pulp/api/v3/uploads/ | Start an Upload
116
116
  *PulpcoreClient::UploadsApi* | [**uploads_create_and_check**](docs/UploadsApi.md#uploads_create_and_check) | **POST** /pulp/api/v3/uploads/ | Create an Upload
117
117
  *PulpcoreClient::UploadsApi* | [**uploads_delete**](docs/UploadsApi.md#uploads_delete) | **DELETE** {upload_href} | Delete an upload
118
118
  *PulpcoreClient::UploadsApi* | [**uploads_finish**](docs/UploadsApi.md#uploads_finish) | **POST** {upload_href} | Finish an Upload
data/docs/UploadsApi.md CHANGED
@@ -4,7 +4,7 @@ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**uploads_create**](UploadsApi.md#uploads_create) | **PUT** /pulp/api/v3/uploads/ | Start Upload
7
+ [**uploads_create**](UploadsApi.md#uploads_create) | **PUT** /pulp/api/v3/uploads/ | Start an Upload
8
8
  [**uploads_create_and_check**](UploadsApi.md#uploads_create_and_check) | **POST** /pulp/api/v3/uploads/ | Create an Upload
9
9
  [**uploads_delete**](UploadsApi.md#uploads_delete) | **DELETE** {upload_href} | Delete an upload
10
10
  [**uploads_finish**](UploadsApi.md#uploads_finish) | **POST** {upload_href} | Finish an Upload
@@ -18,7 +18,7 @@ Method | HTTP request | Description
18
18
 
19
19
  > Upload uploads_create(content_range, file)
20
20
 
21
- Start Upload
21
+ Start an Upload
22
22
 
23
23
  Start a chunked upload by uploading the first chunk.
24
24
 
@@ -39,7 +39,7 @@ content_range = 'content_range_example' # String | The Content-Range header spec
39
39
  file = File.new('/path/to/file') # File | A chunk of a file to upload.
40
40
 
41
41
  begin
42
- #Start Upload
42
+ #Start an Upload
43
43
  result = api_instance.uploads_create(content_range, file)
44
44
  p result
45
45
  rescue PulpcoreClient::ApiError => e
@@ -19,7 +19,7 @@ module PulpcoreClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Start Upload
22
+ # Start an Upload
23
23
  # Start a chunked upload by uploading the first chunk.
24
24
  # @param content_range [String] The Content-Range header specifies the location of the file chunk within the file.
25
25
  # @param file [File] A chunk of a file to upload.
@@ -30,7 +30,7 @@ module PulpcoreClient
30
30
  data
31
31
  end
32
32
 
33
- # Start Upload
33
+ # Start an Upload
34
34
  # Start a chunked upload by uploading the first chunk.
35
35
  # @param content_range [String] The Content-Range header specifies the location of the file chunk within the file.
36
36
  # @param file [File] A chunk of a file to upload.
@@ -44,7 +44,7 @@ module PulpcoreClient
44
44
  if @api_client.config.client_side_validation && content_range.nil?
45
45
  fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.uploads_create"
46
46
  end
47
- pattern = Regexp.new(/^bytes (?P<start>\d+)-(?P<end>\d+)\/(?P<total>\d+)$/)
47
+ pattern = Regexp.new(/^bytes (\d+)-(\d+)\\/(\d+)$/)
48
48
  if @api_client.config.client_side_validation && content_range !~ pattern
49
49
  fail ArgumentError, "invalid value for 'content_range' when calling UploadsApi.uploads_create, must conform to the pattern #{pattern}."
50
50
  end
@@ -462,7 +462,7 @@ module PulpcoreClient
462
462
  if @api_client.config.client_side_validation && content_range.nil?
463
463
  fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.uploads_update"
464
464
  end
465
- pattern = Regexp.new(/^bytes (?P<start>\d+)-(?P<end>\d+)\/(?P<total>\d+)$/)
465
+ pattern = Regexp.new(/^bytes (\d+)-(\d+)\\/(\d+)$/)
466
466
  if @api_client.config.client_side_validation && content_range !~ pattern
467
467
  fail ArgumentError, "invalid value for 'content_range' when calling UploadsApi.uploads_update, must conform to the pattern #{pattern}."
468
468
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.0.0rc2.dev.1560174368'
14
+ VERSION = '3.0.0rc2.dev.1560186355'
15
15
  end
@@ -33,7 +33,7 @@ describe 'UploadsApi' do
33
33
  end
34
34
 
35
35
  # unit tests for uploads_create
36
- # Start Upload
36
+ # Start an Upload
37
37
  # Start a chunked upload by uploading the first chunk.
38
38
  # @param content_range The Content-Range header specifies the location of the file chunk within the file.
39
39
  # @param file A chunk of a file to upload.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0rc2.dev.1560174368
4
+ version: 3.0.0rc2.dev.1560186355
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator