nadir 1.1.7 → 1.1.8

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
  SHA256:
3
- metadata.gz: edd8b89b5ca5d856bd832ea56261df370bb80d6ca45e5ad0d83606cc8a3b921c
4
- data.tar.gz: 2d1246e89d72884b501cc7f767e84ef10f47babb73e9b132365538fbbf10f8a1
3
+ metadata.gz: 7a613da2590ce1bbf0c5472e1d08e2d23938034291f18f7d07d42a6904914c2f
4
+ data.tar.gz: 6cad9793905a703844a5f5318e3fa8baa7b3a5c360c97ab1f0e1d54223fac0ef
5
5
  SHA512:
6
- metadata.gz: c2b601b151f6071e50caf2e52d0f4984f5415c607245d777f896643cc78fdf36aabda76d9d3b6e6cdf7d3819e063faaec8a35bb285414fb81363f09fc764db46
7
- data.tar.gz: 44a609af7783db38fe80871ac5d4b3778584dd5e36326c9fe48c1cb5bee89b981d263ec583a625eccc1216bcccf3271c527a94e64249a5cbd746c7ad8442867e
6
+ metadata.gz: d40cb653c6ec4b9e6f24e4ebf7c999d285f3f1fd9c7f2b41fb6a820e86aa93253913ed69a1a9e5bbbe9f7421060082b704589d776ade1eaebcefc06ee9c709ff
7
+ data.tar.gz: 79af1fc4d6b4b41db06188810a0c20dd2489a67a91fda87217192e729a152b39109ac635bcc39af2bae14d62839c62e163566e7c5cf0347819b4e65b6b311ed1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nadir (1.1.7)
4
+ nadir (1.1.8)
5
5
  commander (~> 4.4)
6
6
  concurrent-ruby (~> 1.0)
7
7
 
@@ -12,7 +12,7 @@ GEM
12
12
  highline (~> 2.0.0)
13
13
  concurrent-ruby (1.1.5)
14
14
  diff-lcs (1.3)
15
- highline (2.0.2)
15
+ highline (2.0.3)
16
16
  rake (10.5.0)
17
17
  rspec (3.8.0)
18
18
  rspec-core (~> 3.8.0)
@@ -37,7 +37,7 @@ module Nadir
37
37
  cleaner = ActiveSupport::BacktraceCleaner.new
38
38
  cleaner.remove_filters!
39
39
  gem_paths.each { |gem_path| cleaner.add_filter { |line| line.sub(gem_path, '[GEM_ROOT]') } }
40
- cleaner.add_filter { |line| line.sub(ruby_path, '[RUBY_ROOT]') }
40
+ cleaner.add_filter { |line| ruby_path ? line.sub(ruby_path, '[RUBY_ROOT]') : line }
41
41
  cleaner.add_filter { |line| line.sub(Nadir.config.root.to_s, '') }
42
42
  cleaner.add_filter { |line| line.start_with?('/') ? line.sub('/', '') : line }
43
43
  cleaner.add_filter { |line| line.start_with?('.') ? line.sub('.', '') : line }
@@ -58,7 +58,7 @@ module Nadir
58
58
  end
59
59
 
60
60
  def ruby_path
61
- ENV['RUBY_ROOT']
61
+ ENV['RUBY_ROOT'] || `which ruby`.strip.presence
62
62
  end
63
63
 
64
64
  def revision
data/lib/nadir/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nadir
2
- VERSION = '1.1.7'
2
+ VERSION = '1.1.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nadir
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georgi Mitrev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-09 00:00:00.000000000 Z
11
+ date: 2019-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby