cloudsmith-api 2.0.2 → 2.0.3
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 +2 -2
- data/README.md +9 -5
- data/build.json +1 -1
- data/docs/Eula.md +1 -1
- data/docs/HexPackageUpload.md +75 -0
- data/docs/HexPackageUploadRequest.md +10 -0
- data/docs/NestedLicensePolicy.md +1 -0
- data/docs/NestedVulnerabilityPolicy.md +1 -0
- data/docs/NestedVulnerabilityScanResults.md +1 -1
- data/docs/OrganizationPackageLicensePolicy.md +1 -0
- data/docs/OrganizationPackageLicensePolicyRequest.md +1 -0
- data/docs/OrganizationPackageLicensePolicyRequestPatch.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicy.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicyRequest.md +1 -0
- data/docs/OrganizationPackageVulnerabilityPolicyRequestPatch.md +1 -0
- data/docs/PackagesApi.md +123 -0
- data/docs/RepositoryToken.md +1 -1
- data/docs/RepositoryTokenRefresh.md +1 -1
- data/docs/RepositoryWebhook.md +1 -1
- data/docs/StatusBasic.md +1 -1
- data/docs/VulnerabilitiesApi.md +8 -8
- data/docs/VulnerabilityScanResults.md +1 -1
- data/docs/VulnerabilityScanResultsList.md +1 -1
- data/lib/cloudsmith-api/api/packages_api.rb +123 -0
- data/lib/cloudsmith-api/api/vulnerabilities_api.rb +13 -13
- data/lib/cloudsmith-api/models/eula.rb +0 -5
- data/lib/cloudsmith-api/models/hex_package_upload.rb +850 -0
- data/lib/cloudsmith-api/models/hex_package_upload_request.rb +210 -0
- data/lib/cloudsmith-api/models/nested_license_policy.rb +10 -1
- data/lib/cloudsmith-api/models/nested_vulnerability_policy.rb +10 -1
- data/lib/cloudsmith-api/models/nested_vulnerability_scan_results.rb +1 -0
- data/lib/cloudsmith-api/models/organization_package_license_policy.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy_request.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_license_policy_request_patch.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy.rb +10 -1
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request.rb +13 -4
- data/lib/cloudsmith-api/models/organization_package_vulnerability_policy_request_patch.rb +13 -4
- data/lib/cloudsmith-api/models/repository_token.rb +1 -0
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +1 -0
- data/lib/cloudsmith-api/models/repository_webhook.rb +1 -0
- data/lib/cloudsmith-api/models/status_basic.rb +1 -1
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +1 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +1 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +2 -0
- data/spec/api/packages_api_spec.rb +28 -0
- data/spec/api/vulnerabilities_api_spec.rb +3 -3
- data/spec/models/hex_package_upload_request_spec.rb +53 -0
- data/spec/models/hex_package_upload_spec.rb +447 -0
- data/spec/models/nested_license_policy_spec.rb +6 -0
- data/spec/models/nested_vulnerability_policy_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_request_patch_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_request_spec.rb +6 -0
- data/spec/models/organization_package_license_policy_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_request_patch_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_request_spec.rb +6 -0
- data/spec/models/organization_package_vulnerability_policy_spec.rb +6 -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 +10 -2
@@ -66,4 +66,10 @@ describe 'OrganizationPackageVulnerabilityPolicyRequest' do
|
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
+
describe 'test attribute "package_query_string"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
69
75
|
end
|
@@ -72,6 +72,12 @@ describe 'OrganizationPackageVulnerabilityPolicy' do
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
+
describe 'test attribute "package_query_string"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
75
81
|
describe 'test attribute "slug_perm"' do
|
76
82
|
it 'should work' do
|
77
83
|
# 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 ./siteconf20230517-903-kj20e.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 ./siteconf20230517-903-mv2viu.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.20230517-903-5ndtjr
|
@@ -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 ./siteconf20230517-903-1r8dwww.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/cc4KzTN2.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.20230517-903-5ndtjr
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20230517-903-5ndtjr
|
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.20230517-903-uigfgy
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20230517-903-uigfgy
|
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.20230517-903-od2048
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20230517-903-od2048
|
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.20230517-903-ccac6n
|
35
|
+
sitelibdir = $(DESTDIR)./.gem.20230517-903-ccac6n
|
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.3
|
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-05-
|
11
|
+
date: 2023-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -270,6 +270,8 @@ files:
|
|
270
270
|
- docs/GoPackageUploadRequest.md
|
271
271
|
- docs/HelmPackageUpload.md
|
272
272
|
- docs/HelmPackageUploadRequest.md
|
273
|
+
- docs/HexPackageUpload.md
|
274
|
+
- docs/HexPackageUploadRequest.md
|
273
275
|
- docs/History.md
|
274
276
|
- docs/HistoryFieldset.md
|
275
277
|
- docs/HistoryFieldsetRaw.md
|
@@ -486,6 +488,8 @@ files:
|
|
486
488
|
- lib/cloudsmith-api/models/go_package_upload_request.rb
|
487
489
|
- lib/cloudsmith-api/models/helm_package_upload.rb
|
488
490
|
- lib/cloudsmith-api/models/helm_package_upload_request.rb
|
491
|
+
- lib/cloudsmith-api/models/hex_package_upload.rb
|
492
|
+
- lib/cloudsmith-api/models/hex_package_upload_request.rb
|
489
493
|
- lib/cloudsmith-api/models/history.rb
|
490
494
|
- lib/cloudsmith-api/models/history_fieldset.rb
|
491
495
|
- lib/cloudsmith-api/models/history_fieldset_raw.rb
|
@@ -687,6 +691,8 @@ files:
|
|
687
691
|
- spec/models/go_package_upload_spec.rb
|
688
692
|
- spec/models/helm_package_upload_request_spec.rb
|
689
693
|
- spec/models/helm_package_upload_spec.rb
|
694
|
+
- spec/models/hex_package_upload_request_spec.rb
|
695
|
+
- spec/models/hex_package_upload_spec.rb
|
690
696
|
- spec/models/history_fieldset_raw_spec.rb
|
691
697
|
- spec/models/history_fieldset_spec.rb
|
692
698
|
- spec/models/history_spec.rb
|
@@ -2737,6 +2743,8 @@ test_files:
|
|
2737
2743
|
- spec/models/go_package_upload_spec.rb
|
2738
2744
|
- spec/models/helm_package_upload_request_spec.rb
|
2739
2745
|
- spec/models/helm_package_upload_spec.rb
|
2746
|
+
- spec/models/hex_package_upload_request_spec.rb
|
2747
|
+
- spec/models/hex_package_upload_spec.rb
|
2740
2748
|
- spec/models/history_fieldset_raw_spec.rb
|
2741
2749
|
- spec/models/history_fieldset_spec.rb
|
2742
2750
|
- spec/models/history_spec.rb
|