openvibe-launcher 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/openvibe-launcher.rb +3 -1
- data/openvibe-launcher.gemspec +58 -0
- metadata +3 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/openvibe-launcher.rb
CHANGED
@@ -23,7 +23,7 @@ module Openvibe
|
|
23
23
|
if File.exists?(designer_path)
|
24
24
|
@path = designer_path
|
25
25
|
else
|
26
|
-
Error.critical("Designer script #{
|
26
|
+
Error.critical("Designer script #{designer_path} not found")
|
27
27
|
end
|
28
28
|
|
29
29
|
@options = Array.new
|
@@ -36,6 +36,8 @@ module Openvibe
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def start
|
39
|
+
dir = File.dirname(@path)
|
40
|
+
Dir.chdir(dir)
|
39
41
|
command = "#{@path} #{@mode} #{@scenario} #{@options.join(' ')}"
|
40
42
|
@pid = spawn(@env || {},command,:out=> @out || STDOUT )
|
41
43
|
Process.waitpid(@pid)
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "openvibe-launcher"
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Alexandre Barachant"]
|
12
|
+
s.date = "2012-10-31"
|
13
|
+
s.description = "A way to launch the openvibe designer in ruby"
|
14
|
+
s.email = "alexandre.barachant@gmail.com"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.md"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
"Gemfile",
|
22
|
+
"LICENSE.txt",
|
23
|
+
"README.md",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/openvibe-launcher.rb",
|
27
|
+
"openvibe-launcher.gemspec",
|
28
|
+
"test/helper.rb",
|
29
|
+
"test/test_openvibe-launcher.rb"
|
30
|
+
]
|
31
|
+
s.homepage = "http://github.com/alexandrebarachant/openvibe-launcher"
|
32
|
+
s.licenses = ["LGPL"]
|
33
|
+
s.require_paths = ["lib"]
|
34
|
+
s.rubygems_version = "1.8.23"
|
35
|
+
s.summary = "launch openvibe designer"
|
36
|
+
|
37
|
+
if s.respond_to? :specification_version then
|
38
|
+
s.specification_version = 3
|
39
|
+
|
40
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
41
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
42
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
43
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
44
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
45
|
+
else
|
46
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
47
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
48
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
49
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
50
|
+
end
|
51
|
+
else
|
52
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
53
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
54
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
55
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openvibe-launcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- Rakefile
|
91
91
|
- VERSION
|
92
92
|
- lib/openvibe-launcher.rb
|
93
|
+
- openvibe-launcher.gemspec
|
93
94
|
- test/helper.rb
|
94
95
|
- test/test_openvibe-launcher.rb
|
95
96
|
homepage: http://github.com/alexandrebarachant/openvibe-launcher
|
@@ -107,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
108
|
version: '0'
|
108
109
|
segments:
|
109
110
|
- 0
|
110
|
-
hash:
|
111
|
+
hash: 1662626730072362293
|
111
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
113
|
none: false
|
113
114
|
requirements:
|