swaggy_jenkins 1.5.0 → 2.0.0
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 +7 -7
- data/README.md +5 -5
- data/bin/bundle +1 -1
- data/bin/byebug +2 -4
- data/bin/coderay +2 -4
- data/bin/htmldiff +2 -4
- data/bin/ldiff +2 -4
- data/bin/pry +2 -4
- data/bin/rake +2 -4
- data/bin/rspec +2 -4
- data/bin/rubocop +2 -4
- data/bin/ruby-parse +2 -4
- data/bin/ruby-rewrite +2 -4
- data/lib/swaggy_jenkins/api/base_api.rb +2 -2
- data/lib/swaggy_jenkins/api/blue_ocean_api.rb +2 -2
- data/lib/swaggy_jenkins/api/remote_access_api.rb +2 -2
- data/lib/swaggy_jenkins/api_client.rb +5 -3
- data/lib/swaggy_jenkins/api_error.rb +2 -2
- data/lib/swaggy_jenkins/configuration.rb +4 -3
- data/lib/swaggy_jenkins/models/all_view.rb +3 -2
- data/lib/swaggy_jenkins/models/branch_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/branch_impllinks.rb +3 -2
- data/lib/swaggy_jenkins/models/branch_implpermissions.rb +3 -2
- data/lib/swaggy_jenkins/models/cause_action.rb +3 -2
- data/lib/swaggy_jenkins/models/cause_user_id_cause.rb +3 -2
- data/lib/swaggy_jenkins/models/classes_by_class.rb +3 -2
- data/lib/swaggy_jenkins/models/clock_difference.rb +3 -2
- data/lib/swaggy_jenkins/models/computer_set.rb +3 -2
- data/lib/swaggy_jenkins/models/default_crumb_issuer.rb +3 -2
- data/lib/swaggy_jenkins/models/disk_space_monitor_descriptor_disk_space.rb +3 -2
- data/lib/swaggy_jenkins/models/empty_change_log_set.rb +3 -2
- data/lib/swaggy_jenkins/models/extension_class_container_impl1.rb +3 -2
- data/lib/swaggy_jenkins/models/extension_class_container_impl1links.rb +3 -2
- data/lib/swaggy_jenkins/models/extension_class_container_impl1map.rb +3 -2
- data/lib/swaggy_jenkins/models/extension_class_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/extension_class_impllinks.rb +3 -2
- data/lib/swaggy_jenkins/models/favorite_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/favorite_impllinks.rb +3 -2
- data/lib/swaggy_jenkins/models/free_style_build.rb +3 -2
- data/lib/swaggy_jenkins/models/free_style_project.rb +3 -2
- data/lib/swaggy_jenkins/models/free_style_projectactions.rb +3 -2
- data/lib/swaggy_jenkins/models/free_style_projecthealth_report.rb +3 -2
- data/lib/swaggy_jenkins/models/generic_resource.rb +3 -2
- data/lib/swaggy_jenkins/models/github_content.rb +3 -2
- data/lib/swaggy_jenkins/models/github_file.rb +3 -2
- data/lib/swaggy_jenkins/models/github_organization.rb +3 -2
- data/lib/swaggy_jenkins/models/github_organizationlinks.rb +3 -2
- data/lib/swaggy_jenkins/models/github_repositories.rb +3 -2
- data/lib/swaggy_jenkins/models/github_repositorieslinks.rb +3 -2
- data/lib/swaggy_jenkins/models/github_repository.rb +3 -2
- data/lib/swaggy_jenkins/models/github_repositorylinks.rb +3 -2
- data/lib/swaggy_jenkins/models/github_repositorypermissions.rb +3 -2
- data/lib/swaggy_jenkins/models/github_respository_container.rb +3 -2
- data/lib/swaggy_jenkins/models/github_respository_containerlinks.rb +3 -2
- data/lib/swaggy_jenkins/models/github_scm.rb +3 -2
- data/lib/swaggy_jenkins/models/github_scmlinks.rb +3 -2
- data/lib/swaggy_jenkins/models/hudson.rb +3 -2
- data/lib/swaggy_jenkins/models/hudson_master_computer.rb +3 -2
- data/lib/swaggy_jenkins/models/hudson_master_computerexecutors.rb +3 -2
- data/lib/swaggy_jenkins/models/hudson_master_computermonitor_data.rb +3 -2
- data/lib/swaggy_jenkins/models/hudsonassigned_labels.rb +3 -2
- data/lib/swaggy_jenkins/models/input_step_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/input_step_impllinks.rb +3 -2
- data/lib/swaggy_jenkins/models/label1.rb +3 -2
- data/lib/swaggy_jenkins/models/link.rb +3 -2
- data/lib/swaggy_jenkins/models/list_view.rb +3 -2
- data/lib/swaggy_jenkins/models/multibranch_pipeline.rb +3 -2
- data/lib/swaggy_jenkins/models/null_scm.rb +3 -2
- data/lib/swaggy_jenkins/models/organisation.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_activity.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_activityartifacts.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_branchesitem.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_branchesitemlatest_run.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_request.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_requestlinks.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_folder_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_impllinks.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_run.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_run_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_run_impllinks.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_run_node.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_run_nodeedges.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_runartifacts.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_step_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/pipeline_step_impllinks.rb +3 -2
- data/lib/swaggy_jenkins/models/pipelinelatest_run.rb +3 -2
- data/lib/swaggy_jenkins/models/pipelinelatest_runartifacts.rb +3 -2
- data/lib/swaggy_jenkins/models/queue.rb +3 -2
- data/lib/swaggy_jenkins/models/queue_blocked_item.rb +3 -2
- data/lib/swaggy_jenkins/models/queue_item_impl.rb +3 -2
- data/lib/swaggy_jenkins/models/queue_left_item.rb +3 -2
- data/lib/swaggy_jenkins/models/response_time_monitor_data.rb +3 -2
- data/lib/swaggy_jenkins/models/string_parameter_definition.rb +3 -2
- data/lib/swaggy_jenkins/models/string_parameter_value.rb +3 -2
- data/lib/swaggy_jenkins/models/swap_space_monitor_memory_usage2.rb +3 -2
- data/lib/swaggy_jenkins/models/unlabeled_load_statistics.rb +3 -2
- data/lib/swaggy_jenkins/models/user.rb +3 -2
- data/lib/swaggy_jenkins/version.rb +3 -3
- data/lib/swaggy_jenkins.rb +2 -2
- data/spec/api/base_api_spec.rb +2 -2
- data/spec/api/blue_ocean_api_spec.rb +2 -2
- data/spec/api/remote_access_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/all_view_spec.rb +2 -2
- data/spec/models/branch_impl_spec.rb +2 -2
- data/spec/models/branch_impllinks_spec.rb +2 -2
- data/spec/models/branch_implpermissions_spec.rb +2 -2
- data/spec/models/cause_action_spec.rb +2 -2
- data/spec/models/cause_user_id_cause_spec.rb +2 -2
- data/spec/models/classes_by_class_spec.rb +2 -2
- data/spec/models/clock_difference_spec.rb +2 -2
- data/spec/models/computer_set_spec.rb +2 -2
- data/spec/models/default_crumb_issuer_spec.rb +2 -2
- data/spec/models/disk_space_monitor_descriptor_disk_space_spec.rb +2 -2
- data/spec/models/empty_change_log_set_spec.rb +2 -2
- data/spec/models/extension_class_container_impl1_spec.rb +2 -2
- data/spec/models/extension_class_container_impl1links_spec.rb +2 -2
- data/spec/models/extension_class_container_impl1map_spec.rb +2 -2
- data/spec/models/extension_class_impl_spec.rb +2 -2
- data/spec/models/extension_class_impllinks_spec.rb +2 -2
- data/spec/models/favorite_impl_spec.rb +2 -2
- data/spec/models/favorite_impllinks_spec.rb +2 -2
- data/spec/models/free_style_build_spec.rb +2 -2
- data/spec/models/free_style_project_spec.rb +2 -2
- data/spec/models/free_style_projectactions_spec.rb +2 -2
- data/spec/models/free_style_projecthealth_report_spec.rb +2 -2
- data/spec/models/generic_resource_spec.rb +2 -2
- data/spec/models/github_content_spec.rb +2 -2
- data/spec/models/github_file_spec.rb +2 -2
- data/spec/models/github_organization_spec.rb +2 -2
- data/spec/models/github_organizationlinks_spec.rb +2 -2
- data/spec/models/github_repositories_spec.rb +2 -2
- data/spec/models/github_repositorieslinks_spec.rb +2 -2
- data/spec/models/github_repository_spec.rb +2 -2
- data/spec/models/github_repositorylinks_spec.rb +2 -2
- data/spec/models/github_repositorypermissions_spec.rb +2 -2
- data/spec/models/github_respository_container_spec.rb +2 -2
- data/spec/models/github_respository_containerlinks_spec.rb +2 -2
- data/spec/models/github_scm_spec.rb +2 -2
- data/spec/models/github_scmlinks_spec.rb +2 -2
- data/spec/models/hudson_master_computer_spec.rb +2 -2
- data/spec/models/hudson_master_computerexecutors_spec.rb +2 -2
- data/spec/models/hudson_master_computermonitor_data_spec.rb +2 -2
- data/spec/models/hudson_spec.rb +2 -2
- data/spec/models/hudsonassigned_labels_spec.rb +2 -2
- data/spec/models/input_step_impl_spec.rb +2 -2
- data/spec/models/input_step_impllinks_spec.rb +2 -2
- data/spec/models/label1_spec.rb +2 -2
- data/spec/models/link_spec.rb +2 -2
- data/spec/models/list_view_spec.rb +2 -2
- data/spec/models/multibranch_pipeline_spec.rb +2 -2
- data/spec/models/null_scm_spec.rb +2 -2
- data/spec/models/organisation_spec.rb +2 -2
- data/spec/models/pipeline_activity_spec.rb +2 -2
- data/spec/models/pipeline_activityartifacts_spec.rb +2 -2
- data/spec/models/pipeline_branchesitem_spec.rb +2 -2
- data/spec/models/pipeline_branchesitemlatest_run_spec.rb +2 -2
- data/spec/models/pipeline_branchesitempull_request_spec.rb +2 -2
- data/spec/models/pipeline_branchesitempull_requestlinks_spec.rb +2 -2
- data/spec/models/pipeline_folder_impl_spec.rb +2 -2
- data/spec/models/pipeline_impl_spec.rb +2 -2
- data/spec/models/pipeline_impllinks_spec.rb +2 -2
- data/spec/models/pipeline_run_impl_spec.rb +2 -2
- data/spec/models/pipeline_run_impllinks_spec.rb +2 -2
- data/spec/models/pipeline_run_node_spec.rb +2 -2
- data/spec/models/pipeline_run_nodeedges_spec.rb +2 -2
- data/spec/models/pipeline_run_spec.rb +2 -2
- data/spec/models/pipeline_runartifacts_spec.rb +2 -2
- data/spec/models/pipeline_spec.rb +2 -2
- data/spec/models/pipeline_step_impl_spec.rb +2 -2
- data/spec/models/pipeline_step_impllinks_spec.rb +2 -2
- data/spec/models/pipelinelatest_run_spec.rb +2 -2
- data/spec/models/pipelinelatest_runartifacts_spec.rb +2 -2
- data/spec/models/queue_blocked_item_spec.rb +2 -2
- data/spec/models/queue_item_impl_spec.rb +2 -2
- data/spec/models/queue_left_item_spec.rb +2 -2
- data/spec/models/queue_spec.rb +2 -2
- data/spec/models/response_time_monitor_data_spec.rb +2 -2
- data/spec/models/string_parameter_definition_spec.rb +2 -2
- data/spec/models/string_parameter_value_spec.rb +2 -2
- data/spec/models/swap_space_monitor_memory_usage2_spec.rb +2 -2
- data/spec/models/unlabeled_load_statistics_spec.rb +2 -2
- data/spec/models/user_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/swaggy_jenkins.gemspec +2 -2
- metadata +70 -70
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7675ab14afafbadf267f39d7bc5e1f6a26baf9d504f589cc7fbaf140e74503e2
|
4
|
+
data.tar.gz: bb9a2574abde710ff371ab4ffdf4639d5e875e11bcbe6dc311b4836748f2e712
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab9b49b9c97a1316250b8816ba54e5979f2fc9af9fcdcfea7f4656f7e0f6d48f6616d39901ee00a80b2ae10f51ac200413486569a3b692705a032f3e292416cb
|
7
|
+
data.tar.gz: 9c3c9763341ce8a1a5feead4e1751f931ca11211a6433bf04839c469a209fc23a2836cbe118bc1444e23958f46be12986b353e964b39340b7b3fa29fc653dc16
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
swaggy_jenkins (
|
4
|
+
swaggy_jenkins (2.0.0)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -16,8 +16,8 @@ GEM
|
|
16
16
|
ffi (1.15.5)
|
17
17
|
jaro_winkler (1.5.4)
|
18
18
|
method_source (1.0.0)
|
19
|
-
parallel (1.
|
20
|
-
parser (3.1.
|
19
|
+
parallel (1.22.1)
|
20
|
+
parser (3.1.2.0)
|
21
21
|
ast (~> 2.4.1)
|
22
22
|
pry (0.13.1)
|
23
23
|
coderay (~> 1.1)
|
@@ -25,7 +25,7 @@ GEM
|
|
25
25
|
pry-byebug (3.9.0)
|
26
26
|
byebug (~> 11.0)
|
27
27
|
pry (~> 0.13.0)
|
28
|
-
psych (4.0.
|
28
|
+
psych (4.0.4)
|
29
29
|
stringio
|
30
30
|
rainbow (3.1.1)
|
31
31
|
rake (13.0.6)
|
@@ -38,7 +38,7 @@ GEM
|
|
38
38
|
rspec-expectations (3.11.0)
|
39
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
40
|
rspec-support (~> 3.11.0)
|
41
|
-
rspec-mocks (3.11.
|
41
|
+
rspec-mocks (3.11.1)
|
42
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
43
|
rspec-support (~> 3.11.0)
|
44
44
|
rspec-support (3.11.0)
|
@@ -51,7 +51,7 @@ GEM
|
|
51
51
|
ruby-progressbar (~> 1.7)
|
52
52
|
unicode-display_width (>= 1.4.0, < 1.6)
|
53
53
|
ruby-progressbar (1.11.0)
|
54
|
-
stringio (3.0.
|
54
|
+
stringio (3.0.2)
|
55
55
|
typhoeus (1.4.0)
|
56
56
|
ethon (>= 0.9.0)
|
57
57
|
unicode-display_width (1.5.0)
|
@@ -67,4 +67,4 @@ DEPENDENCIES
|
|
67
67
|
swaggy_jenkins!
|
68
68
|
|
69
69
|
BUNDLED WITH
|
70
|
-
2.3.
|
70
|
+
2.3.11
|
data/README.md
CHANGED
@@ -6,8 +6,8 @@ Jenkins API clients generated from Swagger / Open API specification
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
|
-
- API version:
|
10
|
-
- Package version:
|
9
|
+
- API version: 2.0.0
|
10
|
+
- Package version: 2.0.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://github.com/cliffano/swaggy-jenkins](http://github.com/cliffano/swaggy-jenkins)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build swaggy_jenkins.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./swaggy_jenkins-
|
27
|
+
gem install ./swaggy_jenkins-2.0.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./swaggy_jenkins-
|
30
|
+
(for development, run `gem install --dev ./swaggy_jenkins-2.0.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'swaggy_jenkins', '~>
|
36
|
+
gem 'swaggy_jenkins', '~> 2.0.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/bin/bundle
CHANGED
data/bin/byebug
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/coderay
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/htmldiff
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/ldiff
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/pry
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/rake
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/rspec
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/rubocop
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/ruby-parse
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
data/bin/ruby-rewrite
CHANGED
@@ -8,11 +8,9 @@
|
|
8
8
|
# this file is here to facilitate running it.
|
9
9
|
#
|
10
10
|
|
11
|
-
|
12
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
-
Pathname.new(__FILE__).realpath)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
16
|
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -93,6 +93,7 @@ module SwaggyJenkinsClient
|
|
93
93
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
94
94
|
query_params = opts[:query_params] || {}
|
95
95
|
form_params = opts[:form_params] || {}
|
96
|
+
follow_location = opts[:follow_location] || true
|
96
97
|
|
97
98
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
98
99
|
|
@@ -109,7 +110,8 @@ module SwaggyJenkinsClient
|
|
109
110
|
:ssl_verifyhost => _verify_ssl_host,
|
110
111
|
:sslcert => @config.cert_file,
|
111
112
|
:sslkey => @config.key_file,
|
112
|
-
:verbose => @config.debugging
|
113
|
+
:verbose => @config.debugging,
|
114
|
+
:followlocation => follow_location
|
113
115
|
}
|
114
116
|
|
115
117
|
# set custom cert, if provided
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -133,6 +133,7 @@ module SwaggyJenkinsClient
|
|
133
133
|
# https://github.com/typhoeus/ethon/blob/master/lib/ethon/easy/queryable.rb#L96
|
134
134
|
attr_accessor :params_encoding
|
135
135
|
|
136
|
+
|
136
137
|
attr_accessor :inject_format
|
137
138
|
|
138
139
|
attr_accessor :force_ending_format
|
@@ -150,10 +151,10 @@ module SwaggyJenkinsClient
|
|
150
151
|
@client_side_validation = true
|
151
152
|
@verify_ssl = true
|
152
153
|
@verify_ssl_host = true
|
153
|
-
@params_encoding = nil
|
154
154
|
@cert_file = nil
|
155
155
|
@key_file = nil
|
156
156
|
@timeout = 0
|
157
|
+
@params_encoding = nil
|
157
158
|
@debugging = false
|
158
159
|
@inject_format = false
|
159
160
|
@force_ending_format = false
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -125,6 +125,7 @@ module SwaggyJenkinsClient
|
|
125
125
|
# @return [Object] Returns the model itself
|
126
126
|
def build_from_hash(attributes)
|
127
127
|
return nil unless attributes.is_a?(Hash)
|
128
|
+
attributes = attributes.transform_keys(&:to_sym)
|
128
129
|
self.class.openapi_types.each_pair do |key, type|
|
129
130
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
130
131
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -217,6 +217,7 @@ module SwaggyJenkinsClient
|
|
217
217
|
# @return [Object] Returns the model itself
|
218
218
|
def build_from_hash(attributes)
|
219
219
|
return nil unless attributes.is_a?(Hash)
|
220
|
+
attributes = attributes.transform_keys(&:to_sym)
|
220
221
|
self.class.openapi_types.each_pair do |key, type|
|
221
222
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
222
223
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -143,6 +143,7 @@ module SwaggyJenkinsClient
|
|
143
143
|
# @return [Object] Returns the model itself
|
144
144
|
def build_from_hash(attributes)
|
145
145
|
return nil unless attributes.is_a?(Hash)
|
146
|
+
attributes = attributes.transform_keys(&:to_sym)
|
146
147
|
self.class.openapi_types.each_pair do |key, type|
|
147
148
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
148
149
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -143,6 +143,7 @@ module SwaggyJenkinsClient
|
|
143
143
|
# @return [Object] Returns the model itself
|
144
144
|
def build_from_hash(attributes)
|
145
145
|
return nil unless attributes.is_a?(Hash)
|
146
|
+
attributes = attributes.transform_keys(&:to_sym)
|
146
147
|
self.class.openapi_types.each_pair do |key, type|
|
147
148
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
148
149
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -118,6 +118,7 @@ module SwaggyJenkinsClient
|
|
118
118
|
# @return [Object] Returns the model itself
|
119
119
|
def build_from_hash(attributes)
|
120
120
|
return nil unless attributes.is_a?(Hash)
|
121
|
+
attributes = attributes.transform_keys(&:to_sym)
|
121
122
|
self.class.openapi_types.each_pair do |key, type|
|
122
123
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
123
124
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -134,6 +134,7 @@ module SwaggyJenkinsClient
|
|
134
134
|
# @return [Object] Returns the model itself
|
135
135
|
def build_from_hash(attributes)
|
136
136
|
return nil unless attributes.is_a?(Hash)
|
137
|
+
attributes = attributes.transform_keys(&:to_sym)
|
137
138
|
self.class.openapi_types.each_pair do |key, type|
|
138
139
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
139
140
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -118,6 +118,7 @@ module SwaggyJenkinsClient
|
|
118
118
|
# @return [Object] Returns the model itself
|
119
119
|
def build_from_hash(attributes)
|
120
120
|
return nil unless attributes.is_a?(Hash)
|
121
|
+
attributes = attributes.transform_keys(&:to_sym)
|
121
122
|
self.class.openapi_types.each_pair do |key, type|
|
122
123
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
123
124
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -116,6 +116,7 @@ module SwaggyJenkinsClient
|
|
116
116
|
# @return [Object] Returns the model itself
|
117
117
|
def build_from_hash(attributes)
|
118
118
|
return nil unless attributes.is_a?(Hash)
|
119
|
+
attributes = attributes.transform_keys(&:to_sym)
|
119
120
|
self.class.openapi_types.each_pair do |key, type|
|
120
121
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
121
122
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -145,6 +145,7 @@ module SwaggyJenkinsClient
|
|
145
145
|
# @return [Object] Returns the model itself
|
146
146
|
def build_from_hash(attributes)
|
147
147
|
return nil unless attributes.is_a?(Hash)
|
148
|
+
attributes = attributes.transform_keys(&:to_sym)
|
148
149
|
self.class.openapi_types.each_pair do |key, type|
|
149
150
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
150
151
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -125,6 +125,7 @@ module SwaggyJenkinsClient
|
|
125
125
|
# @return [Object] Returns the model itself
|
126
126
|
def build_from_hash(attributes)
|
127
127
|
return nil unless attributes.is_a?(Hash)
|
128
|
+
attributes = attributes.transform_keys(&:to_sym)
|
128
129
|
self.class.openapi_types.each_pair do |key, type|
|
129
130
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
130
131
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -134,6 +134,7 @@ module SwaggyJenkinsClient
|
|
134
134
|
# @return [Object] Returns the model itself
|
135
135
|
def build_from_hash(attributes)
|
136
136
|
return nil unless attributes.is_a?(Hash)
|
137
|
+
attributes = attributes.transform_keys(&:to_sym)
|
137
138
|
self.class.openapi_types.each_pair do |key, type|
|
138
139
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
139
140
|
self.send("#{key}=", nil)
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 6.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -116,6 +116,7 @@ module SwaggyJenkinsClient
|
|
116
116
|
# @return [Object] Returns the model itself
|
117
117
|
def build_from_hash(attributes)
|
118
118
|
return nil unless attributes.is_a?(Hash)
|
119
|
+
attributes = attributes.transform_keys(&:to_sym)
|
119
120
|
self.class.openapi_types.each_pair do |key, type|
|
120
121
|
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
121
122
|
self.send("#{key}=", nil)
|