crabgrass_media 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/media/transmogrifiers/libreoffice.rb +8 -1
- data/lib/media/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb6321075f8d9b28cec92fb4397b984227b748baee55472bd7fbbc013417a07b
|
4
|
+
data.tar.gz: f535f7836ef507dc2c452d95defe9703eab1b61b920c5146b5c00d62b7008163
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 235006529a5d0649a3bdaffe9e3df669a84c802349647bab2f6dc27400d1d97e6f46a41abaed063941183f1a7e80e4f1bcd965b7610f54641021e2a1c03a82b1
|
7
|
+
data.tar.gz: 45566c1734829ac56bb36475f351a2365af8de2ce040a7b822af561dc3e5bc31294e4c6058c6b874186e21b6d7b77358b19f3e56b5d24ba6fe08293e808abe49
|
@@ -64,7 +64,14 @@ module Media
|
|
64
64
|
# run command
|
65
65
|
ext = extension(output_type)
|
66
66
|
if ext
|
67
|
-
arguments = [
|
67
|
+
arguments = [
|
68
|
+
LIBREOFFICE_COMMAND,
|
69
|
+
'--headless',
|
70
|
+
"-env:UserInstallation=file://#{work_directory}/home",
|
71
|
+
'-convert-to', extension(output_type),
|
72
|
+
'-outdir', work_directory,
|
73
|
+
input_file
|
74
|
+
]
|
68
75
|
status = run_command(*arguments, &block)
|
69
76
|
|
70
77
|
# we cannot specify the name of the output file, so grab what it generated and move it to self.output_file
|
data/lib/media/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crabgrass_media
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Azul
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|