sqlite3 1.5.1-arm64-darwin → 1.5.3-arm64-darwin
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 +16 -0
 - data/dependencies.yml +14 -0
 - data/ext/sqlite3/extconf.rb +24 -25
 - data/lib/sqlite3/3.1/sqlite3_native.bundle +0 -0
 - data/lib/sqlite3/version.rb +2 -2
 - metadata +3 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 4f94e80289254b0bc7c6978920fa48c21ae2e7559252e70af490eed2453937f4
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 7e7c707be5f39a43523c8753ffb04651339d11bddbba2b19e336bba47a78c73a
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: dfcabccdf97f099a61c6f1677df1589cdc7ca13819749c638303644b043dbff9d33e50ddf19107cc99a18c32f95bd758aec70c096bcba134d9434b941cc5772b
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: cb6ed052e21b04612abf1a38193009b62685e9c9de9a8b9f9504b0bb443815d254278bbb2b1069716a380eb17ae5d4eb7202350c68a7b97b60a686e313fab176
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,21 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # sqlite3-ruby Changelog
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ## 1.5.3 / 2022-10-11
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            ### Fixed
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Fixed installation of the "ruby" platform gem when building from source on Fedora. In v1.5.0..v1.5.2, installation failed on some systems due to the behavior of Fedora's pkg-config implementation. [#355]
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            ## 1.5.2 / 2022-10-01
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            ### Packaging
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            This version correctly vendors the tarball for sqlite v3.39.4 in the vanilla "ruby" platform gem package, so that users will not require network access at installation.
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            v1.5.0 and v1.5.1 mistakenly packaged the tarball for sqlite v3.38.5 in the vanilla "ruby" platform gem, resulting in downloading the intended tarball over the network at installation time (or, if the network was not available, failure to install). Note that the precompiled native gems were not affected by this issue. [#352]
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
       3 
19 
     | 
    
         
             
            ## 1.5.1 / 2022-09-29
         
     | 
| 
       4 
20 
     | 
    
         | 
| 
       5 
21 
     | 
    
         
             
            ### Dependencies
         
     | 
    
        data/dependencies.yml
    ADDED
    
    | 
         @@ -0,0 +1,14 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # TODO: stop using symbols here once we no longer support Ruby 2.7 and can rely on symbolize_names
         
     | 
| 
      
 2 
     | 
    
         
            +
            :sqlite3:
         
     | 
| 
      
 3 
     | 
    
         
            +
              # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
         
     | 
| 
      
 4 
     | 
    
         
            +
              #
         
     | 
| 
      
 5 
     | 
    
         
            +
              # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3390400.tar.gz
         
     | 
| 
      
 6 
     | 
    
         
            +
              # 431328e30d12c551da9ba7ef2122b269076058512014afa799caaf62ca567090  ports/archives/sqlite-autoconf-3390400.tar.gz
         
     | 
| 
      
 7 
     | 
    
         
            +
              #
         
     | 
| 
      
 8 
     | 
    
         
            +
              # $ sha256sum ports/archives/sqlite-autoconf-3390400.tar.gz
         
     | 
| 
      
 9 
     | 
    
         
            +
              # f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb  ports/archives/sqlite-autoconf-3390400.tar.gz
         
     | 
| 
      
 10 
     | 
    
         
            +
              #
         
     | 
| 
      
 11 
     | 
    
         
            +
              :version: "3.39.4"
         
     | 
| 
      
 12 
     | 
    
         
            +
              :files:
         
     | 
| 
      
 13 
     | 
    
         
            +
                - :url: "https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz"
         
     | 
| 
      
 14 
     | 
    
         
            +
                  :sha256: "f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb"
         
     | 
    
        data/ext/sqlite3/extconf.rb
    CHANGED
    
    | 
         @@ -1,5 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            require "mkmf"
         
     | 
| 
       2 
2 
     | 
    
         
             
            require "mini_portile2"
         
     | 
| 
      
 3 
     | 
    
         
            +
            require "yaml"
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
       4 
5 
     | 
    
         
             
            module Sqlite3
         
     | 
| 
       5 
6 
     | 
    
         
             
              module ExtConf
         
     | 
| 
         @@ -65,15 +66,24 @@ module Sqlite3 
     | 
|
| 
       65 
66 
     | 
    
         
             
                      end
         
     | 
| 
       66 
67 
     | 
    
         
             
                      recipe.activate
         
     | 
| 
       67 
68 
     | 
    
         | 
| 
       68 
     | 
    
         
            -
                       
     | 
| 
       69 
     | 
    
         
            -
                       
     | 
| 
       70 
     | 
    
         
            -
             
     | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
       72 
     | 
    
         
            -
             
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
      
 69 
     | 
    
         
            +
                      # on macos, pkg-config will not return --cflags without this
         
     | 
| 
      
 70 
     | 
    
         
            +
                      ENV["PKG_CONFIG_ALLOW_SYSTEM_CFLAGS"] = "t"
         
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
                      lib_path = File.join(recipe.path, "lib")
         
     | 
| 
      
 73 
     | 
    
         
            +
                      pcfile = File.join(lib_path, "pkgconfig", "sqlite3.pc")
         
     | 
| 
      
 74 
     | 
    
         
            +
                      abort_pkg_config("pkg_config") unless pkg_config(pcfile)
         
     | 
| 
      
 75 
     | 
    
         
            +
             
     | 
| 
      
 76 
     | 
    
         
            +
                      # see https://bugs.ruby-lang.org/issues/18490
         
     | 
| 
      
 77 
     | 
    
         
            +
                      flags = xpopen(["pkg-config", "--libs", "--static", pcfile], err: [:child, :out], &:read)
         
     | 
| 
      
 78 
     | 
    
         
            +
                      abort_pkg_config("xpopen") unless $?.success?
         
     | 
| 
      
 79 
     | 
    
         
            +
                      flags = flags.split
         
     | 
| 
      
 80 
     | 
    
         
            +
             
     | 
| 
      
 81 
     | 
    
         
            +
                      # see https://github.com/flavorjones/mini_portile/issues/118
         
     | 
| 
      
 82 
     | 
    
         
            +
                      "-L#{lib_path}".tap do |lib_path_flag|
         
     | 
| 
      
 83 
     | 
    
         
            +
                        flags.prepend(lib_path_flag) unless flags.include?(lib_path_flag)
         
     | 
| 
       76 
84 
     | 
    
         
             
                      end
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                      flags.each { |flag| append_ldflags(flag) }
         
     | 
| 
       77 
87 
     | 
    
         
             
                    end
         
     | 
| 
       78 
88 
     | 
    
         
             
                  end
         
     | 
| 
       79 
89 
     | 
    
         | 
| 
         @@ -131,29 +141,18 @@ module Sqlite3 
     | 
|
| 
       131 
141 
     | 
    
         
             
                  end
         
     | 
| 
       132 
142 
     | 
    
         | 
| 
       133 
143 
     | 
    
         
             
                  def mini_portile_config
         
     | 
| 
       134 
     | 
    
         
            -
                     
     | 
| 
       135 
     | 
    
         
            -
             
     | 
| 
       136 
     | 
    
         
            -
                        # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
         
     | 
| 
       137 
     | 
    
         
            -
                        #
         
     | 
| 
       138 
     | 
    
         
            -
                        # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3390400.tar.gz
         
     | 
| 
       139 
     | 
    
         
            -
                        # 431328e30d12c551da9ba7ef2122b269076058512014afa799caaf62ca567090  ports/archives/sqlite-autoconf-3390400.tar.gz
         
     | 
| 
       140 
     | 
    
         
            -
                        #
         
     | 
| 
       141 
     | 
    
         
            -
                        # $ sha256sum ports/archives/sqlite-autoconf-3390400.tar.gz
         
     | 
| 
       142 
     | 
    
         
            -
                        # f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb  ports/archives/sqlite-autoconf-3390400.tar.gz
         
     | 
| 
       143 
     | 
    
         
            -
                        #
         
     | 
| 
       144 
     | 
    
         
            -
                        version: "3.39.4",
         
     | 
| 
       145 
     | 
    
         
            -
                        files: [{
         
     | 
| 
       146 
     | 
    
         
            -
                                  url: "https://sqlite.org/2022/sqlite-autoconf-3390400.tar.gz",
         
     | 
| 
       147 
     | 
    
         
            -
                                  sha256: "f31d445b48e67e284cf206717cc170ab63cbe4fd7f79a82793b772285e78fdbb",
         
     | 
| 
       148 
     | 
    
         
            -
                                }],
         
     | 
| 
       149 
     | 
    
         
            -
                      }
         
     | 
| 
       150 
     | 
    
         
            -
                    }
         
     | 
| 
      
 144 
     | 
    
         
            +
                    # TODO: once Ruby 2.7 is no longer supported, use symbolize_names: true
         
     | 
| 
      
 145 
     | 
    
         
            +
                    YAML.load_file(File.join(package_root_dir, "dependencies.yml"))
         
     | 
| 
       151 
146 
     | 
    
         
             
                  end
         
     | 
| 
       152 
147 
     | 
    
         | 
| 
       153 
148 
     | 
    
         
             
                  def abort_could_not_find(missing)
         
     | 
| 
       154 
149 
     | 
    
         
             
                    abort("\nCould not find #{missing}.\nPlease visit https://github.com/sparklemotion/sqlite3-ruby for installation instructions.\n\n")
         
     | 
| 
       155 
150 
     | 
    
         
             
                  end
         
     | 
| 
       156 
151 
     | 
    
         | 
| 
      
 152 
     | 
    
         
            +
                  def abort_pkg_config(id)
         
     | 
| 
      
 153 
     | 
    
         
            +
                    abort("\nCould not configure the build properly (#{id}). Please install either the `pkg-config` utility or the `pkg-config` rubygem.\n\n")
         
     | 
| 
      
 154 
     | 
    
         
            +
                  end
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
       157 
