openapi_ipify 3.3.0 → 4.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 +15 -13
- data/README.md +6 -6
- data/bin/bundle +5 -10
- data/bin/byebug +1 -1
- data/bin/coderay +1 -1
- data/bin/htmldiff +1 -1
- data/bin/ldiff +1 -1
- data/bin/pry +1 -1
- data/bin/racc +27 -0
- data/bin/rake +1 -1
- data/bin/rspec +1 -1
- data/bin/rubocop +1 -1
- data/bin/ruby-parse +1 -1
- data/bin/ruby-rewrite +1 -1
- data/lib/openapi_ipify/api/default_api.rb +2 -2
- data/lib/openapi_ipify/api_client.rb +2 -2
- data/lib/openapi_ipify/api_error.rb +3 -2
- data/lib/openapi_ipify/configuration.rb +19 -3
- data/lib/openapi_ipify/models/ip.rb +2 -2
- data/lib/openapi_ipify/version.rb +3 -3
- data/lib/openapi_ipify.rb +2 -2
- data/openapi_ipify.gemspec +2 -2
- data/spec/api/default_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +4 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/ip_spec.rb +3 -3
- data/spec/spec_helper.rb +2 -2
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c5eda89a756f4fdcbe5c9b8117b1fa36d607bfa44c946c8830fca7b639b443b
|
4
|
+
data.tar.gz: 220a0edc6c6ce1bd95a8e5eb1e7a669beaca81bdc83ed1d125af1ec0983ed590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1168ecdaabf9f51dfbfd2d18aa9f8f38c7a820e17269cb73da2d67308847896d848c9b239ad6002c24cd04dcf52b26c4dd9a91760192e7f6e99a6754d37aef64
|
7
|
+
data.tar.gz: 3aa98ef500c14728772eaf9ae298ddc45ccd14b24c04a1c3261a08550e058ec2872b8f20bacd1f49ac198474e2f0ee9e7ddc46befa8d20210f6218b87849d6ca
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
openapi_ipify (
|
4
|
+
openapi_ipify (4.0.0)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -14,34 +14,36 @@ GEM
|
|
14
14
|
ethon (0.16.0)
|
15
15
|
ffi (>= 1.15.0)
|
16
16
|
ffi (1.15.5)
|
17
|
-
jaro_winkler (1.5.
|
17
|
+
jaro_winkler (1.5.6)
|
18
18
|
method_source (1.0.0)
|
19
|
-
parallel (1.
|
20
|
-
parser (3.
|
19
|
+
parallel (1.23.0)
|
20
|
+
parser (3.2.2.3)
|
21
21
|
ast (~> 2.4.1)
|
22
|
-
|
22
|
+
racc
|
23
|
+
pry (0.14.2)
|
23
24
|
coderay (~> 1.1)
|
24
25
|
method_source (~> 1.0)
|
25
26
|
pry-byebug (3.10.1)
|
26
27
|
byebug (~> 11.0)
|
27
28
|
pry (>= 0.13, < 0.15)
|
28
|
-
psych (
|
29
|
+
psych (5.1.0)
|
29
30
|
stringio
|
31
|
+
racc (1.7.1)
|
30
32
|
rainbow (3.1.1)
|
31
33
|
rake (13.0.6)
|
32
34
|
rspec (3.12.0)
|
33
35
|
rspec-core (~> 3.12.0)
|
34
36
|
rspec-expectations (~> 3.12.0)
|
35
37
|
rspec-mocks (~> 3.12.0)
|
36
|
-
rspec-core (3.12.
|
38
|
+
rspec-core (3.12.2)
|
37
39
|
rspec-support (~> 3.12.0)
|
38
|
-
rspec-expectations (3.12.
|
40
|
+
rspec-expectations (3.12.3)
|
39
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
42
|
rspec-support (~> 3.12.0)
|
41
|
-
rspec-mocks (3.12.
|
43
|
+
rspec-mocks (3.12.6)
|
42
44
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
45
|
rspec-support (~> 3.12.0)
|
44
|
-
rspec-support (3.12.
|
46
|
+
rspec-support (3.12.1)
|
45
47
|
rubocop (0.66.0)
|
46
48
|
jaro_winkler (~> 1.5.1)
|
47
49
|
parallel (~> 1.10)
|
@@ -50,8 +52,8 @@ GEM
|
|
50
52
|
rainbow (>= 2.2.2, < 4.0)
|
51
53
|
ruby-progressbar (~> 1.7)
|
52
54
|
unicode-display_width (>= 1.4.0, < 1.6)
|
53
|
-
ruby-progressbar (1.
|
54
|
-
stringio (3.0.
|
55
|
+
ruby-progressbar (1.13.0)
|
56
|
+
stringio (3.0.7)
|
55
57
|
typhoeus (1.4.0)
|
56
58
|
ethon (>= 0.9.0)
|
57
59
|
unicode-display_width (1.5.0)
|
@@ -67,4 +69,4 @@ DEPENDENCIES
|
|
67
69
|
rubocop (~> 0.66.0)
|
68
70
|
|
69
71
|
BUNDLED WITH
|
70
|
-
2.
|
72
|
+
2.4.17
|
data/README.md
CHANGED
@@ -6,8 +6,8 @@ OpenAPI client for ipify, a simple public IP address API
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
|
-
- API version:
|
10
|
-
- Package version:
|
9
|
+
- API version: 4.0.0
|
10
|
+
- Package version: 4.0.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://github.com/cliffano/openapi-ipify](https://github.com/cliffano/openapi-ipify)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build openapi_ipify.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./openapi_ipify-
|
27
|
+
gem install ./openapi_ipify-4.0.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./openapi_ipify-
|
30
|
+
(for development, run `gem install --dev ./openapi_ipify-4.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 'openapi_ipify', '~>
|
36
|
+
gem 'openapi_ipify', '~> 4.0.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -89,5 +89,5 @@ Class | Method | HTTP request | Description
|
|
89
89
|
|
90
90
|
## Documentation for Authorization
|
91
91
|
|
92
|
-
|
92
|
+
Endpoints do not require authorization.
|
93
93
|
|
data/bin/bundle
CHANGED
@@ -47,7 +47,7 @@ m = Module.new do
|
|
47
47
|
def lockfile
|
48
48
|
lockfile =
|
49
49
|
case File.basename(gemfile)
|
50
|
-
when "gems.rb" then gemfile.sub(/\.rb$/,
|
50
|
+
when "gems.rb" then gemfile.sub(/\.rb$/, ".locked")
|
51
51
|
else "#{gemfile}.lock"
|
52
52
|
end
|
53
53
|
File.expand_path(lockfile)
|
@@ -62,8 +62,9 @@ m = Module.new do
|
|
62
62
|
|
63
63
|
def bundler_requirement
|
64
64
|
@bundler_requirement ||=
|
65
|
-
env_var_version ||
|
66
|
-
|
65
|
+
env_var_version ||
|
66
|
+
cli_arg_version ||
|
67
|
+
bundler_requirement_for(lockfile_version)
|
67
68
|
end
|
68
69
|
|
69
70
|
def bundler_requirement_for(version)
|
@@ -71,13 +72,7 @@ m = Module.new do
|
|
71
72
|
|
72
73
|
bundler_gem_version = Gem::Version.new(version)
|
73
74
|
|
74
|
-
|
75
|
-
|
76
|
-
return requirement unless Gem.rubygems_version < Gem::Version.new("2.7.0")
|
77
|
-
|
78
|
-
requirement += ".a" if bundler_gem_version.prerelease?
|
79
|
-
|
80
|
-
requirement
|
75
|
+
bundler_gem_version.approximate_recommendation
|
81
76
|
end
|
82
77
|
|
83
78
|
def load_bundler!
|
data/bin/byebug
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/coderay
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/htmldiff
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/ldiff
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/pry
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/racc
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
#!/usr/bin/env ruby2.7
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'racc' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
12
|
+
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
|
+
|
15
|
+
if File.file?(bundle_binstub)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
|
+
load(bundle_binstub)
|
18
|
+
else
|
19
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
20
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
require "rubygems"
|
25
|
+
require "bundler/setup"
|
26
|
+
|
27
|
+
load Gem.bin_path("racc", "racc")
|
data/bin/rake
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/rspec
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/rubocop
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/ruby-parse
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
data/bin/ruby-rewrite
CHANGED
@@ -13,7 +13,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
13
13
|
bundle_binstub = File.expand_path("bundle", __dir__)
|
14
14
|
|
15
15
|
if File.file?(bundle_binstub)
|
16
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,6 +32,7 @@ module OpenApiIpifyClient
|
|
32
32
|
end
|
33
33
|
else
|
34
34
|
super arg
|
35
|
+
@message = arg
|
35
36
|
end
|
36
37
|
end
|
37
38
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -62,6 +62,16 @@ module OpenApiIpifyClient
|
|
62
62
|
# Defines the access token (Bearer) used with OAuth2.
|
63
63
|
attr_accessor :access_token
|
64
64
|
|
65
|
+
# Defines a Proc used to fetch or refresh access tokens (Bearer) used with OAuth2.
|
66
|
+
# Overrides the access_token if set
|
67
|
+
# @return [Proc]
|
68
|
+
attr_accessor :access_token_getter
|
69
|
+
|
70
|
+
# Set this to return data as binary instead of downloading a temp file. When enabled (set to true)
|
71
|
+
# HTTP responses with return type `File` will be returned as a stream of binary data.
|
72
|
+
# Default to false.
|
73
|
+
attr_accessor :return_binary_data
|
74
|
+
|
65
75
|
# Set this to enable/disable debugging. When enabled (set to true), HTTP request/response
|
66
76
|
# details will be logged with `logger.debug` (see the `logger` attribute).
|
67
77
|
# Default to false.
|
@@ -190,7 +200,7 @@ module OpenApiIpifyClient
|
|
190
200
|
|
191
201
|
# Returns base URL for specified operation based on server settings
|
192
202
|
def base_url(operation = nil)
|
193
|
-
index = server_operation_index
|
203
|
+
index = server_operation_index[operation]
|
194
204
|
return "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '') if index == nil
|
195
205
|
|
196
206
|
server_url(index, server_operation_variables.fetch(operation, server_variables), operation_server_settings[operation])
|
@@ -208,6 +218,12 @@ module OpenApiIpifyClient
|
|
208
218
|
end
|
209
219
|
end
|
210
220
|
|
221
|
+
# Gets access_token using access_token_getter or uses the static access_token
|
222
|
+
def access_token_with_refresh
|
223
|
+
return access_token if access_token_getter.nil?
|
224
|
+
access_token_getter.call
|
225
|
+
end
|
226
|
+
|
211
227
|
# Gets Basic Auth token string
|
212
228
|
def basic_auth_token
|
213
229
|
'Basic ' + ["#{username}:#{password}"].pack('m').delete("\r\n")
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,13 +3,13 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module OpenApiIpifyClient
|
14
|
-
VERSION = '
|
14
|
+
VERSION = '4.0.0'
|
15
15
|
end
|
data/lib/openapi_ipify.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
data/openapi_ipify.gemspec
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
#OpenAPI client for ipify, a simple public IP address API
|
7
7
|
|
8
|
-
The version of the OpenAPI document:
|
8
|
+
The version of the OpenAPI document: 4.0.0
|
9
9
|
Contact: blah@cliffano.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
|
-
OpenAPI Generator version: 6.
|
11
|
+
OpenAPI Generator version: 6.6.0
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -40,7 +40,7 @@ describe 'DefaultApi' do
|
|
40
40
|
# @return [Ip]
|
41
41
|
describe 'get_ip test' do
|
42
42
|
it 'should work' do
|
43
|
-
# assertion here. ref: https://
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
data/spec/api_client_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -89,6 +89,8 @@ describe OpenApiIpifyClient::ApiClient do
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
|
+
|
93
|
+
|
92
94
|
describe '#deserialize' do
|
93
95
|
it "handles Array<Integer>" do
|
94
96
|
api_client = OpenApiIpifyClient::ApiClient.new
|
data/spec/configuration_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
data/spec/models/ip_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,7 +27,7 @@ describe OpenApiIpifyClient::Ip do
|
|
27
27
|
end
|
28
28
|
describe 'test attribute "ip"' do
|
29
29
|
it 'should work' do
|
30
|
-
# assertion here. ref: https://
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
data/spec/spec_helper.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#OpenAPI client for ipify, a simple public IP address API
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 4.0.0
|
7
7
|
Contact: blah@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openapi_ipify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cliffano Subagio
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- bin/htmldiff
|
68
68
|
- bin/ldiff
|
69
69
|
- bin/pry
|
70
|
+
- bin/racc
|
70
71
|
- bin/rake
|
71
72
|
- bin/rspec
|
72
73
|
- bin/rubocop
|
@@ -92,7 +93,7 @@ homepage: https://github.com/cliffano/openapi-ipify
|
|
92
93
|
licenses:
|
93
94
|
- MIT
|
94
95
|
metadata: {}
|
95
|
-
post_install_message:
|
96
|
+
post_install_message:
|
96
97
|
rdoc_options: []
|
97
98
|
require_paths:
|
98
99
|
- lib
|
@@ -108,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
109
|
version: '0'
|
109
110
|
requirements: []
|
110
111
|
rubygems_version: 3.1.2
|
111
|
-
signing_key:
|
112
|
+
signing_key:
|
112
113
|
specification_version: 4
|
113
114
|
summary: openapi-ipify Ruby Gem
|
114
115
|
test_files:
|