cloudsmith-api 2.0.5 → 2.0.6
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -4
- data/build.json +1 -1
- data/docs/MavenPackageUpload.md +2 -0
- data/docs/MavenPackageUploadRequest.md +2 -0
- data/docs/OrgsApi.md +57 -0
- data/docs/StatusBasic.md +1 -1
- data/lib/cloudsmith-api/api/orgs_api.rb +59 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +19 -1
- data/lib/cloudsmith-api/models/maven_package_upload_request.rb +19 -1
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/orgs_api_spec.rb +13 -0
- data/spec/models/maven_package_upload_request_spec.rb +12 -0
- data/spec/models/maven_package_upload_spec.rb +12 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.3/mkmf.log +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/generator/Makefile +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/Makefile +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36b8072fb5c2e04ad569656601861044aeb4d42df56b86eb9e9ffa25632ec611
|
4
|
+
data.tar.gz: 45cf3bf1713712f867a32877d331ec14400e9b57d340d31511c0b8c482a4645c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc3bb06fc5c9932bcd0e16b9b0dcff9b32989fab7ad15a422141ac8fa6ee560f4ff743bf9d1f861153f675b53925d929cc6aff80f64b0bcdd6b16b461866e785
|
7
|
+
data.tar.gz: b192529b57fb47ff4469503a1e468ebf42984199df7e32faf14266e4bab4f84d6ca4f3141bc392d78476ef3ebaa521f2b517f7d4bb98b6738d7aa6f049ed321f
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The API to the Cloudsmith Service
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v1
|
10
|
-
- Package version: 2.0.
|
10
|
+
- Package version: 2.0.6
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build cloudsmith-api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./cloudsmith-api-2.0.
|
27
|
+
gem install ./cloudsmith-api-2.0.6.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./cloudsmith-api-2.0.
|
29
|
+
(for development, run `gem install --dev ./cloudsmith-api-2.0.6.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 'cloudsmith-api', '~> 2.0.
|
35
|
+
gem 'cloudsmith-api', '~> 2.0.6'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -133,6 +133,7 @@ Class | Method | HTTP request | Description
|
|
133
133
|
*CloudsmithApi::OrgsApi* | [**orgs_members_delete**](docs/OrgsApi.md#orgs_members_delete) | **DELETE** /orgs/{org}/members/{member}/ | Removes a member from the organization.
|
134
134
|
*CloudsmithApi::OrgsApi* | [**orgs_members_list**](docs/OrgsApi.md#orgs_members_list) | **GET** /orgs/{org}/members/ | Get the details for all organization members.
|
135
135
|
*CloudsmithApi::OrgsApi* | [**orgs_members_read**](docs/OrgsApi.md#orgs_members_read) | **GET** /orgs/{org}/members/{member}/ | Get the details for a specific organization member.
|
136
|
+
*CloudsmithApi::OrgsApi* | [**orgs_members_refresh**](docs/OrgsApi.md#orgs_members_refresh) | **POST** /orgs/{org}/members/{member}/refresh/ | Refresh a member of the organization's API key.
|
136
137
|
*CloudsmithApi::OrgsApi* | [**orgs_members_remove**](docs/OrgsApi.md#orgs_members_remove) | **GET** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization (deprecated, use DELETE instead).
|
137
138
|
*CloudsmithApi::OrgsApi* | [**orgs_read**](docs/OrgsApi.md#orgs_read) | **GET** /orgs/{org}/ | Get the details for the specific organization.
|
138
139
|
*CloudsmithApi::OrgsApi* | [**orgs_saml_group_sync_create**](docs/OrgsApi.md#orgs_saml_group_sync_create) | **POST** /orgs/{org}/saml-group-sync/ | Create a new SAML Group Sync mapping within an organization.
|
data/build.json
CHANGED
data/docs/MavenPackageUpload.md
CHANGED
@@ -44,6 +44,8 @@ Name | Type | Description | Notes
|
|
44
44
|
**release** | **String** | The release of the package version (if any). | [optional]
|
45
45
|
**repository** | **String** | | [optional]
|
46
46
|
**repository_url** | **String** | | [optional]
|
47
|
+
**sbt_version** | **String** | | [optional]
|
48
|
+
**scala_version** | **String** | | [optional]
|
47
49
|
**security_scan_completed_at** | **DateTime** | The datetime the security scanning was completed. | [optional]
|
48
50
|
**security_scan_started_at** | **DateTime** | The datetime the security scanning was started. | [optional]
|
49
51
|
**security_scan_status** | **String** | | [optional] [default to 'Awaiting Security Scan']
|
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
|
|
11
11
|
**packaging** | **String** | Artifact's Maven packaging type. | [optional]
|
12
12
|
**pom_file** | **String** | The POM file is an XML file containing the Maven coordinates. | [optional]
|
13
13
|
**republish** | **BOOLEAN** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional]
|
14
|
+
**sbt_version** | **String** | | [optional]
|
15
|
+
**scala_version** | **String** | | [optional]
|
14
16
|
**sources_file** | **String** | Adds bundled Java source code to the Maven package. | [optional]
|
15
17
|
**tags** | **String** | A comma-separated values list of tags to add to the package. | [optional]
|
16
18
|
**tests_file** | **String** | Adds bundled Java tests to the Maven package. | [optional]
|
data/docs/OrgsApi.md
CHANGED
@@ -21,6 +21,7 @@ Method | HTTP request | Description
|
|
21
21
|
[**orgs_members_delete**](OrgsApi.md#orgs_members_delete) | **DELETE** /orgs/{org}/members/{member}/ | Removes a member from the organization.
|
22
22
|
[**orgs_members_list**](OrgsApi.md#orgs_members_list) | **GET** /orgs/{org}/members/ | Get the details for all organization members.
|
23
23
|
[**orgs_members_read**](OrgsApi.md#orgs_members_read) | **GET** /orgs/{org}/members/{member}/ | Get the details for a specific organization member.
|
24
|
+
[**orgs_members_refresh**](OrgsApi.md#orgs_members_refresh) | **POST** /orgs/{org}/members/{member}/refresh/ | Refresh a member of the organization's API key.
|
24
25
|
[**orgs_members_remove**](OrgsApi.md#orgs_members_remove) | **GET** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization (deprecated, use DELETE instead).
|
25
26
|
[**orgs_read**](OrgsApi.md#orgs_read) | **GET** /orgs/{org}/ | Get the details for the specific organization.
|
26
27
|
[**orgs_saml_group_sync_create**](OrgsApi.md#orgs_saml_group_sync_create) | **POST** /orgs/{org}/saml-group-sync/ | Create a new SAML Group Sync mapping within an organization.
|
@@ -1041,6 +1042,62 @@ Name | Type | Description | Notes
|
|
1041
1042
|
|
1042
1043
|
|
1043
1044
|
|
1045
|
+
# **orgs_members_refresh**
|
1046
|
+
> orgs_members_refresh(org, member)
|
1047
|
+
|
1048
|
+
Refresh a member of the organization's API key.
|
1049
|
+
|
1050
|
+
Refresh a member of the organization's API key.
|
1051
|
+
|
1052
|
+
### Example
|
1053
|
+
```ruby
|
1054
|
+
# load the gem
|
1055
|
+
require 'cloudsmith-api'
|
1056
|
+
# setup authorization
|
1057
|
+
CloudsmithApi.configure do |config|
|
1058
|
+
# Configure API key authorization: apikey
|
1059
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
1060
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1061
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
1065
|
+
|
1066
|
+
org = 'org_example' # String |
|
1067
|
+
|
1068
|
+
member = 'member_example' # String |
|
1069
|
+
|
1070
|
+
|
1071
|
+
begin
|
1072
|
+
#Refresh a member of the organization's API key.
|
1073
|
+
api_instance.orgs_members_refresh(org, member)
|
1074
|
+
rescue CloudsmithApi::ApiError => e
|
1075
|
+
puts "Exception when calling OrgsApi->orgs_members_refresh: #{e}"
|
1076
|
+
end
|
1077
|
+
```
|
1078
|
+
|
1079
|
+
### Parameters
|
1080
|
+
|
1081
|
+
Name | Type | Description | Notes
|
1082
|
+
------------- | ------------- | ------------- | -------------
|
1083
|
+
**org** | **String**| |
|
1084
|
+
**member** | **String**| |
|
1085
|
+
|
1086
|
+
### Return type
|
1087
|
+
|
1088
|
+
nil (empty response body)
|
1089
|
+
|
1090
|
+
### Authorization
|
1091
|
+
|
1092
|
+
[apikey](../README.md#apikey)
|
1093
|
+
|
1094
|
+
### HTTP request headers
|
1095
|
+
|
1096
|
+
- **Content-Type**: application/json
|
1097
|
+
- **Accept**: application/json
|
1098
|
+
|
1099
|
+
|
1100
|
+
|
1044
1101
|
# **orgs_members_remove**
|
1045
1102
|
> orgs_members_remove(org, member)
|
1046
1103
|
|
data/docs/StatusBasic.md
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**detail** | **String** | The message describing the state of the API. | [optional] [default to 'Cloudsmith API is operational.']
|
7
|
-
**version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.
|
7
|
+
**version** | **String** | The current version for the Cloudsmith service. | [optional] [default to '1.283.1']
|
8
8
|
|
9
9
|
|
@@ -1028,6 +1028,65 @@ module CloudsmithApi
|
|
1028
1028
|
end
|
1029
1029
|
return data, status_code, headers
|
1030
1030
|
end
|
1031
|
+
# Refresh a member of the organization's API key.
|
1032
|
+
# Refresh a member of the organization's API key.
|
1033
|
+
# @param org
|
1034
|
+
# @param member
|
1035
|
+
# @param [Hash] opts the optional parameters
|
1036
|
+
# @return [nil]
|
1037
|
+
def orgs_members_refresh(org, member, opts = {})
|
1038
|
+
orgs_members_refresh_with_http_info(org, member, opts)
|
1039
|
+
nil
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
# Refresh a member of the organization's API key.
|
1043
|
+
# Refresh a member of the organization's API key.
|
1044
|
+
# @param org
|
1045
|
+
# @param member
|
1046
|
+
# @param [Hash] opts the optional parameters
|
1047
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1048
|
+
def orgs_members_refresh_with_http_info(org, member, opts = {})
|
1049
|
+
if @api_client.config.debugging
|
1050
|
+
@api_client.config.logger.debug 'Calling API: OrgsApi.orgs_members_refresh ...'
|
1051
|
+
end
|
1052
|
+
# verify the required parameter 'org' is set
|
1053
|
+
if @api_client.config.client_side_validation && org.nil?
|
1054
|
+
fail ArgumentError, "Missing the required parameter 'org' when calling OrgsApi.orgs_members_refresh"
|
1055
|
+
end
|
1056
|
+
# verify the required parameter 'member' is set
|
1057
|
+
if @api_client.config.client_side_validation && member.nil?
|
1058
|
+
fail ArgumentError, "Missing the required parameter 'member' when calling OrgsApi.orgs_members_refresh"
|
1059
|
+
end
|
1060
|
+
# resource path
|
1061
|
+
local_var_path = '/orgs/{org}/members/{member}/refresh/'.sub('{' + 'org' + '}', org.to_s).sub('{' + 'member' + '}', member.to_s)
|
1062
|
+
|
1063
|
+
# query parameters
|
1064
|
+
query_params = {}
|
1065
|
+
|
1066
|
+
# header parameters
|
1067
|
+
header_params = {}
|
1068
|
+
# HTTP header 'Accept' (if needed)
|
1069
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1070
|
+
# HTTP header 'Content-Type'
|
1071
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1072
|
+
|
1073
|
+
# form parameters
|
1074
|
+
form_params = {}
|
1075
|
+
|
1076
|
+
# http body (model)
|
1077
|
+
post_body = nil
|
1078
|
+
auth_names = ['apikey']
|
1079
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1080
|
+
:header_params => header_params,
|
1081
|
+
:query_params => query_params,
|
1082
|
+
:form_params => form_params,
|
1083
|
+
:body => post_body,
|
1084
|
+
:auth_names => auth_names)
|
1085
|
+
if @api_client.config.debugging
|
1086
|
+
@api_client.config.logger.debug "API called: OrgsApi#orgs_members_refresh\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1087
|
+
end
|
1088
|
+
return data, status_code, headers
|
1089
|
+
end
|
1031
1090
|
# Removes a member from the organization (deprecated, use DELETE instead).
|
1032
1091
|
# Removes a member from the organization (deprecated, use DELETE instead).
|
1033
1092
|
# @param org
|
@@ -107,6 +107,10 @@ class MavenPackageUpload
|
|
107
107
|
|
108
108
|
attr_accessor :repository_url
|
109
109
|
|
110
|
+
attr_accessor :sbt_version
|
111
|
+
|
112
|
+
attr_accessor :scala_version
|
113
|
+
|
110
114
|
# The datetime the security scanning was completed.
|
111
115
|
attr_accessor :security_scan_completed_at
|
112
116
|
|
@@ -248,6 +252,8 @@ class MavenPackageUpload
|
|
248
252
|
:'release' => :'release',
|
249
253
|
:'repository' => :'repository',
|
250
254
|
:'repository_url' => :'repository_url',
|
255
|
+
:'sbt_version' => :'sbt_version',
|
256
|
+
:'scala_version' => :'scala_version',
|
251
257
|
:'security_scan_completed_at' => :'security_scan_completed_at',
|
252
258
|
:'security_scan_started_at' => :'security_scan_started_at',
|
253
259
|
:'security_scan_status' => :'security_scan_status',
|
@@ -325,6 +331,8 @@ class MavenPackageUpload
|
|
325
331
|
:'release' => :'String',
|
326
332
|
:'repository' => :'String',
|
327
333
|
:'repository_url' => :'String',
|
334
|
+
:'sbt_version' => :'String',
|
335
|
+
:'scala_version' => :'String',
|
328
336
|
:'security_scan_completed_at' => :'DateTime',
|
329
337
|
:'security_scan_started_at' => :'DateTime',
|
330
338
|
:'security_scan_status' => :'String',
|
@@ -534,6 +542,14 @@ class MavenPackageUpload
|
|
534
542
|
self.repository_url = attributes[:'repository_url']
|
535
543
|
end
|
536
544
|
|
545
|
+
if attributes.has_key?(:'sbt_version')
|
546
|
+
self.sbt_version = attributes[:'sbt_version']
|
547
|
+
end
|
548
|
+
|
549
|
+
if attributes.has_key?(:'scala_version')
|
550
|
+
self.scala_version = attributes[:'scala_version']
|
551
|
+
end
|
552
|
+
|
537
553
|
if attributes.has_key?(:'security_scan_completed_at')
|
538
554
|
self.security_scan_completed_at = attributes[:'security_scan_completed_at']
|
539
555
|
end
|
@@ -728,6 +744,8 @@ class MavenPackageUpload
|
|
728
744
|
release == o.release &&
|
729
745
|
repository == o.repository &&
|
730
746
|
repository_url == o.repository_url &&
|
747
|
+
sbt_version == o.sbt_version &&
|
748
|
+
scala_version == o.scala_version &&
|
731
749
|
security_scan_completed_at == o.security_scan_completed_at &&
|
732
750
|
security_scan_started_at == o.security_scan_started_at &&
|
733
751
|
security_scan_status == o.security_scan_status &&
|
@@ -769,7 +787,7 @@ class MavenPackageUpload
|
|
769
787
|
# Calculates hash code according to all attributes.
|
770
788
|
# @return [Fixnum] Hash code
|
771
789
|
def hash
|
772
|
-
[architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, group_id, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, packaging, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
790
|
+
[architectures, artifact_id, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, group_id, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, origin_repository, origin_repository_url, package_type, packaging, release, repository, repository_url, sbt_version, scala_version, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
|
773
791
|
end
|
774
792
|
|
775
793
|
# Builds the object from hash
|
@@ -38,6 +38,10 @@ class MavenPackageUploadRequest
|
|
38
38
|
# If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.
|
39
39
|
attr_accessor :republish
|
40
40
|
|
41
|
+
attr_accessor :sbt_version
|
42
|
+
|
43
|
+
attr_accessor :scala_version
|
44
|
+
|
41
45
|
# Adds bundled Java source code to the Maven package.
|
42
46
|
attr_accessor :sources_file
|
43
47
|
|
@@ -61,6 +65,8 @@ class MavenPackageUploadRequest
|
|
61
65
|
:'packaging' => :'packaging',
|
62
66
|
:'pom_file' => :'pom_file',
|
63
67
|
:'republish' => :'republish',
|
68
|
+
:'sbt_version' => :'sbt_version',
|
69
|
+
:'scala_version' => :'scala_version',
|
64
70
|
:'sources_file' => :'sources_file',
|
65
71
|
:'tags' => :'tags',
|
66
72
|
:'tests_file' => :'tests_file',
|
@@ -79,6 +85,8 @@ class MavenPackageUploadRequest
|
|
79
85
|
:'packaging' => :'String',
|
80
86
|
:'pom_file' => :'String',
|
81
87
|
:'republish' => :'BOOLEAN',
|
88
|
+
:'sbt_version' => :'String',
|
89
|
+
:'scala_version' => :'String',
|
82
90
|
:'sources_file' => :'String',
|
83
91
|
:'tags' => :'String',
|
84
92
|
:'tests_file' => :'String',
|
@@ -126,6 +134,14 @@ class MavenPackageUploadRequest
|
|
126
134
|
self.republish = attributes[:'republish']
|
127
135
|
end
|
128
136
|
|
137
|
+
if attributes.has_key?(:'sbt_version')
|
138
|
+
self.sbt_version = attributes[:'sbt_version']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.has_key?(:'scala_version')
|
142
|
+
self.scala_version = attributes[:'scala_version']
|
143
|
+
end
|
144
|
+
|
129
145
|
if attributes.has_key?(:'sources_file')
|
130
146
|
self.sources_file = attributes[:'sources_file']
|
131
147
|
end
|
@@ -174,6 +190,8 @@ class MavenPackageUploadRequest
|
|
174
190
|
packaging == o.packaging &&
|
175
191
|
pom_file == o.pom_file &&
|
176
192
|
republish == o.republish &&
|
193
|
+
sbt_version == o.sbt_version &&
|
194
|
+
scala_version == o.scala_version &&
|
177
195
|
sources_file == o.sources_file &&
|
178
196
|
tags == o.tags &&
|
179
197
|
tests_file == o.tests_file &&
|
@@ -189,7 +207,7 @@ class MavenPackageUploadRequest
|
|
189
207
|
# Calculates hash code according to all attributes.
|
190
208
|
# @return [Fixnum] Hash code
|
191
209
|
def hash
|
192
|
-
[artifact_id, group_id, ivy_file, javadoc_file, package_file, packaging, pom_file, republish, sources_file, tags, tests_file, version].hash
|
210
|
+
[artifact_id, group_id, ivy_file, javadoc_file, package_file, packaging, pom_file, republish, sbt_version, scala_version, sources_file, tags, tests_file, version].hash
|
193
211
|
end
|
194
212
|
|
195
213
|
# Builds the object from hash
|
data/spec/api/orgs_api_spec.rb
CHANGED
@@ -260,6 +260,19 @@ describe 'OrgsApi' do
|
|
260
260
|
end
|
261
261
|
end
|
262
262
|
|
263
|
+
# unit tests for orgs_members_refresh
|
264
|
+
# Refresh a member of the organization's API key.
|
265
|
+
# Refresh a member of the organization's API key.
|
266
|
+
# @param org
|
267
|
+
# @param member
|
268
|
+
# @param [Hash] opts the optional parameters
|
269
|
+
# @return [nil]
|
270
|
+
describe 'orgs_members_refresh test' do
|
271
|
+
it 'should work' do
|
272
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
263
276
|
# unit tests for orgs_members_remove
|
264
277
|
# Removes a member from the organization (deprecated, use DELETE instead).
|
265
278
|
# Removes a member from the organization (deprecated, use DELETE instead).
|
@@ -80,6 +80,18 @@ describe 'MavenPackageUploadRequest' do
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
describe 'test attribute "sbt_version"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "scala_version"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
83
95
|
describe 'test attribute "sources_file"' do
|
84
96
|
it 'should work' do
|
85
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -278,6 +278,18 @@ describe 'MavenPackageUpload' do
|
|
278
278
|
end
|
279
279
|
end
|
280
280
|
|
281
|
+
describe 'test attribute "sbt_version"' do
|
282
|
+
it 'should work' do
|
283
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
describe 'test attribute "scala_version"' do
|
288
|
+
it 'should work' do
|
289
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
281
293
|
describe 'test attribute "security_scan_completed_at"' do
|
282
294
|
it 'should work' do
|
283
295
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.20/gem_make.out
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.20/ext/fsevent
|
2
|
-
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./
|
2
|
+
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20230602-901-foqiad.rb extconf.rb
|
3
3
|
|
4
4
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.20/ext/fsevent
|
5
5
|
make DESTDIR\= clean
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c
|
2
|
-
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./
|
2
|
+
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20230602-901-1wx8njz.rb extconf.rb
|
3
3
|
checking for ffi_prep_closure_loc() in -lffi... yes
|
4
4
|
checking for ffi_prep_cif_var()... yes
|
5
5
|
checking for ffi_raw_call()... yes
|
@@ -40,4 +40,4 @@ linking shared-object ffi_c.so
|
|
40
40
|
|
41
41
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c
|
42
42
|
make DESTDIR\= install
|
43
|
-
/usr/bin/install -c -m 0755 ffi_c.so ./.gem.
|
43
|
+
/usr/bin/install -c -m 0755 ffi_c.so ./.gem.20230602-901-136bqqb
|
@@ -1,5 +1,5 @@
|
|
1
1
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json
|
2
|
-
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./
|
2
|
+
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20230602-901-kozfsy.rb extconf.rb
|
3
3
|
creating Makefile
|
4
4
|
|
5
5
|
current directory: /home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json
|
@@ -100,7 +100,7 @@ checked program was:
|
|
100
100
|
/* end */
|
101
101
|
|
102
102
|
"gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I. -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"
|
103
|
-
/usr/bin/ld: /tmp/
|
103
|
+
/usr/bin/ld: /tmp/ccdSkxpO.o: in function `t':
|
104
104
|
/home/circleci/project/bindings/ruby/src/vendor/bundle/ruby/2.6.0/gems/json-2.6.3/ext/json/ext/parser/conftest.c:17: undefined reference to `rb_enc_interned_str'
|
105
105
|
collect2: error: ld returned 1 exit status
|
106
106
|
checked program was:
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20230602-901-136bqqb
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20230602-901-136bqqb
|
36
36
|
sitedir = $(rubylibprefix)/site_ruby
|
37
37
|
rubyarchdir = $(rubylibdir)/$(arch)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20230602-901-1ov7g3h
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20230602-901-1ov7g3h
|
36
36
|
sitedir = $(rubylibprefix)/site_ruby
|
37
37
|
rubyarchdir = $(rubylibdir)/$(arch)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20230602-901-imavtx
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20230602-901-imavtx
|
36
36
|
sitedir = $(rubylibprefix)/site_ruby
|
37
37
|
rubyarchdir = $(rubylibdir)/$(arch)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
31
31
|
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
32
32
|
vendorlibdir = $(vendordir)/$(ruby_version)
|
33
33
|
vendordir = $(rubylibprefix)/vendor_ruby
|
34
|
-
sitearchdir = $(DESTDIR)./.gem.
|
35
|
-
sitelibdir = $(DESTDIR)./.gem.
|
34
|
+
sitearchdir = $(DESTDIR)./.gem.20230602-901-1n8jnwz
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20230602-901-1n8jnwz
|
36
36
|
sitedir = $(rubylibprefix)/site_ruby
|
37
37
|
rubyarchdir = $(rubylibdir)/$(arch)
|
38
38
|
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudsmith-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudsmith Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|