sqlbible 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/sqlbible.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '066989f0d6675a25e650331321207e088e1ad798518020ccaa3745b7e56faf1b'
|
4
|
+
data.tar.gz: fd47a661496035fedeca803311e80c83eb8a4d2211695d7ad6049c7b00648320
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27e852c018052bfe6f5d00a185ce22ffa746b80b3a8b4857968d4bf740a5ad4eaf0e0d140a0da6ad66637518e5f6384c53d8d0da04ef65f40488fea928dd4b95
|
7
|
+
data.tar.gz: b7904cc0c6891a437d65a3e609296dd183b7aa22ad001dbb87f74079f133142052b8552f85b0e88e373996d4baf3c163a600634229580751484e579a0d36e328
|
data/README.md
CHANGED
data/lib/sqlbible.rb
CHANGED
@@ -6,7 +6,7 @@ require 'sqlite3'
|
|
6
6
|
|
7
7
|
class Sqlbible
|
8
8
|
|
9
|
-
VERSION = '1.0.
|
9
|
+
VERSION = '1.0.1'
|
10
10
|
|
11
11
|
def initialize db_filename
|
12
12
|
@db = SQLite3::Database.new(db_filename)
|
@@ -38,7 +38,7 @@ class Sqlbible
|
|
38
38
|
case obj
|
39
39
|
when Regexp
|
40
40
|
where_arr << 'plaintext regexp ?'
|
41
|
-
args << obj.
|
41
|
+
args << obj.to_s
|
42
42
|
res = select_text(where: and_join_where(where_arr), args: args)
|
43
43
|
else
|
44
44
|
fail 'unknown search object'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlbible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Friedrich
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2024-
|
10
|
+
date: 2024-11-01 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: nokogiri
|