dbmlite3 1.0.a8 → 1.0.b1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/dbmlite3.gemspec +1 -1
- data/doc/Lite3/DBM.html +3 -3
- data/doc/Lite3/Error.html +1 -1
- data/doc/Lite3/SQL.html +1 -1
- data/doc/Lite3.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/dbmlite3.rb +2 -2
- data/spec/dbmlite3_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39c4154795b23715473f861838619458c749ce46a9c5e30abfecde4dee406554
|
4
|
+
data.tar.gz: efb8323e84cd7b7b45afdbe8c5b8e5611d8ebd8aa315796ea9e7e65341fdac85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 118cb508287926fd7850b832c130468275cac2f4a56a8ca889d3e82255882f196653026059e94b474d43cfdfadbbb0e45ca9cc68681440ee08c7782ef4e80896
|
7
|
+
data.tar.gz: 31f04ecd6da0d00d684e483c19276425a0b05db40d40e2bcabc8bff69e3da1bb9a6efa452472f3153992cf0c0b4d587b35c0e69e9a34e154ce616721a75f41b9
|
data/dbmlite3.gemspec
CHANGED
data/doc/Lite3/DBM.html
CHANGED
@@ -1194,7 +1194,7 @@ serialization method you have chosen.</p>
|
|
1194
1194
|
<span class='id identifier rubyid_valstr'>valstr</span> <span class='op'>=</span> <span class='const'>SQLite3</span><span class='op'>::</span><span class='const'>Blob</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span> <span class='ivar'>@valenc</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span> <span class='rparen'>)</span>
|
1195
1195
|
|
1196
1196
|
<span class='comment'># At one point, this operation was done with SQLite3's UPSERT:
|
1197
|
-
</span> <span class='comment'>#
|
1197
|
+
</span> <span class='comment'>#
|
1198
1198
|
</span> <span class='comment'># insert into #{actual_tbl} (key, value) values (?,?)
|
1199
1199
|
</span> <span class='comment'># on conflict(key) do update set value = ?;
|
1200
1200
|
</span> <span class='comment'>#
|
@@ -1205,7 +1205,7 @@ serialization method you have chosen.</p>
|
|
1205
1205
|
</span> <span class='comment'>#
|
1206
1206
|
</span> <span class='comment'># The venerable `insert or replace` feature **almost** does what
|
1207
1207
|
</span> <span class='comment'># I want:
|
1208
|
-
</span> <span class='comment'>#
|
1208
|
+
</span> <span class='comment'>#
|
1209
1209
|
</span> <span class='comment'># insert or replace into #{actual_tbl} (key, value) values (?, ?);
|
1210
1210
|
</span> <span class='comment'>#
|
1211
1211
|
</span> <span class='comment'># The one problem is that it changes the order of the rows,
|
@@ -2643,7 +2643,7 @@ given keys.</p>
|
|
2643
2643
|
</div>
|
2644
2644
|
|
2645
2645
|
<div id="footer">
|
2646
|
-
Generated on Sun Feb 27
|
2646
|
+
Generated on Sun Feb 27 17:39:45 2022 by
|
2647
2647
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2648
2648
|
0.9.25 (ruby-2.7.0).
|
2649
2649
|
</div>
|
data/doc/Lite3/Error.html
CHANGED
@@ -125,7 +125,7 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on Sun Feb 27
|
128
|
+
Generated on Sun Feb 27 17:39:45 2022 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
130
|
0.9.25 (ruby-2.7.0).
|
131
131
|
</div>
|
data/doc/Lite3/SQL.html
CHANGED
@@ -380,7 +380,7 @@ thread safe. Just a wrapper around <code>SQLite3.threadsafe?</code></p>
|
|
380
380
|
</div>
|
381
381
|
|
382
382
|
<div id="footer">
|
383
|
-
Generated on Sun Feb 27
|
383
|
+
Generated on Sun Feb 27 17:39:45 2022 by
|
384
384
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
385
385
|
0.9.25 (ruby-2.7.0).
|
386
386
|
</div>
|
data/doc/Lite3.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on Sun Feb 27
|
110
|
+
Generated on Sun Feb 27 17:39:45 2022 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.25 (ruby-2.7.0).
|
113
113
|
</div>
|
data/doc/_index.html
CHANGED
@@ -142,7 +142,7 @@
|
|
142
142
|
</div>
|
143
143
|
|
144
144
|
<div id="footer">
|
145
|
-
Generated on Sun Feb 27
|
145
|
+
Generated on Sun Feb 27 17:39:45 2022 by
|
146
146
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
147
147
|
0.9.25 (ruby-2.7.0).
|
148
148
|
</div>
|
data/doc/file.README.html
CHANGED
@@ -202,7 +202,7 @@ make sense of them.</p>
|
|
202
202
|
</div></div>
|
203
203
|
|
204
204
|
<div id="footer">
|
205
|
-
Generated on Sun Feb 27
|
205
|
+
Generated on Sun Feb 27 17:39:45 2022 by
|
206
206
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
207
207
|
0.9.25 (ruby-2.7.0).
|
208
208
|
</div>
|
data/doc/index.html
CHANGED
@@ -202,7 +202,7 @@ make sense of them.</p>
|
|
202
202
|
</div></div>
|
203
203
|
|
204
204
|
<div id="footer">
|
205
|
-
Generated on Sun Feb 27
|
205
|
+
Generated on Sun Feb 27 17:39:45 2022 by
|
206
206
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
207
207
|
0.9.25 (ruby-2.7.0).
|
208
208
|
</div>
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on Sun Feb 27
|
103
|
+
Generated on Sun Feb 27 17:39:45 2022 by
|
104
104
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
105
|
0.9.25 (ruby-2.7.0).
|
106
106
|
</div>
|
data/lib/dbmlite3.rb
CHANGED
@@ -617,7 +617,7 @@ SQL
|
|
617
617
|
valstr = SQLite3::Blob.new( @valenc.call(value) )
|
618
618
|
|
619
619
|
# At one point, this operation was done with SQLite3's UPSERT:
|
620
|
-
#
|
620
|
+
#
|
621
621
|
# insert into #{actual_tbl} (key, value) values (?,?)
|
622
622
|
# on conflict(key) do update set value = ?;
|
623
623
|
#
|
@@ -628,7 +628,7 @@ SQL
|
|
628
628
|
#
|
629
629
|
# The venerable `insert or replace` feature **almost** does what
|
630
630
|
# I want:
|
631
|
-
#
|
631
|
+
#
|
632
632
|
# insert or replace into #{actual_tbl} (key, value) values (?, ?);
|
633
633
|
#
|
634
634
|
# The one problem is that it changes the order of the rows,
|
data/spec/dbmlite3_spec.rb
CHANGED