156 
     | 
    
         
             
                  def cross_build?
         
     | 
| 
       158 
157 
     | 
    
         
             
                    enable_config("cross-build")
         
     | 
| 
       159 
158 
     | 
    
         
             
                  end
         
     | 
| 
         Binary file 
     | 
    
        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: 1.5. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.5.3
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: arm64-darwin
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Jamis Buck
         
     | 
| 
         @@ -10,7 +10,7 @@ authors: 
     | 
|
| 
       10 
10 
     | 
    
         
             
            autorequire:
         
     | 
| 
       11 
11 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       12 
12 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
            date: 2022- 
     | 
| 
      
 13 
     | 
    
         
            +
            date: 2022-10-11 00:00:00.000000000 Z
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies:
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       16 
16 
     | 
    
         
             
              name: minitest
         
     | 
| 
         @@ -103,6 +103,7 @@ files: 
     | 
|
| 
       103 
103 
     | 
    
         
             
            - LICENSE
         
     | 
| 
       104 
104 
     | 
    
         
             
            - LICENSE-DEPENDENCIES
         
     | 
| 
       105 
105 
     | 
    
         
             
            - README.md
         
     | 
| 
      
 106 
     | 
    
         
            +
            - dependencies.yml
         
     | 
| 
       106 
107 
     | 
    
         
             
            - ext/sqlite3/aggregator.c
         
     | 
| 
       107 
108 
     | 
    
         
             
            - ext/sqlite3/aggregator.h
         
     | 
| 
       108 
109 
     | 
    
         
             
            - ext/sqlite3/backup.c
         
     |