checky 0.1.0 → 0.1.1

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 688c096c18ce172e0c5394d4d4d8c7c26f20a640
4
- data.tar.gz: 4e5819ad3812086712428d1c30bb4b9ac46bc9f2
3
+ metadata.gz: 80c1f66eba4f7e739c54c85b9a67b5d52275aecb
4
+ data.tar.gz: abf43bf453c897d66fc9e85c8ce5c16134250f49
5
5
  SHA512:
6
- metadata.gz: 72fa236906c0f2fe4420f9c7782078c06824093cccb41321790fd82b9fd6bc4d7489e59882b1c62b3421218e5bee066023490bea303866c09b44375286fcd1e4
7
- data.tar.gz: e782c78722f77d0c61123843b9ad336b5e323227a96ff711cbab67c9387a5f35e7074b569493fec4e55f14c1b9621c8d0a5e826391971833868e9d00ed921ac7
6
+ metadata.gz: e011acd58dce4473b0ffd2c88826fdae2c5009c4e6f8fb3c788bdbe0f804c53a1d725a6addceb56ecce7e7f32eb142afbf5145aab2c0b8cadff2ffa5d029d0d6
7
+ data.tar.gz: 0adfbc6bfb41059d2b2f75026a408193ef8e36313d0909ba40cd608b77f1291a2d01b9398dfc0cc4004e1c671489497824c8d18b0405c2380c3723f516d1f341
@@ -14,7 +14,8 @@ module Checky
14
14
 
15
15
  def version_string
16
16
  command_path = storage.binary
17
- command_output = Checky.run("#{command_path} --version").presence || Checky.run("#{command_path} -v").presence
17
+ command_output = Checky.run("#{command_path} --version 2>&1").presence ||
18
+ Checky.run("#{command_path} -v 2>&1").presence
18
19
  command_output[/[0-9]+(?:\.[0-9]+)+/]
19
20
  end
20
21
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Checky
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checky
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
  - Igor Rzegocki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-07 00:00:00.000000000 Z
11
+ date: 2016-10-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Dependencies checker for CLI tools
14
14
  email: