dbmlite3 1.0.a6 → 1.0.0

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
2
  SHA256:
3
- metadata.gz: d12b628f0823e2d5fd82cc4c42de1065bff042fda9939307e407e2cf68145b27
4
- data.tar.gz: 33e48ca6b0d79e1ba34094c75ae4dfb372fe6b04c8d8222ee19d74f63e4032d9
3
+ metadata.gz: 3fdf8e20ae5e85f35d83d1d5e6926864e130614b292f8003a2b895e0c15f10e2
4
+ data.tar.gz: beb87e9421bcfdb2fb14caaa7a56b27e88b5c8f61239b28ed083477a15431e11
5
5
  SHA512:
6
- metadata.gz: cd7627ee298e9d15bcf01ac49cb386c46a3b7dead470e51719a10aab739b56727dba49c041410bac01add87abf57f9df4468373b4ebeb560bdd5b6b2f092ff17
7
- data.tar.gz: 9e94a03983764ae51034d9092ca2a3ea285f3d8a28fc0e999c59edfa901da77aabdba169601fc8001841c632d95b2fd6ff726bee75159c4c1844c6c22dee1c35
6
+ metadata.gz: 715dcf9851a5a95f301560798aeba2216fdebf9fc20f4fa993d586b3d45b47f6b2a9ad3610e648e7afec685a232d202e13e35cb5eb316bf6e8499b2869379a36
7
+ data.tar.gz: b77d404a72410cdbd29bca42fdd7ca7d4490858e2ea80b0ce681438b347d8ab6e768134f4793743d14137d6025cc882aade4872591aa0e85b0a8466e0fea08ae
data/dbmlite3.gemspec CHANGED
@@ -1,9 +1,7 @@
1
1
 
2
- # Skeleton gemspec
3
-
4
2
  Gem::Specification.new do |s|
5
3
  s.name = 'dbmlite3'
6
- s.version = '1.0.a6'
4
+ s.version = '1.0.0'
7
5
  s.date = '2022-02-21'
8
6
  s.summary = "A DBM-style key-value store using SQLite3"
9
7
  s.description = <<-EOF
@@ -27,13 +25,13 @@ EOF
27
25
  Dir.glob('{spec,lib}/*.rb')
28
26
 
29
27
  s.required_ruby_version = '>= 2.2.0'
30
- s.requirements << "sqlite3, the usual devtools"
28
+ s.requirements << "sqlite3 gem, Ruby MRI (required by sqlite3)"
31
29
 
32
30
  s.add_runtime_dependency "sqlite3", '~> 1.4'
33
31
 
34
32
  s.add_development_dependency "rspec", '~> 3.10', '>= 3.10.0'
35
33
  s.add_development_dependency "yard", '~> 0.9.25', '>= 0.9.25'
36
34
 
37
- s.homepage = 'https://codeberg.org/suetanvil/dbmlite'
35
+ s.homepage = 'https://codeberg.org/suetanvil/dbmlite3'
38
36
  s.license = 'MIT'
39
37
  end
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&#39;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 Sat Feb 26 14:54:02 2022 by
2646
+ Generated on Sun Feb 27 17:44:19 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 Sat Feb 26 14:54:02 2022 by
128
+ Generated on Sun Feb 27 17:44:19 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 Sat Feb 26 14:54:02 2022 by
383
+ Generated on Sun Feb 27 17:44:19 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 Sat Feb 26 14:54:02 2022 by
110
+ Generated on Sun Feb 27 17:44:19 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 Sat Feb 26 14:54:02 2022 by
145
+ Generated on Sun Feb 27 17:44:19 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 Sat Feb 26 14:54:02 2022 by
205
+ Generated on Sun Feb 27 17:44:19 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 Sat Feb 26 14:54:02 2022 by
205
+ Generated on Sun Feb 27 17:44:19 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 Sat Feb 26 14:54:02 2022 by
103
+ Generated on Sun Feb 27 17:44:19 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,
@@ -132,7 +132,7 @@ Serializations = Set.new
132
132
  db["quux"] = 123
133
133
 
134
134
  db["foo"] = 88
135
-
135
+
136
136
  expect( db.keys ) .to eq %w{foo bar quux}
137
137
  expect( db.values ) .to eq [88, 99, 123]
138
138
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbmlite3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.a6
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Reuter
@@ -104,7 +104,7 @@ files:
104
104
  - lib/dbmlite3.rb
105
105
  - spec/dbmlite3_spec.rb
106
106
  - spec/spec_helper.rb
107
- homepage: https://codeberg.org/suetanvil/dbmlite
107
+ homepage: https://codeberg.org/suetanvil/dbmlite3
108
108
  licenses:
109
109
  - MIT
110
110
  metadata: {}
@@ -119,11 +119,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
119
119
  version: 2.2.0
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">"
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
- version: 1.3.1
124
+ version: '0'
125
125
  requirements:
126
- - sqlite3, the usual devtools
126
+ - sqlite3 gem, Ruby MRI (required by sqlite3)
127
127
  rubygems_version: 3.1.2
128
128
  signing_key:
129
129
  specification_version: 4