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.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +35 -31
  3. data/README.md +8 -6
  4. data/bin/bundle +6 -11
  5. data/bin/byebug +2 -2
  6. data/bin/coderay +2 -2
  7. data/bin/htmldiff +2 -2
  8. data/bin/ldiff +2 -2
  9. data/bin/pry +2 -2
  10. data/bin/racc +27 -0
  11. data/bin/rake +2 -2
  12. data/bin/rspec +2 -2
  13. data/bin/rubocop +2 -2
  14. data/bin/ruby-parse +2 -2
  15. data/bin/ruby-rewrite +2 -2
  16. data/lib/swaggy_jenkins/api/base_api.rb +4 -4
  17. data/lib/swaggy_jenkins/api/blue_ocean_api.rb +39 -39
  18. data/lib/swaggy_jenkins/api/remote_access_api.rb +16 -16
  19. data/lib/swaggy_jenkins/api_client.rb +25 -24
  20. data/lib/swaggy_jenkins/api_error.rb +4 -3
  21. data/lib/swaggy_jenkins/configuration.rb +40 -11
  22. data/lib/swaggy_jenkins/models/all_view.rb +25 -24
  23. data/lib/swaggy_jenkins/models/branch_impl.rb +25 -24
  24. data/lib/swaggy_jenkins/models/branch_impllinks.rb +25 -24
  25. data/lib/swaggy_jenkins/models/branch_implpermissions.rb +25 -24
  26. data/lib/swaggy_jenkins/models/cause_action.rb +25 -24
  27. data/lib/swaggy_jenkins/models/cause_user_id_cause.rb +25 -24
  28. data/lib/swaggy_jenkins/models/classes_by_class.rb +25 -24
  29. data/lib/swaggy_jenkins/models/clock_difference.rb +25 -24
  30. data/lib/swaggy_jenkins/models/computer_set.rb +25 -24
  31. data/lib/swaggy_jenkins/models/default_crumb_issuer.rb +25 -24
  32. data/lib/swaggy_jenkins/models/disk_space_monitor_descriptor_disk_space.rb +25 -24
  33. data/lib/swaggy_jenkins/models/empty_change_log_set.rb +25 -24
  34. data/lib/swaggy_jenkins/models/extension_class_container_impl1.rb +25 -24
  35. data/lib/swaggy_jenkins/models/extension_class_container_impl1links.rb +25 -24
  36. data/lib/swaggy_jenkins/models/extension_class_container_impl1map.rb +25 -24
  37. data/lib/swaggy_jenkins/models/extension_class_impl.rb +25 -24
  38. data/lib/swaggy_jenkins/models/extension_class_impllinks.rb +25 -24
  39. data/lib/swaggy_jenkins/models/favorite_impl.rb +25 -24
  40. data/lib/swaggy_jenkins/models/favorite_impllinks.rb +25 -24
  41. data/lib/swaggy_jenkins/models/free_style_build.rb +25 -24
  42. data/lib/swaggy_jenkins/models/free_style_project.rb +25 -24
  43. data/lib/swaggy_jenkins/models/free_style_projectactions.rb +25 -24
  44. data/lib/swaggy_jenkins/models/free_style_projecthealth_report.rb +25 -24
  45. data/lib/swaggy_jenkins/models/generic_resource.rb +25 -24
  46. data/lib/swaggy_jenkins/models/github_content.rb +25 -24
  47. data/lib/swaggy_jenkins/models/github_file.rb +25 -24
  48. data/lib/swaggy_jenkins/models/github_organization.rb +25 -24
  49. data/lib/swaggy_jenkins/models/github_organizationlinks.rb +25 -24
  50. data/lib/swaggy_jenkins/models/github_repositories.rb +25 -24
  51. data/lib/swaggy_jenkins/models/github_repositorieslinks.rb +25 -24
  52. data/lib/swaggy_jenkins/models/github_repository.rb +25 -24
  53. data/lib/swaggy_jenkins/models/github_repositorylinks.rb +25 -24
  54. data/lib/swaggy_jenkins/models/github_repositorypermissions.rb +25 -24
  55. data/lib/swaggy_jenkins/models/github_respository_container.rb +25 -24
  56. data/lib/swaggy_jenkins/models/github_respository_containerlinks.rb +25 -24
  57. data/lib/swaggy_jenkins/models/github_scm.rb +25 -24
  58. data/lib/swaggy_jenkins/models/github_scmlinks.rb +25 -24
  59. data/lib/swaggy_jenkins/models/hudson.rb +25 -24
  60. data/lib/swaggy_jenkins/models/hudson_master_computer.rb +25 -24
  61. data/lib/swaggy_jenkins/models/hudson_master_computerexecutors.rb +25 -24
  62. data/lib/swaggy_jenkins/models/hudson_master_computermonitor_data.rb +25 -24
  63. data/lib/swaggy_jenkins/models/hudsonassigned_labels.rb +25 -24
  64. data/lib/swaggy_jenkins/models/input_step_impl.rb +25 -24
  65. data/lib/swaggy_jenkins/models/input_step_impllinks.rb +25 -24
  66. data/lib/swaggy_jenkins/models/label1.rb +25 -24
  67. data/lib/swaggy_jenkins/models/link.rb +25 -24
  68. data/lib/swaggy_jenkins/models/list_view.rb +25 -24
  69. data/lib/swaggy_jenkins/models/multibranch_pipeline.rb +25 -24
  70. data/lib/swaggy_jenkins/models/null_scm.rb +25 -24
  71. data/lib/swaggy_jenkins/models/organisation.rb +25 -24
  72. data/lib/swaggy_jenkins/models/pipeline.rb +25 -24
  73. data/lib/swaggy_jenkins/models/pipeline_activity.rb +25 -24
  74. data/lib/swaggy_jenkins/models/pipeline_activityartifacts.rb +25 -24
  75. data/lib/swaggy_jenkins/models/pipeline_branchesitem.rb +25 -24
  76. data/lib/swaggy_jenkins/models/pipeline_branchesitemlatest_run.rb +25 -24
  77. data/lib/swaggy_jenkins/models/pipeline_branchesitempull_request.rb +25 -24
  78. data/lib/swaggy_jenkins/models/pipeline_branchesitempull_requestlinks.rb +25 -24
  79. data/lib/swaggy_jenkins/models/pipeline_folder_impl.rb +25 -24
  80. data/lib/swaggy_jenkins/models/pipeline_impl.rb +25 -24
  81. data/lib/swaggy_jenkins/models/pipeline_impllinks.rb +25 -24
  82. data/lib/swaggy_jenkins/models/pipeline_run.rb +25 -24
  83. data/lib/swaggy_jenkins/models/pipeline_run_impl.rb +25 -24
  84. data/lib/swaggy_jenkins/models/pipeline_run_impllinks.rb +25 -24
  85. data/lib/swaggy_jenkins/models/pipeline_run_node.rb +25 -24
  86. data/lib/swaggy_jenkins/models/pipeline_run_nodeedges.rb +25 -24
  87. data/lib/swaggy_jenkins/models/pipeline_runartifacts.rb +25 -24
  88. data/lib/swaggy_jenkins/models/pipeline_step_impl.rb +25 -24
  89. data/lib/swaggy_jenkins/models/pipeline_step_impllinks.rb +25 -24
  90. data/lib/swaggy_jenkins/models/pipelinelatest_run.rb +25 -24
  91. data/lib/swaggy_jenkins/models/pipelinelatest_runartifacts.rb +25 -24
  92. data/lib/swaggy_jenkins/models/queue.rb +25 -24
  93. data/lib/swaggy_jenkins/models/queue_blocked_item.rb +25 -24
  94. data/lib/swaggy_jenkins/models/queue_item_impl.rb +25 -24
  95. data/lib/swaggy_jenkins/models/queue_left_item.rb +25 -24
  96. data/lib/swaggy_jenkins/models/response_time_monitor_data.rb +25 -24
  97. data/lib/swaggy_jenkins/models/string_parameter_definition.rb +25 -24
  98. data/lib/swaggy_jenkins/models/string_parameter_value.rb +25 -24
  99. data/lib/swaggy_jenkins/models/swap_space_monitor_memory_usage2.rb +25 -24
  100. data/lib/swaggy_jenkins/models/unlabeled_load_statistics.rb +25 -24
  101. data/lib/swaggy_jenkins/models/user.rb +25 -24
  102. data/lib/swaggy_jenkins/version.rb +4 -4
  103. data/lib/swaggy_jenkins.rb +3 -3
  104. data/spec/api/base_api_spec.rb +4 -4
  105. data/spec/api/blue_ocean_api_spec.rb +40 -40
  106. data/spec/api/remote_access_api_spec.rb +23 -23
  107. data/spec/models/all_view_spec.rb +9 -7
  108. data/spec/models/branch_impl_spec.rb +19 -17
  109. data/spec/models/branch_impllinks_spec.rb +11 -9
  110. data/spec/models/branch_implpermissions_spec.rb +11 -9
  111. data/spec/models/cause_action_spec.rb +8 -6
  112. data/spec/models/cause_user_id_cause_spec.rb +10 -8
  113. data/spec/models/classes_by_class_spec.rb +8 -6
  114. data/spec/models/clock_difference_spec.rb +8 -6
  115. data/spec/models/computer_set_spec.rb +11 -9
  116. data/spec/models/default_crumb_issuer_spec.rb +9 -7
  117. data/spec/models/disk_space_monitor_descriptor_disk_space_spec.rb +10 -8
  118. data/spec/models/empty_change_log_set_spec.rb +8 -6
  119. data/spec/models/extension_class_container_impl1_spec.rb +9 -7
  120. data/spec/models/extension_class_container_impl1links_spec.rb +8 -6
  121. data/spec/models/extension_class_container_impl1map_spec.rb +9 -7
  122. data/spec/models/extension_class_impl_spec.rb +9 -7
  123. data/spec/models/extension_class_impllinks_spec.rb +8 -6
  124. data/spec/models/favorite_impl_spec.rb +9 -7
  125. data/spec/models/favorite_impllinks_spec.rb +8 -6
  126. data/spec/models/free_style_build_spec.rb +24 -22
  127. data/spec/models/free_style_project_spec.rb +33 -31
  128. data/spec/models/free_style_projectactions_spec.rb +7 -5
  129. data/spec/models/free_style_projecthealth_report_spec.rb +11 -9
  130. data/spec/models/generic_resource_spec.rb +12 -10
  131. data/spec/models/github_content_spec.rb +14 -12
  132. data/spec/models/github_file_spec.rb +8 -6
  133. data/spec/models/github_organization_spec.rb +10 -8
  134. data/spec/models/github_organizationlinks_spec.rb +9 -7
  135. data/spec/models/github_repositories_spec.rb +12 -10
  136. data/spec/models/github_repositorieslinks_spec.rb +8 -6
  137. data/spec/models/github_repository_spec.rb +14 -12
  138. data/spec/models/github_repositorylinks_spec.rb +8 -6
  139. data/spec/models/github_repositorypermissions_spec.rb +10 -8
  140. data/spec/models/github_respository_container_spec.rb +9 -7
  141. data/spec/models/github_respository_containerlinks_spec.rb +8 -6
  142. data/spec/models/github_scm_spec.rb +11 -9
  143. data/spec/models/github_scmlinks_spec.rb +8 -6
  144. data/spec/models/hudson_master_computer_spec.rb +22 -20
  145. data/spec/models/hudson_master_computerexecutors_spec.rb +12 -10
  146. data/spec/models/hudson_master_computermonitor_data_spec.rb +13 -11
  147. data/spec/models/hudson_spec.rb +21 -19
  148. data/spec/models/hudsonassigned_labels_spec.rb +7 -5
  149. data/spec/models/input_step_impl_spec.rb +13 -11
  150. data/spec/models/input_step_impllinks_spec.rb +8 -6
  151. data/spec/models/label1_spec.rb +7 -5
  152. data/spec/models/link_spec.rb +8 -6
  153. data/spec/models/list_view_spec.rb +11 -9
  154. data/spec/models/multibranch_pipeline_spec.rb +20 -18
  155. data/spec/models/null_scm_spec.rb +7 -5
  156. data/spec/models/organisation_spec.rb +8 -6
  157. data/spec/models/pipeline_activity_spec.rb +21 -19
  158. data/spec/models/pipeline_activityartifacts_spec.rb +10 -8
  159. data/spec/models/pipeline_branchesitem_spec.rb +15 -13
  160. data/spec/models/pipeline_branchesitemlatest_run_spec.rb +20 -18
  161. data/spec/models/pipeline_branchesitempull_request_spec.rb +12 -10
  162. data/spec/models/pipeline_branchesitempull_requestlinks_spec.rb +8 -6
  163. data/spec/models/pipeline_folder_impl_spec.rb +13 -11
  164. data/spec/models/pipeline_impl_spec.rb +15 -13
  165. data/spec/models/pipeline_impllinks_spec.rb +11 -9
  166. data/spec/models/pipeline_run_impl_spec.rb +21 -19
  167. data/spec/models/pipeline_run_impllinks_spec.rb +12 -10
  168. data/spec/models/pipeline_run_node_spec.rb +14 -12
  169. data/spec/models/pipeline_run_nodeedges_spec.rb +8 -6
  170. data/spec/models/pipeline_run_spec.rb +21 -19
  171. data/spec/models/pipeline_runartifacts_spec.rb +10 -8
  172. data/spec/models/pipeline_spec.rb +14 -12
  173. data/spec/models/pipeline_step_impl_spec.rb +15 -13
  174. data/spec/models/pipeline_step_impllinks_spec.rb +9 -7
  175. data/spec/models/pipelinelatest_run_spec.rb +21 -19
  176. data/spec/models/pipelinelatest_runartifacts_spec.rb +10 -8
  177. data/spec/models/queue_blocked_item_spec.rb +18 -16
  178. data/spec/models/queue_item_impl_spec.rb +11 -9
  179. data/spec/models/queue_left_item_spec.rb +19 -17
  180. data/spec/models/queue_spec.rb +8 -6
  181. data/spec/models/response_time_monitor_data_spec.rb +9 -7
  182. data/spec/models/string_parameter_definition_spec.rb +11 -9
  183. data/spec/models/string_parameter_value_spec.rb +9 -7
  184. data/spec/models/swap_space_monitor_memory_usage2_spec.rb +11 -9
  185. data/spec/models/unlabeled_load_statistics_spec.rb +7 -5
  186. data/spec/models/user_spec.rb +11 -9
  187. data/spec/spec_helper.rb +3 -3
  188. data/swaggy_jenkins.gemspec +7 -6
  189. metadata +77 -80
  190. data/spec/api_client_spec.rb +0 -226
  191. data/spec/configuration_spec.rb +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64c7775cc1b5bf9da916dd0d6fc1b1d438dc07417d7ea0cc80e0521ff9462724
