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.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +5 -5
  4. data/bin/bundle +1 -1
  5. data/bin/byebug +2 -4
  6. data/bin/coderay +2 -4
  7. data/bin/htmldiff +2 -4
  8. data/bin/ldiff +2 -4
  9. data/bin/pry +2 -4
  10. data/bin/rake +2 -4
  11. data/bin/rspec +2 -4
  12. data/bin/rubocop +2 -4
  13. data/bin/ruby-parse +2 -4
  14. data/bin/ruby-rewrite +2 -4
  15. data/lib/swaggy_jenkins/api/base_api.rb +2 -2
  16. data/lib/swaggy_jenkins/api/blue_ocean_api.rb +2 -2
  17. data/lib/swaggy_jenkins/api/remote_access_api.rb +2 -2
  18. data/lib/swaggy_jenkins/api_client.rb +5 -3
  19. data/lib/swaggy_jenkins/api_error.rb +2 -2
  20. data/lib/swaggy_jenkins/configuration.rb +4 -3
  21. data/lib/swaggy_jenkins/models/all_view.rb +3 -2
  22. data/lib/swaggy_jenkins/models/branch_impl.rb +3 -2
  23. data/lib/swaggy_jenkins/models/branch_impllinks.rb +3 -2
  24. data/lib/swaggy_jenkins/models/branch_implpermissions.rb +3 -2
  25. data/lib/swaggy_jenkins/models/cause_action.rb +3 -2
  26. data/lib/swaggy_jenkins/models/cause_user_id_cause.rb +3 -2
  27. data/lib/swaggy_jenkins/models/classes_by_class.rb +3 -2
  28. data/lib/swaggy_jenkins/models/clock_difference.rb +3 -2
  29. data/lib/swaggy_jenkins/models/computer_set.rb +3 -2
  30. data/lib/swaggy_jenkins/models/default_crumb_issuer.rb +3 -2
  31. data/lib/swaggy_jenkins/models/disk_space_monitor_descriptor_disk_space.rb +3 -2
  32. data/lib/swaggy_jenkins/models/empty_change_log_set.rb +3 -2
  33. data/lib/swaggy_jenkins/models/extension_class_container_impl1.rb +3 -2
  34. data/lib/swaggy_jenkins/models/extension_class_container_impl1links.rb +3 -2
  35. data/lib/swaggy_jenkins/models/extension_class_container_impl1map.rb +3 -2
  36. data/lib/swaggy_jenkins/models/extension_class_impl.rb +3 -2
  37. data/lib/swaggy_jenkins/models/extension_class_impllinks.rb +3 -2
  38. data/lib/swaggy_jenkins/models/favorite_impl.rb +3 -2
  39. data/lib/swaggy_jenkins/models/favorite_impllinks.rb +3 -2
  40. data/lib/swaggy_jenkins/models/free_style_build.rb +3 -2
  41. data/lib/swaggy_jenkins/models/free_style_project.rb +3 -2
  42. data/lib/swaggy_jenkins/models/free_style_projectactions.rb +3 -2
  43. data/lib/swaggy_jenkins/models/free_style_projecthealth_report.rb +3 -2
  44. data/lib/swaggy_jenkins/models/generic_resource.rb +3 -2
  45. data/lib/swaggy_jenkins/models/github_content.rb +3 -2
  46. data/lib/swaggy_jenkins/models/github_file.rb +3 -2
  47. data/lib/swaggy_jenkins/models/github_organization.rb +3 -2
  48. data/lib/swaggy_jenkins/models/github_organizationlinks.rb +3 -2
  49. data/lib/swaggy_jenkins/models/github_repositories.rb +3 -2
  50. data/lib/swaggy_jenkins/models/github_repositorieslinks.rb +3 -2
  51. data/lib/swaggy_jenkins/models/github_repository.rb +3 -2
  52. data/lib/swaggy_jenkins/models/github_repositorylinks.rb +3 -2
  53. data/lib/swaggy_jenkins/models/github_repositorypermissions.rb +3 -2
  54. data/lib/swaggy_jenkins/models/github_respository_container.rb +3 -2
  55. data/lib/swaggy_jenkins/models/github_respository_containerlinks.rb +3 -2
  56. data/lib/swaggy_jenkins/models/github_scm.rb +3 -2
  57. data/lib/swaggy_jenkins/models/github_scmlinks.rb +3 -2
  58. data/lib/swaggy_jenkins/models/hudson.rb +3 -2
  59. data/lib/swaggy_jenkins/models/hudson_master_computer.rb +3 -2
  60. data/lib/swaggy_jenkins/models/hudson_master_computerexecutors.rb +3 -2
  61. data/lib/swaggy_jenkins/models/hudson_master_computermonitor_data.rb +3 -2
  62. data/lib/swaggy_jenkins/models/hudsonassigned_labels.rb +3 -2
  63. data/lib/swaggy_jenkins/models/input_step_impl.rb +3 -2
  64. data/lib/swaggy_jenkins/models/input_step_impllinks.rb +3 -2
  65. data/lib/swaggy_jenkins/models/label1.rb +3 -2
  66. data/lib/swaggy_jenkins/models/link.rb +3 -2
  67. data/lib/swaggy_jenkins/models/list_view.rb +3 -2
  68. data/lib/swaggy_jenkins/models/multibranch_pipeline.rb +3 -2
  69. data/lib/swaggy_jenkins/models/null_scm.rb +3 -2
  70. data/lib/swaggy_jenkins/models/organisation.rb +3 -2
  71. data/lib/swaggy_jenkins/models/pipeline.rb +3 -2
  72. data/lib/swaggy_jenkins/models/pipeline_activity.rb +3 -2
  73. data/lib/swaggy_jenkins/models/pipeline_activityartifacts.rb +3 -2
  74. data/lib/swaggy_jenkins/models/pipeline_branchesitem.rb +3 -2
  75. data/lib/swaggy_jenkins/models/pipeline_branchesitemlatest_run.rb +3 -2
  76. data/lib/swaggy_jenkins/models/pipeline_branchesitempull_request.rb +3 -2
  77. data/lib/swaggy_jenkins/models/pipeline_branchesitempull_requestlinks.rb +3 -2
  78. data/lib/swaggy_jenkins/models/pipeline_folder_impl.rb +3 -2
  79. data/lib/swaggy_jenkins/models/pipeline_impl.rb +3 -2
  80. data/lib/swaggy_jenkins/models/pipeline_impllinks.rb +3 -2
  81. data/lib/swaggy_jenkins/models/pipeline_run.rb +3 -2
  82. data/lib/swaggy_jenkins/models/pipeline_run_impl.rb +3 -2
  83. data/lib/swaggy_jenkins/models/pipeline_run_impllinks.rb +3 -2
  84. data/lib/swaggy_jenkins/models/pipeline_run_node.rb +3 -2
  85. data/lib/swaggy_jenkins/models/pipeline_run_nodeedges.rb +3 -2
  86. data/lib/swaggy_jenkins/models/pipeline_runartifacts.rb +3 -2
  87. data/lib/swaggy_jenkins/models/pipeline_step_impl.rb +3 -2
  88. data/lib/swaggy_jenkins/models/pipeline_step_impllinks.rb +3 -2
  89. data/lib/swaggy_jenkins/models/pipelinelatest_run.rb +3 -2
  90. data/lib/swaggy_jenkins/models/pipelinelatest_runartifacts.rb +3 -2
  91. data/lib/swaggy_jenkins/models/queue.rb +3 -2
  92. data/lib/swaggy_jenkins/models/queue_blocked_item.rb +3 -2
  93. data/lib/swaggy_jenkins/models/queue_item_impl.rb +3 -2
  94. data/lib/swaggy_jenkins/models/queue_left_item.rb +3 -2
  95. data/lib/swaggy_jenkins/models/response_time_monitor_data.rb +3 -2
  96. data/lib/swaggy_jenkins/models/string_parameter_definition.rb +3 -2
  97. data/lib/swaggy_jenkins/models/string_parameter_value.rb +3 -2
  98. data/lib/swaggy_jenkins/models/swap_space_monitor_memory_usage2.rb +3 -2
  99. data/lib/swaggy_jenkins/models/unlabeled_load_statistics.rb +3 -2
  100. data/lib/swaggy_jenkins/models/user.rb +3 -2
  101. data/lib/swaggy_jenkins/version.rb +3 -3
  102. data/lib/swaggy_jenkins.rb +2 -2
  103. data/spec/api/base_api_spec.rb +2 -2
  104. data/spec/api/blue_ocean_api_spec.rb +2 -2
  105. data/spec/api/remote_access_api_spec.rb +2 -2
  106. data/spec/api_client_spec.rb +2 -2
  107. data/spec/configuration_spec.rb +2 -2
  108. data/spec/models/all_view_spec.rb +2 -2
  109. data/spec/models/branch_impl_spec.rb +2 -2
  110. data/spec/models/branch_impllinks_spec.rb +2 -2
  111. data/spec/models/branch_implpermissions_spec.rb +2 -2
  112. data/spec/models/cause_action_spec.rb +2 -2
  113. data/spec/models/cause_user_id_cause_spec.rb +2 -2
  114. data/spec/models/classes_by_class_spec.rb +2 -2
  115. data/spec/models/clock_difference_spec.rb +2 -2
  116. data/spec/models/computer_set_spec.rb +2 -2
  117. data/spec/models/default_crumb_issuer_spec.rb +2 -2
  118. data/spec/models/disk_space_monitor_descriptor_disk_space_spec.rb +2 -2
  119. data/spec/models/empty_change_log_set_spec.rb +2 -2
  120. data/spec/models/extension_class_container_impl1_spec.rb +2 -2
  121. data/spec/models/extension_class_container_impl1links_spec.rb +2 -2
  122. data/spec/models/extension_class_container_impl1map_spec.rb +2 -2
  123. data/spec/models/extension_class_impl_spec.rb +2 -2
  124. data/spec/models/extension_class_impllinks_spec.rb +2 -2
  125. data/spec/models/favorite_impl_spec.rb +2 -2
  126. data/spec/models/favorite_impllinks_spec.rb +2 -2
  127. data/spec/models/free_style_build_spec.rb +2 -2
  128. data/spec/models/free_style_project_spec.rb +2 -2
  129. data/spec/models/free_style_projectactions_spec.rb +2 -2
  130. data/spec/models/free_style_projecthealth_report_spec.rb +2 -2
  131. data/spec/models/generic_resource_spec.rb +2 -2
  132. data/spec/models/github_content_spec.rb +2 -2
  133. data/spec/models/github_file_spec.rb +2 -2
  134. data/spec/models/github_organization_spec.rb +2 -2
  135. data/spec/models/github_organizationlinks_spec.rb +2 -2
  136. data/spec/models/github_repositories_spec.rb +2 -2
  137. data/spec/models/github_repositorieslinks_spec.rb +2 -2
  138. data/spec/models/github_repository_spec.rb +2 -2
  139. data/spec/models/github_repositorylinks_spec.rb +2 -2
  140. data/spec/models/github_repositorypermissions_spec.rb +2 -2
  141. data/spec/models/github_respository_container_spec.rb +2 -2
  142. data/spec/models/github_respository_containerlinks_spec.rb +2 -2
  143. data/spec/models/github_scm_spec.rb +2 -2
  144. data/spec/models/github_scmlinks_spec.rb +2 -2
  145. data/spec/models/hudson_master_computer_spec.rb +2 -2
  146. data/spec/models/hudson_master_computerexecutors_spec.rb +2 -2
  147. data/spec/models/hudson_master_computermonitor_data_spec.rb +2 -2
  148. data/spec/models/hudson_spec.rb +2 -2
  149. data/spec/models/hudsonassigned_labels_spec.rb +2 -2
  150. data/spec/models/input_step_impl_spec.rb +2 -2
  151. data/spec/models/input_step_impllinks_spec.rb +2 -2
  152. data/spec/models/label1_spec.rb +2 -2
  153. data/spec/models/link_spec.rb +2 -2
  154. data/spec/models/list_view_spec.rb +2 -2
  155. data/spec/models/multibranch_pipeline_spec.rb +2 -2
  156. data/spec/models/null_scm_spec.rb +2 -2
  157. data/spec/models/organisation_spec.rb +2 -2
  158. data/spec/models/pipeline_activity_spec.rb +2 -2
  159. data/spec/models/pipeline_activityartifacts_spec.rb +2 -2
  160. data/spec/models/pipeline_branchesitem_spec.rb +2 -2
  161. data/spec/models/pipeline_branchesitemlatest_run_spec.rb +2 -2
  162. data/spec/models/pipeline_branchesitempull_request_spec.rb +2 -2
  163. data/spec/models/pipeline_branchesitempull_requestlinks_spec.rb +2 -2
  164. data/spec/models/pipeline_folder_impl_spec.rb +2 -2
  165. data/spec/models/pipeline_impl_spec.rb +2 -2
  166. data/spec/models/pipeline_impllinks_spec.rb +2 -2
  167. data/spec/models/pipeline_run_impl_spec.rb +2 -2
  168. data/spec/models/pipeline_run_impllinks_spec.rb +2 -2
  169. data/spec/models/pipeline_run_node_spec.rb +2 -2
  170. data/spec/models/pipeline_run_nodeedges_spec.rb +2 -2
  171. data/spec/models/pipeline_run_spec.rb +2 -2
  172. data/spec/models/pipeline_runartifacts_spec.rb +2 -2
  173. data/spec/models/pipeline_spec.rb +2 -2
  174. data/spec/models/pipeline_step_impl_spec.rb +2 -2
  175. data/spec/models/pipeline_step_impllinks_spec.rb +2 -2
  176. data/spec/models/pipelinelatest_run_spec.rb +2 -2
  177. data/spec/models/pipelinelatest_runartifacts_spec.rb +2 -2
  178. data/spec/models/queue_blocked_item_spec.rb +2 -2
  179. data/spec/models/queue_item_impl_spec.rb +2 -2
  180. data/spec/models/queue_left_item_spec.rb +2 -2
  181. data/spec/models/queue_spec.rb +2 -2
  182. data/spec/models/response_time_monitor_data_spec.rb +2 -2
  183. data/spec/models/string_parameter_definition_spec.rb +2 -2
  184. data/spec/models/string_parameter_value_spec.rb +2 -2
  185. data/spec/models/swap_space_monitor_memory_usage2_spec.rb +2 -2
  186. data/spec/models/unlabeled_load_statistics_spec.rb +2 -2
  187. data/spec/models/user_spec.rb +2 -2
  188. data/spec/spec_helper.rb +2 -2
  189. data/swaggy_jenkins.gemspec +2 -2
  190. metadata +70 -70
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24bf58edf7268f8c10d41f7fc7179a4e40ec24d416e3257cb90a1a55cdae1177
4
- data.tar.gz: 186ff30b8e3ac4554ebf84ab4554d82963b0f5fb64a76c579dbadfbf0b14e9b0
3
+ metadata.gz: 7675ab14afafbadf267f39d7bc5e1f6a26baf9d504f589cc7fbaf140e74503e2
4
+ data.tar.gz: bb9a2574abde710ff371ab4ffdf4639d5e875e11bcbe6dc311b4836748f2e712
5
5
  SHA512:
