sqlite3 1.5.2-x64-mingw32 → 1.5.4-x64-mingw32
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 +14 -0
- data/CONTRIBUTING.md +3 -3
- data/dependencies.yml +7 -7
- data/ext/sqlite3/extconf.rb +35 -11
- data/lib/sqlite3/2.6/sqlite3_native.so +0 -0
- data/lib/sqlite3/2.7/sqlite3_native.so +0 -0
- data/lib/sqlite3/3.0/sqlite3_native.so +0 -0
- data/lib/sqlite3/version.rb +2 -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: 88a616778d61ed584838c3ffc28c6b910109ed9c126ede27b618d8ea48faee50
         | 
| 4 | 
            +
              data.tar.gz: be010c26ab35c2a0d0179be1877708df38ca5b6252bb55838fa83dd8a8537cfb
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 6ffe814406cb17353f8f30d1bf68371714b04be2e705f81a60b0411154f1586fb90edadf949f9c2e0ef2200137fb109402b683a40aa1d1798d2dbfb810d590cf
         | 
| 7 | 
            +
              data.tar.gz: a1a1012f8129f3f9fecd0a98d5c6ddad1e6e7df6db79453a5d6e4768f40472c1842ff2c7a1b055d81edcf0c556ff15446525cde70d1f3d00a678a76b11a7b1c2
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,19 @@ | |
| 1 1 | 
             
            # sqlite3-ruby Changelog
         | 
| 2 2 |  | 
| 3 | 
            +
            ## 1.5.4 / 2022-11-18
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            ### Dependencies
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Vendored sqlite is updated to [v3.40.0](https://sqlite.org/releaselog/3_40_0.html).
         | 
| 8 | 
            +
             | 
| 9 | 
            +
             | 
| 10 | 
            +
            ## 1.5.3 / 2022-10-11
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            ### Fixed
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            * 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]
         | 
| 15 | 
            +
             | 
| 16 | 
            +
             | 
| 3 17 | 
             
            ## 1.5.2 / 2022-10-01
         | 
| 4 18 |  | 
| 5 19 | 
             
            ### Packaging
         | 
    
        data/CONTRIBUTING.md
    CHANGED
    
    | @@ -17,8 +17,8 @@ Run `bin/build-gems` which will package gems for all supported platforms, and ru | |
| 17 17 | 
             
            A quick checklist:
         | 
| 18 18 |  | 
| 19 19 | 
             
            - [ ] make sure CI is green!
         | 
