donjon 0.0.1 → 0.0.2

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: e2e4af5e144eda80bddb067306735fad06605d4a
4
- data.tar.gz: bba9c3dd427d5046289498073b47ddbe4d80b306
3
+ metadata.gz: 71892ce6ba19ef7b519a3d11751725255e44b319
4
+ data.tar.gz: bc53943944cd25d783cd7d9fc0097782a28a3691
5
5
  SHA512:
6
- metadata.gz: be4415356a0dfacb7b0a8b9389cfb24148688f06fe57d0dea72be24151f49c00d1ae9640df6cc9661d5ae292944b96577a5f1ab41a235598fb682ebc1350ecc3
7
- data.tar.gz: e18dfe9d8769cb5c8bdc5b6dd20b96379c39b2208b26f3dae13f951567927af6020eae919ae4485879e70acf1d32a9bea633ef460c9ed39a4963bc5c44978337
6
+ metadata.gz: 244868a56f1ebd8b885f5b23477c15dc4e3ad3f1090b275df80336bfa07cd9c8e9416938952896efbbea11ff5ffd043ebe30895680f0d608f85a6dc8dda11c66
7
+ data.tar.gz: d6bb4031a0df5199a5825328961d7fced263a905e97559c54bcdc79becb7c60a9ba0973807c6b84ddb29a1b45ead2e2493e44c537b57c7d27ebc904d571ff95e
@@ -54,7 +54,11 @@ module Donjon
54
54
  end
55
55
 
56
56
  def _default_path
57
- ENV.fetch('DONJONRC', _fallback_path)
57
+ if ENV.fetch('DONJONRC', nil)
58
+ Pathname.new(ENV.fetch('DONJONRC')).expand_path
59
+ else
60
+ _fallback_path
61
+ end
58
62
  end
59
63
  end
60
64
  end
@@ -1,3 +1,3 @@
1
1
  module Donjon
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: donjon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-17 00:00:00.000000000 Z
11
+ date: 2014-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor