sqlpkg 0.2.3.2-x86_64-linux → 0.3.0-x86_64-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: bcee7ca1e25d95c7b60ca23161c58b74bddf91d42ae6437744f329affb829e8a
|
4
|
+
data.tar.gz: 64646c9ac7e7bb74f72bdf11cde4ddd7fc63c906468e8b7c574154f4ae7cab21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9b5257382e1fc0ea18f5906aa5ad72bd590cf6467df81d0ec682fc555e4d9baa28cd27fbf3a33355b6498c017a20ea121a07c8fe67f2f0f2b0de735d2334738
|
7
|
+
data.tar.gz: cd7511892bd08d0454a0144aa9994bae326ccfda65f9d5da774499cce62a518c7da0efbffaa21d705bcb231294538f57fee6bff2e233f4eaa8c9627b47ab71d1
|
@@ -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: x86_64-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: []
|