4
- data.tar.gz: ec57c5f43fc7bf30466feefed1b370a576c8173f7a1db2421913612118338d99
3
+ metadata.gz: f5c6374938dc19a6891ec8ad9cee19affe1de11b06a9f2edd1bd3c5e3507d202
4
+ data.tar.gz: 959d1e857a241799893f9bfff0a3d4c24fd70d688c7680859ffb12e32ea6e72a
5
5
  SHA512:
6
- metadata.gz: a46121b38f86ba8e50319e2e1eb00adfc98aa55e327d1fb4c0ab83734cc5321de2cdceee7ee15392c9bc56bae84608952393e241b85ddb55ac1983d7f7c21a82
7
- data.tar.gz: 23cc8eb4fc920d1bc78b608cfd6a631f535c6fb377deb67e5fa833f0290715780fd312d96521906598f192ecabde441339db1d29838dc1828d36f91de214262a
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 (2.0.1.pre.pre.0)
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.2)
11
- byebug (11.1.3)
10
+ ast (2.4.3)
11
+ byebug (12.0.0)
12
12
  coderay (1.1.3)
13
- diff-lcs (1.5.0)
14
- ethon (0.15.0)
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.15.5)
17
- jaro_winkler (1.5.4)
18
- method_source (1.0.0)
19
- parallel (1.22.1)
20
- parser (3.1.2.0)
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
- pry (0.13.1)
23
+ racc
24
+ pry (0.15.2)
23
25
  coderay (~> 1.1)
24
26
  method_source (~> 1.0)
25
- pry-byebug (3.9.0)
26
- byebug (~> 11.0)
27
- pry (~> 0.13.0)
28
- psych (4.0.4)
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.11.0)
33
- rspec-core (~> 3.11.0)
34
- rspec-expectations (~> 3.11.0)
35
- rspec-mocks (~> 3.11.0)
36
- rspec-core (3.11.0)
37
- rspec-support (~> 3.11.0)
38
- rspec-expectations (3.11.0)
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.11.0)
41
- rspec-mocks (3.11.1)
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.11.0)
44
- rspec-support (3.11.0)
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.11.0)
54
- stringio (3.0.2)
55
- typhoeus (1.4.0)
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.3.11
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: 2.0.1-pre.0
10
- - Package version: 2.0.1-pre.0
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 [http://github.com/cliffano/swaggy-jenkins](http://github.com/cliffano/swaggy-jenkins)
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-2.0.1-pre.0.gem
28
+ gem install ./swaggy_jenkins-3.1.0.gem
28
29
  ```
29
30
 
30
- (for development, run `gem install --dev ./swaggy_jenkins-2.0.1-pre.0.gem` to install the development dependencies)
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', '~> 2.0.1-pre.0'
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 ruby2.7
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$/, gemfile)
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 || cli_arg_version ||
66
- bundler_requirement_for(lockfile_version)
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
- requirement = bundler_gem_version.approximate_recommendation
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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 ruby2.7
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) =~ /This file was generated by Bundler/
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: 2.0.1-pre.0
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
- OpenAPI Generator version: 6.0.0
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] || {}