command_wrap 0.1 → 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of command_wrap might be problematic. Click here for more details.

data/README CHANGED
@@ -3,7 +3,7 @@ A set of utility classes to extract meta data from different file types
3
3
  INSTALL
4
4
  -------
5
5
 
6
- gem install CommandWrap
6
+ gem install command_wrap
7
7
 
8
8
  REQUIREMENTS
9
9
  ------------
@@ -4,18 +4,18 @@ module CommandWrap::OpenOffice
4
4
 
5
5
  def self.start
6
6
  pid1 = fork do
7
- exec FileUtils::Config::OpenOffice.xvfb
7
+ exec CommandWrap::Config::OpenOffice.xvfb
8
8
  end
9
9
  sleep 5 # 5 seconden wachten tot xvfb draait
10
10
  pid2 = fork do
11
- exec FileUtils::Config::OpenOffice.command
12
- end
11
+ exec CommandWrap::Config::OpenOffice.command
12
+ end
13
13
  end
14
14
 
15
15
  def self.stop
16
- `#{FileUtils::Config::OpenOffice.stop_xvfb}`
16
+ `#{CommandWrap::Config::OpenOffice.stop_xvfb}`
17
17
  sleep 5
18
- `#{FileUtils::Config::OpenOffice.stop}`
18
+ `#{CommandWrap::Config::OpenOffice.stop}`
19
19
  end
20
20
 
21
21
  def self.restart
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: command_wrap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
9
- version: "0.1"
8
+ - 2
9
+ version: "0.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Stefaan Colman
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-24 00:00:00 +01:00
17
+ date: 2011-03-07 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency