influxdb-client 1.14.0.pre.2287 → 1.15.0.pre.2461
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/CHANGELOG.md +9 -1
- data/README.md +2 -2
- data/lib/influxdb2/client/models/delete_predicate_request.rb +3 -4
- data/lib/influxdb2/client/models/dialect.rb +3 -4
- data/lib/influxdb2/client/models/health_check.rb +3 -4
- data/lib/influxdb2/client/models/query.rb +3 -4
- data/lib/influxdb2/client/version.rb +1 -1
- data/test/influxdb/point_test.rb +0 -2
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: cb57b5083c732a4a21cffa76477e6466344d1256b3e5599342041ff514148f36
         | 
| 4 | 
            +
              data.tar.gz: 54d4b54e575e2ad286c19119733fed17a4f723c1de112d2f4208a6bae15ccb8a
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4c426327319cabfe654e87768ca1981c2519bdff730698db81578a0aeab822918f4e44d8f2cb2cbb563ae7bb7f9f20e8b382ce47c0eaa37830452ac6ea5e1970
         | 
| 7 | 
            +
              data.tar.gz: 0a2347742f2f9bafc65f3df683fc5a70e853fb604b0319b9e70207fd0c30b8a913dbc0b793bdca8256b5ad12a2bff8bf8ae746c8a704ee71c2f2a6077ad9523a
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,8 +1,16 @@ | |
| 1 | 
            -
            ## 1. | 
| 1 | 
            +
            ## 1.15.0 [unreleased]
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            ### API
         | 
