rbbt-util 5.23.3 → 5.23.4

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/rbbt/resource/path.rb +6 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bfbb8363621dbc1c6e1fb31325daf855ab76776
4
- data.tar.gz: 6b443437c8bccd371d7a62dd33e36c5050e6c62c
3
+ metadata.gz: 6ad99d5ceecb80bf0d0280c62353eea5d2ab6b17
4
+ data.tar.gz: e54fdc997aae385c142661ac32c18338f49dcc67
5
5
  SHA512:
6
- metadata.gz: e7977e2966f10b576a1b1228c2db642a61f32d3bb0236b6c79fecf6b545ae1ce4dfb672f786054d6cf3d73198357c5c2445ed3c7b2fe9a65ef4a65429a528582
7
- data.tar.gz: ed3956298633545fb064228bcddeb7669557c6b7f216b91dceba241429c51045b651711a143c0c2bef15bc33d6925bce33d31d2ffde451dce7bd729f96f7241c
6
+ metadata.gz: 9b6d2a578955ef4afde442ef337ae11638ddb17d42057e994dce571ad30da776dc4027a0f2976dac4abe7e61ff6c8ffb12fb3c2994932f4446e32e3dac9028c1
7
+ data.tar.gz: c01cb24b5437c370ded0438723ee3a0d5a2c72777aa6b974355670f26e1688119da3fd54627353603841747bb61e5ba08a8384bbcf24cd5d245bbbac4d53c045
@@ -116,8 +116,12 @@ module Path
116
116
 
117
117
  search_path_file = File.join(ENV['HOME'], '.rbbt/etc/search_paths')
118
118
  if File.exist?(search_path_file)
119
- YAML.load(File.open(search_path_file)).each do |where, location|
120
- SEARCH_PATHS[where.to_sym] = location
119
+ begin
120
+ YAML.load(File.open(search_path_file)).each do |where, location|
121
+ SEARCH_PATHS[where.to_sym] = location
122
+ end
123
+ rescue
124
+ Log.error "Error loading search_paths from #{search_path_file}: " << $!.message
121
125
  end
122
126
  end
123
127
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.23.3
4
+ version: 5.23.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-04 00:00:00.000000000 Z
11
+ date: 2018-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake