sqlpkg 0.2.3.2-arm64-linux → 0.3.0-arm64-linux
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: a36e7a2f70845e958c49cebfd8291b9b7280bc4cd6cf1cf95f2e7c1ce3271920
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c6db6df9d47bafe455bd124d2e5c582cc2e25b590972c2f1f37e0afd904a3dfa
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 4201ff4d8e04485055b29b9041c75b433f7496922537af864147589924c3aa1046b1677bb56566afce378a0703918506200e7492051e6f04d114135fb7cbac40
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: a6d581bfe8ddaa4ccb5ebee081c4f7a313af59f49bcf08279b61d5f114f644478c2959e29e632eec0ea24c3c9769ed120b6e047b7e873c0d1203e72bcdc54872
         
     | 
| 
         @@ -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-linux
         
     | 
| 
       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: []
         
     |