opener-coreference 1.0.1 → 1.0.2

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: d8914b858b1e940818f49580d9549a56d2fb5038
4
- data.tar.gz: 591861395373ccd5c8c89fe60987f1e39e590d37
3
+ metadata.gz: f4f82939487b9b3452b0d19416b81b717a6f408b
4
+ data.tar.gz: 4ce5c79c9be21d32445e679ec640c3ea54cb4f87
5
5
  SHA512:
6
- metadata.gz: 057324123c05acbae7df72fccf790b89d9ca771ac5a777b1903434d8228fab7ac25f1d6bdb40b1b5e82d6745040d669154be89e330ee23b1425fd47343e07f22
7
- data.tar.gz: f2d93404190aa2ab147025610bc5c964212f9090887f586498a8776d09880340b01d5828fc8be3b288732bc946b71277519bda514be736d56d2e542afe595244
6
+ metadata.gz: 12d780ada58fb0f6018d5f81abe9d6bbfa26befa9be75d46ab44492dbadb69ca8f628ac58e236f20d9b9216a911aea1dbc095eaede8afcdc39b62a3d860047fc
7
+ data.tar.gz: 6864eff5c38f213a07ab8fa2350f994bf9d895ff5326de63e4e3eaa5afe8038def366260d1ec71e08b36cda7b730d5f0a569a24263c64e57eb9907f178e3b885
@@ -1,10 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'rack'
3
+ require 'puma/cli'
4
4
 
5
- # Without calling `Rack::Server#options` manually the CLI arguments will never
6
- # be passed, thus the application can't be specified as a constructor argument.
7
- server = Rack::Server.new
8
- server.options[:config] = File.expand_path('../../config.ru', __FILE__)
5
+ rack_config = File.expand_path('../../config.ru', __FILE__)
9
6
 
10
- server.start
7
+ cli = Puma::CLI.new([rack_config] + ARGV)
8
+ cli.run
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class Coreference
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -24,6 +24,7 @@ Gem::Specification.new do |gem|
24
24
  gem.add_dependency 'nokogiri'
25
25
  gem.add_dependency 'opener-coreference-base'
26
26
  gem.add_dependency 'opener-webservice'
27
+ gem.add_dependency 'puma'
27
28
 
28
29
  gem.add_development_dependency "rake"
29
30
  end
metadata CHANGED
@@ -1,101 +1,115 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-coreference
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2014-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
15
- version_requirements: !ruby/object:Gem::Requirement
15
+ requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.4'
20
- requirement: !ruby/object:Gem::Requirement
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
21
23
  requirements:
22
- - - ~>
24
+ - - "~>"
23
25
  - !ruby/object:Gem::Version
24
26
  version: '1.4'
25
- prerelease: false
26
- type: :runtime
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: httpclient
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
29
36
  version_requirements: !ruby/object:Gem::Requirement
30
37
  requirements:
31
- - - '>='
38
+ - - ">="
32
39
  - !ruby/object:Gem::Version
33
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: nokogiri
34
43
  requirement: !ruby/object:Gem::Requirement
35
44
  requirements:
36
- - - '>='
45
+ - - ">="
37
46
  - !ruby/object:Gem::Version
38
47
  version: '0'
39
- prerelease: false
40
48
  type: :runtime
41
- - !ruby/object:Gem::Dependency
42
- name: nokogiri
49
+ prerelease: false
43
50
  version_requirements: !ruby/object:Gem::Requirement
44
51
  requirements:
45
- - - '>='
52
+ - - ">="
46
53
  - !ruby/object:Gem::Version
47
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: opener-coreference-base
48
57
  requirement: !ruby/object:Gem::Requirement
49
58
  requirements:
50
- - - '>='
59
+ - - ">="
51
60
  - !ruby/object:Gem::Version
52
61
  version: '0'
53
- prerelease: false
54
62
  type: :runtime
55
- - !ruby/object:Gem::Dependency
56
- name: opener-coreference-base
63
+ prerelease: false
57
64
  version_requirements: !ruby/object:Gem::Requirement
58
65
  requirements:
59
- - - '>='
66
+ - - ">="
60
67
  - !ruby/object:Gem::Version
61
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: opener-webservice
62
71
  requirement: !ruby/object:Gem::Requirement
63
72
  requirements:
64
- - - '>='
73
+ - - ">="
65
74
  - !ruby/object:Gem::Version
66
75
  version: '0'
67
- prerelease: false
68
76
  type: :runtime
69
- - !ruby/object:Gem::Dependency
70
- name: opener-webservice
77
+ prerelease: false
71
78
  version_requirements: !ruby/object:Gem::Requirement
72
79
  requirements:
73
- - - '>='
80
+ - - ">="
74
81
  - !ruby/object:Gem::Version
75
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: puma
76
85
  requirement: !ruby/object:Gem::Requirement
77
86
  requirements:
78
- - - '>='
87
+ - - ">="
79
88
  - !ruby/object:Gem::Version
80
89
  version: '0'
81
- prerelease: false
82
90
  type: :runtime
83
- - !ruby/object:Gem::Dependency
84
- name: rake
91
+ prerelease: false
85
92
  version_requirements: !ruby/object:Gem::Requirement
86
93
  requirements:
87
- - - '>='
94
+ - - ">="
88
95
  - !ruby/object:Gem::Version
89
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
90
99
  requirement: !ruby/object:Gem::Requirement
91
100
  requirements:
92
- - - '>='
101
+ - - ">="
93
102
  - !ruby/object:Gem::Version
94
103
  version: '0'
95
- prerelease: false
96
104
  type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  description: Gem that wraps the coreference code
98
- email:
112
+ email:
99
113
  executables:
100
114
  - coreference
101
115
  - coreference-server
@@ -113,27 +127,27 @@ files:
113
127
  - lib/opener/coreference/version.rb
114
128
  - lib/opener/coreference/views/index.erb
115
129
  - opener-coreference.gemspec
116
- homepage:
130
+ homepage:
117
131
  licenses: []
118
132
  metadata: {}
119
- post_install_message:
133
+ post_install_message:
120
134
  rdoc_options: []
121
135
  require_paths:
122
136
  - lib
123
137
  required_ruby_version: !ruby/object:Gem::Requirement
124
138
  requirements:
125
- - - '>='
139
+ - - ">="
126
140
  - !ruby/object:Gem::Version
127
141
  version: 1.9.2
128
142
  required_rubygems_version: !ruby/object:Gem::Requirement
129
143
  requirements:
130
- - - '>='
144
+ - - ">="
131
145
  - !ruby/object:Gem::Version
132
146
  version: '0'
133
147
  requirements: []
134
- rubyforge_project:
148
+ rubyforge_project:
135
149
  rubygems_version: 2.2.2
136
- signing_key:
150
+ signing_key:
137
151
  specification_version: 4
138
152
  summary: Gem that wraps the coreference code
139
153
  test_files: []