openapi_azureipranges 0.10.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3026678f8f10a7f640ddb8adc5e146fc499a9ae7790ee58cc7d76e9278b9711
4
- data.tar.gz: b037549656cdeea8cfb507ccf7c30321e2f148a8474642b47ecdb6cb1287bac4
3
+ metadata.gz: 600d3728c4c13b831562aa4ad73a583930ccd960285ddf8747ed3560ee4f42b2
4
+ data.tar.gz: 6f2f9e2d987a1200c66a31609e9e459f56b9ca99816d5f0f337d6a6c60607921
5
5
  SHA512:
6
- metadata.gz: 84790d0cd088665ed49ceac23049799b83c6efdabfea0dd9f367fe3cb13c26d5fe0d92db3b3c52b7ac98280b580cb37e824c2483e6291006710003db0c4154be
7
- data.tar.gz: 2ac77b80070eca9c37ca158e2e2f9ba4d0b5ecbba051d43161792bbfcf24315a5473e0069156dcf380d32b61ab12814339298e99ee3d2f27cc4389139bfe4478
6
+ metadata.gz: 12f53d2794c088cb0815fd08e5436243be06d99976299239c8687357b41f092286954fc7563beb4f02a8f6a403f7a2b22bc7c56770a8d09f96643b8db1423c0e
7
+ data.tar.gz: 40ad66fa39ac0bd7e795f029e8c82493f0bc48f5c82fa8fd3a5eb86252d2743814bc2a03665e33f0aaa418baeb83f6973eb278d61f2a67bcf9d4c57ff8d5fa77
data/Gemfile.lock CHANGED
@@ -1,49 +1,68 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openapi_azureipranges (0.10.0)
4
+ openapi_azureipranges (1.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 (13.0.0)
12
+ reline (>= 0.6.0)
12
13
  coderay (1.1.3)
13
- diff-lcs (1.5.1)
14
- ethon (0.16.0)
14
+ date (3.5.1)
15
+ diff-lcs (1.6.2)
16
+ ethon (0.18.0)
15
17
  ffi (>= 1.15.0)
16
- ffi (1.17.0)
18
+ logger
19
+ ffi (1.17.4)
20
+ ffi (1.17.4-aarch64-linux-gnu)
21
+ ffi (1.17.4-aarch64-linux-musl)
22
+ ffi (1.17.4-arm-linux-gnu)
23
+ ffi (1.17.4-arm-linux-musl)
24
+ ffi (1.17.4-arm64-darwin)
25
+ ffi (1.17.4-x86-linux-gnu)
26
+ ffi (1.17.4-x86-linux-musl)
27
+ ffi (1.17.4-x86_64-darwin)
28
+ ffi (1.17.4-x86_64-linux-gnu)
29
+ ffi (1.17.4-x86_64-linux-musl)
30
+ io-console (0.9.2)
17
31
  jaro_winkler (1.5.6)
32
+ logger (1.7.0)
18
33
  method_source (1.1.0)
19
- parallel (1.26.3)
20
- parser (3.3.6.0)
34
+ parallel (1.28.0)
35
+ parser (3.3.12.0)
21
36
  ast (~> 2.4.1)
22
37
  racc
23
- pry (0.14.2)
38
+ pry (0.16.0)
24
39
  coderay (~> 1.1)
25
40
  method_source (~> 1.0)
26
- pry-byebug (3.10.1)
27
- byebug (~> 11.0)
28
- pry (>= 0.13, < 0.15)
29
- psych (5.2.0)
41
+ reline (>= 0.6.0)
42
+ pry-byebug (3.12.0)
43
+ byebug (~> 13.0)
44
+ pry (>= 0.13, < 0.17)
45
+ psych (5.5.0)
46
+ date
30
47
  stringio
31
48
  racc (1.8.1)
32
49
  rainbow (3.1.1)
33
50
  rake (13.0.6)
34
- rspec (3.13.0)
51
+ reline (0.7.0)
52
+ io-console (~> 0.5)
53
+ rspec (3.13.2)
35
54
  rspec-core (~> 3.13.0)
36
55
  rspec-expectations (~> 3.13.0)
37
56
  rspec-mocks (~> 3.13.0)
38
- rspec-core (3.13.2)
57
+ rspec-core (3.13.6)
39
58
  rspec-support (~> 3.13.0)
40
- rspec-expectations (3.13.3)
59
+ rspec-expectations (3.13.5)
41
60
  diff-lcs (>= 1.2.0, < 2.0)
42
61
  rspec-support (~> 3.13.0)
43
- rspec-mocks (3.13.2)
62
+ rspec-mocks (3.13.8)
44
63
  diff-lcs (>= 1.2.0, < 2.0)
45
64
  rspec-support (~> 3.13.0)
46
- rspec-support (3.13.1)
65
+ rspec-support (3.13.7)
47
66
  rubocop (0.66.0)
48
67
  jaro_winkler (~> 1.5.1)
49
68
  parallel (~> 1.10)
@@ -53,13 +72,23 @@ GEM
53
72
  ruby-progressbar (~> 1.7)
54
73
  unicode-display_width (>= 1.4.0, < 1.6)
55
74
  ruby-progressbar (1.13.0)
56
- stringio (3.1.2)
57
- typhoeus (1.4.1)
58
- ethon (>= 0.9.0)
75
+ stringio (3.2.0)
76
+ typhoeus (1.6.0)
77
+ ethon (>= 0.18.0)
59
78
  unicode-display_width (1.5.0)
60
79
 
61
80
  PLATFORMS
62
- x86_64-linux
81
+ aarch64-linux-gnu
82
+ aarch64-linux-musl
83
+ arm-linux-gnu
84
+ arm-linux-musl
85
+ arm64-darwin
86
+ ruby
87
+ x86-linux-gnu
88
+ x86-linux-musl
89
+ x86_64-darwin
90
+ x86_64-linux-gnu
91
+ x86_64-linux-musl
63
92
 
64
93
  DEPENDENCIES
65
94
  openapi_azureipranges!
@@ -68,5 +97,49 @@ DEPENDENCIES
68
97
  rspec (~> 3.6, >= 3.6.0)
69
98
  rubocop (~> 0.66.0)
70
99
 
100
+ CHECKSUMS
101
+ ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
102
+ bundler (4.0.19) sha256=b48056e4c77fb3853cc47775b5447ede44aaa4f53c32f168014ab4fe86587d47
103
+ byebug (13.0.0) sha256=d2263efe751941ca520fa29744b71972d39cbc41839496706f5d9b22e92ae05d
104
+ coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
105
+ date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
106
+ diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
107
+ ethon (0.18.0) sha256=b598afc9f30448cb068b850714b7d6948e941476095d04f90a4ac65b8d6efcb2
108
+ ffi (1.17.4) sha256=bcd1642e06f0d16fc9e09ac6d49c3a7298b9789bcb58127302f934e437d60acf
109
+ ffi (1.17.4-aarch64-linux-gnu) sha256=b208f06f91ffd8f5e1193da3cae3d2ccfc27fc36fba577baf698d26d91c080df
110
+ ffi (1.17.4-aarch64-linux-musl) sha256=9286b7a615f2676245283aef0a0a3b475ae3aae2bb5448baace630bb77b91f39
111
+ ffi (1.17.4-arm-linux-gnu) sha256=d6dbddf7cb77bf955411af5f187a65b8cd378cb003c15c05697f5feee1cb1564
112
+ ffi (1.17.4-arm-linux-musl) sha256=9d4838ded0465bef6e2426935f6bcc93134b6616785a84ffd2a3d82bc3cf6f95
113
+ ffi (1.17.4-arm64-darwin) sha256=19071aaf1419251b0a46852abf960e77330a3b334d13a4ab51d58b31a937001b
114
+ ffi (1.17.4-x86-linux-gnu) sha256=38e150df5f4ca555e25beca4090823ae09657bceded154e3c52f8631c1ed72cf
115
+ ffi (1.17.4-x86-linux-musl) sha256=fbeec0fc7c795bcf86f623bb18d31ea1820f7bd580e1703a3d3740d527437809
116
+ ffi (1.17.4-x86_64-darwin) sha256=aa70390523cf3235096cf64962b709b4cfbd5c082a2cb2ae714eb0fe2ccda496
117
+ ffi (1.17.4-x86_64-linux-gnu) sha256=9d3db14c2eae074b382fa9c083fe95aec6e0a1451da249eab096c34002bc752d
118
+ ffi (1.17.4-x86_64-linux-musl) sha256=3fdf9888483de005f8ef8d1cf2d3b20d86626af206cbf780f6a6a12439a9c49e
119
+ io-console (0.9.2) sha256=efa74f891dd03c0939a931dfc6e74c2813d904763d456ea9762b0525e748db08
120
+ jaro_winkler (1.5.6) sha256=007db7805527ada1cc12f2547676181d63b0a504ec4dd7a9a2eb2424521ccd81
121
+ logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
122
+ method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
123
+ openapi_azureipranges (1.1.0)
124
+ parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970
125
+ parser (3.3.12.0) sha256=21a6d7f755d5a24dfbdc6e6b772e4e879a52e7631a88bc5a3a134606052c9828
126
+ pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
127
+ pry-byebug (3.12.0) sha256=594e094ae8a8390a7ad4c7b36ae36e13304ed02664c67417d108dc5f7213d1b7
128
+ psych (5.5.0) sha256=4b245bbbd0f3238df8ccee766ebc1a6b062b10e4ee1d3284eb588739ba156a0a
129
+ racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
130
+ rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
131
+ rake (13.0.6) sha256=5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097
132
+ reline (0.7.0) sha256=5b012d8e55dbf9d450f12bde2cf7d15ff546ae80b3f8f3b30e570d431815583d
133
+ rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
134
+ rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
135
+ rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
136
+ rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
137
+ rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
138
+ rubocop (0.66.0) sha256=f05a6896f367765b3f0fba663d0add120444f8de604dada405662b10a0860f5a
139
+ ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
140
+ stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
141
+ typhoeus (1.6.0) sha256=bacc41c23e379547e29801dc235cd1699b70b955a1ba3d32b2b877aa844c331d
142
+ unicode-display_width (1.5.0) sha256=9890eebd24feb4cb0e0542c9b8c6beecb40cda27be8c7afe49312625b36156eb
143
+
71
144
  BUNDLED WITH
72
- 2.2.22
145
+ 4.0.19
data/README.md CHANGED
@@ -6,9 +6,9 @@ No description provided (generated by Openapi Generator https://github.com/opena
6
6
 
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
- - API version: 0.10.0
10
- - Package version: 0.10.0
11
- - Generator version: 7.9.0
9
+ - API version: 1.1.0
10
+ - Package version: 1.1.0
11
+ - Generator version: 7.24.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://github.com/oapicf/openapi-azureipranges](https://github.com/oapicf/openapi-azureipranges)
14
14
 
@@ -25,16 +25,16 @@ gem build openapi_azureipranges.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./openapi_azureipranges-0.10.0.gem
28
+ gem install ./openapi_azureipranges-1.1.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./openapi_azureipranges-0.10.0.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./openapi_azureipranges-1.1.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'openapi_azureipranges', '~> 0.10.0'
37
+ gem 'openapi_azureipranges', '~> 1.1.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -73,7 +73,7 @@ end
73
73
 
74
74
  ## Documentation for API Endpoints
75
75
 
76
- All URIs are relative to *https://download.microsoft.com/download/7/1/D/71D86715-5596-4529-9B13-DA13A5DE5B63*
76
+ All URIs are relative to *https://download.microsoft.com/download/7/1/d/71d86715-5596-4529-9b13-da13a5de5b63*
77
77
 
78
78
  Class | Method | HTTP request | Description
79
79
  ------------ | ------------- | ------------- | -------------
data/bin/byebug CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/coderay CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/htmldiff CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/ldiff CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/pry CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/racc CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/rake CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/rspec CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/rubocop CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/ruby-parse CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/bin/ruby-rewrite CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby3.0
1
+ #!/usr/bin/env ruby3.3
2
2
  # frozen_string_literal: true
3
3
 
4
4
  #
@@ -8,20 +8,7 @@
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)
14
-
15
- bundle_binstub = File.expand_path("../bundle", __FILE__)
16
-
17
- if File.file?(bundle_binstub)
18
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
19
- load(bundle_binstub)
20
- else
21
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
22
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
23
- end
24
- end
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
25
12
 
26
13
  require "rubygems"
27
14
  require "bundler/setup"
data/docs/DefaultApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # OpenApiAzureIpRangesClient::DefaultApi
2
2
 
3
- All URIs are relative to *https://download.microsoft.com/download/7/1/D/71D86715-5596-4529-9B13-DA13A5DE5B63*
3
+ All URIs are relative to *https://download.microsoft.com/download/7/1/d/71d86715-5596-4529-9b13-da13a5de5b63*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
@@ -68,5 +68,5 @@ No authorization required
68
68
  ### HTTP request headers
69
69
 
70
70
  - **Content-Type**: Not defined
71
- - **Accept**: application/json
71
+ - **Accept**: application/json, application/octet-stream
72
72
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 0.10.0
6
+ The version of the OpenAPI document: 1.1.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.24.0
10
10
 
11
11
  =end
12
12
 
@@ -43,7 +43,7 @@ module OpenApiAzureIpRangesClient
43
43
  fail ArgumentError, "Missing the required parameter 'version' when calling DefaultApi.get_azure_ip_ranges_service_tags_public_cloud"
44
44
  end
45
45
  # resource path
46
- local_var_path = '/ServiceTags_Public_{version}.json'.sub('{' + 'version' + '}', CGI.escape(version.to_s))
46
+ local_var_path = '/ServiceTags_Public_{version}.json'.sub('{version}', CGI.escape(version.to_s))
47
47
 
48
48
  # query parameters
49
49
  query_params = opts[:query_params] || {}
@@ -51,7 +51,7 @@ module OpenApiAzureIpRangesClient
51
51
  # header parameters
52
52
  header_params = opts[:header_params] || {}
53
53
  # HTTP header 'Accept' (if needed)
54
- header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
54
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/octet-stream']) unless header_params['Accept']
55
55
 
56
56
  # form parameters
57
57
  form_params = opts[:form_params] || {}
@@ -3,10 +3,10 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 0.10.0
6
+ The version of the OpenAPI document: 1.1.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.24.0
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,8 @@ module OpenApiAzureIpRangesClient
49
49
  # the data deserialized from response body (may be a Tempfile or nil), response status code and response headers.
50
50
  def call_api(http_method, path, opts = {})
51
51
  request = build_request(http_method, path, opts)
52
- tempfile = download_file(request) if opts[:return_type] == 'File'
52
+ tempfile = nil
53
+ (download_file(request) { tempfile = _1 }) if opts[:return_type] == 'File'
53
54
  response = request.run
54
55
 
55
56
  if @config.debugging
@@ -187,19 +188,17 @@ module OpenApiAzureIpRangesClient
187
188
  chunk.force_encoding(encoding)
188
189
  tempfile.write(chunk)
189
190
  end
190
- # run the request to ensure the tempfile is created successfully before returning it
191
- request.run
192
- if tempfile
191
+ request.on_complete do
192
+ if !tempfile
193
+ fail ApiError.new("Failed to create the tempfile based on the HTTP response from the server: #{request.inspect}")
194
+ end
193
195
  tempfile.close
194
196
  @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
195
197
  "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
196
198
  "will be deleted automatically with GC. It's also recommended to delete the temp file "\
197
199
  "explicitly with `tempfile.delete`"
198
- else
199
- fail ApiError.new("Failed to create the tempfile based on the HTTP response from the server: #{request.inspect}")
200
+ yield tempfile if block_given?
200
201
  end
201
-
202
- tempfile
203
202
  end
204
203
 
205
204
  # Check if the given MIME is a JSON MIME.
@@ -211,6 +210,8 @@ module OpenApiAzureIpRangesClient
211
210
  # @param [String] mime MIME
212
211
  # @return [Boolean] True if the MIME is application/json
213
212
  def json_mime?(mime)
213
+ return true if mime == 'application/octet-stream'
214
+ return true if mime == 'application/octet-stream'
214
215
  (mime == '*/*') || !(mime =~ /^Application\/.*json(?!p)(;.*)?/i).nil?
215
216
  end
216
217
 
@@ -278,9 +279,13 @@ module OpenApiAzureIpRangesClient
278
279
  data.each { |k, v| hash[k] = convert_to_type(v, sub_type) }
279
280
  end
280
281
  else
281
- # models (e.g. Pet) or oneOf
282
+ # models (e.g. Pet) or oneOf/anyOf
282
283
  klass = OpenApiAzureIpRangesClient.const_get(return_type)
283
- klass.respond_to?(:openapi_one_of) ? klass.build(data) : klass.build_from_hash(data)
284
+ if klass.respond_to?(:openapi_one_of) || klass.respond_to?(:openapi_any_of)
285
+ klass.build(data)
286
+ else
287
+ klass.build_from_hash(data)
288
+ end
284
289
  end
285
290
  end
286
291
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 0.10.0
6
+ The version of the OpenAPI document: 1.1.0
7
7
  Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.9.0
9
+ Generator version: 7.24.0
10
10
 
11
11
  =end
12
12