sqlpkg 0.2.3.2-arm64-darwin → 0.3.0-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/lib/sqlpkg/generators/sqlpkg/install_generator.rb +7 -0
 - data/lib/sqlpkg/upstream.rb +2 -2
 - data/lib/sqlpkg/version.rb +1 -1
 - data/lib/sqlpkg.rb +6 -2
 - metadata +3 -7
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 8d7ac0f7b6c95ce113ac328fc0789f6f894aec5d5d2789d3f5d315b2e2f8db36
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 3cac7957addf48baa9759f97776a6d3f359ab85ef74cf32bc180f921a2ceb4df
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: c2ac6b334eb403aaaf10ea9a8f21264feb1c94dc5226410e9c1b92c346b270437069cec3fc79dd16abd2687942084f703b4ebd34455ee0dcec4503e403787705
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: e972833eb3c3f7a223e7709c6030c01092873671e782f44809775cc215840c5869a0ea82e45474e7d05ee773e82f211da8e93fffd8313ce4ebed9be2e6bbe6fa
         
     | 
| 
         @@ -11,6 +11,13 @@ module Sqlpkg 
     | 
|
| 
       11 
11 
     | 
    
         
             
                    empty_directory ".sqlpkg"
         
     | 
| 
       12 
12 
     | 
    
         
             
                  end
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
      
 14 
     | 
    
         
            +
                  def create_gitignore_in_sqlpkg_project_scope_directory
         
     | 
| 
      
 15 
     | 
    
         
            +
                    create_file ".sqlpkg/.gitignore", <<~CONTENT
         
     | 
| 
      
 16 
     | 
    
         
            +
                      *
         
     | 
| 
      
 17 
     | 
    
         
            +
                      !.gitignore
         
     | 
| 
      
 18 
     | 
    
         
            +
                    CONTENT
         
     | 
| 
      
 19 
     | 
    
         
            +
                  end
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
       14 
21 
     | 
    
         
             
                  def create_empty_sqlpkg_lockfile
         
     | 
| 
       15 
22 
     | 
    
         
             
                    create_file "sqlpkg.lock", <<~CONTENT
         
     | 
| 
       16 
23 
     | 
    
         
             
                      {
         
     | 
    
        data/lib/sqlpkg/upstream.rb
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            module Sqlpkg
         
     | 
| 
       2 
     | 
    
         
            -
              # constants describing the upstream  
     | 
| 
      
 2 
     | 
    
         
            +
              # constants describing the upstream sqlpkg-cli project
         
     | 
| 
       3 
3 
     | 
    
         
             
              module Upstream
         
     | 
| 
       4 
     | 
    
         
            -
                VERSION = "0. 
     | 
| 
      
 4 
     | 
    
         
            +
                VERSION = "0.3.0"
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
                # rubygems platform name => upstream release filename
         
     | 
| 
       7 
7 
     | 
    
         
             
                NATIVE_PLATFORMS = {
         
     | 
    
        data/lib/sqlpkg/version.rb
    CHANGED
    
    
    
        data/lib/sqlpkg.rb
    CHANGED
    
    | 
         @@ -19,9 +19,13 @@ module Sqlpkg 
     | 
|
| 
       19 
19 
     | 
    
         
             
                alias_method :[], :path_for
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                # The directory where `sqlpkg` stores installed extensions
         
     | 
| 
       22 
     | 
    
         
            -
                # => "./.sqlpkg"
         
     | 
| 
      
 22 
     | 
    
         
            +
                # => "#{Rails.root}/.sqlpkg" or "./.sqlpkg"
         
     | 
| 
       23 
23 
     | 
    
         
             
                def file_dir
         
     | 
| 
       24 
     | 
    
         
            -
                   
     | 
| 
      
 24 
     | 
    
         
            +
                  if defined?(Rails) && Rails.respond_to?(:root) && Dir.exist?(Rails.root.join(DIR))
         
     | 
| 
      
 25 
     | 
    
         
            +
                    Rails.root.join(DIR)
         
     | 
| 
      
 26 
     | 
    
         
            +
                  else
         
     | 
| 
      
 27 
     | 
    
         
            +
                    File.join(__dir__, DIR)
         
     | 
| 
      
 28 
     | 
    
         
            +
                  end
         
     | 
| 
       25 
29 
     | 
    
         
             
                end
         
     | 
| 
       26 
30 
     | 
    
         | 
| 
       27 
31 
     | 
    
         
             
                # List of file paths for all installed extensions
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: sqlpkg
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.3.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: arm64-darwin
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Stephen Margheim
         
     | 
| 
       8 
     | 
    
         
            -
            autorequire:
         
     | 
| 
       9 
8 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
9 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 10 
     | 
    
         
            +
            date: 2025-06-03 00:00:00.000000000 Z
         
     | 
| 
       12 
11 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
12 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
13 
     | 
    
         
             
              name: rubyzip
         
     | 
| 
         @@ -52,7 +51,6 @@ dependencies: 
     | 
|
| 
       52 
51 
     | 
    
         
             
                - - ">="
         
     | 
| 
       53 
52 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       54 
53 
     | 
    
         
             
                    version: '0'
         
     | 
| 
       55 
     | 
    
         
            -
            description:
         
     | 
| 
       56 
54 
     | 
    
         
             
            email:
         
     | 
| 
       57 
55 
     | 
    
         
             
            - stephen.margheim@gmail.com
         
     | 
| 
       58 
56 
     | 
    
         
             
            executables:
         
     | 
| 
         @@ -81,7 +79,6 @@ metadata: 
     | 
|
| 
       81 
79 
     | 
    
         
             
              rubygems_mfa_required: 'true'
         
     | 
| 
       82 
80 
     | 
    
         
             
              source_code_uri: https://github.com/fractaledmind/sqlpkg-ruby
         
     | 
| 
       83 
81 
     | 
    
         
             
              changelog_uri: https://github.com/fractaledmind/sqlpkg-ruby/CHANGELOG.md
         
     | 
| 
       84 
     | 
    
         
            -
            post_install_message:
         
     | 
| 
       85 
82 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       86 
83 
     | 
    
         
             
            require_paths:
         
     | 
| 
       87 
84 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -96,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       96 
93 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       97 
94 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       98 
95 
     | 
    
         
             
            requirements: []
         
     | 
| 
       99 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       100 
     | 
    
         
            -
            signing_key:
         
     | 
| 
      
 96 
     | 
    
         
            +
            rubygems_version: 3.6.3
         
     | 
| 
       101 
97 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       102 
98 
     | 
    
         
             
            summary: Integrate sqlpkg with the RubyGems infrastructure.
         
     | 
| 
       103 
99 
     | 
    
         
             
            test_files: []
         
     |