| 4 | 
            +
            1. [#79](https://github.com/influxdata/influxdb-client-ruby/pull/79): Update swagger generator to 5.1.1-SNAPSHOT
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            ## 1.14.0 [2021-04-30]
         | 
| 2 7 |  | 
| 3 8 | 
             
            ### API
         | 
| 4 9 | 
             
            1. [#77](https://github.com/influxdata/influxdb-client-ruby/pull/77): Update swagger to latest version
         | 
| 5 10 |  | 
| 11 | 
            +
            ### CI
         | 
| 12 | 
            +
            1. [#78](https://github.com/influxdata/influxdb-client-ruby/pull/78): Add build configuration for jruby
         | 
| 13 | 
            +
             | 
| 6 14 | 
             
            ## 1.13.0 [2021-04-01]
         | 
| 7 15 |  | 
| 8 16 | 
             
            ### API
         | 
    
        data/README.md
    CHANGED
    
    | @@ -54,13 +54,13 @@ The client can be installed manually or with bundler. | |
| 54 54 | 
             
            To install the client gem manually:
         | 
| 55 55 |  | 
| 56 56 | 
             
            ```
         | 
| 57 | 
            -
            gem install influxdb-client -v 1. | 
| 57 | 
            +
            gem install influxdb-client -v 1.14.0
         | 
| 58 58 | 
             
            ```
         | 
| 59 59 |  | 
| 60 60 | 
             
            For management API:
         | 
| 61 61 |  | 
| 62 62 | 
             
            ```
         | 
| 63 | 
            -
            gem install influxdb-client-apis -v 1. | 
| 63 | 
            +
            gem install influxdb-client-apis -v 1.14.0
         | 
| 64 64 | 
             
            ```
         | 
| 65 65 |  | 
| 66 66 | 
             
            ## Usage
         | 
| @@ -6,7 +6,6 @@ | |
| 6 6 | 
             
            The version of the OpenAPI document: 0.1.0
         | 
| 7 7 |  | 
| 8 8 | 
             
            Generated by: https://openapi-generator.tech
         | 
| 9 | 
            -
            OpenAPI Generator version: 5.0.0-beta3
         | 
| 10 9 |  | 
| 11 10 | 
             
            =end
         | 
| 12 11 |  | 
| @@ -25,7 +24,7 @@ module InfluxDB2 | |
| 25 24 | 
             
                # InfluxQL-like delete statement
         | 
| 26 25 | 
             
                attr_accessor :predicate
         | 
| 27 26 |  | 
| 28 | 
            -
                # Attribute mapping from ruby-style variable name to JSON key
         | 
| 27 | 
            +
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 29 28 | 
             
                def self.attribute_map
         | 
| 30 29 | 
             
                  {
         | 
| 31 30 | 
             
                    :'start' => :'start',
         | 
| @@ -39,7 +38,7 @@ module InfluxDB2 | |
| 39 38 | 
             
                  {
         | 
| 40 39 | 
             
                    :'start' => :'Time',
         | 
| 41 40 | 
             
                    :'stop' => :'Time',
         | 
| 42 | 
            -
                    :'predicate' => :'String' | 
| 41 | 
            +
                    :'predicate' => :'String'
         | 
| 43 42 | 
             
                  }
         | 
| 44 43 | 
             
                end
         | 
| 45 44 |  | 
| @@ -119,7 +118,7 @@ module InfluxDB2 | |
| 119 118 | 
             
                # Calculates hash code according to all attributes.
         | 
| 120 119 | 
             
                # @return [Integer] Hash code
         | 
| 121 120 | 
             
                def hash
         | 
| 122 | 
            -
                  [start, stop, predicate | 
| 121 | 
            +
                  [start, stop, predicate].hash
         | 
| 123 122 | 
             
                end
         | 
| 124 123 |  | 
| 125 124 | 
             
                # Builds the object from hash
         | 
| @@ -6,7 +6,6 @@ | |
| 6 6 | 
             
            The version of the OpenAPI document: 0.1.0
         | 
| 7 7 |  | 
| 8 8 | 
             
            Generated by: https://openapi-generator.tech
         | 
| 9 | 
            -
            OpenAPI Generator version: 5.0.0-beta3
         | 
| 10 9 |  | 
| 11 10 | 
             
            =end
         | 
| 12 11 |  | 
| @@ -53,7 +52,7 @@ module InfluxDB2 | |
| 53 52 | 
             
                  end
         | 
| 54 53 | 
             
                end
         | 
| 55 54 |  | 
| 56 | 
            -
                # Attribute mapping from ruby-style variable name to JSON key
         | 
| 55 | 
            +
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 57 56 | 
             
                def self.attribute_map
         | 
| 58 57 | 
             
                  {
         | 
| 59 58 | 
             
                    :'header' => :'header',
         | 
| @@ -71,7 +70,7 @@ module InfluxDB2 | |
| 71 70 | 
             
                    :'delimiter' => :'String',
         | 
| 72 71 | 
             
                    :'annotations' => :'Array<String>',
         | 
| 73 72 | 
             
                    :'comment_prefix' => :'String',
         | 
| 74 | 
            -
                    :'date_time_format' => :'String' | 
| 73 | 
            +
                    :'date_time_format' => :'String'
         | 
| 75 74 | 
             
                  }
         | 
| 76 75 | 
             
                end
         | 
| 77 76 |  | 
| @@ -221,7 +220,7 @@ module InfluxDB2 | |
| 221 220 | 
             
                # Calculates hash code according to all attributes.
         | 
| 222 221 | 
             
                # @return [Integer] Hash code
         | 
| 223 222 | 
             
                def hash
         | 
| 224 | 
            -
                  [header, delimiter, annotations, comment_prefix, date_time_format | 
| 223 | 
            +
                  [header, delimiter, annotations, comment_prefix, date_time_format].hash
         | 
| 225 224 | 
             
                end
         | 
| 226 225 |  | 
| 227 226 | 
             
                # Builds the object from hash
         | 
| @@ -6,7 +6,6 @@ | |
| 6 6 | 
             
            The version of the OpenAPI document: 0.1.0
         | 
| 7 7 |  | 
| 8 8 | 
             
            Generated by: https://openapi-generator.tech
         | 
| 9 | 
            -
            OpenAPI Generator version: 5.0.0-beta3
         | 
| 10 9 |  | 
| 11 10 | 
             
            =end
         | 
| 12 11 |  | 
| @@ -49,7 +48,7 @@ module InfluxDB2 | |
| 49 48 | 
             
                  end
         | 
| 50 49 | 
             
                end
         | 
| 51 50 |  | 
| 52 | 
            -
                # Attribute mapping from ruby-style variable name to JSON key
         | 
| 51 | 
            +
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 53 52 | 
             
                def self.attribute_map
         | 
| 54 53 | 
             
                  {
         | 
| 55 54 | 
             
                    :'name' => :'name',
         | 
| @@ -69,7 +68,7 @@ module InfluxDB2 | |
| 69 68 | 
             
                    :'checks' => :'Array<HealthCheck>',
         | 
| 70 69 | 
             
                    :'status' => :'String',
         | 
| 71 70 | 
             
                    :'version' => :'String',
         | 
| 72 | 
            -
                    :'commit' => :'String' | 
| 71 | 
            +
                    :'commit' => :'String'
         | 
| 73 72 | 
             
                  }
         | 
| 74 73 | 
             
                end
         | 
| 75 74 |  | 
| @@ -178,7 +177,7 @@ module InfluxDB2 | |
| 178 177 | 
             
                # Calculates hash code according to all attributes.
         | 
| 179 178 | 
             
                # @return [Integer] Hash code
         | 
| 180 179 | 
             
                def hash
         | 
| 181 | 
            -
                  [name, message, checks, status, version, commit | 
| 180 | 
            +
                  [name, message, checks, status, version, commit].hash
         | 
| 182 181 | 
             
                end
         | 
| 183 182 |  | 
| 184 183 | 
             
                # Builds the object from hash
         | 
| @@ -6,7 +6,6 @@ | |
| 6 6 | 
             
            The version of the OpenAPI document: 0.1.0
         | 
| 7 7 |  | 
| 8 8 | 
             
            Generated by: https://openapi-generator.tech
         | 
| 9 | 
            -
            OpenAPI Generator version: 5.0.0-beta3
         | 
| 10 9 |  | 
| 11 10 | 
             
            =end
         | 
| 12 11 |  | 
| @@ -51,7 +50,7 @@ module InfluxDB2 | |
| 51 50 | 
             
                  end
         | 
| 52 51 | 
             
                end
         | 
| 53 52 |  | 
| 54 | 
            -
                # Attribute mapping from ruby-style variable name to JSON key
         | 
| 53 | 
            +
                # Attribute mapping from ruby-style variable name to JSON key.
         | 
| 55 54 | 
             
                def self.attribute_map
         | 
| 56 55 | 
             
                  {
         | 
| 57 56 | 
             
                    :'extern' => :'extern',
         | 
| @@ -69,7 +68,7 @@ module InfluxDB2 | |
| 69 68 | 
             
                    :'query' => :'String',
         | 
| 70 69 | 
             
                    :'type' => :'String',
         | 
| 71 70 | 
             
                    :'dialect' => :'Dialect',
         | 
| 72 | 
            -
                    :'now' => :'Time' | 
| 71 | 
            +
                    :'now' => :'Time'
         | 
| 73 72 | 
             
                  }
         | 
| 74 73 | 
             
                end
         | 
| 75 74 |  | 
| @@ -166,7 +165,7 @@ module InfluxDB2 | |
| 166 165 | 
             
                # Calculates hash code according to all attributes.
         | 
| 167 166 | 
             
                # @return [Integer] Hash code
         | 
| 168 167 | 
             
                def hash
         | 
| 169 | 
            -
                  [extern, query, type, dialect, now | 
| 168 | 
            +
                  [extern, query, type, dialect, now].hash
         | 
| 170 169 | 
             
                end
         | 
| 171 170 |  | 
| 172 171 | 
             
                # Builds the object from hash
         | 
    
        data/test/influxdb/point_test.rb
    CHANGED
    
    | @@ -226,8 +226,6 @@ class PointTest < MiniTest::Test | |
| 226 226 | 
             
                                        .add_tag("t\tab", "t\tab")
         | 
| 227 227 | 
             
                                        .add_field('level', 2)
         | 
| 228 228 |  | 
| 229 | 
            -
                puts point.to_line_protocol
         | 
| 230 | 
            -
             | 
| 231 229 | 
             
                assert_equal 'h\\n2\\ro\\t_data,carriage\\rreturn=carriage\\nreturn,new\\nline=new\\nline,t\\tab=t\\tab level=2i',
         | 
| 232 230 | 
             
                             point.to_line_protocol
         | 
| 233 231 | 
             
              end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: influxdb-client
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.15.0.pre.2461
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Jakub Bednar
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021- | 
| 11 | 
            +
            date: 2021-05-05 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: bundler
         |