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
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openapi_azureipranges
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI Clients Factory
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -61,7 +61,6 @@ files:
|
|
|
61
61
|
- Gemfile.lock
|
|
62
62
|
- README.md
|
|
63
63
|
- Rakefile
|
|
64
|
-
- bin/bundle
|
|
65
64
|
- bin/byebug
|
|
66
65
|
- bin/coderay
|
|
67
66
|
- bin/htmldiff
|
|
@@ -82,6 +81,7 @@ files:
|
|
|
82
81
|
- lib/openapi_azureipranges/api/default_api.rb
|
|
83
82
|
- lib/openapi_azureipranges/api_client.rb
|
|
84
83
|
- lib/openapi_azureipranges/api_error.rb
|
|
84
|
+
- lib/openapi_azureipranges/api_model_base.rb
|
|
85
85
|
- lib/openapi_azureipranges/configuration.rb
|
|
86
86
|
- lib/openapi_azureipranges/models/change.rb
|
|
87
87
|
- lib/openapi_azureipranges/models/value.rb
|
|
@@ -97,7 +97,7 @@ homepage: https://github.com/oapicf/openapi-azureipranges
|
|
|
97
97
|
licenses:
|
|
98
98
|
- MIT
|
|
99
99
|
metadata: {}
|
|
100
|
-
post_install_message:
|
|
100
|
+
post_install_message:
|
|
101
101
|
rdoc_options: []
|
|
102
102
|
require_paths:
|
|
103
103
|
- lib
|
|
@@ -112,13 +112,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
112
112
|
- !ruby/object:Gem::Version
|
|
113
113
|
version: '0'
|
|
114
114
|
requirements: []
|
|
115
|
-
rubygems_version: 3.
|
|
116
|
-
signing_key:
|
|
115
|
+
rubygems_version: 3.4.20
|
|
116
|
+
signing_key:
|
|
117
117
|
specification_version: 4
|
|
118
118
|
summary: Azure IP Ranges and Service Tags - Public Cloud Ruby Gem
|
|
119
119
|
test_files:
|
|
120
120
|
- spec/api/default_api_spec.rb
|
|
121
121
|
- spec/models/value_spec.rb
|
|
122
|
-
- spec/models/value_properties_spec.rb
|
|
123
122
|
- spec/models/change_spec.rb
|
|
123
|
+
- spec/models/value_properties_spec.rb
|
|
124
124
|
- spec/spec_helper.rb
|
data/bin/bundle
DELETED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env ruby3.0
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
#
|
|
5
|
-
# This file was generated by Bundler.
|
|
6
|
-
#
|
|
7
|
-
# The application 'bundle' is installed as part of a gem, and
|
|
8
|
-
# this file is here to facilitate running it.
|
|
9
|
-
#
|
|
10
|
-
|
|
11
|
-
require "rubygems"
|
|
12
|
-
|
|
13
|
-
m = Module.new do
|
|
14
|
-
module_function
|
|
15
|
-
|
|
16
|
-
def invoked_as_script?
|
|
17
|
-
File.expand_path($0) == File.expand_path(__FILE__)
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
def env_var_version
|
|
21
|
-
ENV["BUNDLER_VERSION"]
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
def cli_arg_version
|
|
25
|
-
return unless invoked_as_script? # don't want to hijack other binstubs
|
|
26
|
-
return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update`
|
|
27
|
-
bundler_version = nil
|
|
28
|
-
update_index = nil
|
|
29
|
-
ARGV.each_with_index do |a, i|
|
|
30
|
-
if update_index && update_index.succ == i && a =~ Gem::Version::ANCHORED_VERSION_PATTERN
|
|
31
|
-
bundler_version = a
|
|
32
|
-
end
|
|
33
|
-
next unless a =~ /\A--bundler(?:[= ](#{Gem::Version::VERSION_PATTERN}))?\z/
|
|
34
|
-
bundler_version = $1
|
|
35
|
-
update_index = i
|
|
36
|
-
end
|
|
37
|
-
bundler_version
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
def gemfile
|
|
41
|
-
gemfile = ENV["BUNDLE_GEMFILE"]
|
|
42
|
-
return gemfile if gemfile && !gemfile.empty?
|
|
43
|
-
|
|
44
|
-
File.expand_path("../../Gemfile", __FILE__)
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
def lockfile
|
|
48
|
-
lockfile =
|
|
49
|
-
case File.basename(gemfile)
|
|
50
|
-
when "gems.rb" then gemfile.sub(/\.rb$/, gemfile)
|
|
51
|
-
else "#{gemfile}.lock"
|
|
52
|
-
end
|
|
53
|
-
File.expand_path(lockfile)
|
|
54
|
-
end
|
|
55
|
-
|
|
56
|
-
def lockfile_version
|
|
57
|
-
return unless File.file?(lockfile)
|
|
58
|
-
lockfile_contents = File.read(lockfile)
|
|
59
|
-
return unless lockfile_contents =~ /\n\nBUNDLED WITH\n\s{2,}(#{Gem::Version::VERSION_PATTERN})\n/
|
|
60
|
-
Regexp.last_match(1)
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
def bundler_version
|
|
64
|
-
@bundler_version ||=
|
|
65
|
-
env_var_version || cli_arg_version ||
|
|
66
|
-
lockfile_version
|
|
67
|
-
end
|
|
68
|
-
|
|
69
|
-
def bundler_requirement
|
|
70
|
-
return "#{Gem::Requirement.default}.a" unless bundler_version
|
|
71
|
-
|
|
72
|
-
bundler_gem_version = Gem::Version.new(bundler_version)
|
|
73
|
-
|
|
74
|
-
requirement = bundler_gem_version.approximate_recommendation
|
|
75
|
-
|
|
76
|
-
return requirement unless Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.7.0")
|
|
77
|
-
|
|
78
|
-
requirement += ".a" if bundler_gem_version.prerelease?
|
|
79
|
-
|
|
80
|
-
requirement
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
def load_bundler!
|
|
84
|
-
ENV["BUNDLE_GEMFILE"] ||= gemfile
|
|
85
|
-
|
|
86
|
-
activate_bundler
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
def activate_bundler
|
|
90
|
-
gem_error = activation_error_handling do
|
|
91
|
-
gem "bundler", bundler_requirement
|
|
92
|
-
end
|
|
93
|
-
return if gem_error.nil?
|
|
94
|
-
require_error = activation_error_handling do
|
|
95
|
-
require "bundler/version"
|
|
96
|
-
end
|
|
97
|
-
return if require_error.nil? && Gem::Requirement.new(bundler_requirement).satisfied_by?(Gem::Version.new(Bundler::VERSION))
|
|
98
|
-
warn "Activating bundler (#{bundler_requirement}) failed:\n#{gem_error.message}\n\nTo install the version of bundler this project requires, run `gem install bundler -v '#{bundler_requirement}'`"
|
|
99
|
-
exit 42
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
def activation_error_handling
|
|
103
|
-
yield
|
|
104
|
-
nil
|
|
105
|
-
rescue StandardError, LoadError => e
|
|
106
|
-
e
|
|
107
|
-
end
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
m.load_bundler!
|
|
111
|
-
|
|
112
|
-
if m.invoked_as_script?
|
|
113
|
-
load Gem.bin_path("bundler", "bundle")
|
|
114
|
-
end
|