endoflife_date 0.10.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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +53 -31
  3. data/README.md +14 -8
  4. data/bin/byebug +1 -12
  5. data/bin/coderay +1 -12
  6. data/bin/htmldiff +1 -12
  7. data/bin/ldiff +1 -12
  8. data/bin/pry +1 -12
  9. data/bin/racc +1 -12
  10. data/bin/rake +1 -12
  11. data/bin/rspec +1 -12
  12. data/bin/rubocop +1 -12
  13. data/bin/ruby-parse +1 -12
  14. data/bin/ruby-rewrite +1 -12
  15. data/docs/Cycle.md +8 -8
  16. data/docs/CycleCycle.md +15 -0
  17. data/docs/CycleDiscontinued.md +15 -0
  18. data/docs/CycleEol.md +15 -0
  19. data/docs/CycleLts.md +15 -0
  20. data/docs/CycleSupport.md +15 -0
  21. data/docs/DefaultApi.md +15 -15
  22. data/endoflife_date.gemspec +8 -7
  23. data/git_push.sh +1 -1
  24. data/lib/endoflife_date/api/default_api.rb +20 -20
  25. data/lib/endoflife_date/api_client.rb +25 -24
  26. data/lib/endoflife_date/api_error.rb +3 -3
  27. data/lib/endoflife_date/api_model_base.rb +88 -0
  28. data/lib/endoflife_date/configuration.rb +16 -5
  29. data/lib/endoflife_date/models/cycle.rb +41 -175
  30. data/lib/endoflife_date/models/cycle_cycle.rb +104 -0
  31. data/lib/endoflife_date/models/cycle_discontinued.rb +104 -0
  32. data/lib/endoflife_date/models/cycle_eol.rb +104 -0
  33. data/lib/endoflife_date/models/cycle_lts.rb +104 -0
  34. data/lib/endoflife_date/models/cycle_support.rb +104 -0
  35. data/lib/endoflife_date/version.rb +4 -4
  36. data/lib/endoflife_date.rb +9 -3
  37. data/spec/api/default_api_spec.rb +9 -9
  38. data/spec/models/cycle_cycle_spec.rb +21 -0
  39. data/spec/models/cycle_discontinued_spec.rb +21 -0
  40. data/spec/models/cycle_eol_spec.rb +21 -0
  41. data/spec/models/cycle_lts_spec.rb +21 -0
  42. data/spec/models/cycle_spec.rb +7 -5
  43. data/spec/models/cycle_support_spec.rb +21 -0
  44. data/spec/spec_helper.rb +3 -3
  45. metadata +32 -16
  46. data/bin/bundle +0 -109
  47. data/spec/api_client_spec.rb +0 -228
  48. data/spec/configuration_spec.rb +0 -42
@@ -0,0 +1,104 @@
1
+ =begin
2
+ #endoflife.date
3
+
4
+ #The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
5
+
6
+ The version of the OpenAPI document: 0.0.1
7
+ Contact: blah+oapicf@cliffano.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module EndOfLifeDateApiClient
17
+ # Whether this release cycle has long-term-support (LTS), or the date it entered LTS status.
18
+ module CycleLts
19
+ class << self
20
+ # List of class defined in anyOf (OpenAPI v3)
21
+ def openapi_any_of
22
+ [
23
+ :'Boolean',
24
+ :'String'
25
+ ]
26
+ end
27
+
28
+ # Builds the object
29
+ # @param [Mixed] Data to be matched against the list of anyOf items
30
+ # @return [Object] Returns the model or the data itself
31
+ def build(data)
32
+ # Go through the list of anyOf items and attempt to identify the appropriate one.
33
+ # Note:
34
+ # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
35
+ # due to the way the deserialization is made in the base_object template (it just casts without verifying).
36
+ # - TODO: scalar values are de facto behaving as if they were nullable.
37
+ # - TODO: logging when debugging is set.
38
+ openapi_any_of.each do |klass|
39
+ begin
40
+ next if klass == :AnyType # "nullable: true"
41
+ return find_and_cast_into_type(klass, data)
42
+ rescue # rescue all errors so we keep iterating even if the current item lookup raises
43
+ end
44
+ end
45
+
46
+ openapi_any_of.include?(:AnyType) ? data : nil
47
+ end
48
+
49
+ private
50
+
51
+ SchemaMismatchError = Class.new(StandardError)
52
+
53
+ # Note: 'File' is missing here because in the regular case we get the data _after_ a call to JSON.parse.
54
+ def find_and_cast_into_type(klass, data)
55
+ return if data.nil?
56
+
57
+ case klass.to_s
58
+ when 'Boolean'
59
+ return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass)
60
+ when 'Float'
61
+ return data if data.instance_of?(Float)
62
+ when 'Integer'
63
+ return data if data.instance_of?(Integer)
64
+ when 'Time'
65
+ return Time.parse(data)
66
+ when 'Date'
67
+ return Date.iso8601(data)
68
+ when 'String'
69
+ return data if data.instance_of?(String)
70
+ when 'Object' # "type: object"
71
+ return data if data.instance_of?(Hash)
72
+ when /\AArray<(?<sub_type>.+)>\z/ # "type: array"
73
+ if data.instance_of?(Array)
74
+ sub_type = Regexp.last_match[:sub_type]
75
+ return data.map { |item| find_and_cast_into_type(sub_type, item) }
76
+ end
77
+ when /\AHash<String, (?<sub_type>.+)>\z/ # "type: object" with "additionalProperties: { ... }"
78
+ if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) }
79
+ sub_type = Regexp.last_match[:sub_type]
80
+ return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
81
+ end
82
+ else # model
83
+ const = EndOfLifeDateApiClient.const_get(klass)
84
+ if const
85
+ if const.respond_to?(:openapi_any_of) # nested anyOf model
86
+ model = const.build(data)
87
+ return model if model
88
+ else
89
+ # raise if data contains keys that are not known to the model
90
+ raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
91
+ model = const.build_from_hash(data)
92
+ return model if model
93
+ end
94
+ end
95
+ end
96
+
97
+ raise # if no match by now, raise
98
+ rescue
99
+ raise SchemaMismatchError, "#{data} doesn't match the #{klass} type"
100
+ end
101
+ end
102
+ end
103
+
104
+ end
@@ -0,0 +1,104 @@
1
+ =begin
2
+ #endoflife.date
3
+
4
+ #The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
5
+
6
+ The version of the OpenAPI document: 0.0.1
7
+ Contact: blah+oapicf@cliffano.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module EndOfLifeDateApiClient
17
+ # Whether this release cycle has active support.
18
+ module CycleSupport
19
+ class << self
20
+ # List of class defined in anyOf (OpenAPI v3)
21
+ def openapi_any_of
22
+ [
23
+ :'Boolean',
24
+ :'String'
25
+ ]
26
+ end
27
+
28
+ # Builds the object
29
+ # @param [Mixed] Data to be matched against the list of anyOf items
30
+ # @return [Object] Returns the model or the data itself
31
+ def build(data)
32
+ # Go through the list of anyOf items and attempt to identify the appropriate one.
33
+ # Note:
34
+ # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
35
+ # due to the way the deserialization is made in the base_object template (it just casts without verifying).
36
+ # - TODO: scalar values are de facto behaving as if they were nullable.
37
+ # - TODO: logging when debugging is set.
38
+ openapi_any_of.each do |klass|
39
+ begin
40
+ next if klass == :AnyType # "nullable: true"
41
+ return find_and_cast_into_type(klass, data)
42
+ rescue # rescue all errors so we keep iterating even if the current item lookup raises
43
+ end
44
+ end
45
+
46
+ openapi_any_of.include?(:AnyType) ? data : nil
47
+ end
48
+
49
+ private
50
+
51
+ SchemaMismatchError = Class.new(StandardError)
52
+
53
+ # Note: 'File' is missing here because in the regular case we get the data _after_ a call to JSON.parse.
54
+ def find_and_cast_into_type(klass, data)
55
+ return if data.nil?
56
+
57
+ case klass.to_s
58
+ when 'Boolean'
59
+ return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass)
60
+ when 'Float'
61
+ return data if data.instance_of?(Float)
62
+ when 'Integer'
63
+ return data if data.instance_of?(Integer)
64
+ when 'Time'
65
+ return Time.parse(data)
66
+ when 'Date'
67
+ return Date.iso8601(data)
68
+ when 'String'
69
+ return data if data.instance_of?(String)
70
+ when 'Object' # "type: object"
71
+ return data if data.instance_of?(Hash)
72
+ when /\AArray<(?<sub_type>.+)>\z/ # "type: array"
73
+ if data.instance_of?(Array)
74
+ sub_type = Regexp.last_match[:sub_type]
75
+ return data.map { |item| find_and_cast_into_type(sub_type, item) }
76
+ end
77
+ when /\AHash<String, (?<sub_type>.+)>\z/ # "type: object" with "additionalProperties: { ... }"
78
+ if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) }
79
+ sub_type = Regexp.last_match[:sub_type]
80
+ return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
81
+ end
82
+ else # model
83
+ const = EndOfLifeDateApiClient.const_get(klass)
84
+ if const
85
+ if const.respond_to?(:openapi_any_of) # nested anyOf model
86
+ model = const.build(data)
87
+ return model if model
88
+ else
89
+ # raise if data contains keys that are not known to the model
90
+ raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
91
+ model = const.build_from_hash(data)
92
+ return model if model
93
+ end
94
+ end
95
+ end
96
+
97
+ raise # if no match by now, raise
98
+ rescue
99
+ raise SchemaMismatchError, "#{data} doesn't match the #{klass} type"
100
+ end
101
+ end
102
+ end
103
+
104
+ end
@@ -1,15 +1,15 @@
1
1
  =begin
2
2
  #endoflife.date
3
3
 
4
- #Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)
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
- Contact: blah@cliffano.com
7
+ Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
13
13
  module EndOfLifeDateApiClient
14
- VERSION = '0.10.0'
14
+ VERSION = '1.1.0'
15
15
  end
@@ -1,23 +1,29 @@
1
1
  =begin
2
2
  #endoflife.date
3
3
 
4
- #Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)
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
- Contact: blah@cliffano.com
7
+ Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
13
13
  # Common files
14
14
  require 'endoflife_date/api_client'
15
15
  require 'endoflife_date/api_error'
16
+ require 'endoflife_date/api_model_base'
16
17
  require 'endoflife_date/version'
17
18
  require 'endoflife_date/configuration'
18
19
 
19
20
  # Models
20
21
  require 'endoflife_date/models/cycle'
22
+ require 'endoflife_date/models/cycle_cycle'
23
+ require 'endoflife_date/models/cycle_discontinued'
24
+ require 'endoflife_date/models/cycle_eol'
25
+ require 'endoflife_date/models/cycle_lts'
26
+ require 'endoflife_date/models/cycle_support'
21
27
 
22
28
  # APIs
23
29
  require 'endoflife_date/api/default_api'
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #endoflife.date
3
3
 
4
- #Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)
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
- Contact: blah@cliffano.com
7
+ Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -36,7 +36,7 @@ describe 'DefaultApi' do
36
36
  # All Products
37
37
  # Return a list of all products. Each of these can be used for the other API endpoints.
38
38
  # @param [Hash] opts the optional parameters
39
- # @return [Object]
39
+ # @return [Array<String>]
40
40
  describe 'get_api_all_json test' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -45,9 +45,9 @@ describe 'DefaultApi' do
45
45
 
46
46
  # unit tests for get_api_product_cycle_json
47
47
  # Single cycle details
48
- # Gets details of a single cycle
49
- # @param product Product URL as per the canonical URL on the endofife.date website
50
- # @param cycle Release Cycle for which the details must be fetched
48
+ # Gets details of a single cycle.
49
+ # @param product Product URL as per the canonical URL on the endofife.date website.
50
+ # @param cycle Release Cycle for which the details must be fetched. Any slash character in the cycle name will be replaced with dashes. For example FreeBSD&#39;s releng/14.0 becomes releng-14.0.
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [Cycle]
53
53
  describe 'get_api_product_cycle_json test' do
@@ -59,9 +59,9 @@ describe 'DefaultApi' do
59
59
  # unit tests for get_api_product_json
60
60
  # Get All Details
61
61
  # Get EoL dates of all cycles of a given product.
62
- # @param product Product URL as per the canonical URL on the endofife.date website
62
+ # @param product Product URL as per the canonical URL on the endofife.date website.
63
63
  # @param [Hash] opts the optional parameters
64
- # @return [Object]
64
+ # @return [Array<Cycle>]
65
65
  describe 'get_api_product_json test' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,21 @@
1
+ =begin
2
+ #endoflife.date
3
+
4
+ #The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
5
+
6
+ The version of the OpenAPI document: 0.0.1
7
+ Contact: blah+oapicf@cliffano.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for EndOfLifeDateApiClient::CycleCycle
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe EndOfLifeDateApiClient::CycleCycle do
21
+ end
@@ -0,0 +1,21 @@
1
+ =begin
2
+ #endoflife.date
3
+
4
+ #The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
5
+
6
+ The version of the OpenAPI document: 0.0.1
7
+ Contact: blah+oapicf@cliffano.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for EndOfLifeDateApiClient::CycleDiscontinued
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe EndOfLifeDateApiClient::CycleDiscontinued do
21
+ end
@@ -0,0 +1,21 @@
1
+ =begin
2
+ #endoflife.date
3
+
4
+ #The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
5
+
6
+ The version of the OpenAPI document: 0.0.1
7
+ Contact: blah+oapicf@cliffano.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for EndOfLifeDateApiClient::CycleEol
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe EndOfLifeDateApiClient::CycleEol do
21
+ end
@@ -0,0 +1,21 @@
1
+ =begin
2
+ #endoflife.date
3
+
4
+ #The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
5
+
6
+ The version of the OpenAPI document: 0.0.1
7
+ Contact: blah+oapicf@cliffano.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for EndOfLifeDateApiClient::CycleLts
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe EndOfLifeDateApiClient::CycleLts do
21
+ end
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #endoflife.date
3
3
 
4
- #Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)
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
- Contact: blah@cliffano.com
7
+ Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -18,13 +18,15 @@ require 'date'
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
20
  describe EndOfLifeDateApiClient::Cycle do
21
- let(:instance) { EndOfLifeDateApiClient::Cycle.new }
21
+ #let(:instance) { EndOfLifeDateApiClient::Cycle.new }
22
22
 
23
23
  describe 'test an instance of Cycle' do
24
24
  it 'should create an instance of Cycle' do
25
- expect(instance).to be_instance_of(EndOfLifeDateApiClient::Cycle)
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(EndOfLifeDateApiClient::Cycle)
26
27
  end
27
28
  end
29
+
28
30
  describe 'test attribute "cycle"' do
29
31
  it 'should work' do
30
32
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -0,0 +1,21 @@
1
+ =begin
2
+ #endoflife.date
3
+
4
+ #The endoflife.date v0 API is currently deprecated, please [use the endoflife.date v1 API](https://endoflife.date/docs/api/v1/).
5
+
6
+ The version of the OpenAPI document: 0.0.1
7
+ Contact: blah+oapicf@cliffano.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.17.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for EndOfLifeDateApiClient::CycleSupport
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe EndOfLifeDateApiClient::CycleSupport do
21
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #endoflife.date
3
3
 
4
- #Documentation for the endoflife.date API. The API is currently in Alpha. Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)
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
- Contact: blah@cliffano.com
7
+ Contact: blah+oapicf@cliffano.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: endoflife_date
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Cliffano Subagio
8
- autorequire:
7
+ - OpenAPI Clients Factory
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-19 00:00:00.000000000 Z
11
+ date: 2025-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -50,10 +50,10 @@ dependencies:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 3.6.0
53
- description: Documentation for the endoflife.date API. The API is currently in Alpha.
54
- Additional information about the API can be found on the [endoflife.date wiki](https://github.com/endoflife-date/endoflife.date/wiki)
53
+ description: The endoflife.date v0 API is currently deprecated, please [use the endoflife.date
54
+ v1 API](https://endoflife.date/docs/api/v1/).
55
55
  email:
56
- - blah@cliffano.com
56
+ - blah+oapicf@cliffano.com
57
57
  executables: []
58
58
  extensions: []
59
59
  extra_rdoc_files: []
@@ -62,7 +62,6 @@ files:
62
62
  - Gemfile.lock
63
63
  - README.md
64
64
  - Rakefile
65
- - bin/bundle
66
65
  - bin/byebug
67
66
  - bin/coderay
68
67
  - bin/htmldiff
@@ -75,6 +74,11 @@ files:
75
74
  - bin/ruby-parse
76
75
  - bin/ruby-rewrite
77
76
  - docs/Cycle.md
77
+ - docs/CycleCycle.md
78
+ - docs/CycleDiscontinued.md
79
+ - docs/CycleEol.md
80
+ - docs/CycleLts.md
81
+ - docs/CycleSupport.md
78
82
  - docs/DefaultApi.md
79
83
  - endoflife_date.gemspec
80
84
  - git_push.sh
@@ -82,19 +86,28 @@ files:
82
86
  - lib/endoflife_date/api/default_api.rb
83
87
  - lib/endoflife_date/api_client.rb
84
88
  - lib/endoflife_date/api_error.rb
89
+ - lib/endoflife_date/api_model_base.rb
85
90
  - lib/endoflife_date/configuration.rb
86
91
  - lib/endoflife_date/models/cycle.rb
92
+ - lib/endoflife_date/models/cycle_cycle.rb
93
+ - lib/endoflife_date/models/cycle_discontinued.rb
94
+ - lib/endoflife_date/models/cycle_eol.rb
95
+ - lib/endoflife_date/models/cycle_lts.rb
96
+ - lib/endoflife_date/models/cycle_support.rb
87
97
  - lib/endoflife_date/version.rb
88
98
  - spec/api/default_api_spec.rb
89
- - spec/api_client_spec.rb
90
- - spec/configuration_spec.rb
99
+ - spec/models/cycle_cycle_spec.rb
100
+ - spec/models/cycle_discontinued_spec.rb
101
+ - spec/models/cycle_eol_spec.rb
102
+ - spec/models/cycle_lts_spec.rb
91
103
  - spec/models/cycle_spec.rb
104
+ - spec/models/cycle_support_spec.rb
92
105
  - spec/spec_helper.rb
93
- homepage: https://github.com/cliffano/endoflife.date-api-clients
106
+ homepage: https://github.com/oapicf/endoflife.date-api-clients
94
107
  licenses:
95
108
  - MIT
96
109
  metadata: {}
97
- post_install_message:
110
+ post_install_message:
98
111
  rdoc_options: []
99
112
  require_paths:
100
113
  - lib
@@ -109,13 +122,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
122
  - !ruby/object:Gem::Version
110
123
  version: '0'
111
124
  requirements: []
112
- rubygems_version: 3.1.2
113
- signing_key:
125
+ rubygems_version: 3.4.20
126
+ signing_key:
114
127
  specification_version: 4
115
128
  summary: endoflife.date Ruby Gem
116
129
  test_files:
117
130
  - spec/api/default_api_spec.rb
118
- - spec/api_client_spec.rb
119
- - spec/configuration_spec.rb
131
+ - spec/models/cycle_discontinued_spec.rb
120
132
  - spec/models/cycle_spec.rb
133
+ - spec/models/cycle_support_spec.rb
134
+ - spec/models/cycle_lts_spec.rb
135
+ - spec/models/cycle_eol_spec.rb
136
+ - spec/models/cycle_cycle_spec.rb
121
137
  - spec/spec_helper.rb