opener-outlet 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -11
- data/lib/opener/outlet/server.rb +2 -1
- data/lib/opener/outlet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: febc8129d9793adb4ce8b5e0add9dacdd96c2b31
|
4
|
+
data.tar.gz: 3f042006d818f1b3db695977779d2d6116ac30d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac4ddf16a8f6e94a5527f8610b7ed17ac6f00dbd035125e16d980987ce94be0f669c8ecc3f815532efd9eaf353f3abeef2a87ed7262f8570f39de6625f79f51
|
7
|
+
data.tar.gz: cefc0ac4c6884fc910a212f15109e06f6f22af971bb86e9b8fe9b1b3347c431750b586e15ac20663355059df7ef9701f85344f65ad1833f7097bf085c9f1d8ac
|
data/README.md
CHANGED
@@ -53,16 +53,6 @@ At least you need the following system setup:
|
|
53
53
|
* JRuby 1.7.9 or newer
|
54
54
|
* Ruby 1.9.3 or newer
|
55
55
|
|
56
|
-
Domain Adaption
|
57
|
-
---------------
|
58
|
-
|
59
|
-
TODO
|
60
|
-
|
61
|
-
Language Extension
|
62
|
-
------------------
|
63
|
-
|
64
|
-
TODO
|
65
|
-
|
66
56
|
The Core
|
67
57
|
--------
|
68
58
|
|
@@ -73,7 +63,7 @@ The component is a fat wrapper around the actual language technology core. You c
|
|
73
63
|
Where to go from here
|
74
64
|
---------------------
|
75
65
|
|
76
|
-
* [Check the project
|
66
|
+
* [Check the project website](http://opener-project.github.io)
|
77
67
|
* [Checkout the webservice](http://opener.olery.com/outlet)
|
78
68
|
|
79
69
|
Report problem/Get help
|
data/lib/opener/outlet/server.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'sinatra'
|
2
|
+
require 'sinatra/json'
|
2
3
|
require 'nokogiri'
|
3
4
|
require 'stringio'
|
4
5
|
require_relative './visualizer'
|
@@ -29,7 +30,7 @@ module Opener
|
|
29
30
|
begin
|
30
31
|
output = Output.find_by_uuid(params[:request_id])
|
31
32
|
if output
|
32
|
-
content_type(
|
33
|
+
content_type(:json)
|
33
34
|
kj = Opener::KafToJson.new
|
34
35
|
json = kj.run(output.text) rescue output.text
|
35
36
|
body(json)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-outlet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- development@olery.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|