swaggy_jenkins 2.0.1.pre.pre.0 → 3.1.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 +35 -31
- data/README.md +8 -6
- data/bin/bundle +6 -11
- data/bin/byebug +2 -2
- data/bin/coderay +2 -2
- data/bin/htmldiff +2 -2
- data/bin/ldiff +2 -2
- data/bin/pry +2 -2
- data/bin/racc +27 -0
- data/bin/rake +2 -2
- data/bin/rspec +2 -2
- data/bin/rubocop +2 -2
- data/bin/ruby-parse +2 -2
- data/bin/ruby-rewrite +2 -2
- data/lib/swaggy_jenkins/api/base_api.rb +4 -4
- data/lib/swaggy_jenkins/api/blue_ocean_api.rb +39 -39
- data/lib/swaggy_jenkins/api/remote_access_api.rb +16 -16
- data/lib/swaggy_jenkins/api_client.rb +25 -24
- data/lib/swaggy_jenkins/api_error.rb +4 -3
- data/lib/swaggy_jenkins/configuration.rb +40 -11
- data/lib/swaggy_jenkins/models/all_view.rb +25 -24
- data/lib/swaggy_jenkins/models/branch_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/branch_impllinks.rb +25 -24
- data/lib/swaggy_jenkins/models/branch_implpermissions.rb +25 -24
- data/lib/swaggy_jenkins/models/cause_action.rb +25 -24
- data/lib/swaggy_jenkins/models/cause_user_id_cause.rb +25 -24
- data/lib/swaggy_jenkins/models/classes_by_class.rb +25 -24
- data/lib/swaggy_jenkins/models/clock_difference.rb +25 -24
- data/lib/swaggy_jenkins/models/computer_set.rb +25 -24
- data/lib/swaggy_jenkins/models/default_crumb_issuer.rb +25 -24
- data/lib/swaggy_jenkins/models/disk_space_monitor_descriptor_disk_space.rb +25 -24
- data/lib/swaggy_jenkins/models/empty_change_log_set.rb +25 -24
- data/lib/swaggy_jenkins/models/extension_class_container_impl1.rb +25 -24
- data/lib/swaggy_jenkins/models/extension_class_container_impl1links.rb +25 -24
- data/lib/swaggy_jenkins/models/extension_class_container_impl1map.rb +25 -24
- data/lib/swaggy_jenkins/models/extension_class_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/extension_class_impllinks.rb +25 -24
- data/lib/swaggy_jenkins/models/favorite_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/favorite_impllinks.rb +25 -24
- data/lib/swaggy_jenkins/models/free_style_build.rb +25 -24
- data/lib/swaggy_jenkins/models/free_style_project.rb +25 -24
- data/lib/swaggy_jenkins/models/free_style_projectactions.rb +25 -24
- data/lib/swaggy_jenkins/models/free_style_projecthealth_report.rb +25 -24
- data/lib/swaggy_jenkins/models/generic_resource.rb +25 -24
- data/lib/swaggy_jenkins/models/github_content.rb +25 -24
- data/lib/swaggy_jenkins/models/github_file.rb +25 -24
- data/lib/swaggy_jenkins/models/github_organization.rb +25 -24
- data/lib/swaggy_jenkins/models/github_organizationlinks.rb +25 -24
- data/lib/swaggy_jenkins/models/github_repositories.rb +25 -24
- data/lib/swaggy_jenkins/models/github_repositorieslinks.rb +25 -24
- data/lib/swaggy_jenkins/models/github_repository.rb +25 -24
- data/lib/swaggy_jenkins/models/github_repositorylinks.rb +25 -24
- data/lib/swaggy_jenkins/models/github_repositorypermissions.rb +25 -24
- data/lib/swaggy_jenkins/models/github_respository_container.rb +25 -24
- data/lib/swaggy_jenkins/models/github_respository_containerlinks.rb +25 -24
- data/lib/swaggy_jenkins/models/github_scm.rb +25 -24
- data/lib/swaggy_jenkins/models/github_scmlinks.rb +25 -24
- data/lib/swaggy_jenkins/models/hudson.rb +25 -24
- data/lib/swaggy_jenkins/models/hudson_master_computer.rb +25 -24
- data/lib/swaggy_jenkins/models/hudson_master_computerexecutors.rb +25 -24
- data/lib/swaggy_jenkins/models/hudson_master_computermonitor_data.rb +25 -24
- data/lib/swaggy_jenkins/models/hudsonassigned_labels.rb +25 -24
- data/lib/swaggy_jenkins/models/input_step_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/input_step_impllinks.rb +25 -24
- data/lib/swaggy_jenkins/models/label1.rb +25 -24
- data/lib/swaggy_jenkins/models/link.rb +25 -24
- data/lib/swaggy_jenkins/models/list_view.rb +25 -24
- data/lib/swaggy_jenkins/models/multibranch_pipeline.rb +25 -24
- data/lib/swaggy_jenkins/models/null_scm.rb +25 -24
- data/lib/swaggy_jenkins/models/organisation.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_activity.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_activityartifacts.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_branchesitem.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_branchesitemlatest_run.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_request.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_requestlinks.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_folder_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_impllinks.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_run.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_run_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_run_impllinks.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_run_node.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_run_nodeedges.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_runartifacts.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_step_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/pipeline_step_impllinks.rb +25 -24
- data/lib/swaggy_jenkins/models/pipelinelatest_run.rb +25 -24
- data/lib/swaggy_jenkins/models/pipelinelatest_runartifacts.rb +25 -24
- data/lib/swaggy_jenkins/models/queue.rb +25 -24
- data/lib/swaggy_jenkins/models/queue_blocked_item.rb +25 -24
- data/lib/swaggy_jenkins/models/queue_item_impl.rb +25 -24
- data/lib/swaggy_jenkins/models/queue_left_item.rb +25 -24
- data/lib/swaggy_jenkins/models/response_time_monitor_data.rb +25 -24
- data/lib/swaggy_jenkins/models/string_parameter_definition.rb +25 -24
- data/lib/swaggy_jenkins/models/string_parameter_value.rb +25 -24
- data/lib/swaggy_jenkins/models/swap_space_monitor_memory_usage2.rb +25 -24
- data/lib/swaggy_jenkins/models/unlabeled_load_statistics.rb +25 -24
- data/lib/swaggy_jenkins/models/user.rb +25 -24
- data/lib/swaggy_jenkins/version.rb +4 -4
- data/lib/swaggy_jenkins.rb +3 -3
- data/spec/api/base_api_spec.rb +4 -4
- data/spec/api/blue_ocean_api_spec.rb +40 -40
- data/spec/api/remote_access_api_spec.rb +23 -23
- data/spec/models/all_view_spec.rb +9 -7
- data/spec/models/branch_impl_spec.rb +19 -17
- data/spec/models/branch_impllinks_spec.rb +11 -9
- data/spec/models/branch_implpermissions_spec.rb +11 -9
- data/spec/models/cause_action_spec.rb +8 -6
- data/spec/models/cause_user_id_cause_spec.rb +10 -8
- data/spec/models/classes_by_class_spec.rb +8 -6
- data/spec/models/clock_difference_spec.rb +8 -6
- data/spec/models/computer_set_spec.rb +11 -9
- data/spec/models/default_crumb_issuer_spec.rb +9 -7
- data/spec/models/disk_space_monitor_descriptor_disk_space_spec.rb +10 -8
- data/spec/models/empty_change_log_set_spec.rb +8 -6
- data/spec/models/extension_class_container_impl1_spec.rb +9 -7
- data/spec/models/extension_class_container_impl1links_spec.rb +8 -6
- data/spec/models/extension_class_container_impl1map_spec.rb +9 -7
- data/spec/models/extension_class_impl_spec.rb +9 -7
- data/spec/models/extension_class_impllinks_spec.rb +8 -6
- data/spec/models/favorite_impl_spec.rb +9 -7
- data/spec/models/favorite_impllinks_spec.rb +8 -6
- data/spec/models/free_style_build_spec.rb +24 -22
- data/spec/models/free_style_project_spec.rb +33 -31
- data/spec/models/free_style_projectactions_spec.rb +7 -5
- data/spec/models/free_style_projecthealth_report_spec.rb +11 -9
- data/spec/models/generic_resource_spec.rb +12 -10
- data/spec/models/github_content_spec.rb +14 -12
- data/spec/models/github_file_spec.rb +8 -6
- data/spec/models/github_organization_spec.rb +10 -8
- data/spec/models/github_organizationlinks_spec.rb +9 -7
- data/spec/models/github_repositories_spec.rb +12 -10
- data/spec/models/github_repositorieslinks_spec.rb +8 -6
- data/spec/models/github_repository_spec.rb +14 -12
- data/spec/models/github_repositorylinks_spec.rb +8 -6
- data/spec/models/github_repositorypermissions_spec.rb +10 -8
- data/spec/models/github_respository_container_spec.rb +9 -7
- data/spec/models/github_respository_containerlinks_spec.rb +8 -6
- data/spec/models/github_scm_spec.rb +11 -9
- data/spec/models/github_scmlinks_spec.rb +8 -6
- data/spec/models/hudson_master_computer_spec.rb +22 -20
- data/spec/models/hudson_master_computerexecutors_spec.rb +12 -10
- data/spec/models/hudson_master_computermonitor_data_spec.rb +13 -11
- data/spec/models/hudson_spec.rb +21 -19
- data/spec/models/hudsonassigned_labels_spec.rb +7 -5
- data/spec/models/input_step_impl_spec.rb +13 -11
- data/spec/models/input_step_impllinks_spec.rb +8 -6
- data/spec/models/label1_spec.rb +7 -5
- data/spec/models/link_spec.rb +8 -6
- data/spec/models/list_view_spec.rb +11 -9
- data/spec/models/multibranch_pipeline_spec.rb +20 -18
- data/spec/models/null_scm_spec.rb +7 -5
- data/spec/models/organisation_spec.rb +8 -6
- data/spec/models/pipeline_activity_spec.rb +21 -19
- data/spec/models/pipeline_activityartifacts_spec.rb +10 -8
- data/spec/models/pipeline_branchesitem_spec.rb +15 -13
- data/spec/models/pipeline_branchesitemlatest_run_spec.rb +20 -18
- data/spec/models/pipeline_branchesitempull_request_spec.rb +12 -10
- data/spec/models/pipeline_branchesitempull_requestlinks_spec.rb +8 -6
- data/spec/models/pipeline_folder_impl_spec.rb +13 -11
- data/spec/models/pipeline_impl_spec.rb +15 -13
- data/spec/models/pipeline_impllinks_spec.rb +11 -9
- data/spec/models/pipeline_run_impl_spec.rb +21 -19
- data/spec/models/pipeline_run_impllinks_spec.rb +12 -10
- data/spec/models/pipeline_run_node_spec.rb +14 -12
- data/spec/models/pipeline_run_nodeedges_spec.rb +8 -6
- data/spec/models/pipeline_run_spec.rb +21 -19
- data/spec/models/pipeline_runartifacts_spec.rb +10 -8
- data/spec/models/pipeline_spec.rb +14 -12
- data/spec/models/pipeline_step_impl_spec.rb +15 -13
- data/spec/models/pipeline_step_impllinks_spec.rb +9 -7
- data/spec/models/pipelinelatest_run_spec.rb +21 -19
- data/spec/models/pipelinelatest_runartifacts_spec.rb +10 -8
- data/spec/models/queue_blocked_item_spec.rb +18 -16
- data/spec/models/queue_item_impl_spec.rb +11 -9
- data/spec/models/queue_left_item_spec.rb +19 -17
- data/spec/models/queue_spec.rb +8 -6
- data/spec/models/response_time_monitor_data_spec.rb +9 -7
- data/spec/models/string_parameter_definition_spec.rb +11 -9
- data/spec/models/string_parameter_value_spec.rb +9 -7
- data/spec/models/swap_space_monitor_memory_usage2_spec.rb +11 -9
- data/spec/models/unlabeled_load_statistics_spec.rb +7 -5
- data/spec/models/user_spec.rb +11 -9
- data/spec/spec_helper.rb +3 -3
- data/swaggy_jenkins.gemspec +7 -6
- metadata +77 -80
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5c6374938dc19a6891ec8ad9cee19affe1de11b06a9f2edd1bd3c5e3507d202
|
4
|
+
data.tar.gz: 959d1e857a241799893f9bfff0a3d4c24fd70d688c7680859ffb12e32ea6e72a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 000cb46d674618b2182e6c160d117bdba027335bfe16b23ea3f099062e3a148f9adeda0ee2e6833b52e7fd84bc833a02431474f6fa583aeaf4317fb9bf1848d3
|
7
|
+
data.tar.gz: 787b8b4af61b49fc262bd3698b86b1746a6ab6c053e2a9c306b72f0e7467493fa06082c95ab35621a00025fc2ab5a66a1a4580d8bb0ad71c93e177976b5df4b9
|
data/Gemfile.lock
CHANGED
@@ -1,47 +1,51 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
swaggy_jenkins (
|
4
|
+
swaggy_jenkins (3.1.0)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
ast (2.4.
|
11
|
-
byebug (
|
10
|
+
ast (2.4.3)
|
11
|
+
byebug (12.0.0)
|
12
12
|
coderay (1.1.3)
|
13
|
-
|
14
|
-
|
13
|
+
date (3.4.1)
|
14
|
+
diff-lcs (1.6.1)
|
15
|
+
ethon (0.16.0)
|
15
16
|
ffi (>= 1.15.0)
|
16
|
-
ffi (1.
|
17
|
-
jaro_winkler (1.5.
|
18
|
-
method_source (1.
|
19
|
-
parallel (1.
|
20
|
-
parser (3.
|
17
|
+
ffi (1.17.2-x86_64-linux-gnu)
|
18
|
+
jaro_winkler (1.5.6)
|
19
|
+
method_source (1.1.0)
|
20
|
+
parallel (1.27.0)
|
21
|
+
parser (3.3.8.0)
|
21
22
|
ast (~> 2.4.1)
|
22
|
-
|
23
|
+
racc
|
24
|
+
pry (0.15.2)
|
23
25
|
coderay (~> 1.1)
|
24
26
|
method_source (~> 1.0)
|
25
|
-
pry-byebug (3.
|
26
|
-
byebug (~>
|
27
|
-
pry (
|
28
|
-
psych (
|
27
|
+
pry-byebug (3.11.0)
|
28
|
+
byebug (~> 12.0)
|
29
|
+
pry (>= 0.13, < 0.16)
|
30
|
+
psych (5.2.4)
|
31
|
+
date
|
29
32
|
stringio
|
33
|
+
racc (1.8.1)
|
30
34
|
rainbow (3.1.1)
|
31
35
|
rake (13.0.6)
|
32
|
-
rspec (3.
|
33
|
-
rspec-core (~> 3.
|
34
|
-
rspec-expectations (~> 3.
|
35
|
-
rspec-mocks (~> 3.
|
36
|
-
rspec-core (3.
|
37
|
-
rspec-support (~> 3.
|
38
|
-
rspec-expectations (3.
|
36
|
+
rspec (3.13.0)
|
37
|
+
rspec-core (~> 3.13.0)
|
38
|
+
rspec-expectations (~> 3.13.0)
|
39
|
+
rspec-mocks (~> 3.13.0)
|
40
|
+
rspec-core (3.13.3)
|
41
|
+
rspec-support (~> 3.13.0)
|
42
|
+
rspec-expectations (3.13.4)
|
39
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.
|
41
|
-
rspec-mocks (3.
|
44
|
+
rspec-support (~> 3.13.0)
|
45
|
+
rspec-mocks (3.13.3)
|
42
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-support (3.
|
47
|
+
rspec-support (~> 3.13.0)
|
48
|
+
rspec-support (3.13.3)
|
45
49
|
rubocop (0.66.0)
|
46
50
|
jaro_winkler (~> 1.5.1)
|
47
51
|
parallel (~> 1.10)
|
@@ -50,14 +54,14 @@ GEM
|
|
50
54
|
rainbow (>= 2.2.2, < 4.0)
|
51
55
|
ruby-progressbar (~> 1.7)
|
52
56
|
unicode-display_width (>= 1.4.0, < 1.6)
|
53
|
-
ruby-progressbar (1.
|
54
|
-
stringio (3.
|
55
|
-
typhoeus (1.4.
|
57
|
+
ruby-progressbar (1.13.0)
|
58
|
+
stringio (3.1.7)
|
59
|
+
typhoeus (1.4.1)
|
56
60
|
ethon (>= 0.9.0)
|
57
61
|
unicode-display_width (1.5.0)
|
58
62
|
|
59
63
|
PLATFORMS
|
60
|
-
x86_64-linux
|
64
|
+
x86_64-linux-gnu
|
61
65
|
|
62
66
|
DEPENDENCIES
|
63
67
|
pry-byebug
|
@@ -67,4 +71,4 @@ DEPENDENCIES
|
|
67
71
|
swaggy_jenkins!
|
68
72
|
|
69
73
|
BUNDLED WITH
|
70
|
-
2.
|
74
|
+
2.4.19
|
data/README.md
CHANGED
@@ -6,10 +6,11 @@ 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: 3.1.0
|
10
|
+
- Package version: 3.1.0
|
11
|
+
- Generator version: 7.12.0
|
11
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
-
For more information, please visit [
|
13
|
+
For more information, please visit [https://github.com/oapicf/swaggy-jenkins](https://github.com/oapicf/swaggy-jenkins)
|
13
14
|
|
14
15
|
## Installation
|
15
16
|
|
@@ -24,16 +25,16 @@ gem build swaggy_jenkins.gemspec
|
|
24
25
|
Then either install the gem locally:
|
25
26
|
|
26
27
|
```shell
|
27
|
-
gem install ./swaggy_jenkins-
|
28
|
+
gem install ./swaggy_jenkins-3.1.0.gem
|
28
29
|
```
|
29
30
|
|
30
|
-
(for development, run `gem install --dev ./swaggy_jenkins-
|
31
|
+
(for development, run `gem install --dev ./swaggy_jenkins-3.1.0.gem` to install the development dependencies)
|
31
32
|
|
32
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
34
|
|
34
35
|
Finally add this to the Gemfile:
|
35
36
|
|
36
|
-
gem 'swaggy_jenkins', '~>
|
37
|
+
gem 'swaggy_jenkins', '~> 3.1.0'
|
37
38
|
|
38
39
|
### Install from Git
|
39
40
|
|
@@ -228,6 +229,7 @@ Class | Method | HTTP request | Description
|
|
228
229
|
## Documentation for Authorization
|
229
230
|
|
230
231
|
|
232
|
+
Authentication schemes defined for the API:
|
231
233
|
### jenkins_auth
|
232
234
|
|
233
235
|
- **Type**: HTTP basic authentication
|
data/bin/bundle
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -47,7 +47,7 @@ m = Module.new do
|
|
47
47
|
def lockfile
|
48
48
|
lockfile =
|
49
49
|
case File.basename(gemfile)
|
50
|
-
when "gems.rb" then gemfile.sub(/\.rb$/,
|
50
|
+
when "gems.rb" then gemfile.sub(/\.rb$/, ".locked")
|
51
51
|
else "#{gemfile}.lock"
|
52
52
|
end
|
53
53
|
File.expand_path(lockfile)
|
@@ -62,8 +62,9 @@ m = Module.new do
|
|
62
62
|
|
63
63
|
def bundler_requirement
|
64
64
|
@bundler_requirement ||=
|
65
|
-
env_var_version ||
|
66
|
-
|
65
|
+
env_var_version ||
|
66
|
+
cli_arg_version ||
|
67
|
+
bundler_requirement_for(lockfile_version)
|
67
68
|
end
|
68
69
|
|
69
70
|
def bundler_requirement_for(version)
|
@@ -71,13 +72,7 @@ m = Module.new do
|
|
71
72
|
|
72
73
|
bundler_gem_version = Gem::Version.new(version)
|
73
74
|
|
74
|
-
|
75
|
-
|
76
|
-
return requirement unless Gem.rubygems_version < Gem::Version.new("2.7.0")
|
77
|
-
|
78
|
-
requirement += ".a" if bundler_gem_version.prerelease?
|
79
|
-
|
80
|
-
requirement
|
75
|
+
bundler_gem_version.approximate_recommendation
|
81
76
|
end
|
82
77
|
|
83
78
|
def load_bundler!
|
data/bin/byebug
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/coderay
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/htmldiff
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/ldiff
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/pry
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/racc
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'racc' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
|
+
|
15
|
+
if File.file?(bundle_binstub)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
|
+
load(bundle_binstub)
|
18
|
+
else
|
19
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
20
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
require "rubygems"
|
25
|
+
require "bundler/setup"
|
26
|
+
|
27
|
+
load Gem.bin_path("racc", "racc")
|
data/bin/rake
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/rspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/rubocop
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/ruby-parse
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/ruby-rewrite
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env ruby3.2
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
#
|
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
@@ -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:
|
7
|
-
Contact: blah@cliffano.com
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
|
+
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -43,7 +43,7 @@ module SwaggyJenkinsClient
|
|
43
43
|
# header parameters
|
44
44
|
header_params = opts[:header_params] || {}
|
45
45
|
# HTTP header 'Accept' (if needed)
|
46
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
46
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
47
47
|
|
48
48
|
# form parameters
|
49
49
|
form_params = opts[:form_params] || {}
|