sqlite_server2018 0.2.0 → 0.2.1
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/lib/sqlite_server2018.rb +4 -4
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 8674c1972432a764839a8d279e7b7d159d339b73e0daed2fe0b59edf71d1fb5e
|
4
|
+
data.tar.gz: 69ce73895e35c9cc25279b36dac6ff4c8e4fa0bb35376293d38f42bc11b83989
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6039a59ecbb6eea7e2777fd5cf8b4eb5d6c62f435e73c9a4f050e203eed7ffbc43dfcd1ca02e368830984e8f11051afa3ca5d8f0f3f741fcb48dd4a70f462980
|
7
|
+
data.tar.gz: c6672d3711a8f82ebc298ea8a76e7c730b95cca881d1d4bc8b04895842077f341f5b255f0c0e3976948f1cba2ef048602efed366f874151acbbf7a7106460e8b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/sqlite_server2018.rb
CHANGED
@@ -23,7 +23,6 @@ class SQLiteServer
|
|
23
23
|
def execute(dbfile, *args, &blk)
|
24
24
|
|
25
25
|
p 'dbfile: ' + dbfile if @debug
|
26
|
-
db = Database.new dbfile
|
27
26
|
|
28
27
|
if @debug then
|
29
28
|
p 'db: ' + db.inspect
|
@@ -74,16 +73,17 @@ end
|
|
74
73
|
|
75
74
|
class SQLiteServer2018
|
76
75
|
|
77
|
-
def initialize(host: 'localhost', port: '57000', cache: 5
|
76
|
+
def initialize(host: 'localhost', port: '57000', cache: 5,
|
77
|
+
debug: false, filepath: '.')
|
78
78
|
|
79
|
-
@host, @port, @cache = host, port, cache
|
79
|
+
@host, @port, @cache, @filepath = host, port, cache, filepath
|
80
80
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def start()
|
84
84
|
|
85
85
|
DRb.start_service "druby://#{@host}:#{@port}",
|
86
|
-
SQLiteServer.new(cache: @cache)
|
86
|
+
SQLiteServer.new(cache: @cache, debug: @debug, filepath: @filepath)
|
87
87
|
DRb.thread.join
|
88
88
|
|
89
89
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
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.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
7rv6Hh6KXCXi6SG55H9v2pQZA1nQWgJ9rx5SvvUO70RmU4iNaNamTd/Vs8zKqFil
|
36
36
|
6h+Oo9yf4h906yA/08C3g7Ew
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2018-08-
|
38
|
+
date: 2018-08-31 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: sqlite3
|
metadata.gz.sig
CHANGED
Binary file
|