sqlean 0.2.0-arm64-darwin → 0.3.0-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +4 -4
- data/lib/sqlean/version.rb +1 -1
- data/lib/sqlean.rb +14 -14
- 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: dc7f08a49e0b10bcedb0917ea8289d9dcd902a8016f1d42e2e091da1ab7a0048
|
4
|
+
data.tar.gz: 3b65cadcd97cf2d5ca4e73331152065e2d4556ee6dcb223f8c071b3df7d6b1cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea8717dd4f2a1b61c240a321ae3e87545081e37f6f0d29dfd2debef6e5f78491476e29e5328928797ca5c6d35cdd7b973776e19246d2e744f51fb68455d2db00
|
7
|
+
data.tar.gz: cb73d74d4f2afe88a3f86ec9045c5d1acfad8905fbef142c9d479ead478a8ff7a3ff9c5b06b892f819531eb86243472ebd915aa6ae2fa4091c8d10a1a2fdb51d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -34,8 +34,8 @@ require "sqlean"
|
|
34
34
|
db = SQLite3::Database.new("path/to/db.sqlite")
|
35
35
|
db.enable_load_extension(true)
|
36
36
|
|
37
|
-
db.load_extension(SQLean.
|
38
|
-
db.load_extension(SQLean::Crypto.
|
37
|
+
db.load_extension(SQLean.to_path) # load every extension in SQLean
|
38
|
+
db.load_extension(SQLean::Crypto.to_path) # or load individual extensions
|
39
39
|
```
|
40
40
|
|
41
41
|
<!-- not available yet!
|
@@ -73,8 +73,8 @@ require "sqlean"
|
|
73
73
|
|
74
74
|
db = Extralite::Database.new("path/to/db.sqlite")
|
75
75
|
|
76
|
-
db.load_extension(SQLean.
|
77
|
-
db.load_extension(SQLean::Crypto.
|
76
|
+
db.load_extension(SQLean.to_path) # load every extension in SQLean
|
77
|
+
db.load_extension(SQLean::Crypto.to_path) # or load individual extensions
|
78
78
|
```
|
79
79
|
|
80
80
|
|
data/lib/sqlean/version.rb
CHANGED
data/lib/sqlean.rb
CHANGED
@@ -10,14 +10,14 @@ module SQLean
|
|
10
10
|
GEM_NAME = "sqlean"
|
11
11
|
|
12
12
|
# Returns an absolute path to the SQLean bundle, containing all the SQLean extensions.
|
13
|
-
def self.
|
13
|
+
def self.to_path
|
14
14
|
SQLean.file_path("sqlean")
|
15
15
|
end
|
16
16
|
|
17
17
|
# https://github.com/nalgeon/sqlean/blob/main/docs/crypto.md
|
18
18
|
module Crypto
|
19
19
|
# Returns an absolute path to the SQLean crypto extension.
|
20
|
-
def self.
|
20
|
+
def self.to_path
|
21
21
|
SQLean.file_path("crypto")
|
22
22
|
end
|
23
23
|
end
|
@@ -25,7 +25,7 @@ module SQLean
|
|
25
25
|
# https://github.com/nalgeon/sqlean/blob/main/docs/define.md
|
26
26
|
module Define
|
27
27
|
# Returns an absolute path to the SQLean define extension.
|
28
|
-
def self.
|
28
|
+
def self.to_path
|
29
29
|
SQLean.file_path("define")
|
30
30
|
end
|
31
31
|
end
|
@@ -33,7 +33,7 @@ module SQLean
|
|
33
33
|
# https://github.com/nalgeon/sqlean/blob/main/docs/fileio.md
|
34
34
|
module FileIO
|
35
35
|
# Returns an absolute path to the SQLean fileio extension.
|
36
|
-
def self.
|
36
|
+
def self.to_path
|
37
37
|
SQLean.file_path("fileio")
|
38
38
|
end
|
39
39
|
end
|
@@ -41,7 +41,7 @@ module SQLean
|
|
41
41
|
# https://github.com/nalgeon/sqlean/blob/main/docs/fuzzy.md
|
42
42
|
module Fuzzy
|
43
43
|
# Returns an absolute path to the SQLean fuzzy extension.
|
44
|
-
def self.
|
44
|
+
def self.to_path
|
45
45
|
SQLean.file_path("fuzzy")
|
46
46
|
end
|
47
47
|
end
|
@@ -49,7 +49,7 @@ module SQLean
|
|
49
49
|
# https://github.com/nalgeon/sqlean/blob/main/docs/ipaddr.md
|
50
50
|
module IPAddr
|
51
51
|
# Returns an absolute path to the SQLean ipaddr extension.
|
52
|
-
def self.
|
52
|
+
def self.to_path
|
53
53
|
SQLean.file_path("ipaddr")
|
54
54
|
end
|
55
55
|
end
|
@@ -57,7 +57,7 @@ module SQLean
|
|
57
57
|
# https://github.com/nalgeon/sqlean/blob/main/docs/math.md
|
58
58
|
module Math
|
59
59
|
# Returns an absolute path to the SQLean math extension.
|
60
|
-
def self.
|
60
|
+
def self.to_path
|
61
61
|
SQLean.file_path("math")
|
62
62
|
end
|
63
63
|
end
|
@@ -65,7 +65,7 @@ module SQLean
|
|
65
65
|
# https://github.com/nalgeon/sqlean/blob/main/docs/regexp.md
|
66
66
|
module Regexp
|
67
67
|
# Returns an absolute path to the SQLean regexp extension.
|
68
|
-
def self.
|
68
|
+
def self.to_path
|
69
69
|
SQLean.file_path("regexp")
|
70
70
|
end
|
71
71
|
end
|
@@ -73,7 +73,7 @@ module SQLean
|
|
73
73
|
# https://github.com/nalgeon/sqlean/blob/main/docs/stats.md
|
74
74
|
module Stats
|
75
75
|
# Returns an absolute path to the SQLean stats extension.
|
76
|
-
def self.
|
76
|
+
def self.to_path
|
77
77
|
SQLean.file_path("stats")
|
78
78
|
end
|
79
79
|
end
|
@@ -81,7 +81,7 @@ module SQLean
|
|
81
81
|
# https://github.com/nalgeon/sqlean/blob/main/docs/text.md
|
82
82
|
module Text
|
83
83
|
# Returns an absolute path to the SQLean text extension.
|
84
|
-
def self.
|
84
|
+
def self.to_path
|
85
85
|
SQLean.file_path("text")
|
86
86
|
end
|
87
87
|
end
|
@@ -89,7 +89,7 @@ module SQLean
|
|
89
89
|
# https://github.com/nalgeon/sqlean/blob/main/docs/time.md
|
90
90
|
module Time
|
91
91
|
# Returns an absolute path to the SQLean text extension.
|
92
|
-
def self.
|
92
|
+
def self.to_path
|
93
93
|
SQLean.file_path("time")
|
94
94
|
end
|
95
95
|
end
|
@@ -97,7 +97,7 @@ module SQLean
|
|
97
97
|
# https://github.com/nalgeon/sqlean/blob/main/docs/unicode.md
|
98
98
|
module Unicode
|
99
99
|
# Returns an absolute path to the SQLean unicode extension.
|
100
|
-
def self.
|
100
|
+
def self.to_path
|
101
101
|
SQLean.file_path("unicode")
|
102
102
|
end
|
103
103
|
end
|
@@ -105,7 +105,7 @@ module SQLean
|
|
105
105
|
# https://github.com/nalgeon/sqlean/blob/main/docs/uuid.md
|
106
106
|
module UUID
|
107
107
|
# Returns an absolute path to the SQLean uuid extension.
|
108
|
-
def self.
|
108
|
+
def self.to_path
|
109
109
|
SQLean.file_path("uuid")
|
110
110
|
end
|
111
111
|
end
|
@@ -113,7 +113,7 @@ module SQLean
|
|
113
113
|
# https://github.com/nalgeon/sqlean/blob/main/docs/vsv.md
|
114
114
|
module VSV
|
115
115
|
# Returns an absolute path to the SQLean vsv extension.
|
116
|
-
def self.
|
116
|
+
def self.to_path
|
117
117
|
SQLean.file_path("vsv")
|
118
118
|
end
|
119
119
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlean
|
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
|
- Mike Dalessio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
Precompiled SQLean extensions for SQLite, packaged for the Ruby ecosystem. Compatible with
|