6
- metadata.gz: 65a45bceb1c366f6b1d88b32cd2a8b6fce8b329b1f131ad4c24c69c9063bd51b10658cd934905711bd77733ba59fb43dbdfe8906dd70e14188e062c778647cbb
7
- data.tar.gz: 667ba8977086050428a4805ab3b1b9d09a049a1c2dcadd14d6b33b4aa1733a529f621fbff020708fbaa8758b89c08641b5327b4f0c417395dd3ea818517a7d92
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 (1.5.0)
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.21.0)
20
- parser (3.1.0.0)
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.3)
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.0)
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.1)
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.6
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: 1.5.0
10
- - Package version: 1.5.0
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-1.5.0.gem
27
+ gem install ./swaggy_jenkins-2.0.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./swaggy_jenkins-1.5.0.gem` to install the development dependencies)
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', '~> 1.5.0'
36
+ gem 'swaggy_jenkins', '~> 2.0.0'
37
37
 
38
38
  ### Install from Git
39
39
 
data/bin/bundle CHANGED
@@ -41,7 +41,7 @@ m = Module.new do
41
41
  gemfile = ENV["BUNDLE_GEMFILE"]
42
42
  return gemfile if gemfile && !gemfile.empty?
43
43
 
44
- File.expand_path("../../Gemfile", __FILE__)
44
+ File.expand_path("../Gemfile", __dir__)
45
45
  end
46
46
 
47
47
  def lockfile
data/bin/byebug CHANGED
@@ -8,11 +8,9 @@
8
8
  # this file is here to facilitate running it.
9
9
  #
10
10
 
11
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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
- require "pathname"
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("../bundle", __FILE__)
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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: 1.5.0
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: 5.4.0
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)