cloudsmith-api 0.49.94 → 0.49.98
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 +5 -5
- data/README.md +10 -5
- data/build.json +1 -1
- data/docs/ReposApi.md +194 -4
- data/docs/ReposCreate.md +16 -0
- data/docs/ReposPartialUpdate.md +16 -0
- data/docs/Repository.md +6 -6
- data/lib/cloudsmith-api.rb +2 -0
- data/lib/cloudsmith-api/api/repos_api.rb +170 -4
- data/lib/cloudsmith-api/models/repos_create.rb +284 -0
- data/lib/cloudsmith-api/models/repos_partial_update.rb +269 -0
- data/lib/cloudsmith-api/models/repository.rb +9 -19
- data/lib/cloudsmith-api/version.rb +1 -1
- data/spec/api/repos_api_spec.rb +41 -2
- data/spec/models/repos_create_spec.rb +90 -0
- data/spec/models/repos_partial_update_spec.rb +90 -0
- data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.17.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.0.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.9.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.1.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.12.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.3.0/gem_make.out +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/CHANGELOG.md +10 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/README.md +20 -15
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/Makefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/extconf.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/fsevent.dll +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/fsevent.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/fsevent_sleep.c +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/make +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/ext/fsevent/nmake.bat +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/lib/autotest-fsevent.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/lib/autotest-fsevent/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/lib/autotest/fsevent.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.17/post-install.txt +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/{autotest-fsevent-0.2.15 → autotest-fsevent-0.2.17}/prebuilt/fsevent_sleep +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.12.2/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.gitignore +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.rspec +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.rubocop.yml +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.travis.yml +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/Gemfile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/LICENSE +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/README.md +17 -13
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/changelog.md +4 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/hashdiff.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/compare_hashes.rb +14 -1
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/diff.rb +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/lcs.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/lcs_compare_arrays.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/linear_compare_array.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/patch.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/util.rb +2 -1
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/lib/hashdiff/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/best_diff_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/diff_array_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/diff_spec.rb +5 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/lcs_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/linear_compare_array_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/patch_spec.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/hashdiff-1.0.1/spec/hashdiff/readme_spec.rb +15 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/hashdiff/util_spec.rb +21 -0
- data/vendor/bundle/ruby/2.6.0/gems/{hashdiff-1.0.0 → hashdiff-1.0.1}/spec/spec_helper.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/.document +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/Changelog.md +10 -2
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/README.md +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/configuration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/expectation_target.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/fail_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/failure_aggregator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/handler.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/minitest_integration.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/syntax.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/expectations/version.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/aliased_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/all.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be_between.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/be_within.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/change.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/compound.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/cover.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/eq.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/eql.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/equal.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/exist.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/has.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/have_attributes.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/include.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/match.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/operators.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/output.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/respond_to.rb +28 -3
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/built_in/yield.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/composable.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/dsl.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/english_phrasing.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/fail_matchers.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/generated_descriptions.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/matcher_delegator.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{rspec-expectations-3.9.0 → rspec-expectations-3.9.1}/lib/rspec/matchers/matcher_protocol.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/CHANGES.rdoc +3 -0
- data/vendor/bundle/ruby/2.6.0/gems/sys-uname-1.2.1/LICENSE +177 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/MANIFEST.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/README.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/Rakefile +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/certs/djberg96_pub.pem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/doc/uname.rdoc +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/examples/uname_test.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys-uname.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/platform.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/uname.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/unix/uname.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/lib/sys/windows/uname.rb +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/spec/sys_platform_spec.rb +1 -1
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/spec/sys_uname_spec.rb +2 -2
- data/vendor/bundle/ruby/2.6.0/gems/{sys-uname-1.2.0 → sys-uname-1.2.1}/sys-uname.gemspec +1 -1
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.17.gemspec +49 -0
- data/vendor/bundle/ruby/2.6.0/specifications/{hashdiff-1.0.0.gemspec → hashdiff-1.0.1.gemspec} +6 -6
- data/vendor/bundle/ruby/2.6.0/specifications/{rspec-expectations-3.9.0.gemspec → rspec-expectations-3.9.1.gemspec} +5 -5
- data/vendor/bundle/ruby/2.6.0/specifications/{sys-uname-1.2.0.gemspec → sys-uname-1.2.1.gemspec} +3 -3
- metadata +214 -212
- data/vendor/bundle/ruby/2.6.0/cache/autotest-fsevent-0.2.15.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/hashdiff-1.0.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/rspec-expectations-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/cache/sys-uname-1.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/.gitignore +0 -5
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/.ruby-version +0 -1
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/autotest-fsevent.gemspec +0 -30
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/gems.locked +0 -32
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/gems.rb +0 -4
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/post-install.txt +0 -14
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/rakefile.rb +0 -12
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/spec/lib/autotest-fsevent/version_spec.rb +0 -7
- data/vendor/bundle/ruby/2.6.0/gems/autotest-fsevent-0.2.15/spec/spec_helper.rb +0 -6
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.15.gemspec +0 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1feef9585a4796c61ca10e140ce83a4c74be14553bee16edb185f25fac67cef
|
4
|
+
data.tar.gz: 9c8b89012b028a32cc6c4c6627aa0c55088c5bd8cee52de3434c896cab4426e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c88a785a306e2ae0268304dc4045b86f43931fc6904072dbdd28b10c8e3895a5f2846c85fd44e6043b88d896b6d1e1768c288e6588d3c7d691b08b8fdfb7d1bc
|
7
|
+
data.tar.gz: 513574c2dc341d333392564366c4ed83d3286446fc55015c277a83506458c79d51ef829b6a2b7b6da7ce7d69a75bb667a9a73db1dcf7e0fab7b58fcbb742f86d
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cloudsmith-api (0.49.
|
4
|
+
cloudsmith-api (0.49.98)
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
6
6
|
typhoeus (~> 1.0, >= 1.0.1)
|
7
7
|
|
@@ -13,7 +13,7 @@ GEM
|
|
13
13
|
public_suffix (>= 2.0.2, < 5.0)
|
14
14
|
autotest (4.4.6)
|
15
15
|
ZenTest (>= 4.4.1)
|
16
|
-
autotest-fsevent (0.2.
|
16
|
+
autotest-fsevent (0.2.17)
|
17
17
|
sys-uname
|
18
18
|
autotest-growl (0.2.16)
|
19
19
|
autotest-rails-pure (4.1.2)
|
@@ -23,7 +23,7 @@ GEM
|
|
23
23
|
ethon (0.12.0)
|
24
24
|
ffi (>= 1.3.0)
|
25
25
|
ffi (1.12.2)
|
26
|
-
hashdiff (1.0.
|
26
|
+
hashdiff (1.0.1)
|
27
27
|
json (2.3.0)
|
28
28
|
public_suffix (4.0.3)
|
29
29
|
rake (12.0.0)
|
@@ -33,7 +33,7 @@ GEM
|
|
33
33
|
rspec-mocks (~> 3.9.0)
|
34
34
|
rspec-core (3.9.1)
|
35
35
|
rspec-support (~> 3.9.1)
|
36
|
-
rspec-expectations (3.9.
|
36
|
+
rspec-expectations (3.9.1)
|
37
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
38
38
|
rspec-support (~> 3.9.0)
|
39
39
|
rspec-mocks (3.9.1)
|
@@ -41,7 +41,7 @@ GEM
|
|
41
41
|
rspec-support (~> 3.9.0)
|
42
42
|
rspec-support (3.9.2)
|
43
43
|
safe_yaml (1.0.5)
|
44
|
-
sys-uname (1.2.
|
44
|
+
sys-uname (1.2.1)
|
45
45
|
ffi (>= 1.0.0)
|
46
46
|
typhoeus (1.3.1)
|
47
47
|
ethon (>= 0.9.0)
|
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: 0.49.
|
10
|
+
- Package version: 0.49.98
|
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-0.49.
|
27
|
+
gem install ./cloudsmith-api-0.49.98.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./cloudsmith-api-0.49.
|
29
|
+
(for development, run `gem install --dev ./cloudsmith-api-0.49.98.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', '~> 0.49.
|
35
|
+
gem 'cloudsmith-api', '~> 0.49.98'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -173,8 +173,11 @@ Class | Method | HTTP request | Description
|
|
173
173
|
*CloudsmithApi::PackagesApi* | [**packages_validate_upload_vagrant**](docs/PackagesApi.md#packages_validate_upload_vagrant) | **POST** /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package
|
174
174
|
*CloudsmithApi::RatesApi* | [**rates_limits_list**](docs/RatesApi.md#rates_limits_list) | **GET** /rates/limits/ | Endpoint to check rate limits for current user.
|
175
175
|
*CloudsmithApi::ReposApi* | [**repos_all_list**](docs/ReposApi.md#repos_all_list) | **GET** /repos/ | Get a list of all repositories associated with current user.
|
176
|
+
*CloudsmithApi::ReposApi* | [**repos_create**](docs/ReposApi.md#repos_create) | **POST** /repos/{owner}/ | Create a new repository in a given namespace.
|
177
|
+
*CloudsmithApi::ReposApi* | [**repos_delete**](docs/ReposApi.md#repos_delete) | **DELETE** /repos/{owner}/{slug}/ | Delete a repository in a given namespace.
|
176
178
|
*CloudsmithApi::ReposApi* | [**repos_list**](docs/ReposApi.md#repos_list) | **GET** /repos/{owner}/ | Get a list of all repositories within a namespace.
|
177
|
-
*CloudsmithApi::ReposApi* | [**
|
179
|
+
*CloudsmithApi::ReposApi* | [**repos_partial_update**](docs/ReposApi.md#repos_partial_update) | **PATCH** /repos/{owner}/{slug}/ | Update details about a repository in a given namespace.
|
180
|
+
*CloudsmithApi::ReposApi* | [**repos_read**](docs/ReposApi.md#repos_read) | **GET** /repos/{owner}/{slug}/ | Get a specific repository.
|
178
181
|
*CloudsmithApi::StatusApi* | [**status_check_basic**](docs/StatusApi.md#status_check_basic) | **GET** /status/check/basic/ | Endpoint to check basic API connectivity.
|
179
182
|
*CloudsmithApi::UserApi* | [**user_self**](docs/UserApi.md#user_self) | **GET** /user/self/ | Provide a brief for the current user (if any).
|
180
183
|
*CloudsmithApi::UserApi* | [**user_token_create**](docs/UserApi.md#user_token_create) | **POST** /user/token/ | Retrieve the API key/token for the authenticated user.
|
@@ -253,7 +256,9 @@ Class | Method | HTTP request | Description
|
|
253
256
|
- [CloudsmithApi::PackagesownerrepoArchitectures](docs/PackagesownerrepoArchitectures.md)
|
254
257
|
- [CloudsmithApi::PackagesownerrepoFiles](docs/PackagesownerrepoFiles.md)
|
255
258
|
- [CloudsmithApi::RawPackageUpload](docs/RawPackageUpload.md)
|
259
|
+
- [CloudsmithApi::ReposCreate](docs/ReposCreate.md)
|
256
260
|
- [CloudsmithApi::ReposGpgKeys](docs/ReposGpgKeys.md)
|
261
|
+
- [CloudsmithApi::ReposPartialUpdate](docs/ReposPartialUpdate.md)
|
257
262
|
- [CloudsmithApi::Repository](docs/Repository.md)
|
258
263
|
- [CloudsmithApi::RepositoryToken](docs/RepositoryToken.md)
|
259
264
|
- [CloudsmithApi::RepositoryTokenRefresh](docs/RepositoryTokenRefresh.md)
|
data/build.json
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
"gemName": "cloudsmith-api",
|
9
9
|
"gemRequiredRubyVersion": ">= 1.9",
|
10
10
|
"gemSummary": "Cloudsmith API",
|
11
|
-
"gemVersion": "0.49.
|
11
|
+
"gemVersion": "0.49.98",
|
12
12
|
"hideGenerationTimestamp": true,
|
13
13
|
"moduleName": "CloudsmithApi",
|
14
14
|
"sortParamsByRequiredFlag": true
|
data/docs/ReposApi.md
CHANGED
@@ -5,8 +5,11 @@ All URIs are relative to *https://api.cloudsmith.io*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**repos_all_list**](ReposApi.md#repos_all_list) | **GET** /repos/ | Get a list of all repositories associated with current user.
|
8
|
+
[**repos_create**](ReposApi.md#repos_create) | **POST** /repos/{owner}/ | Create a new repository in a given namespace.
|
9
|
+
[**repos_delete**](ReposApi.md#repos_delete) | **DELETE** /repos/{owner}/{slug}/ | Delete a repository in a given namespace.
|
8
10
|
[**repos_list**](ReposApi.md#repos_list) | **GET** /repos/{owner}/ | Get a list of all repositories within a namespace.
|
9
|
-
[**
|
11
|
+
[**repos_partial_update**](ReposApi.md#repos_partial_update) | **PATCH** /repos/{owner}/{slug}/ | Update details about a repository in a given namespace.
|
12
|
+
[**repos_read**](ReposApi.md#repos_read) | **GET** /repos/{owner}/{slug}/ | Get a specific repository.
|
10
13
|
|
11
14
|
|
12
15
|
# **repos_all_list**
|
@@ -71,6 +74,130 @@ Name | Type | Description | Notes
|
|
71
74
|
|
72
75
|
|
73
76
|
|
77
|
+
# **repos_create**
|
78
|
+
> Repository repos_create(owner, opts)
|
79
|
+
|
80
|
+
Create a new repository in a given namespace.
|
81
|
+
|
82
|
+
Create a new repository in a given namespace.
|
83
|
+
|
84
|
+
### Example
|
85
|
+
```ruby
|
86
|
+
# load the gem
|
87
|
+
require 'cloudsmith-api'
|
88
|
+
# setup authorization
|
89
|
+
CloudsmithApi.configure do |config|
|
90
|
+
# Configure API key authorization: apikey
|
91
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
92
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
93
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
94
|
+
|
95
|
+
# Configure API key authorization: csrf_token
|
96
|
+
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
97
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
98
|
+
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
99
|
+
end
|
100
|
+
|
101
|
+
api_instance = CloudsmithApi::ReposApi.new
|
102
|
+
|
103
|
+
owner = "owner_example" # String |
|
104
|
+
|
105
|
+
opts = {
|
106
|
+
data: CloudsmithApi::ReposCreate.new # ReposCreate |
|
107
|
+
}
|
108
|
+
|
109
|
+
begin
|
110
|
+
#Create a new repository in a given namespace.
|
111
|
+
result = api_instance.repos_create(owner, opts)
|
112
|
+
p result
|
113
|
+
rescue CloudsmithApi::ApiError => e
|
114
|
+
puts "Exception when calling ReposApi->repos_create: #{e}"
|
115
|
+
end
|
116
|
+
```
|
117
|
+
|
118
|
+
### Parameters
|
119
|
+
|
120
|
+
Name | Type | Description | Notes
|
121
|
+
------------- | ------------- | ------------- | -------------
|
122
|
+
**owner** | **String**| |
|
123
|
+
**data** | [**ReposCreate**](ReposCreate.md)| | [optional]
|
124
|
+
|
125
|
+
### Return type
|
126
|
+
|
127
|
+
[**Repository**](Repository.md)
|
128
|
+
|
129
|
+
### Authorization
|
130
|
+
|
131
|
+
[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
|
132
|
+
|
133
|
+
### HTTP request headers
|
134
|
+
|
135
|
+
- **Content-Type**: application/json
|
136
|
+
- **Accept**: Not defined
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
# **repos_delete**
|
141
|
+
> repos_delete(owner, slug)
|
142
|
+
|
143
|
+
Delete a repository in a given namespace.
|
144
|
+
|
145
|
+
Delete a repository in a given namespace.
|
146
|
+
|
147
|
+
### Example
|
148
|
+
```ruby
|
149
|
+
# load the gem
|
150
|
+
require 'cloudsmith-api'
|
151
|
+
# setup authorization
|
152
|
+
CloudsmithApi.configure do |config|
|
153
|
+
# Configure API key authorization: apikey
|
154
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
155
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
156
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
157
|
+
|
158
|
+
# Configure API key authorization: csrf_token
|
159
|
+
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
160
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
161
|
+
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
162
|
+
end
|
163
|
+
|
164
|
+
api_instance = CloudsmithApi::ReposApi.new
|
165
|
+
|
166
|
+
owner = "owner_example" # String |
|
167
|
+
|
168
|
+
slug = "slug_example" # String |
|
169
|
+
|
170
|
+
|
171
|
+
begin
|
172
|
+
#Delete a repository in a given namespace.
|
173
|
+
api_instance.repos_delete(owner, slug)
|
174
|
+
rescue CloudsmithApi::ApiError => e
|
175
|
+
puts "Exception when calling ReposApi->repos_delete: #{e}"
|
176
|
+
end
|
177
|
+
```
|
178
|
+
|
179
|
+
### Parameters
|
180
|
+
|
181
|
+
Name | Type | Description | Notes
|
182
|
+
------------- | ------------- | ------------- | -------------
|
183
|
+
**owner** | **String**| |
|
184
|
+
**slug** | **String**| |
|
185
|
+
|
186
|
+
### Return type
|
187
|
+
|
188
|
+
nil (empty response body)
|
189
|
+
|
190
|
+
### Authorization
|
191
|
+
|
192
|
+
[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
|
193
|
+
|
194
|
+
### HTTP request headers
|
195
|
+
|
196
|
+
- **Content-Type**: Not defined
|
197
|
+
- **Accept**: Not defined
|
198
|
+
|
199
|
+
|
200
|
+
|
74
201
|
# **repos_list**
|
75
202
|
> Array<Repository> repos_list(owner, opts)
|
76
203
|
|
@@ -136,12 +263,75 @@ Name | Type | Description | Notes
|
|
136
263
|
|
137
264
|
|
138
265
|
|
266
|
+
# **repos_partial_update**
|
267
|
+
> Repository repos_partial_update(owner, opts)
|
268
|
+
|
269
|
+
Update details about a repository in a given namespace.
|
270
|
+
|
271
|
+
Update details about a repository in a given namespace.
|
272
|
+
|
273
|
+
### Example
|
274
|
+
```ruby
|
275
|
+
# load the gem
|
276
|
+
require 'cloudsmith-api'
|
277
|
+
# setup authorization
|
278
|
+
CloudsmithApi.configure do |config|
|
279
|
+
# Configure API key authorization: apikey
|
280
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
281
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
282
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
283
|
+
|
284
|
+
# Configure API key authorization: csrf_token
|
285
|
+
config.api_key['X-CSRFToken'] = 'YOUR API KEY'
|
286
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
287
|
+
#config.api_key_prefix['X-CSRFToken'] = 'Bearer'
|
288
|
+
end
|
289
|
+
|
290
|
+
api_instance = CloudsmithApi::ReposApi.new
|
291
|
+
|
292
|
+
owner = "owner_example" # String |
|
293
|
+
|
294
|
+
opts = {
|
295
|
+
data: CloudsmithApi::ReposPartialUpdate.new # ReposPartialUpdate |
|
296
|
+
}
|
297
|
+
|
298
|
+
begin
|
299
|
+
#Update details about a repository in a given namespace.
|
300
|
+
result = api_instance.repos_partial_update(owner, opts)
|
301
|
+
p result
|
302
|
+
rescue CloudsmithApi::ApiError => e
|
303
|
+
puts "Exception when calling ReposApi->repos_partial_update: #{e}"
|
304
|
+
end
|
305
|
+
```
|
306
|
+
|
307
|
+
### Parameters
|
308
|
+
|
309
|
+
Name | Type | Description | Notes
|
310
|
+
------------- | ------------- | ------------- | -------------
|
311
|
+
**owner** | **String**| |
|
312
|
+
**data** | [**ReposPartialUpdate**](ReposPartialUpdate.md)| | [optional]
|
313
|
+
|
314
|
+
### Return type
|
315
|
+
|
316
|
+
[**Repository**](Repository.md)
|
317
|
+
|
318
|
+
### Authorization
|
319
|
+
|
320
|
+
[apikey](../README.md#apikey), [csrf_token](../README.md#csrf_token)
|
321
|
+
|
322
|
+
### HTTP request headers
|
323
|
+
|
324
|
+
- **Content-Type**: application/json
|
325
|
+
- **Accept**: Not defined
|
326
|
+
|
327
|
+
|
328
|
+
|
139
329
|
# **repos_read**
|
140
330
|
> Repository repos_read(owner, slug)
|
141
331
|
|
142
|
-
|
332
|
+
Get a specific repository.
|
143
333
|
|
144
|
-
|
334
|
+
Get a specific repository.
|
145
335
|
|
146
336
|
### Example
|
147
337
|
```ruby
|
@@ -168,7 +358,7 @@ slug = "slug_example" # String |
|
|
168
358
|
|
169
359
|
|
170
360
|
begin
|
171
|
-
#
|
361
|
+
#Get a specific repository.
|
172
362
|
result = api_instance.repos_read(owner, slug)
|
173
363
|
p result
|
174
364
|
rescue CloudsmithApi::ApiError => e
|
data/docs/ReposCreate.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# CloudsmithApi::ReposCreate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**description** | **String** | None | [optional]
|
7
|
+
**index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
|
8
|
+
**is_open_source** | **BOOLEAN** | None | [optional]
|
9
|
+
**is_private** | **BOOLEAN** | None | [optional]
|
10
|
+
**is_public** | **BOOLEAN** | None | [optional]
|
11
|
+
**name** | **String** | A descriptive name for the repository. |
|
12
|
+
**namespace** | **String** | None |
|
13
|
+
**repository_type_str** | **String** | None | [optional]
|
14
|
+
**slug** | **String** | None |
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# CloudsmithApi::ReposPartialUpdate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**description** | **String** | None | [optional]
|
7
|
+
**index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
|
8
|
+
**is_open_source** | **BOOLEAN** | None | [optional]
|
9
|
+
**is_private** | **BOOLEAN** | None | [optional]
|
10
|
+
**is_public** | **BOOLEAN** | None | [optional]
|
11
|
+
**name** | **String** | A descriptive name for the repository. | [optional]
|
12
|
+
**namespace** | **String** | None | [optional]
|
13
|
+
**repository_type_str** | **String** | None | [optional]
|
14
|
+
**slug** | **String** | None | [optional]
|
15
|
+
|
16
|
+
|
data/docs/Repository.md
CHANGED
@@ -6,13 +6,13 @@ Name | Type | Description | Notes
|
|
6
6
|
**cdn_url** | **String** | | [optional]
|
7
7
|
**created_at** | **String** | | [optional]
|
8
8
|
**deleted_at** | **String** | | [optional]
|
9
|
-
**description** | **String** | |
|
9
|
+
**description** | **String** | | [optional]
|
10
10
|
**gpg_keys** | [**Array<ReposGpgKeys>**](ReposGpgKeys.md) | | [optional]
|
11
11
|
**index_files** | **BOOLEAN** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional]
|
12
|
-
**is_open_source** | **BOOLEAN** | |
|
13
|
-
**is_private** | **BOOLEAN** | |
|
14
|
-
**is_public** | **BOOLEAN** | |
|
15
|
-
**name** | **String** | A descriptive name for the repository. |
|
12
|
+
**is_open_source** | **BOOLEAN** | | [optional]
|
13
|
+
**is_private** | **BOOLEAN** | | [optional]
|
14
|
+
**is_public** | **BOOLEAN** | | [optional]
|
15
|
+
**name** | **String** | A descriptive name for the repository. |
|
16
16
|
**namespace** | **String** | |
|
17
17
|
**namespace_url** | **String** | | [optional]
|
18
18
|
**num_downloads** | **Integer** | The number of downloads for packages in the repository. | [optional]
|
@@ -24,7 +24,7 @@ Name | Type | Description | Notes
|
|
24
24
|
**self_url** | **String** | | [optional]
|
25
25
|
**size** | **Integer** | The calculated size of the repository. | [optional]
|
26
26
|
**size_str** | **String** | | [optional]
|
27
|
-
**slug** | **String** |
|
27
|
+
**slug** | **String** | |
|
28
28
|
**slug_perm** | **String** | | [optional]
|
29
29
|
|
30
30
|
|
data/lib/cloudsmith-api.rb
CHANGED
@@ -82,7 +82,9 @@ require 'cloudsmith-api/models/packages_validateupload_vagrant'
|
|
82
82
|
require 'cloudsmith-api/models/packagesownerrepo_architectures'
|
83
83
|
require 'cloudsmith-api/models/packagesownerrepo_files'
|
84
84
|
require 'cloudsmith-api/models/raw_package_upload'
|
85
|
+
require 'cloudsmith-api/models/repos_create'
|
85
86
|
require 'cloudsmith-api/models/repos_gpg_keys'
|
87
|
+
require 'cloudsmith-api/models/repos_partial_update'
|
86
88
|
require 'cloudsmith-api/models/repository'
|
87
89
|
require 'cloudsmith-api/models/repository_token'
|
88
90
|
require 'cloudsmith-api/models/repository_token_refresh'
|
@@ -71,6 +71,117 @@ module CloudsmithApi
|
|
71
71
|
return data, status_code, headers
|
72
72
|
end
|
73
73
|
|
74
|
+
# Create a new repository in a given namespace.
|
75
|
+
# Create a new repository in a given namespace.
|
76
|
+
# @param owner
|
77
|
+
# @param [Hash] opts the optional parameters
|
78
|
+
# @option opts [ReposCreate] :data
|
79
|
+
# @return [Repository]
|
80
|
+
def repos_create(owner, opts = {})
|
81
|
+
data, _status_code, _headers = repos_create_with_http_info(owner, opts)
|
82
|
+
return data
|
83
|
+
end
|
84
|
+
|
85
|
+
# Create a new repository in a given namespace.
|
86
|
+
# Create a new repository in a given namespace.
|
87
|
+
# @param owner
|
88
|
+
# @param [Hash] opts the optional parameters
|
89
|
+
# @option opts [ReposCreate] :data
|
90
|
+
# @return [Array<(Repository, Fixnum, Hash)>] Repository data, response status code and response headers
|
91
|
+
def repos_create_with_http_info(owner, opts = {})
|
92
|
+
if @api_client.config.debugging
|
93
|
+
@api_client.config.logger.debug "Calling API: ReposApi.repos_create ..."
|
94
|
+
end
|
95
|
+
# verify the required parameter 'owner' is set
|
96
|
+
if @api_client.config.client_side_validation && owner.nil?
|
97
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_create"
|
98
|
+
end
|
99
|
+
# resource path
|
100
|
+
local_var_path = "/repos/{owner}/".sub('{' + 'owner' + '}', owner.to_s)
|
101
|
+
|
102
|
+
# query parameters
|
103
|
+
query_params = {}
|
104
|
+
|
105
|
+
# header parameters
|
106
|
+
header_params = {}
|
107
|
+
# HTTP header 'Content-Type'
|
108
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
109
|
+
|
110
|
+
# form parameters
|
111
|
+
form_params = {}
|
112
|
+
|
113
|
+
# http body (model)
|
114
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
115
|
+
auth_names = ['apikey', 'csrf_token']
|
116
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
117
|
+
:header_params => header_params,
|
118
|
+
:query_params => query_params,
|
119
|
+
:form_params => form_params,
|
120
|
+
:body => post_body,
|
121
|
+
:auth_names => auth_names,
|
122
|
+
:return_type => 'Repository')
|
123
|
+
if @api_client.config.debugging
|
124
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
125
|
+
end
|
126
|
+
return data, status_code, headers
|
127
|
+
end
|
128
|
+
|
129
|
+
# Delete a repository in a given namespace.
|
130
|
+
# Delete a repository in a given namespace.
|
131
|
+
# @param owner
|
132
|
+
# @param slug
|
133
|
+
# @param [Hash] opts the optional parameters
|
134
|
+
# @return [nil]
|
135
|
+
def repos_delete(owner, slug, opts = {})
|
136
|
+
repos_delete_with_http_info(owner, slug, opts)
|
137
|
+
return nil
|
138
|
+
end
|
139
|
+
|
140
|
+
# Delete a repository in a given namespace.
|
141
|
+
# Delete a repository in a given namespace.
|
142
|
+
# @param owner
|
143
|
+
# @param slug
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
146
|
+
def repos_delete_with_http_info(owner, slug, opts = {})
|
147
|
+
if @api_client.config.debugging
|
148
|
+
@api_client.config.logger.debug "Calling API: ReposApi.repos_delete ..."
|
149
|
+
end
|
150
|
+
# verify the required parameter 'owner' is set
|
151
|
+
if @api_client.config.client_side_validation && owner.nil?
|
152
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_delete"
|
153
|
+
end
|
154
|
+
# verify the required parameter 'slug' is set
|
155
|
+
if @api_client.config.client_side_validation && slug.nil?
|
156
|
+
fail ArgumentError, "Missing the required parameter 'slug' when calling ReposApi.repos_delete"
|
157
|
+
end
|
158
|
+
# resource path
|
159
|
+
local_var_path = "/repos/{owner}/{slug}/".sub('{' + 'owner' + '}', owner.to_s).sub('{' + 'slug' + '}', slug.to_s)
|
160
|
+
|
161
|
+
# query parameters
|
162
|
+
query_params = {}
|
163
|
+
|
164
|
+
# header parameters
|
165
|
+
header_params = {}
|
166
|
+
|
167
|
+
# form parameters
|
168
|
+
form_params = {}
|
169
|
+
|
170
|
+
# http body (model)
|
171
|
+
post_body = nil
|
172
|
+
auth_names = ['apikey', 'csrf_token']
|
173
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
174
|
+
:header_params => header_params,
|
175
|
+
:query_params => query_params,
|
176
|
+
:form_params => form_params,
|
177
|
+
:body => post_body,
|
178
|
+
:auth_names => auth_names)
|
179
|
+
if @api_client.config.debugging
|
180
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
181
|
+
end
|
182
|
+
return data, status_code, headers
|
183
|
+
end
|
184
|
+
|
74
185
|
# Get a list of all repositories within a namespace.
|
75
186
|
# Get a list of all repositories within a namespace.
|
76
187
|
# @param owner
|
@@ -128,8 +239,63 @@ module CloudsmithApi
|
|
128
239
|
return data, status_code, headers
|
129
240
|
end
|
130
241
|
|
131
|
-
#
|
132
|
-
#
|
242
|
+
# Update details about a repository in a given namespace.
|
243
|
+
# Update details about a repository in a given namespace.
|
244
|
+
# @param owner
|
245
|
+
# @param [Hash] opts the optional parameters
|
246
|
+
# @option opts [ReposPartialUpdate] :data
|
247
|
+
# @return [Repository]
|
248
|
+
def repos_partial_update(owner, opts = {})
|
249
|
+
data, _status_code, _headers = repos_partial_update_with_http_info(owner, opts)
|
250
|
+
return data
|
251
|
+
end
|
252
|
+
|
253
|
+
# Update details about a repository in a given namespace.
|
254
|
+
# Update details about a repository in a given namespace.
|
255
|
+
# @param owner
|
256
|
+
# @param [Hash] opts the optional parameters
|
257
|
+
# @option opts [ReposPartialUpdate] :data
|
258
|
+
# @return [Array<(Repository, Fixnum, Hash)>] Repository data, response status code and response headers
|
259
|
+
def repos_partial_update_with_http_info(owner, opts = {})
|
260
|
+
if @api_client.config.debugging
|
261
|
+
@api_client.config.logger.debug "Calling API: ReposApi.repos_partial_update ..."
|
262
|
+
end
|
263
|
+
# verify the required parameter 'owner' is set
|
264
|
+
if @api_client.config.client_side_validation && owner.nil?
|
265
|
+
fail ArgumentError, "Missing the required parameter 'owner' when calling ReposApi.repos_partial_update"
|
266
|
+
end
|
267
|
+
# resource path
|
268
|
+
local_var_path = "/repos/{owner}/{slug}/".sub('{' + 'owner' + '}', owner.to_s)
|
269
|
+
|
270
|
+
# query parameters
|
271
|
+
query_params = {}
|
272
|
+
|
273
|
+
# header parameters
|
274
|
+
header_params = {}
|
275
|
+
# HTTP header 'Content-Type'
|
276
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
277
|
+
|
278
|
+
# form parameters
|
279
|
+
form_params = {}
|
280
|
+
|
281
|
+
# http body (model)
|
282
|
+
post_body = @api_client.object_to_http_body(opts[:'data'])
|
283
|
+
auth_names = ['apikey', 'csrf_token']
|
284
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
285
|
+
:header_params => header_params,
|
286
|
+
:query_params => query_params,
|
287
|
+
:form_params => form_params,
|
288
|
+
:body => post_body,
|
289
|
+
:auth_names => auth_names,
|
290
|
+
:return_type => 'Repository')
|
291
|
+
if @api_client.config.debugging
|
292
|
+
@api_client.config.logger.debug "API called: ReposApi#repos_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
293
|
+
end
|
294
|
+
return data, status_code, headers
|
295
|
+
end
|
296
|
+
|
297
|
+
# Get a specific repository.
|
298
|
+
# Get a specific repository.
|
133
299
|
# @param owner
|
134
300
|
# @param slug
|
135
301
|
# @param [Hash] opts the optional parameters
|
@@ -139,8 +305,8 @@ module CloudsmithApi
|
|
139
305
|
return data
|
140
306
|
end
|
141
307
|
|
142
|
-
#
|
143
|
-
#
|
308
|
+
# Get a specific repository.
|
309
|
+
# Get a specific repository.
|
144
310
|
# @param owner
|
145
311
|
# @param slug
|
146
312
|
# @param [Hash] opts the optional parameters
|