rbbt-util 5.34.10 → 5.34.11

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
  SHA256:
3
- metadata.gz: c8d689458bf34dc4d6f87f0541579a39ce1820470028db527ea366ad9ebb5c60
4
- data.tar.gz: 4adc7dfec047abdeff9783386c2d0c017b37e4459b51d928179dc9199a779b5c
3
+ metadata.gz: 32b17775f7faf2220a471559cf7faf7db5f2515001a19e1fe5d70f3b588c06dd
4
+ data.tar.gz: '09b9518c2dadcdff12799cb9ece8b91a1f096c3953e695854fdf4b937868a345'
5
5
  SHA512:
6
- metadata.gz: ec17b39479ed23fabae816d724281a9228ca0fcced777cb3d22c23a3a04e136e132b67cb7e0b5c82aec1e754253983f8912f5d7af4ab52d80cb3d3e0464f8fd2
7
- data.tar.gz: a61457b87e1ce1243c903e46bf06f88242fbb6e939eb44f9fb23a8531c24e023471cbb2d42ecd7f3886eb7efa52d333ac94df348a0f8e29be0eecacc4d5d0ae8
6
+ metadata.gz: 56976a81e8aca514a836fd260d8e57c074252f9ef1e03bfb54496c1107bd6ecf27fa33f9e7d9f4c8ca39f5e8a4a2cc28c560e15cb26ec81855202aea8a53d41c
7
+ data.tar.gz: b195a055a913b56dd3cb70dc1da1bede56462a7eb55bce0ff437a53abdf556cee39dad8f8e49a6246705116990a666adc24e354345d5759d1f0d3690df2908dd
data/bin/rbbt_find.rb CHANGED
@@ -65,7 +65,7 @@ found.each do |path|
65
65
  if nocolor
66
66
  puts path
67
67
  else
68
- color = File.exists?(path) ? (File.directory?(path) ? :blue : nil) : :red
68
+ color = File.exist?(path) ? (File.directory?(path) ? :blue : nil) : :red
69
69
  puts Log.color color, path
70
70
  end
71
71
 
@@ -125,6 +125,8 @@ module Rbbt::Config
125
125
  if String === value && m = value.match(/^env:(.*)/)
126
126
  variable = m.captures.first
127
127
  ENV[variable]
128
+ elsif value == 'nil'
129
+ nil
128
130
  else
129
131
  value
130
132
  end
@@ -52,7 +52,7 @@ class TestEntityIdentifiers < Test::Unit::TestCase
52
52
  tsv.key_field = key_field
53
53
  tsv.fields = [description_field, gene_field]
54
54
  descriptions = tsv.slice(description_field)
55
- Open.write(description_file, descriptions.to_single.to_s) #unless File.exists? description_file
55
+ Open.write(description_file, descriptions.to_single.to_s) #unless File.exist? description_file
56
56
  values = tsv.slice(gene_field)
57
57
  values.identifiers = description_file
58
58
 
@@ -181,7 +181,7 @@ class TestOpen < Test::Unit::TestCase
181
181
  Misc.consume_stream(StringIO.new(text), false, file)
182
182
 
183
183
  assert_equal text, Open.read(file)
184
- assert !File.exists?(file)
184
+ assert !File.exist?(file)
185
185
  assert Open.exists? file
186
186
  end
187
187
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.34.10
4
+ version: 5.34.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez