sqlbible 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/sqlbible.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96109d81bd585cf38052c95bada0cb07f8c67796e9dd9c9123b26f9f2f2977f7
4
- data.tar.gz: e73d3ddb3b30911468000e9b86c35ac5e9826b496cb2e15f27e20fb14d6553ab
3
+ metadata.gz: '066989f0d6675a25e650331321207e088e1ad798518020ccaa3745b7e56faf1b'
4
+ data.tar.gz: fd47a661496035fedeca803311e80c83eb8a4d2211695d7ad6049c7b00648320
5
5
  SHA512:
6
- metadata.gz: 7146abd51b0b4ff2e9da21cbd17c2a94f2e0ea67c62ce3315429bc1047d1b6c8e219d72c4564c41f353182fada41c4d84a67620ea8b0caca6cba56478f30e02e
7
- data.tar.gz: 6dc22bbaadb8d512edcf3c2e2e710653cdcd26864c30517f1d2226407ec03f20f5071815184e163413e95f9bee901a33676a47a4d62cd042bc8b6942abf5027d
6
+ metadata.gz: 27e852c018052bfe6f5d00a185ce22ffa746b80b3a8b4857968d4bf740a5ad4eaf0e0d140a0da6ad66637518e5f6384c53d8d0da04ef65f40488fea928dd4b95
7
+ data.tar.gz: b7904cc0c6891a437d65a3e609296dd183b7aa22ad001dbb87f74079f133142052b8552f85b0e88e373996d4baf3c163a600634229580751484e579a0d36e328
data/README.md CHANGED
@@ -39,7 +39,7 @@ See help of the command-line application:
39
39
 
40
40
  ```shell
41
41
  sqlbible -h
42
- ``
42
+ ```
43
43
 
44
44
  ## Requirements
45
45
 
data/lib/sqlbible.rb CHANGED
@@ -6,7 +6,7 @@ require 'sqlite3'
6
6
 
7
7
  class Sqlbible
8
8
 
9
- VERSION = '1.0.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.source
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.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-31 00:00:00.000000000 Z
10
+ date: 2024-11-01 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: nokogiri