diff --git a/CHANGELOG.md b/CHANGELOG.md index 21d1c6c9..c1273ee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 1.16.0 [unreleased] +### Bug Fixes +1. [#86](https://github.com/influxdata/influxdb-client-ruby/pull/86): Uninitialized `set` for models + ## 1.15.0 [2021-06-04] ### API diff --git a/apis/lib/influxdb2/apis/generated/models/authorization.rb b/apis/lib/influxdb2/apis/generated/models/authorization.rb index b398ff95..2d86624a 100644 --- a/apis/lib/influxdb2/apis/generated/models/authorization.rb +++ b/apis/lib/influxdb2/apis/generated/models/authorization.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/authorization_all_of.rb b/apis/lib/influxdb2/apis/generated/models/authorization_all_of.rb index 29ad35e8..68fc7fdf 100644 --- a/apis/lib/influxdb2/apis/generated/models/authorization_all_of.rb +++ b/apis/lib/influxdb2/apis/generated/models/authorization_all_of.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/authorization_all_of_links.rb b/apis/lib/influxdb2/apis/generated/models/authorization_all_of_links.rb index 79febf2d..31e4c016 100644 --- a/apis/lib/influxdb2/apis/generated/models/authorization_all_of_links.rb +++ b/apis/lib/influxdb2/apis/generated/models/authorization_all_of_links.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/authorization_post_request.rb b/apis/lib/influxdb2/apis/generated/models/authorization_post_request.rb index e7f1100b..c71af1dc 100644 --- a/apis/lib/influxdb2/apis/generated/models/authorization_post_request.rb +++ b/apis/lib/influxdb2/apis/generated/models/authorization_post_request.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/authorization_update_request.rb b/apis/lib/influxdb2/apis/generated/models/authorization_update_request.rb index 657a5f17..82925f02 100644 --- a/apis/lib/influxdb2/apis/generated/models/authorization_update_request.rb +++ b/apis/lib/influxdb2/apis/generated/models/authorization_update_request.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/authorizations.rb b/apis/lib/influxdb2/apis/generated/models/authorizations.rb index 4c8f3786..b6f05779 100644 --- a/apis/lib/influxdb2/apis/generated/models/authorizations.rb +++ b/apis/lib/influxdb2/apis/generated/models/authorizations.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/bucket.rb b/apis/lib/influxdb2/apis/generated/models/bucket.rb index de927e8e..cf67c986 100644 --- a/apis/lib/influxdb2/apis/generated/models/bucket.rb +++ b/apis/lib/influxdb2/apis/generated/models/bucket.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/bucket_links.rb b/apis/lib/influxdb2/apis/generated/models/bucket_links.rb index 7da3d08b..9e1aabb0 100644 --- a/apis/lib/influxdb2/apis/generated/models/bucket_links.rb +++ b/apis/lib/influxdb2/apis/generated/models/bucket_links.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/buckets.rb b/apis/lib/influxdb2/apis/generated/models/buckets.rb index 0374a00f..4d30389c 100644 --- a/apis/lib/influxdb2/apis/generated/models/buckets.rb +++ b/apis/lib/influxdb2/apis/generated/models/buckets.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/label.rb b/apis/lib/influxdb2/apis/generated/models/label.rb index 5ec86787..4ed98186 100644 --- a/apis/lib/influxdb2/apis/generated/models/label.rb +++ b/apis/lib/influxdb2/apis/generated/models/label.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/label_create_request.rb b/apis/lib/influxdb2/apis/generated/models/label_create_request.rb index 33d7c7d7..442fbd65 100644 --- a/apis/lib/influxdb2/apis/generated/models/label_create_request.rb +++ b/apis/lib/influxdb2/apis/generated/models/label_create_request.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/label_mapping.rb b/apis/lib/influxdb2/apis/generated/models/label_mapping.rb index 49631171..1f3addd4 100644 --- a/apis/lib/influxdb2/apis/generated/models/label_mapping.rb +++ b/apis/lib/influxdb2/apis/generated/models/label_mapping.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/label_response.rb b/apis/lib/influxdb2/apis/generated/models/label_response.rb index 517b8eb0..58a0f6f8 100644 --- a/apis/lib/influxdb2/apis/generated/models/label_response.rb +++ b/apis/lib/influxdb2/apis/generated/models/label_response.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/label_update.rb b/apis/lib/influxdb2/apis/generated/models/label_update.rb index 3b09ff1e..0b084d6e 100644 --- a/apis/lib/influxdb2/apis/generated/models/label_update.rb +++ b/apis/lib/influxdb2/apis/generated/models/label_update.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/labels_response.rb b/apis/lib/influxdb2/apis/generated/models/labels_response.rb index f573c97b..09effc46 100644 --- a/apis/lib/influxdb2/apis/generated/models/labels_response.rb +++ b/apis/lib/influxdb2/apis/generated/models/labels_response.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/links.rb b/apis/lib/influxdb2/apis/generated/models/links.rb index db6e7343..b7b14dc4 100644 --- a/apis/lib/influxdb2/apis/generated/models/links.rb +++ b/apis/lib/influxdb2/apis/generated/models/links.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/organization.rb b/apis/lib/influxdb2/apis/generated/models/organization.rb index 495c5e45..65c9628f 100644 --- a/apis/lib/influxdb2/apis/generated/models/organization.rb +++ b/apis/lib/influxdb2/apis/generated/models/organization.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/organization_links.rb b/apis/lib/influxdb2/apis/generated/models/organization_links.rb index 92665297..9bc6c228 100644 --- a/apis/lib/influxdb2/apis/generated/models/organization_links.rb +++ b/apis/lib/influxdb2/apis/generated/models/organization_links.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/organizations.rb b/apis/lib/influxdb2/apis/generated/models/organizations.rb index e35d7525..c9e71fc9 100644 --- a/apis/lib/influxdb2/apis/generated/models/organizations.rb +++ b/apis/lib/influxdb2/apis/generated/models/organizations.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/password_reset_body.rb b/apis/lib/influxdb2/apis/generated/models/password_reset_body.rb index 50ed1c9a..7dde04ee 100644 --- a/apis/lib/influxdb2/apis/generated/models/password_reset_body.rb +++ b/apis/lib/influxdb2/apis/generated/models/password_reset_body.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/patch_organization_request.rb b/apis/lib/influxdb2/apis/generated/models/patch_organization_request.rb index e8febdb4..42cac738 100644 --- a/apis/lib/influxdb2/apis/generated/models/patch_organization_request.rb +++ b/apis/lib/influxdb2/apis/generated/models/patch_organization_request.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/permission.rb b/apis/lib/influxdb2/apis/generated/models/permission.rb index e07b565a..a63124ec 100644 --- a/apis/lib/influxdb2/apis/generated/models/permission.rb +++ b/apis/lib/influxdb2/apis/generated/models/permission.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/post_bucket_request.rb b/apis/lib/influxdb2/apis/generated/models/post_bucket_request.rb index 07e076c8..046ea19a 100644 --- a/apis/lib/influxdb2/apis/generated/models/post_bucket_request.rb +++ b/apis/lib/influxdb2/apis/generated/models/post_bucket_request.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/post_organization_request.rb b/apis/lib/influxdb2/apis/generated/models/post_organization_request.rb index fcf6089b..cf4530ca 100644 --- a/apis/lib/influxdb2/apis/generated/models/post_organization_request.rb +++ b/apis/lib/influxdb2/apis/generated/models/post_organization_request.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/resource.rb b/apis/lib/influxdb2/apis/generated/models/resource.rb index 127d3d67..c6e2f873 100644 --- a/apis/lib/influxdb2/apis/generated/models/resource.rb +++ b/apis/lib/influxdb2/apis/generated/models/resource.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/resource_member.rb b/apis/lib/influxdb2/apis/generated/models/resource_member.rb index 95cbbeed..a4137779 100644 --- a/apis/lib/influxdb2/apis/generated/models/resource_member.rb +++ b/apis/lib/influxdb2/apis/generated/models/resource_member.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/resource_member_all_of.rb b/apis/lib/influxdb2/apis/generated/models/resource_member_all_of.rb index 6fc49761..e40eceed 100644 --- a/apis/lib/influxdb2/apis/generated/models/resource_member_all_of.rb +++ b/apis/lib/influxdb2/apis/generated/models/resource_member_all_of.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/resource_members.rb b/apis/lib/influxdb2/apis/generated/models/resource_members.rb index d602688f..446a8384 100644 --- a/apis/lib/influxdb2/apis/generated/models/resource_members.rb +++ b/apis/lib/influxdb2/apis/generated/models/resource_members.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/resource_members_links.rb b/apis/lib/influxdb2/apis/generated/models/resource_members_links.rb index acebdcc5..84257167 100644 --- a/apis/lib/influxdb2/apis/generated/models/resource_members_links.rb +++ b/apis/lib/influxdb2/apis/generated/models/resource_members_links.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/resource_owner.rb b/apis/lib/influxdb2/apis/generated/models/resource_owner.rb index 2617b252..6ed8447f 100644 --- a/apis/lib/influxdb2/apis/generated/models/resource_owner.rb +++ b/apis/lib/influxdb2/apis/generated/models/resource_owner.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/resource_owner_all_of.rb b/apis/lib/influxdb2/apis/generated/models/resource_owner_all_of.rb index 1f46c3bc..8336377c 100644 --- a/apis/lib/influxdb2/apis/generated/models/resource_owner_all_of.rb +++ b/apis/lib/influxdb2/apis/generated/models/resource_owner_all_of.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/resource_owners.rb b/apis/lib/influxdb2/apis/generated/models/resource_owners.rb index 449945cd..24cc5839 100644 --- a/apis/lib/influxdb2/apis/generated/models/resource_owners.rb +++ b/apis/lib/influxdb2/apis/generated/models/resource_owners.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/retention_rule.rb b/apis/lib/influxdb2/apis/generated/models/retention_rule.rb index 927e4481..4c219eb9 100644 --- a/apis/lib/influxdb2/apis/generated/models/retention_rule.rb +++ b/apis/lib/influxdb2/apis/generated/models/retention_rule.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/user.rb b/apis/lib/influxdb2/apis/generated/models/user.rb index 403715fa..984c89a6 100644 --- a/apis/lib/influxdb2/apis/generated/models/user.rb +++ b/apis/lib/influxdb2/apis/generated/models/user.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/user_response.rb b/apis/lib/influxdb2/apis/generated/models/user_response.rb index 2c82f0c8..cc963eaf 100644 --- a/apis/lib/influxdb2/apis/generated/models/user_response.rb +++ b/apis/lib/influxdb2/apis/generated/models/user_response.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/user_response_links.rb b/apis/lib/influxdb2/apis/generated/models/user_response_links.rb index 0173eb10..d0267ce7 100644 --- a/apis/lib/influxdb2/apis/generated/models/user_response_links.rb +++ b/apis/lib/influxdb2/apis/generated/models/user_response_links.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/apis/lib/influxdb2/apis/generated/models/users.rb b/apis/lib/influxdb2/apis/generated/models/users.rb index 4ff265cc..6fa7bffa 100644 --- a/apis/lib/influxdb2/apis/generated/models/users.rb +++ b/apis/lib/influxdb2/apis/generated/models/users.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2::API diff --git a/bin/templates/model.mustache b/bin/templates/model.mustache index a9e93200..f61edf21 100644 --- a/bin/templates/model.mustache +++ b/bin/templates/model.mustache @@ -3,6 +3,7 @@ =end require 'date' +require 'set' require 'time' module {{moduleName}}::API diff --git a/.codecov.yml b/codecov.yml similarity index 100% rename from .codecov.yml rename to codecov.yml diff --git a/lib/influxdb2/client/models/delete_predicate_request.rb b/lib/influxdb2/client/models/delete_predicate_request.rb index 382e081e..a8af68b9 100644 --- a/lib/influxdb2/client/models/delete_predicate_request.rb +++ b/lib/influxdb2/client/models/delete_predicate_request.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2 diff --git a/lib/influxdb2/client/models/dialect.rb b/lib/influxdb2/client/models/dialect.rb index 084bd472..b2d48441 100644 --- a/lib/influxdb2/client/models/dialect.rb +++ b/lib/influxdb2/client/models/dialect.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2 diff --git a/lib/influxdb2/client/models/health_check.rb b/lib/influxdb2/client/models/health_check.rb index 9ef1f150..b6336e60 100644 --- a/lib/influxdb2/client/models/health_check.rb +++ b/lib/influxdb2/client/models/health_check.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2 diff --git a/lib/influxdb2/client/models/query.rb b/lib/influxdb2/client/models/query.rb index ecb706ed..d5079b66 100644 --- a/lib/influxdb2/client/models/query.rb +++ b/lib/influxdb2/client/models/query.rb @@ -10,6 +10,7 @@ =end require 'date' +require 'set' require 'time' module InfluxDB2