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.
- checksums.yaml +4 -4
- data/lib/web_server.rb +1 -1
- 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: 85d340f815a0e458a510dcac19647474dc73f475390a8ac5072edc615a52a63e
|
4
|
+
data.tar.gz: 53d0934e43faa8e34fcb09966933259f8d705ff24ed31ff0fb406004fcce8ace
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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.
|
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
|
-
|
112
|
+
%folder name%)`'
|
113
113
|
email: manu@korfmann.info
|
114
114
|
executables:
|
115
115
|
- pdf_search
|