minecraft_versions 1.0.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 +4 -4
- data/Gemfile.lock +21 -19
- data/README.md +6 -6
- data/bin/bundle +12 -17
- data/bin/byebug +4 -6
- data/bin/coderay +4 -6
- data/bin/htmldiff +4 -6
- data/bin/ldiff +4 -6
- data/bin/pry +4 -6
- data/bin/racc +4 -6
- data/bin/rake +4 -6
- data/bin/rspec +4 -6
- data/bin/rubocop +4 -6
- data/bin/ruby-parse +4 -6
- data/bin/ruby-rewrite +4 -6
- data/lib/minecraft_versions/api/default_api.rb +2 -2
- data/lib/minecraft_versions/api_client.rb +9 -10
- data/lib/minecraft_versions/api_error.rb +2 -2
- data/lib/minecraft_versions/configuration.rb +2 -2
- data/lib/minecraft_versions/models/download.rb +11 -5
- data/lib/minecraft_versions/models/version.rb +11 -5
- data/lib/minecraft_versions/models/version_manifest.rb +11 -5
- data/lib/minecraft_versions/models/version_manifest_latest.rb +11 -5
- data/lib/minecraft_versions/models/version_package_info.rb +11 -5
- data/lib/minecraft_versions/models/version_package_info_asset_index.rb +11 -5
- data/lib/minecraft_versions/models/version_package_info_downloads.rb +11 -5
- data/lib/minecraft_versions/models/version_package_info_java_version.rb +11 -5
- data/lib/minecraft_versions/version.rb +3 -3
- data/lib/minecraft_versions.rb +2 -2
- data/minecraft_versions.gemspec +2 -2
- data/spec/api/default_api_spec.rb +2 -2
- data/spec/models/download_spec.rb +2 -2
- data/spec/models/version_manifest_latest_spec.rb +2 -2
- data/spec/models/version_manifest_spec.rb +2 -2
- data/spec/models/version_package_info_asset_index_spec.rb +2 -2
- data/spec/models/version_package_info_downloads_spec.rb +2 -2
- data/spec/models/version_package_info_java_version_spec.rb +2 -2
- data/spec/models/version_package_info_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5012de8eb061fd3af5ffc35b3f840e6d40fd81b888e9af1494e165147ae15051
|
4
|
+
data.tar.gz: e11a9375c171e99311200d2228af412a49c5d9e9e992c06fabdee44020269681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0288f6235547877187bfa6d1427a6ff828a96f8c5799fe2ea8c82a99c664a7a5445994ea2d95b61e7de1158db7baceedb0ce30326c7b81091c58c07b1a86ea8a'
|
7
|
+
data.tar.gz: af5f21ca85f4be39fd45370cf043d6a3f77b702e17fcb2a1bf34970e5303b66a0b53e1b3d71231b3d7aaa8a26f2b72bf75a5129d4feded298547bbfab2925741
|
data/Gemfile.lock
CHANGED
@@ -1,32 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
minecraft_versions (1.
|
4
|
+
minecraft_versions (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.
|
11
|
-
byebug (
|
10
|
+
ast (2.4.3)
|
11
|
+
byebug (12.0.0)
|
12
12
|
coderay (1.1.3)
|
13
|
-
|
13
|
+
date (3.4.1)
|
14
|
+
diff-lcs (1.6.1)
|
14
15
|
ethon (0.16.0)
|
15
16
|
ffi (>= 1.15.0)
|
16
|
-
ffi (1.17.
|
17
|
+
ffi (1.17.2-x86_64-linux-gnu)
|
17
18
|
jaro_winkler (1.5.6)
|
18
19
|
method_source (1.1.0)
|
19
|
-
parallel (1.
|
20
|
-
parser (3.3.
|
20
|
+
parallel (1.27.0)
|
21
|
+
parser (3.3.8.0)
|
21
22
|
ast (~> 2.4.1)
|
22
23
|
racc
|
23
|
-
pry (0.
|
24
|
+
pry (0.15.2)
|
24
25
|
coderay (~> 1.1)
|
25
26
|
method_source (~> 1.0)
|
26
|
-
pry-byebug (3.
|
27
|
-
byebug (~>
|
28
|
-
pry (>= 0.13, < 0.
|
29
|
-
psych (5.
|
27
|
+
pry-byebug (3.11.0)
|
28
|
+
byebug (~> 12.0)
|
29
|
+
pry (>= 0.13, < 0.16)
|
30
|
+
psych (5.2.4)
|
31
|
+
date
|
30
32
|
stringio
|
31
33
|
racc (1.8.1)
|
32
34
|
rainbow (3.1.1)
|
@@ -35,15 +37,15 @@ GEM
|
|
35
37
|
rspec-core (~> 3.13.0)
|
36
38
|
rspec-expectations (~> 3.13.0)
|
37
39
|
rspec-mocks (~> 3.13.0)
|
38
|
-
rspec-core (3.13.
|
40
|
+
rspec-core (3.13.3)
|
39
41
|
rspec-support (~> 3.13.0)
|
40
|
-
rspec-expectations (3.13.
|
42
|
+
rspec-expectations (3.13.4)
|
41
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
42
44
|
rspec-support (~> 3.13.0)
|
43
|
-
rspec-mocks (3.13.
|
45
|
+
rspec-mocks (3.13.3)
|
44
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
45
47
|
rspec-support (~> 3.13.0)
|
46
|
-
rspec-support (3.13.
|
48
|
+
rspec-support (3.13.3)
|
47
49
|
rubocop (0.66.0)
|
48
50
|
jaro_winkler (~> 1.5.1)
|
49
51
|
parallel (~> 1.10)
|
@@ -53,13 +55,13 @@ GEM
|
|
53
55
|
ruby-progressbar (~> 1.7)
|
54
56
|
unicode-display_width (>= 1.4.0, < 1.6)
|
55
57
|
ruby-progressbar (1.13.0)
|
56
|
-
stringio (3.1.
|
58
|
+
stringio (3.1.7)
|
57
59
|
typhoeus (1.4.1)
|
58
60
|
ethon (>= 0.9.0)
|
59
61
|
unicode-display_width (1.5.0)
|
60
62
|
|
61
63
|
PLATFORMS
|
62
|
-
x86_64-linux
|
64
|
+
x86_64-linux-gnu
|
63
65
|
|
64
66
|
DEPENDENCIES
|
65
67
|
minecraft_versions!
|
@@ -69,4 +71,4 @@ DEPENDENCIES
|
|
69
71
|
rubocop (~> 0.66.0)
|
70
72
|
|
71
73
|
BUNDLED WITH
|
72
|
-
2.
|
74
|
+
2.4.19
|
data/README.md
CHANGED
@@ -6,9 +6,9 @@ SDK for Minecraft versions info
|
|
6
6
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
|
-
- API version: 1.
|
10
|
-
- Package version: 1.
|
11
|
-
- Generator version: 7.
|
9
|
+
- API version: 1.1.0
|
10
|
+
- Package version: 1.1.0
|
11
|
+
- Generator version: 7.12.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://github.com/oapicf/minecraft-versions](https://github.com/oapicf/minecraft-versions)
|
14
14
|
|
@@ -25,16 +25,16 @@ gem build minecraft_versions.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./minecraft_versions-1.
|
28
|
+
gem install ./minecraft_versions-1.1.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./minecraft_versions-1.
|
31
|
+
(for development, run `gem install --dev ./minecraft_versions-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 'minecraft_versions', '~> 1.
|
37
|
+
gem 'minecraft_versions', '~> 1.1.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
data/bin/bundle
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
|
#
|
@@ -41,13 +41,13 @@ m = Module.new do
|
|
41
41
|
gemfile = ENV["BUNDLE_GEMFILE"]
|
42
42
|
return gemfile if gemfile && !gemfile.empty?
|
43
43
|
|
44
|
-
File.expand_path("
|
44
|
+
File.expand_path("../Gemfile", __dir__)
|
45
45
|
end
|
46
46
|
|
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)
|
@@ -60,24 +60,19 @@ m = Module.new do
|
|
60
60
|
Regexp.last_match(1)
|
61
61
|
end
|
62
62
|
|
63
|
-
def bundler_version
|
64
|
-
@bundler_version ||=
|
65
|
-
env_var_version || cli_arg_version ||
|
66
|
-
lockfile_version
|
67
|
-
end
|
68
|
-
|
69
63
|
def bundler_requirement
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
64
|
+
@bundler_requirement ||=
|
65
|
+
env_var_version ||
|
66
|
+
cli_arg_version ||
|
67
|
+
bundler_requirement_for(lockfile_version)
|
68
|
+
end
|
75
69
|
|
76
|
-
|
70
|
+
def bundler_requirement_for(version)
|
71
|
+
return "#{Gem::Requirement.default}.a" unless version
|
77
72
|
|
78
|
-
|
73
|
+
bundler_gem_version = Gem::Version.new(version)
|
79
74
|
|
80
|
-
|
75
|
+
bundler_gem_version.approximate_recommendation
|
81
76
|
end
|
82
77
|
|
83
78
|
def load_bundler!
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
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,14 +8,12 @@
|
|
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)
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
14
12
|
|
15
|
-
bundle_binstub = File.expand_path("
|
13
|
+
bundle_binstub = File.expand_path("bundle", __dir__)
|
16
14
|
|
17
15
|
if File.file?(bundle_binstub)
|
18
|
-
if File.read(bundle_binstub, 300)
|
16
|
+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
|
19
17
|
load(bundle_binstub)
|
20
18
|
else
|
21
19
|
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -47,7 +47,8 @@ module MinecraftVersionsClient
|
|
47
47
|
# the data deserialized from response body (may be a Tempfile or nil), response status code and response headers.
|
48
48
|
def call_api(http_method, path, opts = {})
|
49
49
|
request = build_request(http_method, path, opts)
|
50
|
-
tempfile =
|
50
|
+
tempfile = nil
|
51
|
+
(download_file(request) { tempfile = _1 }) if opts[:return_type] == 'File'
|
51
52
|
response = request.run
|
52
53
|
|
53
54
|
if @config.debugging
|
@@ -185,19 +186,17 @@ module MinecraftVersionsClient
|
|
185
186
|
chunk.force_encoding(encoding)
|
186
187
|
tempfile.write(chunk)
|
187
188
|
end
|
188
|
-
|
189
|
-
|
190
|
-
|
189
|
+
request.on_complete do
|
190
|
+
if !tempfile
|
191
|
+
fail ApiError.new("Failed to create the tempfile based on the HTTP response from the server: #{request.inspect}")
|
192
|
+
end
|
191
193
|
tempfile.close
|
192
194
|
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
193
195
|
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
194
196
|
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
195
197
|
"explicitly with `tempfile.delete`"
|
196
|
-
|
197
|
-
fail ApiError.new("Failed to create the tempfile based on the HTTP response from the server: #{request.inspect}")
|
198
|
+
yield tempfile if block_given?
|
198
199
|
end
|
199
|
-
|
200
|
-
tempfile
|
201
200
|
end
|
202
201
|
|
203
202
|
# Check if the given MIME is a JSON MIME.
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -28,9 +28,14 @@ module MinecraftVersionsClient
|
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
31
|
+
# Returns attribute mapping this model knows about
|
32
|
+
def self.acceptable_attribute_map
|
33
|
+
attribute_map
|
34
|
+
end
|
35
|
+
|
31
36
|
# Returns all the JSON keys this model knows about
|
32
37
|
def self.acceptable_attributes
|
33
|
-
|
38
|
+
acceptable_attribute_map.values
|
34
39
|
end
|
35
40
|
|
36
41
|
# Attribute type mapping.
|
@@ -56,9 +61,10 @@ module MinecraftVersionsClient
|
|
56
61
|
end
|
57
62
|
|
58
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
64
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
59
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
60
|
-
if (!
|
61
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::Download`. Please check the name to make sure it's valid. List of attributes: " +
|
66
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::Download`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
62
68
|
end
|
63
69
|
h[k.to_sym] = v
|
64
70
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -34,9 +34,14 @@ module MinecraftVersionsClient
|
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
37
|
+
# Returns attribute mapping this model knows about
|
38
|
+
def self.acceptable_attribute_map
|
39
|
+
attribute_map
|
40
|
+
end
|
41
|
+
|
37
42
|
# Returns all the JSON keys this model knows about
|
38
43
|
def self.acceptable_attributes
|
39
|
-
|
44
|
+
acceptable_attribute_map.values
|
40
45
|
end
|
41
46
|
|
42
47
|
# Attribute type mapping.
|
@@ -64,9 +69,10 @@ module MinecraftVersionsClient
|
|
64
69
|
end
|
65
70
|
|
66
71
|
# check to see if the attribute exists and convert string to symbol for hash key
|
72
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
67
73
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
68
|
-
if (!
|
69
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::Version`. Please check the name to make sure it's valid. List of attributes: " +
|
74
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
75
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::Version`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
70
76
|
end
|
71
77
|
h[k.to_sym] = v
|
72
78
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -25,9 +25,14 @@ module MinecraftVersionsClient
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
# Returns attribute mapping this model knows about
|
29
|
+
def self.acceptable_attribute_map
|
30
|
+
attribute_map
|
31
|
+
end
|
32
|
+
|
28
33
|
# Returns all the JSON keys this model knows about
|
29
34
|
def self.acceptable_attributes
|
30
|
-
|
35
|
+
acceptable_attribute_map.values
|
31
36
|
end
|
32
37
|
|
33
38
|
# Attribute type mapping.
|
@@ -52,9 +57,10 @@ module MinecraftVersionsClient
|
|
52
57
|
end
|
53
58
|
|
54
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
55
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
56
|
-
if (!
|
57
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionManifest`. Please check the name to make sure it's valid. List of attributes: " +
|
62
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionManifest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
58
64
|
end
|
59
65
|
h[k.to_sym] = v
|
60
66
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -25,9 +25,14 @@ module MinecraftVersionsClient
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
# Returns attribute mapping this model knows about
|
29
|
+
def self.acceptable_attribute_map
|
30
|
+
attribute_map
|
31
|
+
end
|
32
|
+
|
28
33
|
# Returns all the JSON keys this model knows about
|
29
34
|
def self.acceptable_attributes
|
30
|
-
|
35
|
+
acceptable_attribute_map.values
|
31
36
|
end
|
32
37
|
|
33
38
|
# Attribute type mapping.
|
@@ -52,9 +57,10 @@ module MinecraftVersionsClient
|
|
52
57
|
end
|
53
58
|
|
54
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
55
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
56
|
-
if (!
|
57
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionManifestLatest`. Please check the name to make sure it's valid. List of attributes: " +
|
62
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionManifestLatest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
58
64
|
end
|
59
65
|
h[k.to_sym] = v
|
60
66
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -55,9 +55,14 @@ module MinecraftVersionsClient
|
|
55
55
|
}
|
56
56
|
end
|
57
57
|
|
58
|
+
# Returns attribute mapping this model knows about
|
59
|
+
def self.acceptable_attribute_map
|
60
|
+
attribute_map
|
61
|
+
end
|
62
|
+
|
58
63
|
# Returns all the JSON keys this model knows about
|
59
64
|
def self.acceptable_attributes
|
60
|
-
|
65
|
+
acceptable_attribute_map.values
|
61
66
|
end
|
62
67
|
|
63
68
|
# Attribute type mapping.
|
@@ -92,9 +97,10 @@ module MinecraftVersionsClient
|
|
92
97
|
end
|
93
98
|
|
94
99
|
# check to see if the attribute exists and convert string to symbol for hash key
|
100
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
95
101
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
96
|
-
if (!
|
97
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionPackageInfo`. Please check the name to make sure it's valid. List of attributes: " +
|
102
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
103
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionPackageInfo`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
98
104
|
end
|
99
105
|
h[k.to_sym] = v
|
100
106
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -34,9 +34,14 @@ module MinecraftVersionsClient
|
|
34
34
|
}
|
35
35
|
end
|
36
36
|
|
37
|
+
# Returns attribute mapping this model knows about
|
38
|
+
def self.acceptable_attribute_map
|
39
|
+
attribute_map
|
40
|
+
end
|
41
|
+
|
37
42
|
# Returns all the JSON keys this model knows about
|
38
43
|
def self.acceptable_attributes
|
39
|
-
|
44
|
+
acceptable_attribute_map.values
|
40
45
|
end
|
41
46
|
|
42
47
|
# Attribute type mapping.
|
@@ -64,9 +69,10 @@ module MinecraftVersionsClient
|
|
64
69
|
end
|
65
70
|
|
66
71
|
# check to see if the attribute exists and convert string to symbol for hash key
|
72
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
67
73
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
68
|
-
if (!
|
69
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionPackageInfoAssetIndex`. Please check the name to make sure it's valid. List of attributes: " +
|
74
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
75
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionPackageInfoAssetIndex`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
70
76
|
end
|
71
77
|
h[k.to_sym] = v
|
72
78
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -31,9 +31,14 @@ module MinecraftVersionsClient
|
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
34
|
+
# Returns attribute mapping this model knows about
|
35
|
+
def self.acceptable_attribute_map
|
36
|
+
attribute_map
|
37
|
+
end
|
38
|
+
|
34
39
|
# Returns all the JSON keys this model knows about
|
35
40
|
def self.acceptable_attributes
|
36
|
-
|
41
|
+
acceptable_attribute_map.values
|
37
42
|
end
|
38
43
|
|
39
44
|
# Attribute type mapping.
|
@@ -60,9 +65,10 @@ module MinecraftVersionsClient
|
|
60
65
|
end
|
61
66
|
|
62
67
|
# check to see if the attribute exists and convert string to symbol for hash key
|
68
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
63
69
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
64
|
-
if (!
|
65
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionPackageInfoDownloads`. Please check the name to make sure it's valid. List of attributes: " +
|
70
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
71
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionPackageInfoDownloads`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
66
72
|
end
|
67
73
|
h[k.to_sym] = v
|
68
74
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -25,9 +25,14 @@ module MinecraftVersionsClient
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
+
# Returns attribute mapping this model knows about
|
29
|
+
def self.acceptable_attribute_map
|
30
|
+
attribute_map
|
31
|
+
end
|
32
|
+
|
28
33
|
# Returns all the JSON keys this model knows about
|
29
34
|
def self.acceptable_attributes
|
30
|
-
|
35
|
+
acceptable_attribute_map.values
|
31
36
|
end
|
32
37
|
|
33
38
|
# Attribute type mapping.
|
@@ -52,9 +57,10 @@ module MinecraftVersionsClient
|
|
52
57
|
end
|
53
58
|
|
54
59
|
# check to see if the attribute exists and convert string to symbol for hash key
|
60
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
55
61
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
56
|
-
if (!
|
57
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionPackageInfoJavaVersion`. Please check the name to make sure it's valid. List of attributes: " +
|
62
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MinecraftVersionsClient::VersionPackageInfoJavaVersion`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
58
64
|
end
|
59
65
|
h[k.to_sym] = v
|
60
66
|
}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
11
11
|
module MinecraftVersionsClient
|
12
|
-
VERSION = '1.
|
12
|
+
VERSION = '1.1.0'
|
13
13
|
end
|
data/lib/minecraft_versions.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
data/minecraft_versions.gemspec
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
=begin
|
4
4
|
#SDK for Minecraft versions info
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
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
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
data/spec/models/version_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#SDK for Minecraft versions info
|
3
3
|
|
4
|
-
The version of the OpenAPI document: 1.
|
4
|
+
The version of the OpenAPI document: 1.1.0
|
5
5
|
Contact: blah+oapicf@cliffano.com
|
6
6
|
Generated by: https://openapi-generator.tech
|
7
|
-
Generator version: 7.
|
7
|
+
Generator version: 7.12.0
|
8
8
|
|
9
9
|
=end
|
10
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minecraft_versions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.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: 2025-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -112,7 +112,7 @@ homepage: https://github.com/oapicf/minecraft-versions
|
|
112
112
|
licenses:
|
113
113
|
- MIT
|
114
114
|
metadata: {}
|
115
|
-
post_install_message:
|
115
|
+
post_install_message:
|
116
116
|
rdoc_options: []
|
117
117
|
require_paths:
|
118
118
|
- lib
|
@@ -127,18 +127,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
131
|
-
signing_key:
|
130
|
+
rubygems_version: 3.4.20
|
131
|
+
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Ruby Gem
|
134
134
|
test_files:
|
135
135
|
- spec/api/default_api_spec.rb
|
136
|
+
- spec/models/version_package_info_downloads_spec.rb
|
137
|
+
- spec/models/version_manifest_latest_spec.rb
|
136
138
|
- spec/models/version_manifest_spec.rb
|
137
|
-
- spec/models/version_package_info_spec.rb
|
138
139
|
- spec/models/version_package_info_asset_index_spec.rb
|
139
|
-
- spec/models/
|
140
|
-
- spec/models/version_package_info_downloads_spec.rb
|
141
|
-
- spec/models/download_spec.rb
|
140
|
+
- spec/models/version_package_info_spec.rb
|
142
141
|
- spec/models/version_package_info_java_version_spec.rb
|
143
142
|
- spec/models/version_spec.rb
|
143
|
+
- spec/models/download_spec.rb
|
144
144
|
- spec/spec_helper.rb
|