sqlite3 2.0.0-aarch64-linux-musl → 2.0.1-aarch64-linux-musl
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 +8 -0
- data/ext/sqlite3/statement.c +1 -1
- data/lib/sqlite3/3.0/sqlite3_native.so +0 -0
- data/lib/sqlite3/3.1/sqlite3_native.so +0 -0
- data/lib/sqlite3/3.2/sqlite3_native.so +0 -0
- data/lib/sqlite3/3.3/sqlite3_native.so +0 -0
- data/lib/sqlite3/database.rb +3 -3
- data/lib/sqlite3/version.rb +1 -1
- 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: e72ad13d0fd88d97ef97f8985bc83ca03cb9265a7cc30b4b0bb8c5d6d98eca01
         | 
| 4 | 
            +
              data.tar.gz: d2a7171f0bd925f6d3220121c7470a7b695c77391baa5d438a05f4e7f06529cc
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: f28fcf619538e10a1099f0b2bbd2fd1742474c1a1b15caeab50ef2eaf860f9470c27c435a2f371153f5ff3cd63098e3fbc1279e11d0c7138a5b748192d1d9299
         | 
| 7 | 
            +
              data.tar.gz: bbd07e4f6496e53c6aa86247c24a06650f84a6559fc558924012f9ba62f7bde9042a84e12b505d65bada3720b8a55e9fa8b14e074a62eb20a461c84be2e13079
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # sqlite3-ruby Changelog
         | 
| 2 2 |  | 
| 3 | 
            +
            ## 2.0.1 / 2024-04-20
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            ### Fixed
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            - Raise `ArgumentError` if `Database#execute`, `#execute_batch`, or `#query` are passed multiple bind parameters that are not in an Array. In v2.0.0 these methods would silently swallow additional arguments, and this change makes the failure explicit. See the CHANGELOG notes for v2.0.0 for examples on how to update your code. [#527] @flavorjones
         | 
| 8 | 
            +
            - Fixed a regression in v2.0.0 that caused `Database#execute_batch` to raise an encoding exception when passed some non-ascii strings. As a result of this fix, `Database#prepare` now ensures the "remainder" string will always be encoded as UTF-8. [#524] @flavorjones
         | 
| 9 | 
            +
             | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ## 2.0.0 / 2024-04-17
         | 
| 4 12 |  | 
| 5 13 | 
             
            This is a major release which contains some breaking changes, primarily the removal of
         | 
    
        data/ext/sqlite3/statement.c
    CHANGED
    
    
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
    
        data/lib/sqlite3/database.rb
    CHANGED
    
    | @@ -194,7 +194,7 @@ module SQLite3 | |
| 194 194 | 
             
                #
         | 
| 195 195 | 
             
                # See also #execute2, #query, and #execute_batch for additional ways of
         | 
| 196 196 | 
             
                # executing statements.
         | 
| 197 | 
            -
                def execute sql, bind_vars = [],  | 
| 197 | 
            +
                def execute sql, bind_vars = [], &block
         | 
| 198 198 | 
             
                  prepare(sql) do |stmt|
         | 
| 199 199 | 
             
                    stmt.bind_params(bind_vars)
         | 
| 200 200 | 
             
                    stmt = build_result_set stmt
         | 
| @@ -243,7 +243,7 @@ module SQLite3 | |
| 243 243 | 
             
                #
         | 
| 244 244 | 
             
                # See also #execute_batch2 for additional ways of
         | 
| 245 245 | 
             
                # executing statements.
         | 
| 246 | 
            -
                def execute_batch(sql, bind_vars = [] | 
| 246 | 
            +
                def execute_batch(sql, bind_vars = [])
         | 
| 247 247 | 
             
                  sql = sql.strip
         | 
| 248 248 | 
             
                  result = nil
         | 
| 249 249 | 
             
                  until sql.empty?
         | 
| @@ -298,7 +298,7 @@ module SQLite3 | |
| 298 298 | 
             
                # returned, or you could have problems with locks on the table. If called
         | 
| 299 299 | 
             
                # with a block, +close+ will be invoked implicitly when the block
         | 
| 300 300 | 
             
                # terminates.
         | 
| 301 | 
            -
                def query(sql, bind_vars = [] | 
| 301 | 
            +
                def query(sql, bind_vars = [])
         | 
| 302 302 | 
             
                  result = prepare(sql).execute(bind_vars)
         | 
| 303 303 | 
             
                  if block_given?
         | 
| 304 304 | 
             
                    begin
         | 
    
        data/lib/sqlite3/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: sqlite3
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.0. | 
| 4 | 
            +
              version: 2.0.1
         | 
| 5 5 | 
             
            platform: aarch64-linux-musl
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Jamis Buck
         | 
| @@ -11,7 +11,7 @@ authors: | |
| 11 11 | 
             
            autorequire: 
         | 
| 12 12 | 
             
            bindir: bin
         | 
| 13 13 | 
             
            cert_chain: []
         | 
| 14 | 
            -
            date: 2024-04- | 
| 14 | 
            +
            date: 2024-04-20 00:00:00.000000000 Z
         | 
| 15 15 | 
             
            dependencies: []
         | 
| 16 16 | 
             
            description: |
         | 
| 17 17 | 
             
              Ruby library to interface with the SQLite3 database engine (http://www.sqlite.org). Precompiled
         |