sqlite3 1.6.0.rc1 → 1.6.0.rc2
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/ext/sqlite3/extconf.rb +6 -15
- data/ext/sqlite3/sqlite3.c +1 -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: c8d1f4a6fc62ef46dcf04d60fbc1de782988ca770b5c71dcd14072e9017eb43d
         | 
| 4 | 
            +
              data.tar.gz: 9873600eb5fe2d880ed1faf3fa3e9e3c9002135ac773a7e11c25ce50e312bd29
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: abc8e35c2dd4462846bcdc2c7210b9f607af0a6c710cae8570e1d588e07f7ff31e18a3cd57781b70bd8f579811ea221e140dc69615a8cd61fa344b122045cac3
         | 
| 7 | 
            +
              data.tar.gz: 96e8ba48a6e3ada102c9a8352cf4789f377d3be4c21de95cff618ac7f5e316be87c1cedd05046db74846557e7805c0ab46101744e37074dc8e6565d9aab89c03
         | 
    
        data/ext/sqlite3/extconf.rb
    CHANGED
    
    | @@ -55,6 +55,7 @@ module Sqlite3 | |
| 55 55 | 
             
                        additional_cflags = [
         | 
| 56 56 | 
             
                          "-fPIC", # needed for linking the static library into a shared library
         | 
| 57 57 | 
             
                          "-O2", # see https://github.com/sparklemotion/sqlite3-ruby/issues/335 for some benchmarks
         | 
| 58 | 
            +
                          "-fvisibility=hidden", # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
         | 
| 58 59 | 
             
                        ]
         | 
| 59 60 | 
             
                        env["CFLAGS"] = [env["CFLAGS"], additional_cflags].flatten.join(" ")
         | 
| 60 61 | 
             
                        recipe.configure_options += env.select { |k,v| ENV_ALLOWLIST.include?(k) }
         | 
| @@ -81,14 +82,9 @@ module Sqlite3 | |
| 81 82 | 
             
                      abort_pkg_config("xpopen") unless $?.success?
         | 
| 82 83 | 
             
                      ldflags = ldflags.split
         | 
| 83 84 |  | 
| 84 | 
            -
                       | 
| 85 | 
            -
             | 
| 86 | 
            -
                        ldflags.prepend( | 
| 87 | 
            -
                      else
         | 
| 88 | 
            -
                        # see https://github.com/flavorjones/mini_portile/issues/118
         | 
| 89 | 
            -
                        "-L#{lib_path}".tap do |lib_path_flag|
         | 
| 90 | 
            -
                          ldflags.prepend(lib_path_flag) unless ldflags.include?(lib_path_flag)
         | 
| 91 | 
            -
                        end
         | 
| 85 | 
            +
                      # see https://github.com/flavorjones/mini_portile/issues/118
         | 
| 86 | 
            +
                      "-L#{lib_path}".tap do |lib_path_flag|
         | 
| 87 | 
            +
                        ldflags.prepend(lib_path_flag) unless ldflags.include?(lib_path_flag)
         | 
| 92 88 | 
             
                      end
         | 
| 93 89 |  | 
| 94 90 | 
             
                      ldflags.each { |ldflag| append_ldflags(ldflag) }
         | 
| @@ -100,6 +96,8 @@ module Sqlite3 | |
| 100 96 | 
             
                      append_cppflags("-DTAINTING_SUPPORT")
         | 
| 101 97 | 
             
                    end
         | 
| 102 98 |  | 
| 99 | 
            +
                    append_cflags("-fvisibility=hidden") # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
         | 
| 100 | 
            +
             | 
| 103 101 | 
             
                    if find_header("sqlite3.h")
         | 
| 104 102 | 
             
                      # noop
         | 
| 105 103 | 
             
                    elsif sqlcipher? && find_header("sqlcipher/sqlite3.h")
         | 
| @@ -177,13 +175,6 @@ module Sqlite3 | |
| 177 175 | 
             
                    minimal_recipe.download
         | 
| 178 176 | 
             
                  end
         | 
| 179 177 |  | 
| 180 | 
            -
                  def needs_darwin_linker_hack
         | 
| 181 | 
            -
                    # See https://github.com/rake-compiler/rake-compiler-dock/issues/87 for more info.
         | 
| 182 | 
            -
                    cross_build? &&
         | 
| 183 | 
            -
                      darwin? &&
         | 
| 184 | 
            -
                      RbConfig::CONFIG["ruby_version"] >= "3.2"
         | 
| 185 | 
            -
                  end
         | 
| 186 | 
            -
             | 
| 187 178 | 
             
                  def darwin?
         | 
| 188 179 | 
             
                    RbConfig::CONFIG["target_os"].include?("darwin")
         | 
| 189 180 | 
             
                  end
         | 
    
        data/ext/sqlite3/sqlite3.c
    CHANGED
    
    
    
        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.6.0. | 
| 4 | 
            +
              version: 1.6.0.rc2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 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: 2023-01- | 
| 13 | 
            +
            date: 2023-01-04 00:00:00.000000000 Z
         | 
| 14 14 | 
             
            dependencies:
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 16 16 | 
             
              name: mini_portile2
         |