drb_sqlite 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 430cd23f23fe750696819ed0983fc2d59ae834377baa110020f4cd1fc40b46e8
4
+ data.tar.gz: f95b7c841e4db138ae6f9b2e07f518265310dc3c7f976f785cdd92eda7bdfec8
5
+ SHA512:
6
+ metadata.gz: 845c07f80418bb90bca9a2f06fc09cec3e5cb459d708c8ec2194597ca856e93f91ba028ea12bb37a502ea62aa21a21f6274214cf24c6825c9c5e77c5bd32d032
7
+ data.tar.gz: 505fc7f928541802c9722eb166369cd1d890cc98078ccfd08b58be3d014c9e9bce8515d8287c2211e554deb8b89f1641d09db6eecca878b2669d7e0ca1e1380e
checksums.yaml.gz.sig ADDED
Binary file
data/lib/drb_sqlite.rb ADDED
@@ -0,0 +1,28 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # file: drb_sqlite.rb
4
+
5
+ require 'drb'
6
+
7
+
8
+ class DRbSQLite
9
+
10
+ def initialize(dbfile=nil, host: nil, port: '57000')
11
+
12
+ @dbfile = dbfile
13
+ DRb.start_service
14
+ @server = DRbObject.new nil, "druby://#{host}:#{port}"
15
+ @server.load(dbfile)
16
+
17
+ end
18
+
19
+ def execute(*args, &blk)
20
+ @server.execute @dbfile, *args, &blk
21
+ end
22
+
23
+ def query(*args, &blk)
24
+ @server.query @dbfile, *args, &blk
25
+ end
26
+
27
+ end
28
+
data.tar.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ �iu=9s�A�$
2
+ ��V ��&p>h)�<��������O0�g7�us�,V�ZM'��z�{��5�r"�8o��� e"h9�l�jH�⯡�W|�CQ�ڂڇ�2
3
+ p3�KS$����lፎ�"rb�e�c��� �ב�q�!
metadata ADDED
@@ -0,0 +1,71 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: drb_sqlite
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - James Robertson
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
14
+ YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgwODI4MTczOTU2WhcN
15
+ MTkwODI4MTczOTU2WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
+ cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDm2jkF
17
+ otI+SB9om4usCT7w+bkv89lxeKw2xUUTL3kT25gzDXD/ylCx1n5PHgP1M0U5CHxa
18
+ BxUwMWMfD9sgYywMm9ba04JlJ9DraNDinREUGi57/R+FL9WU3GWnkDW1g9qIYn+2
19
+ TYkX4cstc6zuQV4WsoJoAMe3RJHORq8sTo/roMZzJyVSDZz7VAEamqdGcscQYWET
20
+ U7gSBJkqKJ3RcZGxSNchfm0lgdNQ+RPICOBr+cRY5RH6JRVtc/yNdlqZBu63nxDE
21
+ UvE35zw1x9G227Z6NyJobglgF0eBv06MrZZkjC1P42mWhlC4QStGyFapmLz8Bwg/
22
+ DeSpFnlGVcnY+GCNJIJ2MvAHHKKAvI0zzMMCvAKk6Pubq++hwH6pnUQuh3o1uN43
23
+ EvmHzF8tyROKX4KErL+oHQZTEOhFyGLKaoNUvqvsvDGPCaBOrdvIH//rNIWIU/nF
24
+ wWYk+6V6YmkSk6vLd3O1MxBc5nhEEPjxzeYwFekNkhikm3BCNsS5a5CcZF0CAwEA
25
+ AaOBijCBhzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUR6YcQRlO
26
+ CpTS4PWDkqsincNveeAwJgYDVR0RBB8wHYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0
27
+ c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1hc3RlckBqYW1lc3JvYmVydHNvbi5ldTAN
28
+ BgkqhkiG9w0BAQsFAAOCAYEANnnqhsvPKg2u6BLhUkIeWj+7wjtptCKjCQhP+uLe
29
+ umkxyzSGZloTrps8t4gzkTHdpHvLe6Tp9yDHpH90XLNKRhhrniu0RrBjM+CoEqTD
30
+ Nt1oMaHZvRDriHw3XJYnKGAByDqs77m2eoX/jDD6XrdxpICa7zuBu/pcXKVuONLY
31
+ 8S3J+nK6/v4r+eMp0W7vh/s+EIuBDc6DRDSEDyW0hblj7b8cPgFP803iXBJMKniO
32
+ l4wmIZGksuCxYUsx8ovBYkr7YdhZyqjDek8prBNIAhLUNAZluuZJoCkPgAh9zlIR
33
+ 4pdcSe5y3tsUGStO5WU1WUFOdlqClhJkRVo20QN67b6MzhVQYg7bmDFvwuki65SV
34
+ +f3vC6et95D/Q4ojMASgYioI+QTah9ZSARce++C2oRIwiZ86ivkH7B44JrC1WjQv
35
+ mybZGWCZ9IMBI6L8ParyIfuosSf+xiEislKiCmSUKJVoIlCQJjjyQ3xCnaA4xMlO
36
+ sMq03hOXxpYXAteF2Kmy2wiZ
37
+ -----END CERTIFICATE-----
38
+ date: 2018-08-28 00:00:00.000000000 Z
39
+ dependencies: []
40
+ description:
41
+ email: james@jamesrobertson.eu
42
+ executables: []
43
+ extensions: []
44
+ extra_rdoc_files: []
45
+ files:
46
+ - lib/drb_sqlite.rb
47
+ homepage: https://github.com/jrobertson/drb_sqlite
48
+ licenses:
49
+ - MIT
50
+ metadata: {}
51
+ post_install_message:
52
+ rdoc_options: []
53
+ require_paths:
54
+ - lib
55
+ required_ruby_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ requirements: []
66
+ rubyforge_project:
67
+ rubygems_version: 2.7.6
68
+ signing_key:
69
+ specification_version: 4
70
+ summary: Connects to a remote SQLite database (sqlite_server2018 gem).
71
+ test_files: []
metadata.gz.sig ADDED
Binary file