| 20 | 
            -
            - [ | 
| 21 | 
            -
            - [ | 
| 20 | 
            +
            - [x] update `CHANGELOG.md` and `lib/sqlite3/version.rb` including `VersionProxy::{MINOR,TINY}`
         | 
| 21 | 
            +
            - [x] create a git tag using a format that matches the pattern `v\d+\.\d+\.\d+`, e.g. `v1.3.13`
         | 
| 22 22 | 
             
            - [ ] run `bin/build-gems` and make sure it completes and all the tests pass
         | 
| 23 | 
            -
            - [ ] `for g in gems/*.gem ; do gem push $g ; done` | 
| 23 | 
            +
            - [ ] `for g in gems/*.gem ; do gem push $g ; done`
         | 
| 24 24 | 
             
            - [ ] create a release at https://github.com/sparklemotion/sqlite3-ruby/releases and include sha2 checksums
         | 
    
        data/dependencies.yml
    CHANGED
    
    | @@ -2,13 +2,13 @@ | |
| 2 2 | 
             
            :sqlite3:
         | 
| 3 3 | 
             
              # checksum verified by first checking the published sha3(256) checksum against https://sqlite.org/download.html:
         | 
| 4 4 | 
             
              #
         | 
| 5 | 
            -
              # $ sha3sum -a 256 ports/archives/sqlite-autoconf- | 
| 6 | 
            -
              #  | 
| 5 | 
            +
              # $ sha3sum -a 256 ports/archives/sqlite-autoconf-3400000.tar.gz
         | 
| 6 | 
            +
              # 7ee8f02b21edb4489df5082b5cf5b7ef47bcebcdb0e209bf14240db69633c878  ports/archives/sqlite-autoconf-3400000.tar.gz
         | 
| 7 7 | 
             
              #
         | 
| 8 | 
            -
              # $ sha256sum ports/archives/sqlite-autoconf- | 
| 9 | 
            -
              #  | 
| 8 | 
            +
              # $ sha256sum ports/archives/sqlite-autoconf-3400000.tar.gz
         | 
| 9 | 
            +
              # 0333552076d2700c75352256e91c78bf5cd62491589ba0c69aed0a81868980e7  ports/archives/sqlite-autoconf-3400000.tar.gz
         | 
| 10 10 | 
             
              #
         | 
| 11 | 
            -
              :version: "3. | 
| 11 | 
            +
              :version: "3.40.0"
         | 
| 12 12 | 
             
              :files:
         | 
| 13 | 
            -
                - :url: "https://sqlite.org/2022/sqlite-autoconf- | 
| 14 | 
            -
                  :sha256: " | 
| 13 | 
            +
                - :url: "https://sqlite.org/2022/sqlite-autoconf-3400000.tar.gz"
         | 
| 14 | 
            +
                  :sha256: "0333552076d2700c75352256e91c78bf5cd62491589ba0c69aed0a81868980e7"
         | 
    
        data/ext/sqlite3/extconf.rb
    CHANGED
    
    | @@ -66,15 +66,24 @@ module Sqlite3 | |
| 66 66 | 
             
                      end
         | 
| 67 67 | 
             
                      recipe.activate
         | 
| 68 68 |  | 
| 69 | 
            -
                       | 
| 70 | 
            -
                       | 
| 71 | 
            -
             | 
| 72 | 
            -
             | 
| 73 | 
            -
             | 
| 74 | 
            -
             | 
| 75 | 
            -
             | 
| 76 | 
            -
             | 
| 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)
         | 
| 77 84 | 
             
                      end
         | 
| 85 | 
            +
             | 
| 86 | 
            +
                      flags.each { |flag| append_ldflags(flag) }
         | 
| 78 87 | 
             
                    end
         | 
| 79 88 | 
             
                  end
         | 
| 80 89 |  | 
| @@ -117,9 +126,13 @@ module Sqlite3 | |
| 117 126 |  | 
| 118 127 | 
             
                  def minimal_recipe
         | 
| 119 128 | 
             
                    MiniPortile.new(libname, sqlite3_config[:version]).tap do |recipe|
         | 
| 120 | 
            -
                       | 
| 121 | 
            -
             | 
| 122 | 
            -
                       | 
| 129 | 
            +
                      if sqlite_source_dir
         | 
| 130 | 
            +
                        recipe.source_directory = sqlite_source_dir
         | 
| 131 | 
            +
                      else
         | 
| 132 | 
            +
                        recipe.files = sqlite3_config[:files]
         | 
| 133 | 
            +
                        recipe.target = File.join(package_root_dir, "ports")
         | 
| 134 | 
            +
                        recipe.patch_files = Dir[File.join(package_root_dir, "patches", "*.patch")].sort
         | 
| 135 | 
            +
                      end
         | 
| 123 136 | 
             
                    end
         | 
| 124 137 | 
             
                  end
         | 
| 125 138 |  | 
| @@ -140,10 +153,18 @@ module Sqlite3 | |
| 140 153 | 
             
                    abort("\nCould not find #{missing}.\nPlease visit https://github.com/sparklemotion/sqlite3-ruby for installation instructions.\n\n")
         | 
| 141 154 | 
             
                  end
         | 
| 142 155 |  | 
| 156 | 
            +
                  def abort_pkg_config(id)
         | 
| 157 | 
            +
                    abort("\nCould not configure the build properly (#{id}). Please install either the `pkg-config` utility or the `pkg-config` rubygem.\n\n")
         | 
| 158 | 
            +
                  end
         | 
| 159 | 
            +
             | 
| 143 160 | 
             
                  def cross_build?
         | 
| 144 161 | 
             
                    enable_config("cross-build")
         | 
| 145 162 | 
             
                  end
         | 
| 146 163 |  | 
| 164 | 
            +
                  def sqlite_source_dir
         | 
| 165 | 
            +
                    arg_config("--with-sqlite-source-dir")
         | 
| 166 | 
            +
                  end
         | 
| 167 | 
            +
             | 
| 147 168 | 
             
                  def download
         | 
| 148 169 | 
             
                    minimal_recipe.download
         | 
| 149 170 | 
             
                  end
         | 
| @@ -165,6 +186,9 @@ module Sqlite3 | |
| 165 186 | 
             
                                Use libsqlcipher instead of libsqlite3.
         | 
| 166 187 | 
             
                                (Implies `--enable-system-libraries`.)
         | 
| 167 188 |  | 
| 189 | 
            +
                            --with-sqlite-source-dir=DIRECTORY
         | 
| 190 | 
            +
                                (dev only) Build sqlite from the source code in DIRECTORY
         | 
| 191 | 
            +
             | 
| 168 192 | 
             
                            --help
         | 
| 169 193 | 
             
                                Display this message.
         | 
| 170 194 |  | 
| Binary file | 
| Binary file | 
| 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.4
         | 
| 5 5 | 
             
            platform: x64-mingw32
         | 
| 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-11-18 00:00:00.000000000 Z
         | 
| 14 14 | 
             
            dependencies:
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 16 16 | 
             
              name: minitest
         |