pdf_search 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/web_server.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 869c6d11db7398dec2c8786b44fafbfa40d42da81606628afaee57182aeab9da
4
- data.tar.gz: af4981100c81a4c83843f7b7132674847df4fc36295bed81fedf12e3e81571eb
3
+ metadata.gz: 85d340f815a0e458a510dcac19647474dc73f475390a8ac5072edc615a52a63e
4
+ data.tar.gz: 53d0934e43faa8e34fcb09966933259f8d705ff24ed31ff0fb406004fcce8ace
5
5
  SHA512:
6
- metadata.gz: 7da27cf671e6f08d639b3acd8038c3c083472489e87fd222c282ca29208699faf2aa7e029687d974f0a2839f1ca51a77e5d1a6721a115b2d0f71958a108afa3e
7
- data.tar.gz: 2d894baedc3aede56943a9933c6d7ca127d846a6e80f5ae1b1b69ce75bf2043056a32b529accae1495b9a707a0fbd0a5db62e015baf88be21d41d518d700f5e6
6
+ metadata.gz: 271063d559ffc18d653a88eedb35e36de7e40ab4a8b6869a699b4bd6a799e27a6eeb2d0ae5804fc9875c151e8c01e95f29623cd597137a9347263def9774ec8f
7
+ data.tar.gz: 24505d9d858e4b7b32b3ec07b7e33c3f99faa505ded3347128c14a2f60c3291f6bab4938c5fa0ffbb029e8f312509f71a4446cd1c5044a22a34aaa9ac87a0bb8
data/lib/web_server.rb CHANGED
@@ -32,7 +32,7 @@ class PdfSearch::WebServer
32
32
  basic_auth.authenticate(request, response)
33
33
  end
34
34
  query = request.query["query"]
35
- elastic_response = ::PdfSearch::ElasticSearchClient.search q: "text:#{query}"
35
+ elastic_response = ::PdfSearch::ElasticSearchClient.search q: query
36
36
  response.body = response_html(elastic_response)
37
37
  end
38
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdf_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Arno Korfmann
@@ -109,7 +109,7 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: 'Run in any directory containing pdfs using `$ pdf_search (optional:
112
- <folder name>)`'
112
+ %folder name%)`'
113
113
  email: manu@korfmann.info
114
114
  executables:
115
115
  - pdf_search