mnogootex 0.2.0 → 0.2.1

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: f84bc4403ed2b6c0cf0ced691e4ebf69449de8fb
4
- data.tar.gz: 826c773e078eb685b7dacfa0b7c9936a07b5c29c
3
+ metadata.gz: aa5c4c34f4297f240efb250291489dc7e475809c
4
+ data.tar.gz: 192650acf878934caea98fa0377043e34956936e
5
5
  SHA512:
6
- metadata.gz: 5dd132fa97940367f3aab6b6ef9a284ab5bb7164adb5b7c20f6aaeaa791218f13d33af0529fcb5809f37755e434d09eda3938488a083f0706c7f33b6642d7e77
7
- data.tar.gz: 81aecc276bc9a5f880bb5b92043859c0e130ec5b07b5caa0b1190b1f1cafef75e531f4271bd59d2a40475cd41169a8d42363dfdc681df73b45bcd1a5c4df5e29
6
+ metadata.gz: 383f762f56a031ca71c41a821dbe877c0028b2c5e53c806694283237967aec7e1b6b1744a453aed2fa5e76781cba7ec12f9db3f0433c7fc30cd5784bac73bc18
7
+ data.tar.gz: 4dc7c17a9af98cd3a1681b14966364284a627fed718b8f23bc4948ac80e6dc73b9c3ebe46fc9cb92c71307c755c5e92ff77eefcf453aec0619a72b525afb831e
data/exe/mnogootex CHANGED
@@ -27,7 +27,7 @@ if ARGV.length == 3
27
27
  job = Mnogootex::Job.new cls: ARGV[2], target: File.expand_path(target)
28
28
  pdf = Dir.glob("#{job.tmp_dirname}/*.pdf").first
29
29
  raise "PDF non esiste." unless File.exist? pdf
30
- `open #{pdf}`
30
+ `command -v open >/dev/null && open #{pdf} || xdg-open #{pdf}`
31
31
  exit
32
32
  end
33
33
 
@@ -1,3 +1,3 @@
1
1
  module Mnogootex
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mnogootex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paolo Brasolin