openapi_azureipranges 0.10.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +92 -23
- data/README.md +7 -7
- data/bin/byebug +2 -15
- data/bin/coderay +2 -15
- data/bin/htmldiff +2 -15
- data/bin/ldiff +2 -15
- data/bin/pry +2 -15
- data/bin/racc +2 -15
- data/bin/rake +2 -15
- data/bin/rspec +2 -15
- data/bin/rubocop +2 -15
- data/bin/ruby-parse +2 -15
- data/bin/ruby-rewrite +2 -15
- data/docs/DefaultApi.md +2 -2
- data/lib/openapi_azureipranges/api/default_api.rb +3 -3
- data/lib/openapi_azureipranges/api_client.rb +17 -12
- data/lib/openapi_azureipranges/api_error.rb +2 -2
- data/lib/openapi_azureipranges/api_model_base.rb +88 -0
- data/lib/openapi_azureipranges/configuration.rb +4 -4
- data/lib/openapi_azureipranges/models/change.rb +12 -79
- data/lib/openapi_azureipranges/models/value.rb +12 -79
- data/lib/openapi_azureipranges/models/value_properties.rb +12 -79
- data/lib/openapi_azureipranges/version.rb +3 -3
- data/lib/openapi_azureipranges.rb +3 -2
- data/openapi_azureipranges.gemspec +2 -2
- data/spec/api/default_api_spec.rb +2 -2
- data/spec/models/change_spec.rb +3 -3
- data/spec/models/value_properties_spec.rb +3 -3
- data/spec/models/value_spec.rb +3 -3
- data/spec/spec_helper.rb +2 -2
- metadata +8 -8
- data/bin/bundle +0 -114
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e2237d76b386a3933eedac28a29a72404bedecb2d7545ab8f54ca3b2c5586ec
|
|
4
|
+
data.tar.gz: 3d2facc0aa0078df5d0a7d879cf979999f44136f43e1b2146ea5b8a8deb62dc5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34fc9e68dae28a11fb6fda78b294295012c8ea16098bc9cff0eef1d76e918b570241b524aab53d9d5403b01158b9c403b9b065d2a5dbfc5c4cc03bec9c0a1bfb
|
|
7
|
+
data.tar.gz: 0d8867107ea5e52e111acb0c9ac2e106426fa9e9e89baa7578e4b60c7fdd12104282266dba56d6c9e436aa6a7daf74417d684c92e03f65e828f59282ed8a075a
|
data/Gemfile.lock
CHANGED
|
@@ -1,49 +1,66 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
openapi_azureipranges (0.
|
|
4
|
+
openapi_azureipranges (1.0.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 (13.0.0)
|
|
12
|
+
reline (>= 0.6.0)
|
|
12
13
|
coderay (1.1.3)
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
date (3.5.1)
|
|
15
|
+
diff-lcs (1.6.2)
|
|
16
|
+
ethon (0.15.0)
|
|
15
17
|
ffi (>= 1.15.0)
|
|
16
|
-
ffi (1.17.
|
|
18
|
+
ffi (1.17.3)
|
|
19
|
+
ffi (1.17.3-aarch64-linux-gnu)
|
|
20
|
+
ffi (1.17.3-aarch64-linux-musl)
|
|
21
|
+
ffi (1.17.3-arm-linux-gnu)
|
|
22
|
+
ffi (1.17.3-arm-linux-musl)
|
|
23
|
+
ffi (1.17.3-arm64-darwin)
|
|
24
|
+
ffi (1.17.3-x86-linux-gnu)
|
|
25
|
+
ffi (1.17.3-x86-linux-musl)
|
|
26
|
+
ffi (1.17.3-x86_64-darwin)
|
|
27
|
+
ffi (1.17.3-x86_64-linux-gnu)
|
|
28
|
+
ffi (1.17.3-x86_64-linux-musl)
|
|
29
|
+
io-console (0.8.2)
|
|
17
30
|
jaro_winkler (1.5.6)
|
|
18
31
|
method_source (1.1.0)
|
|
19
|
-
parallel (1.
|
|
20
|
-
parser (3.3.
|
|
32
|
+
parallel (1.27.0)
|
|
33
|
+
parser (3.3.10.1)
|
|
21
34
|
ast (~> 2.4.1)
|
|
22
35
|
racc
|
|
23
|
-
pry (0.
|
|
36
|
+
pry (0.16.0)
|
|
24
37
|
coderay (~> 1.1)
|
|
25
38
|
method_source (~> 1.0)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
39
|
+
reline (>= 0.6.0)
|
|
40
|
+
pry-byebug (3.12.0)
|
|
41
|
+
byebug (~> 13.0)
|
|
42
|
+
pry (>= 0.13, < 0.17)
|
|
43
|
+
psych (5.3.1)
|
|
44
|
+
date
|
|
30
45
|
stringio
|
|
31
46
|
racc (1.8.1)
|
|
32
47
|
rainbow (3.1.1)
|
|
33
48
|
rake (13.0.6)
|
|
34
|
-
|
|
49
|
+
reline (0.6.3)
|
|
50
|
+
io-console (~> 0.5)
|
|
51
|
+
rspec (3.13.2)
|
|
35
52
|
rspec-core (~> 3.13.0)
|
|
36
53
|
rspec-expectations (~> 3.13.0)
|
|
37
54
|
rspec-mocks (~> 3.13.0)
|
|
38
|
-
rspec-core (3.13.
|
|
55
|
+
rspec-core (3.13.6)
|
|
39
56
|
rspec-support (~> 3.13.0)
|
|
40
|
-
rspec-expectations (3.13.
|
|
57
|
+
rspec-expectations (3.13.5)
|
|
41
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
42
59
|
rspec-support (~> 3.13.0)
|
|
43
|
-
rspec-mocks (3.13.
|
|
60
|
+
rspec-mocks (3.13.7)
|
|
44
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
45
62
|
rspec-support (~> 3.13.0)
|
|
46
|
-
rspec-support (3.13.
|
|
63
|
+
rspec-support (3.13.7)
|
|
47
64
|
rubocop (0.66.0)
|
|
48
65
|
jaro_winkler (~> 1.5.1)
|
|
49
66
|
parallel (~> 1.10)
|
|
@@ -53,13 +70,23 @@ GEM
|
|
|
53
70
|
ruby-progressbar (~> 1.7)
|
|
54
71
|
unicode-display_width (>= 1.4.0, < 1.6)
|
|
55
72
|
ruby-progressbar (1.13.0)
|
|
56
|
-
stringio (3.
|
|
57
|
-
typhoeus (1.
|
|
58
|
-
ethon (>= 0.9.0)
|
|
73
|
+
stringio (3.2.0)
|
|
74
|
+
typhoeus (1.5.0)
|
|
75
|
+
ethon (>= 0.9.0, < 0.16.0)
|
|
59
76
|
unicode-display_width (1.5.0)
|
|
60
77
|
|
|
61
78
|
PLATFORMS
|
|
62
|
-
|
|
79
|
+
aarch64-linux-gnu
|
|
80
|
+
aarch64-linux-musl
|
|
81
|
+
arm-linux-gnu
|
|
82
|
+
arm-linux-musl
|
|
83
|
+
arm64-darwin
|
|
84
|
+
ruby
|
|
85
|
+
x86-linux-gnu
|
|
86
|
+
x86-linux-musl
|
|
87
|
+
x86_64-darwin
|
|
88
|
+
x86_64-linux-gnu
|
|
89
|
+
x86_64-linux-musl
|
|
63
90
|
|
|
64
91
|
DEPENDENCIES
|
|
65
92
|
openapi_azureipranges!
|
|
@@ -68,5 +95,47 @@ DEPENDENCIES
|
|
|
68
95
|
rspec (~> 3.6, >= 3.6.0)
|
|
69
96
|
rubocop (~> 0.66.0)
|
|
70
97
|
|
|
98
|
+
CHECKSUMS
|
|
99
|
+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
100
|
+
byebug (13.0.0) sha256=d2263efe751941ca520fa29744b71972d39cbc41839496706f5d9b22e92ae05d
|
|
101
|
+
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
|
102
|
+
date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
|
|
103
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
104
|
+
ethon (0.15.0) sha256=0809805a035bc10f54162ca99f15ded49e428e0488bcfe1c08c821e18261a74d
|
|
105
|
+
ffi (1.17.3) sha256=0e9f39f7bb3934f77ad6feab49662be77e87eedcdeb2a3f5c0234c2938563d4c
|
|
106
|
+
ffi (1.17.3-aarch64-linux-gnu) sha256=28ad573df26560f0aedd8a90c3371279a0b2bd0b4e834b16a2baa10bd7a97068
|
|
107
|
+
ffi (1.17.3-aarch64-linux-musl) sha256=020b33b76775b1abacc3b7d86b287cef3251f66d747092deec592c7f5df764b2
|
|
108
|
+
ffi (1.17.3-arm-linux-gnu) sha256=5bd4cea83b68b5ec0037f99c57d5ce2dd5aa438f35decc5ef68a7d085c785668
|
|
109
|
+
ffi (1.17.3-arm-linux-musl) sha256=0d7626bb96265f9af78afa33e267d71cfef9d9a8eb8f5525344f8da6c7d76053
|
|
110
|
+
ffi (1.17.3-arm64-darwin) sha256=0c690555d4cee17a7f07c04d59df39b2fba74ec440b19da1f685c6579bb0717f
|
|
111
|
+
ffi (1.17.3-x86-linux-gnu) sha256=868a88fcaf5186c3a46b7c7c2b2c34550e1e61a405670ab23f5b6c9971529089
|
|
112
|
+
ffi (1.17.3-x86-linux-musl) sha256=f0286aa6ef40605cf586e61406c446de34397b85dbb08cc99fdaddaef8343945
|
|
113
|
+
ffi (1.17.3-x86_64-darwin) sha256=1f211811eb5cfaa25998322cdd92ab104bfbd26d1c4c08471599c511f2c00bb5
|
|
114
|
+
ffi (1.17.3-x86_64-linux-gnu) sha256=3746b01f677aae7b16dc1acb7cb3cc17b3e35bdae7676a3f568153fb0e2c887f
|
|
115
|
+
ffi (1.17.3-x86_64-linux-musl) sha256=086b221c3a68320b7564066f46fed23449a44f7a1935f1fe5a245bd89d9aea56
|
|
116
|
+
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
117
|
+
jaro_winkler (1.5.6) sha256=007db7805527ada1cc12f2547676181d63b0a504ec4dd7a9a2eb2424521ccd81
|
|
118
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
|
119
|
+
openapi_azureipranges (1.0.0)
|
|
120
|
+
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
|
|
121
|
+
parser (3.3.10.1) sha256=06f6a725d2cd91e5e7f2b7c32ba143631e1f7c8ae2fb918fc4cebec187e6a688
|
|
122
|
+
pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
|
|
123
|
+
pry-byebug (3.12.0) sha256=594e094ae8a8390a7ad4c7b36ae36e13304ed02664c67417d108dc5f7213d1b7
|
|
124
|
+
psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
|
|
125
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
126
|
+
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
127
|
+
rake (13.0.6) sha256=5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097
|
|
128
|
+
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
|
129
|
+
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
130
|
+
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
131
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
132
|
+
rspec-mocks (3.13.7) sha256=0979034e64b1d7a838aaaddf12bf065ea4dc40ef3d4c39f01f93ae2c66c62b1c
|
|
133
|
+
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
134
|
+
rubocop (0.66.0) sha256=f05a6896f367765b3f0fba663d0add120444f8de604dada405662b10a0860f5a
|
|
135
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
136
|
+
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
|
|
137
|
+
typhoeus (1.5.0) sha256=120b67ed1ef515e6c0e938176db880f15b0916f038e78ce2a66290f3f1de3e3b
|
|
138
|
+
unicode-display_width (1.5.0) sha256=9890eebd24feb4cb0e0542c9b8c6beecb40cda27be8c7afe49312625b36156eb
|
|
139
|
+
|
|
71
140
|
BUNDLED WITH
|
|
72
|
-
|
|
141
|
+
4.0.5
|
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
|
-
- Package version: 0.
|
|
11
|
-
- Generator version: 7.
|
|
9
|
+
- API version: 1.0.0
|
|
10
|
+
- Package version: 1.0.0
|
|
11
|
+
- Generator version: 7.18.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.
|
|
28
|
+
gem install ./openapi_azureipranges-1.0.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./openapi_azureipranges-0.
|
|
31
|
+
(for development, run `gem install --dev ./openapi_azureipranges-1.0.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.
|
|
37
|
+
gem 'openapi_azureipranges', '~> 1.0.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/
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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.
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
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
|
-
|
|
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/
|
|
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.
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.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 =
|
|
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
|
-
|
|
191
|
-
|
|
192
|
-
|
|
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
|
-
|
|
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)
|
|
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.
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.18.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|