office_converter 0.0.3 → 0.0.4

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDE2ZTBhZDNkZjNiZTVmN2U0ZjNmYjc5NjUxNWYwNjdhMmFiM2QzMg==
4
+ ZTFjYjY2YjVjNjhlYzdiZjgxYWE2ZjE1OTFlZGE0YTYyN2VhZTVkYw==
5
5
  data.tar.gz: !binary |-
6
- MTc5M2QwYWFiNjY5ZjY0ODU5OTI5MzcyMGU5ZjQxZjNmOGFhNThmYQ==
6
+ OTUyYmM0YzNlNzk3MzQ2M2MyMThjMzk0ODM3ODY2YjVjMTgxMTdjMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGM3ZGI4YTg4ZmU2YzgzMDFiMGQ1MjllNjY4N2MxZDgzN2EyMjNlNWRlOWJm
10
- YTEyNDQ0MzQzMTUwMTI3MjI4MDE5OWYxZTk1MTI5NWUxZGVkMWE0NGYzZTFl
11
- N2U3MTY5NjY5NGEwYzQ3NTM1YmVjYTNhNjQyZjBlYzRlYmEzZGE=
9
+ ZjA4ZDc0N2VhZGJmODEzOTc1OTg5ZTFhNWMyMjg4N2Q4N2I5NDgzZmUyM2Vi
10
+ NDY5YWQxMDExOTIwODJjMTkyZDY4NDYwMzIxYjk2ODIxNzA4MDlmMmY3YzY4
11
+ NzE1MDlhYjU4YzEwNjg1NzhhOGM5Zjc0MDRiN2IwNzljZTZhMDM=
12
12
  data.tar.gz: !binary |-
13
- YWY1ZjMxZWI2NGM4N2M5ZTE1MTBlODQ4ZmRlMDQzYWVmYzUwNmZjZDQ0MTky
14
- MmQwZmYwNTZlZDUxMmNiNGVjMmFjNTYwNDFkM2M2MDZkODkwYWE1MTFjMmNm
15
- YTYxZThkNjBjZTlkNTRlYjdiMzBlNzY2N2E2MTBmM2RmZjFjMDg=
13
+ MTUxN2M2YWEwNDBkMTlhZDk3Y2ExODVkOTVkY2NiMjIxYzVjN2M2YzQ1MjMz
14
+ ZTkwMTJjZDRmZTIwMGUzZGY5ZThlZjQxZjg5MGZhOGZhNTFlYTJhZmIxNzZi
15
+ YWZlY2E3Y2Q0M2I2ZjBmN2JiMWVmODM3Mjc0Y2QwYTJiYTAxYTY=
@@ -32,8 +32,7 @@ module OfficeConverter
32
32
  def convert
33
33
  orig_stdout = $stdout.clone
34
34
  $stdout.reopen File.new('/dev/null', 'w')
35
- pid = Spoon.spawnp("export HOME=/tmp && ",@soffice_command, "--headless", "--convert-to", @convert_to, @source, "--outdir", @target_dir)
36
- Process.waitpid(pid)
35
+ pid = system(["export HOME=/tmp && ",@soffice_command, "--headless", "--convert-to", @convert_to, @source, "--outdir", @target_dir].join(" "))
37
36
  $stdout.reopen orig_stdout
38
37
  end
39
38
 
@@ -1,3 +1,3 @@
1
1
  module OfficeConverter
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: office_converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blecher Eyal