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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: cbbe96d103bf7b5e6cfa8433184e866d0fff80d0
4
- data.tar.gz: 750af1b3bf58f8d14263a7c18413e9e0d9518923
2
+ SHA256:
3
+ metadata.gz: 4b44048b009559164329691d2a4d51e3c99d189661e0573d5c085bf07b4853d0
4
+ data.tar.gz: 80a3444ce15b8336756e9c9e7ef9c883270524d04cbda56449ccdecb81a6ba53
5
5
  SHA512:
6
- metadata.gz: 2c490b864a9c7579919d991cecb054f1f2ce6b3a026cbe9ab4681e6fbba5cb9e56e9b819f898669e791383cb3dc7f9c5d5e5a85fa45018d776b4e99c6e51fa7c
7
- data.tar.gz: a60d3f9444885d0b2504204ae9c9127338dea921305431764f437b40a1e50bafd8393af6147fdbd41106da2e679a9bbaca39c12258a9bc7c094f289e9e3eb9d9
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
@@ -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
- @db = SQLite3::Database.new dbfile
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.7
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
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE2MDcxNjE5MzI1NFoXDTE3MDcxNjE5MzI1NFowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAMhwmacRvDS0pX630f3U6f/tnOZgD0lcUmwFA2S8n1VS78haGvHWNcORImAk
19
- AIsqNGxwyGTWpSdhSbQG2ba5rbWvFLo9uj7ZzcKlLZgVSDqAVrwc2ufRgHtvmXgH
20
- Dgq0xfU2YeESpycbPNlUISIWve/0yMsp0mBFnsvKMC61+9DKk0hk7AeuVPdBlGBs
21
- s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33
+ hMkoYX9R+HLnbvvW8gYroWr04bCkhFM36owm/C5pcE5v114Iz2fjsa1XU6sM7gXY
34
+ jC+mD/9UKy2vxQwqFuahN/z8e82xvDpqg9z1VR4VdjBaDtmUSdu3oZGSXg73hh1c
35
+ kccsQ7sAxN8HjTTcD7MMTYpZFDz95j0Q2C4BqH0dRtYCO7bU44KuuniAs+5s9tP9
36
+ QWFC3bomTAgC+DL5m062pKLU
33
37
  -----END CERTIFICATE-----
34
- date: 2017-07-04 00:00:00.000000000 Z
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
- rubyforge_project:
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