recordx_sqlite 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +1 -2
- data.tar.gz.sig +0 -0
- data/lib/recordx_sqlite.rb +6 -4
- metadata +33 -30
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4b44048b009559164329691d2a4d51e3c99d189661e0573d5c085bf07b4853d0
|
4
|
+
data.tar.gz: 80a3444ce15b8336756e9c9e7ef9c883270524d04cbda56449ccdecb81a6ba53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7537ab7d8001b944a8c1df38e4125e4d7fdc039fb857dee6ec0825f7af941d3de5e751683c5e7204b18c19afbe8234d63d53a5248cfb666fde544e8eb2073c2a
|
7
|
+
data.tar.gz: 4d559fb3701f741870ce138ed7bd3711e09cb808659cda5b1125ae3b56117d288130b320d078efa1a534fb12fa58817cb16fac6a10673c02d185a1c637995d84
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
��ؚH�cxU�56����G�1��S._��hn��������\��n3�����n"l��U{�R��N�������S�kfD7a\���F��Hw�Gww}d�4��sİ������e�P�hq�Gn\�E3D}����+o �ڸh��']���g�x�y�)7��4���a�QH�)��L7�u!���봐l�}��wH�8G�aD]�X�c�Q*S���P�3`�{�i:9IwW�����Y�CQ�ost�
|
1
|
+
K��N_��qY��T��,�P|B*a�tr5�&1��+���Lg)�d�|ar�W�����0v���6y�p�;S���on�x6����.�C?
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/recordx_sqlite.rb
CHANGED
@@ -9,9 +9,11 @@ require 'recordx'
|
|
9
9
|
class RecordxSqlite
|
10
10
|
|
11
11
|
def initialize(dbfile, table: '', primary_key: :id, pk: primary_key,
|
12
|
-
sql: nil, pagesize: 10)
|
13
|
-
|
14
|
-
@
|
12
|
+
sql: nil, pagesize: 10, debug: true)
|
13
|
+
|
14
|
+
@debug = debug
|
15
|
+
sqlite = dbfile =~ /^sqlite:\/\// ? DRbSQLite : SQLite3::Database
|
16
|
+
@db = sqlite.new dbfile, debug: debug
|
15
17
|
|
16
18
|
@db.results_as_hash = true
|
17
19
|
|
@@ -144,4 +146,4 @@ WHERE #{@primary_key.to_s}='#{id}';"
|
|
144
146
|
|
145
147
|
end
|
146
148
|
|
147
|
-
end
|
149
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recordx_sqlite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
+
|
31
|
-
|
32
|
-
|
13
|
+
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwMjIwMjIyNTE2WhcN
|
15
|
+
MjAwMjIwMjIyNTE2WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDE7b5S
|
17
|
+
zrJHXv+jpF9G6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zu7
|
32
|
+
YlFcTmzyoV14wJNJG5yT2C3FCbAJ2NQSzZVSakHmAdMpF7dTZRLgROPBdM85ZPyp
|
33
|
+
hMkoYX9R+HLnbvvW8gYroWr04bCkhFM36owm/C5pcE5v114Iz2fjsa1XU6sM7gXY
|
34
|
+
jC+mD/9UKy2vxQwqFuahN/z8e82xvDpqg9z1VR4VdjBaDtmUSdu3oZGSXg73hh1c
|
35
|
+
kccsQ7sAxN8HjTTcD7MMTYpZFDz95j0Q2C4BqH0dRtYCO7bU44KuuniAs+5s9tP9
|
36
|
+
QWFC3bomTAgC+DL5m062pKLU
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
38
|
+
date: 2019-02-20 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: sqlite3
|
@@ -57,22 +61,22 @@ dependencies:
|
|
57
61
|
name: recordx
|
58
62
|
requirement: !ruby/object:Gem::Requirement
|
59
63
|
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.4'
|
63
64
|
- - ">="
|
64
65
|
- !ruby/object:Gem::Version
|
65
66
|
version: 0.4.0
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0.4'
|
66
70
|
type: :runtime
|
67
71
|
prerelease: false
|
68
72
|
version_requirements: !ruby/object:Gem::Requirement
|
69
73
|
requirements:
|
70
|
-
- - "~>"
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: '0.4'
|
73
74
|
- - ">="
|
74
75
|
- !ruby/object:Gem::Version
|
75
76
|
version: 0.4.0
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0.4'
|
76
80
|
description:
|
77
81
|
email: james@jamesrobertson.eu
|
78
82
|
executables: []
|
@@ -99,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
103
|
- !ruby/object:Gem::Version
|
100
104
|
version: '0'
|
101
105
|
requirements: []
|
102
|
-
|
103
|
-
rubygems_version: 2.6.8
|
106
|
+
rubygems_version: 3.0.1
|
104
107
|
signing_key:
|
105
108
|
specification_version: 4
|
106
109
|
summary: RecordX-SQLite is an object relational mapper primarily designed for updating
|
metadata.gz.sig
CHANGED
Binary file
|