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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9ea166e1e6fb8abffc7ae33720e4dbc87218ab4
4
- data.tar.gz: 85623fa3d8e6aca79ebb9a15bf6fb621ed898cc7
3
+ metadata.gz: febc8129d9793adb4ce8b5e0add9dacdd96c2b31
4
+ data.tar.gz: 3f042006d818f1b3db695977779d2d6116ac30d4
5
5
  SHA512:
6
- metadata.gz: 2b2290653a314ee36e5f720afe64d283403f1517d6f1274a393036a50d3ec7fe70052df5442cc5b4dc54ffbc6d9f216c5d31323878c1ae68ad07ca7c991c8dcc
7
- data.tar.gz: f69887bf0b650e1ed6246f835300bdec4cbff9787160a3d90c3acfabcf3973eeebcd4c20c889782f1256896d68a23be42537f8021e6e0753168c26f3000dd3a7
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 websitere](http://opener-project.github.io)
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
@@ -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('text/json')
33
+ content_type(:json)
33
34
  kj = Opener::KafToJson.new
34
35
  json = kj.run(output.text) rescue output.text
35
36
  body(json)
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class Outlet
3
- VERSION = "1.0.8"
3
+ VERSION = "1.0.9"
4
4
  end
5
5
  end
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.8
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-05-29 00:00:00.000000000 Z
11
+ date: 2014-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder