sqlite_server2018 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/sqlite_server2018.rb +13 -0
- metadata +8 -8
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69418076cae7e05d0421cad2e3b2b98eb9dfdd5c46d70ca451a2ae8faeed535b
|
4
|
+
data.tar.gz: 9ee559b52c4e5629f7b1782bcf6149900043b4a775107c2612b14af0fbcae59b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0392f722f0070e1dd61b191f56bb8248be9cae56106cb1421349e2259defc8e5c9961ed66f394f00606d3d8a87a33ff520e8df65239305eb8679d9bffbe68fe
|
7
|
+
data.tar.gz: 58d618b2bbf4e52a85de42b2a0a336d04cfd8651918a5dcfee63f0b81764d9aa0e84455a387878f93575de53984489006289d172309745bcb2201b5fa74e8b63
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/sqlite_server2018.rb
CHANGED
@@ -82,6 +82,19 @@ class SQLiteServer
|
|
82
82
|
|
83
83
|
end
|
84
84
|
|
85
|
+
def tables(dbfile)
|
86
|
+
|
87
|
+
begin
|
88
|
+
sql = "SELECT name FROM sqlite_master WHERE type='table';"
|
89
|
+
a = read(dbfile).execute(sql).flat_map(&:to_a)
|
90
|
+
sys = a.grep /^sqlite_/
|
91
|
+
(a - sys)
|
92
|
+
rescue
|
93
|
+
'SQLiteServerError: ' + ($!).inspect
|
94
|
+
end
|
95
|
+
|
96
|
+
end
|
97
|
+
|
85
98
|
def query(dbfile, *args, &blk)
|
86
99
|
|
87
100
|
begin
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlite_server2018
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,28 +35,28 @@ cert_chain:
|
|
35
35
|
7rv6Hh6KXCXi6SG55H9v2pQZA1nQWgJ9rx5SvvUO70RmU4iNaNamTd/Vs8zKqFil
|
36
36
|
6h+Oo9yf4h906yA/08C3g7Ew
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-
|
38
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: sqlite3
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 1.4.0
|
47
44
|
- - "~>"
|
48
45
|
- !ruby/object:Gem::Version
|
49
46
|
version: '1.4'
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 1.4.1
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 1.4.0
|
57
54
|
- - "~>"
|
58
55
|
- !ruby/object:Gem::Version
|
59
56
|
version: '1.4'
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 1.4.1
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
61
|
name: rxfhelper
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|