endoflife_date 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 +47 -25
- data/README.md +6 -6
- data/bin/byebug +1 -12
- data/bin/coderay +1 -12
- data/bin/htmldiff +1 -12
- data/bin/ldiff +1 -12
- data/bin/pry +1 -12
- data/bin/racc +1 -12
- data/bin/rake +1 -12
- data/bin/rspec +1 -12
- data/bin/rubocop +1 -12
- data/bin/ruby-parse +1 -12
- data/bin/ruby-rewrite +1 -12
- data/docs/Cycle.md +3 -3
- data/docs/DefaultApi.md +7 -7
- data/endoflife_date.gemspec +3 -3
- data/lib/endoflife_date/api/default_api.rb +13 -13
- data/lib/endoflife_date/api_client.rb +11 -12
- data/lib/endoflife_date/api_error.rb +2 -2
- data/lib/endoflife_date/api_model_base.rb +88 -0
- data/lib/endoflife_date/configuration.rb +12 -2
- data/lib/endoflife_date/models/cycle.rb +21 -88
- data/lib/endoflife_date/models/cycle_cycle.rb +5 -6
- data/lib/endoflife_date/models/cycle_discontinued.rb +5 -6
- data/lib/endoflife_date/models/cycle_eol.rb +5 -6
- data/lib/endoflife_date/models/cycle_lts.rb +5 -6
- data/lib/endoflife_date/models/cycle_support.rb +5 -6
- data/lib/endoflife_date/version.rb +3 -3
- data/lib/endoflife_date.rb +3 -2
- data/spec/api/default_api_spec.rb +6 -6
- data/spec/models/cycle_cycle_spec.rb +2 -2
- data/spec/models/cycle_discontinued_spec.rb +2 -2
- data/spec/models/cycle_eol_spec.rb +2 -2
- data/spec/models/cycle_lts_spec.rb +2 -2
- data/spec/models/cycle_spec.rb +3 -3
- data/spec/models/cycle_support_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +10 -10
- data/bin/bundle +0 -109
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d81dbe2f72573f0100b0a46c9657be6a26daff0ee6090e22ab6b7093ec8486c
|
|
4
|
+
data.tar.gz: 74156447c825747f70b75a50f4f2232926d4eb77bc070c8c02191981be619d0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa36172b1113814e788e851b1adf039113e86a44ffdfbb242a39247c01632af0aaf7fe20cb8023070fab4f238b40cebe6c7fbbf082bba1e4de31c38b19743ed6
|
|
7
|
+
data.tar.gz: 254f777c71818327de74da6132cce35e11537f3bb3a3d147a478b9e7f924ea0ce9ea5d32427bd9afa7670e86f2eb95b53d3296c9816b3bf15484c16d9d9af1e7
|
data/Gemfile.lock
CHANGED
|
@@ -1,49 +1,61 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
endoflife_date (1.
|
|
4
|
+
endoflife_date (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
|
-
|
|
14
|
-
|
|
13
|
+
date (3.5.0)
|
|
14
|
+
diff-lcs (1.6.2)
|
|
15
|
+
ethon (0.15.0)
|
|
15
16
|
ffi (>= 1.15.0)
|
|
16
|
-
ffi (1.
|
|
17
|
+
ffi (1.17.2)
|
|
18
|
+
ffi (1.17.2-aarch64-linux-gnu)
|
|
19
|
+
ffi (1.17.2-aarch64-linux-musl)
|
|
20
|
+
ffi (1.17.2-arm-linux-gnu)
|
|
21
|
+
ffi (1.17.2-arm-linux-musl)
|
|
22
|
+
ffi (1.17.2-arm64-darwin)
|
|
23
|
+
ffi (1.17.2-x86-linux-gnu)
|
|
24
|
+
ffi (1.17.2-x86-linux-musl)
|
|
25
|
+
ffi (1.17.2-x86_64-darwin)
|
|
26
|
+
ffi (1.17.2-x86_64-linux-gnu)
|
|
27
|
+
ffi (1.17.2-x86_64-linux-musl)
|
|
17
28
|
jaro_winkler (1.5.6)
|
|
18
|
-
method_source (1.
|
|
19
|
-
parallel (1.
|
|
20
|
-
parser (3.3.0
|
|
29
|
+
method_source (1.1.0)
|
|
30
|
+
parallel (1.27.0)
|
|
31
|
+
parser (3.3.10.0)
|
|
21
32
|
ast (~> 2.4.1)
|
|
22
33
|
racc
|
|
23
|
-
pry (0.
|
|
34
|
+
pry (0.15.2)
|
|
24
35
|
coderay (~> 1.1)
|
|
25
36
|
method_source (~> 1.0)
|
|
26
|
-
pry-byebug (3.
|
|
27
|
-
byebug (~>
|
|
28
|
-
pry (>= 0.13, < 0.
|
|
29
|
-
psych (5.
|
|
37
|
+
pry-byebug (3.11.0)
|
|
38
|
+
byebug (~> 12.0)
|
|
39
|
+
pry (>= 0.13, < 0.16)
|
|
40
|
+
psych (5.2.6)
|
|
41
|
+
date
|
|
30
42
|
stringio
|
|
31
|
-
racc (1.
|
|
43
|
+
racc (1.8.1)
|
|
32
44
|
rainbow (3.1.1)
|
|
33
45
|
rake (13.0.6)
|
|
34
|
-
rspec (3.13.
|
|
46
|
+
rspec (3.13.2)
|
|
35
47
|
rspec-core (~> 3.13.0)
|
|
36
48
|
rspec-expectations (~> 3.13.0)
|
|
37
49
|
rspec-mocks (~> 3.13.0)
|
|
38
|
-
rspec-core (3.13.
|
|
50
|
+
rspec-core (3.13.6)
|
|
39
51
|
rspec-support (~> 3.13.0)
|
|
40
|
-
rspec-expectations (3.13.
|
|
52
|
+
rspec-expectations (3.13.5)
|
|
41
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
42
54
|
rspec-support (~> 3.13.0)
|
|
43
|
-
rspec-mocks (3.13.
|
|
55
|
+
rspec-mocks (3.13.7)
|
|
44
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
45
57
|
rspec-support (~> 3.13.0)
|
|
46
|
-
rspec-support (3.13.
|
|
58
|
+
rspec-support (3.13.6)
|
|
47
59
|
rubocop (0.66.0)
|
|
48
60
|
jaro_winkler (~> 1.5.1)
|
|
49
61
|
parallel (~> 1.10)
|
|
@@ -53,13 +65,23 @@ GEM
|
|
|
53
65
|
ruby-progressbar (~> 1.7)
|
|
54
66
|
unicode-display_width (>= 1.4.0, < 1.6)
|
|
55
67
|
ruby-progressbar (1.13.0)
|
|
56
|
-
stringio (3.1.
|
|
57
|
-
typhoeus (1.
|
|
58
|
-
ethon (>= 0.9.0)
|
|
68
|
+
stringio (3.1.8)
|
|
69
|
+
typhoeus (1.5.0)
|
|
70
|
+
ethon (>= 0.9.0, < 0.16.0)
|
|
59
71
|
unicode-display_width (1.5.0)
|
|
60
72
|
|
|
61
73
|
PLATFORMS
|
|
62
|
-
|
|
74
|
+
aarch64-linux-gnu
|
|
75
|
+
aarch64-linux-musl
|
|
76
|
+
arm-linux-gnu
|
|
77
|
+
arm-linux-musl
|
|
78
|
+
arm64-darwin
|
|
79
|
+
ruby
|
|
80
|
+
x86-linux-gnu
|
|
81
|
+
x86-linux-musl
|
|
82
|
+
x86_64-darwin
|
|
83
|
+
x86_64-linux-gnu
|
|
84
|
+
x86_64-linux-musl
|
|
63
85
|
|
|
64
86
|
DEPENDENCIES
|
|
65
87
|
endoflife_date!
|
|
@@ -69,4 +91,4 @@ DEPENDENCIES
|
|
|
69
91
|
rubocop (~> 0.66.0)
|
|
70
92
|
|
|
71
93
|
BUNDLED WITH
|
|
72
|
-
2.
|
|
94
|
+
2.7.2
|
data/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
EndOfLifeDateApiClient - the Ruby gem for the endoflife.date
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
|
|
6
6
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 0.0.1
|
|
10
|
-
- Package version: 1.
|
|
11
|
-
- Generator version: 7.
|
|
10
|
+
- Package version: 1.1.0
|
|
11
|
+
- Generator version: 7.17.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://github.com/oapicf/endoflife.date-api-clients](https://github.com/oapicf/endoflife.date-api-clients)
|
|
14
14
|
|
|
@@ -25,16 +25,16 @@ gem build endoflife_date.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./endoflife_date-1.
|
|
28
|
+
gem install ./endoflife_date-1.1.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./endoflife_date-1.
|
|
31
|
+
(for development, run `gem install --dev ./endoflife_date-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 'endoflife_date', '~> 1.
|
|
37
|
+
gem 'endoflife_date', '~> 1.1.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
data/bin/byebug
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/coderay
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/htmldiff
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/ldiff
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/pry
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/racc
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/rake
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/rspec
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/rubocop
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/ruby-parse
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/bin/ruby-rewrite
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
1
|
+
#!/usr/bin/env ruby3.2
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
#
|
|
@@ -10,17 +10,6 @@
|
|
|
10
10
|
|
|
11
11
|
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
|
12
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
13
|
require "rubygems"
|
|
25
14
|
require "bundler/setup"
|
|
26
15
|
|
data/docs/Cycle.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **cycle** | [**CycleCycle**](CycleCycle.md) | | [optional] |
|
|
8
|
-
| **release_date** | **Date** | Release
|
|
8
|
+
| **release_date** | **Date** | Release date for the first release in this cycle. | [optional] |
|
|
9
9
|
| **eol** | [**CycleEol**](CycleEol.md) | | [optional] |
|
|
10
|
-
| **latest** | **String** | Latest release in this cycle | [optional] |
|
|
11
|
-
| **link** | **String** | Link to changelog for the latest release, if
|
|
10
|
+
| **latest** | **String** | Latest release in this cycle. | [optional] |
|
|
11
|
+
| **link** | **String** | Link to changelog for the latest release in this cycle, or null if unavailable. | [optional] |
|
|
12
12
|
| **lts** | [**CycleLts**](CycleLts.md) | | [optional] |
|
|
13
13
|
| **support** | [**CycleSupport**](CycleSupport.md) | | [optional] |
|
|
14
14
|
| **discontinued** | [**CycleDiscontinued**](CycleDiscontinued.md) | | [optional] |
|
data/docs/DefaultApi.md
CHANGED
|
@@ -76,7 +76,7 @@ No authorization required
|
|
|
76
76
|
|
|
77
77
|
Single cycle details
|
|
78
78
|
|
|
79
|
-
Gets details of a single cycle
|
|
79
|
+
Gets details of a single cycle.
|
|
80
80
|
|
|
81
81
|
### Examples
|
|
82
82
|
|
|
@@ -85,8 +85,8 @@ require 'time'
|
|
|
85
85
|
require 'endoflife_date'
|
|
86
86
|
|
|
87
87
|
api_instance = EndOfLifeDateApiClient::DefaultApi.new
|
|
88
|
-
product = 'product_example' # String | Product URL as per the canonical URL on the endofife.date website
|
|
89
|
-
cycle = 'cycle_example' # String | Release Cycle for which the details must be fetched
|
|
88
|
+
product = 'product_example' # String | Product URL as per the canonical URL on the endofife.date website.
|
|
89
|
+
cycle = 'cycle_example' # String | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.
|
|
90
90
|
|
|
91
91
|
begin
|
|
92
92
|
# Single cycle details
|
|
@@ -119,8 +119,8 @@ end
|
|
|
119
119
|
|
|
120
120
|
| Name | Type | Description | Notes |
|
|
121
121
|
| ---- | ---- | ----------- | ----- |
|
|
122
|
-
| **product** | **String** | Product URL as per the canonical URL on the endofife.date website | |
|
|
123
|
-
| **cycle** | **String** | Release Cycle for which the details must be fetched | |
|
|
122
|
+
| **product** | **String** | Product URL as per the canonical URL on the endofife.date website. | |
|
|
123
|
+
| **cycle** | **String** | Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0. | |
|
|
124
124
|
|
|
125
125
|
### Return type
|
|
126
126
|
|
|
@@ -151,7 +151,7 @@ require 'time'
|
|
|
151
151
|
require 'endoflife_date'
|
|
152
152
|
|
|
153
153
|
api_instance = EndOfLifeDateApiClient::DefaultApi.new
|
|
154
|
-
product = 'product_example' # String | Product URL as per the canonical URL on the endofife.date website
|
|
154
|
+
product = 'product_example' # String | Product URL as per the canonical URL on the endofife.date website.
|
|
155
155
|
|
|
156
156
|
begin
|
|
157
157
|
# Get All Details
|
|
@@ -184,7 +184,7 @@ end
|
|
|
184
184
|
|
|
185
185
|
| Name | Type | Description | Notes |
|
|
186
186
|
| ---- | ---- | ----------- | ----- |
|
|
187
|
-
| **product** | **String** | Product URL as per the canonical URL on the endofife.date website | |
|
|
187
|
+
| **product** | **String** | Product URL as per the canonical URL on the endofife.date website. | |
|
|
188
188
|
|
|
189
189
|
### Return type
|
|
190
190
|
|
data/endoflife_date.gemspec
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
=begin
|
|
4
4
|
#endoflife.date
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
#The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: 0.0.1
|
|
9
9
|
Contact: blah+oapicf@cliffano.com
|
|
10
10
|
Generated by: https://openapi-generator.tech
|
|
11
|
-
Generator version: 7.
|
|
11
|
+
Generator version: 7.17.0
|
|
12
12
|
|
|
13
13
|
=end
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
|
23
23
|
s.email = ["blah+oapicf@cliffano.com"]
|
|
24
24
|
s.homepage = "https://github.com/oapicf/endoflife.date-api-clients"
|
|
25
25
|
s.summary = "endoflife.date Ruby Gem"
|
|
26
|
-
s.description = "
|
|
26
|
+
s.description = "The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/)."
|
|
27
27
|
s.license = "MIT"
|
|
28
28
|
s.required_ruby_version = ">= 2.0"
|
|
29
29
|
s.metadata = {}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#endoflife.date
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
#The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 0.0.1
|
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.17.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -45,7 +45,7 @@ module EndOfLifeDateApiClient
|
|
|
45
45
|
# header parameters
|
|
46
46
|
header_params = opts[:header_params] || {}
|
|
47
47
|
# HTTP header 'Accept' (if needed)
|
|
48
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
48
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
49
49
|
|
|
50
50
|
# form parameters
|
|
51
51
|
form_params = opts[:form_params] || {}
|
|
@@ -77,9 +77,9 @@ module EndOfLifeDateApiClient
|
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
# Single cycle details
|
|
80
|
-
# Gets details of a single cycle
|
|
81
|
-
# @param product [String] Product URL as per the canonical URL on the endofife.date website
|
|
82
|
-
# @param cycle [String] Release Cycle for which the details must be fetched
|
|
80
|
+
# Gets details of a single cycle.
|
|
81
|
+
# @param product [String] Product URL as per the canonical URL on the endofife.date website.
|
|
82
|
+
# @param cycle [String] Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.
|
|
83
83
|
# @param [Hash] opts the optional parameters
|
|
84
84
|
# @return [Cycle]
|
|
85
85
|
def get_api_product_cycle_json(product, cycle, opts = {})
|
|
@@ -88,9 +88,9 @@ module EndOfLifeDateApiClient
|
|
|
88
88
|
end
|
|
89
89
|
|
|
90
90
|
# Single cycle details
|
|
91
|
-
# Gets details of a single cycle
|
|
92
|
-
# @param product [String] Product URL as per the canonical URL on the endofife.date website
|
|
93
|
-
# @param cycle [String] Release Cycle for which the details must be fetched
|
|
91
|
+
# Gets details of a single cycle.
|
|
92
|
+
# @param product [String] Product URL as per the canonical URL on the endofife.date website.
|
|
93
|
+
# @param cycle [String] Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD's releng/14.0 becomes releng-14.0.
|
|
94
94
|
# @param [Hash] opts the optional parameters
|
|
95
95
|
# @return [Array<(Cycle, Integer, Hash)>] Cycle data, response status code and response headers
|
|
96
96
|
def get_api_product_cycle_json_with_http_info(product, cycle, opts = {})
|
|
@@ -114,7 +114,7 @@ module EndOfLifeDateApiClient
|
|
|
114
114
|
# header parameters
|
|
115
115
|
header_params = opts[:header_params] || {}
|
|
116
116
|
# HTTP header 'Accept' (if needed)
|
|
117
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
117
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
118
118
|
|
|
119
119
|
# form parameters
|
|
120
120
|
form_params = opts[:form_params] || {}
|
|
@@ -147,7 +147,7 @@ module EndOfLifeDateApiClient
|
|
|
147
147
|
|
|
148
148
|
# Get All Details
|
|
149
149
|
# Get EoL dates of all cycles of a given product.
|
|
150
|
-
# @param product [String] Product URL as per the canonical URL on the endofife.date website
|
|
150
|
+
# @param product [String] Product URL as per the canonical URL on the endofife.date website.
|
|
151
151
|
# @param [Hash] opts the optional parameters
|
|
152
152
|
# @return [Array<Cycle>]
|
|
153
153
|
def get_api_product_json(product, opts = {})
|
|
@@ -157,7 +157,7 @@ module EndOfLifeDateApiClient
|
|
|
157
157
|
|
|
158
158
|
# Get All Details
|
|
159
159
|
# Get EoL dates of all cycles of a given product.
|
|
160
|
-
# @param product [String] Product URL as per the canonical URL on the endofife.date website
|
|
160
|
+
# @param product [String] Product URL as per the canonical URL on the endofife.date website.
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
|
162
162
|
# @return [Array<(Array<Cycle>, Integer, Hash)>] Array<Cycle> data, response status code and response headers
|
|
163
163
|
def get_api_product_json_with_http_info(product, opts = {})
|
|
@@ -177,7 +177,7 @@ module EndOfLifeDateApiClient
|
|
|
177
177
|
# header parameters
|
|
178
178
|
header_params = opts[:header_params] || {}
|
|
179
179
|
# HTTP header 'Accept' (if needed)
|
|
180
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
180
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
181
181
|
|
|
182
182
|
# form parameters
|
|
183
183
|
form_params = opts[:form_params] || {}
|