zeiger 0.0.6 → 0.0.7

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: 68b9dfc1fb8332bcba98e6add4af92cdde895c7d
4
- data.tar.gz: 32df5d5004fc6fe5fe448c5b478d7b72d18feb1c
2
+ SHA256:
3
+ metadata.gz: f181861f454f2ab4812f3d9a2ec6d410967a2daf88f1c7d862a7bf6e4158bf87
4
+ data.tar.gz: ff327d5f231e04c7696e6abb7ec262ab7596e5285388a131a821de2415f7b461
5
5
  SHA512:
6
- metadata.gz: 6af416b2b517cf755fdd7304f7fc099b4a91aa115f95f011e54cbcb2f42bf9f3924ba3787e0a22e2873e54876133b72d9b45745866adf3044277fc1447bb6985
7
- data.tar.gz: 6fd40c1ca39823a89c03a9eb36b3ee55463e9f0e2b3a67cbd19d7874171aca84e53c6d11b528cbc3bfc16c16653d04e3ec50f47a64c5c0771f37999b071700d8
6
+ metadata.gz: 9c43b528593313f6a9cff99e4d938e1cd727dc5d485b149f7efce20b708b15f66e751c341091244d6fa2dad08004025ae9622ebda3436b7507a70db8d544b96c
7
+ data.tar.gz: 8c428d4830af1f08500ffdc10a8bc0b770467c9923f110ec778e6b39320aafc2c333665e0f08208c1ed5bd1c84eed601ac8a106a978917b7f351e6b85134b95c
data/lib/zeiger/index.rb CHANGED
@@ -93,7 +93,7 @@ module Zeiger
93
93
 
94
94
  lines = if (txt.strip.to_s == '')
95
95
  puts "empty query, not searching!"
96
- return []
96
+ []
97
97
  elsif txt.length <= NGRAM_SIZE
98
98
  all_matching Regexp.compile(Regexp.escape txt)
99
99
  else
@@ -1,3 +1,3 @@
1
1
  module Zeiger
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeiger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - conanite
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-20 00:00:00.000000000 Z
11
+ date: 2021-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubyforge_project:
87
- rubygems_version: 2.5.2.3
86
+ rubygems_version: 3.0.3
88
87
  signing_key:
89
88
  specification_version: 4
90
89
  summary: Provide text index of files in current directory tree and a unix socket to