opener-outlet 1.0.3 → 1.0.4

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: ee0777ec7c070229ca946ef35baf649caec2c214
4
- data.tar.gz: 4c882fddf5409115a28dd5e6fef6704382dd7fcc
3
+ metadata.gz: f930e8c0a3a29dc5249d6a5482a42dc4b1e78330
4
+ data.tar.gz: 0827a2ca99d274b15f63aef6a379847922ba6a69
5
5
  SHA512:
6
- metadata.gz: 5d9c2f01d80022cf76b37591c6f1495ab4c84714efecdbcc3ba80486fcc09492fa6c35b1570e8c74f8b1633b8f4c30d3c78f6077af4e77688cd260ddd677072d
7
- data.tar.gz: 1ddf421608c1999faabd1a492cbaab15896073228cac4c6d7b65009bd3075d357b101338bf29d317f3d50a4fc4a54d082803bd9acfb0965af16b29e871f5c160
6
+ metadata.gz: f3e4196ee9495bff4b482d225b4baa19f4c1bbe818b248a662d90cd86f4805c82c307b211e7415a3deac4cfcf340634c5ede562812d809e9382ac9c5e387bb41
7
+ data.tar.gz: 6abd0fd15cccf9396dd4f620526e6324f21676ce28c34d81581563988f408a4861551d682057f8144b85d4b384f6284da3cb364a8102399c2ced5a1bb8b350ad
data/bin/outlet-daemon ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'opener/daemons'
4
+
5
+ exec_path = File.expand_path('../../exec/outlet.rb', __FILE__)
6
+
7
+ Opener::Daemons::Controller.new(
8
+ :name => 'outlet',
9
+ :exec_path => exec_path
10
+ )
data/exec/outlet.rb ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'opener/daemons'
4
+ require_relative '../lib/opener/outlet'
5
+
6
+ options = Opener::Daemons::OptParser.parse!(ARGV)
7
+ daemon = Opener::Daemons::Daemon.new(Opener::Outlet, options)
8
+
9
+ daemon.start
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class Outlet
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
16
16
  'config.ru',
17
17
  '*.gemspec',
18
18
  'README.md',
19
+ 'exec/**/*',
19
20
  'visualizer.rb'
20
21
  ]).select { |file| File.file?(file) }
21
22
 
@@ -25,6 +26,8 @@ Gem::Specification.new do |gem|
25
26
  gem.add_dependency 'sinatra', '~>1.4.2'
26
27
  gem.add_dependency 'nokogiri'
27
28
  gem.add_dependency 'puma'
29
+ gem.add_dependency 'opener-daemons'
30
+ gem.add_dependency 'opener-core', ['>= 0.1.2']
28
31
  gem.add_dependency 'httpclient'
29
32
  gem.add_dependency 'uuidtools'
30
33
  gem.add_dependency 'jdbc-mysql'
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.3
4
+ version: 1.0.4
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-20 00:00:00.000000000 Z
11
+ date: 2014-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder
@@ -66,6 +66,34 @@ dependencies:
66
66
  version: '0'
67
67
  prerelease: false
68
68
  type: :runtime
69
+ - !ruby/object:Gem::Dependency
70
+ name: opener-daemons
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirement: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - '>='
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ prerelease: false
82
+ type: :runtime
83
+ - !ruby/object:Gem::Dependency
84
+ name: opener-core
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.1.2
90
+ requirement: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - '>='
93
+ - !ruby/object:Gem::Version
94
+ version: 0.1.2
95
+ prerelease: false
96
+ type: :runtime
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: httpclient
71
99
  version_requirements: !ruby/object:Gem::Requirement
@@ -224,24 +252,27 @@ description: Database storing for the web services output when using callbacks.
224
252
  email:
225
253
  executables:
226
254
  - outlet-server
255
+ - outlet-daemon
227
256
  extensions: []
228
257
  extra_rdoc_files: []
229
258
  files:
230
- - README.md
231
- - bin/outlet-server
232
- - config.ru
233
259
  - config/database.rb
234
260
  - lib/opener/outlet.rb
261
+ - lib/opener/outlet/visualizer.rb
262
+ - lib/opener/outlet/version.rb
235
263
  - lib/opener/outlet/output.rb
236
- - lib/opener/outlet/public/outlet.css
237
264
  - lib/opener/outlet/server.rb
238
- - lib/opener/outlet/version.rb
239
- - lib/opener/outlet/views/index.erb
265
+ - lib/opener/outlet/public/outlet.css
240
266
  - lib/opener/outlet/views/show.erb
267
+ - lib/opener/outlet/views/index.erb
241
268
  - lib/opener/outlet/views/show.html.erb
242
- - lib/opener/outlet/visualizer.rb
269
+ - config.ru
243
270
  - opener-outlet.gemspec
271
+ - README.md
272
+ - exec/outlet.rb
244
273
  - visualizer.rb
274
+ - bin/outlet-server
275
+ - bin/outlet-daemon
245
276
  homepage: http://opener-project.github.com/
246
277
  licenses: []
247
278
  metadata: {}
@@ -261,8 +292,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
292
  version: '0'
262
293
  requirements: []
263
294
  rubyforge_project:
264
- rubygems_version: 2.2.2
295
+ rubygems_version: 2.1.9
265
296
  signing_key:
266
297
  specification_version: 4
267
298
  summary: Database storing for the web services output when using callbacks.
268
299
  test_files: []
300
+ has_rdoc: yard