dyndoc-ruby-exec 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dyndoc-converter.rb +6 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e946bdd35eca8289b6d304c0847135a243502ff5
4
- data.tar.gz: 39ae2ef809a94dc7d625405bcc7dae4b7997f29b
3
+ metadata.gz: 22ae204f421471540ac02af6193072451c3a50c3
4
+ data.tar.gz: bc489be8b319fc2a83c433b21e7934b075c64c6f
5
5
  SHA512:
6
- metadata.gz: 4b244989faa2a372cb6ce230862dadb5650625bf6392e04ec6612a2eefc56e1568db4babb8d1760f1509d0a69d0fd7757c9c98694e32b2a82e8eb4bd543fc2ce
7
- data.tar.gz: 8cf21028075c7f342cf762a234f9bf42977878d436022d89d0dff1b22fdb804e63a2a5255f6c77cf1a3ddd6a718dc1319bd5984f47b3da8557f1bdb54cc594c1
6
+ metadata.gz: a0d313e96e555379b94d38cda8a1f083381e7dfe5d0999aa3b6814cf6bd36e23a63a48cbcf93e35d107c762b6e27d225dd49113e9b06a820eeb3562eed7d1dc8
7
+ data.tar.gz: 31e2a3a1622b618b8c622c748269ba4ec316a373a0659d7b04ebf78706800a0dfb8ba762a511d1343e365cbde47368f11abd57973baf3e0d4fcb2a0f6d68a8d6
@@ -11,8 +11,12 @@ require "open3"
11
11
  module Dyndoc
12
12
 
13
13
  def Dyndoc.which_path(bin)
14
- cmd=`which #{bin}`.strip
15
- cmd=DyndocMsys2.global_path_msys2mingw(cmd) if RUBY_PLATFORM =~ /mingw/
14
+ begin
15
+ cmd=`which #{bin}`.strip
16
+ cmd=DyndocMsys2.global_path_msys2mingw(cmd) if RUBY_PLATFORM =~ /mingw/
17
+ rescue
18
+ cmd=bin
19
+ end
16
20
  return cmd
17
21
  end
18
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dyndoc-ruby-exec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - CQLS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-21 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  Converters and software for dyndoc.