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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a23811d2f6096aac015a8bfeeb780b9cd7f645826826ed19afe44150fb34c41
4
- data.tar.gz: 267f2cab18c6d5ecfaad2e7fff69bbcf5d14cd19c88225547671633ae1db931f
3
+ metadata.gz: 69418076cae7e05d0421cad2e3b2b98eb9dfdd5c46d70ca451a2ae8faeed535b
4
+ data.tar.gz: 9ee559b52c4e5629f7b1782bcf6149900043b4a775107c2612b14af0fbcae59b
5
5
  SHA512:
6
- metadata.gz: 366b638cf3e8ce5a2480818172daa36d9dbea8d885d41a2c1df40468bc2d8a728cb2702662d630e9942072a9d1651db2e6781675c03076386063be68a5acb4f5
7
- data.tar.gz: 5be3758a5690e899a4ef41c1b35de0193ad4c8e1daaceaacc1bd9f6c5e8a93b81fb66fcb2d3a5c24028ee2bffd1946873ac62c31f35f52091b16830b14960a78
6
+ metadata.gz: d0392f722f0070e1dd61b191f56bb8248be9cae56106cb1421349e2259defc8e5c9961ed66f394f00606d3d8a87a33ff520e8df65239305eb8679d9bffbe68fe
7
+ data.tar.gz: 58d618b2bbf4e52a85de42b2a0a336d04cfd8651918a5dcfee63f0b81764d9aa0e84455a387878f93575de53984489006289d172309745bcb2201b5fa74e8b63
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.2.3
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-02-20 00:00:00.000000000 Z
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