autowow 0.4.0 → 0.4.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: 733a86e24bc3c5673242ef1ba27011bff38fc4a0
4
- data.tar.gz: 4273c4f2bede550ed77cba9d38b126582415aed3
3
+ metadata.gz: 2c4b769e2313541711b90200df6e69a0a4a168db
4
+ data.tar.gz: ed347c23e07874f847081e950e9ae321415b103d
5
5
  SHA512:
6
- metadata.gz: 587062c34414447408e4227d4e4ba86ffebc3987762d5b93f92ff06063952ba07862c8b6b1586ede9efcfa614bc3c256018c8e6ff88ba18385408d4f32eb1de2
7
- data.tar.gz: 4f058b47374610f1ac3ae8e249ea7155e154769aae60d9f4cec24d9127c01bde4eaa7783101cd7e1e5743c1e5320f13cd3ba0c189b65e621b3f9601f8d579426
6
+ metadata.gz: 8f2a421efd1cabb89553394b6f81c6fdf244fa861854a3c14ef08b542bbb77423f82f659987635528bfac2fd65cddedac414c63832c9937cb5a73f5c42dfdbc5
7
+ data.tar.gz: c14bf2b603be841dc3786cfdded78481414c37e0b7f87748e2c6ba4e33f2a833f8627ecfb0be8a28fdd4ada595c7cc66a72c8119f6e6e30f18c50ee77495e9a6
@@ -2,4 +2,8 @@ sudo: false
2
2
  language: ruby
3
3
  rvm:
4
4
  - 2.4.1
5
- before_install: gem install bundler -v 1.15.3
5
+ before_install:
6
+ - gem install bundler -v 1.15.3
7
+ - git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
8
+ - git fetch --unshallow --tags
9
+ - git checkout $TRAVIS_BRANCH
@@ -19,15 +19,17 @@ module Autowow
19
19
  def used_versions
20
20
  rubies = []
21
21
  Fs.in_place_or_subdirs(Vcs.is_git?) do
22
- result = quiet.run(version).out
23
- rubies.concat(result.clean_lines)
22
+ result = quiet.run!(version)
23
+ rubies.concat(result.out.clean_lines) if result.success?
24
24
  end
25
25
  rubies.uniq
26
26
  end
27
27
 
28
28
  def ruby_aliases
29
29
  ret = {}
30
- quiet.run(aliases).out.clean_lines.each do |line|
30
+ result = quiet.run!(aliases)
31
+ return ret unless result.success?
32
+ result.out.clean_lines.each do |line|
31
33
  ret[line.split(' => ')[0]] = line.split(' => ')[1]
32
34
  end
33
35
  ret
@@ -1,3 +1,3 @@
1
1
  module Autowow
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autowow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - thisismydesign
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-19 00:00:00.000000000 Z
11
+ date: 2017-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: easy_logging