xapian-findex 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: ad6429b138298d9caddc9f7db8be15022c1ea77f
4
- data.tar.gz: 71a45fe807933edefeabfdb0c97e66af6ac4965d
3
+ metadata.gz: 465bb1cf451d41182841c37a8a31f955e7502f0f
4
+ data.tar.gz: 8ed9162f172bde5e8a42c0616515457af81200be
5
5
  SHA512:
6
- metadata.gz: 6bc6c9b451c6c10fd3d20b83db5a0385fa1f9f8d2774a93f7d6c058442e85c69e096eec882da17ba57d0b7f99a9cef0d0c4cb9028b9d5a8152b78c1d7940e7a7
7
- data.tar.gz: e63c6474704a29b0f6de957ff0eadccc490224b36197a2b60bf0e8c156083244c3e0b13b74783c74c1c7ecfc9cac5ffa178bfa3b953783dbf91835a68649c213
6
+ metadata.gz: c2078036405f3e8e1af199317739be9caee3b67968537f372352ffb90a757365e5654722819a77aef5f8c4fdd98d7c84162658d51d627b6aea1586625cc894f9
7
+ data.tar.gz: e464cdcc990de0edc3c38e373107f53c622a570067f4c0b3daa26271489af36ddd810c7e0f37d8ad5aebc58b2fe884be0c8675d1cc9de9d68762dfe17c51a017
data/lib/findex/cli.rb CHANGED
@@ -7,7 +7,8 @@ module Findex
7
7
 
8
8
  def initialize(args)
9
9
  query_separator_index = args.find_index('--') || -1
10
- action, path = args[0..query_separator_index]
10
+ action = args[0]
11
+ path = query_separator_index != 1 ? args[1] : nil
11
12
 
12
13
  case action
13
14
  when 'index' then index(path || '.')
@@ -1,3 +1,3 @@
1
1
  module Findex
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xapian-findex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Reinert