shellplay 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/shellplay/config.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba6ca8828951742fde4d0454df7e456e52bcc4b2
|
4
|
+
data.tar.gz: 7ff07ac4580c97d429b92dfc9922e85f7b71b47f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1feb5dee5f89cf4c1d85292c2418236254dbdb8234ec84f5cdcf045a12334297cfeaae26a0da8995cb5abc2811d7f600491ed32d4c3f9ff0def91fd3208c3c92
|
7
|
+
data.tar.gz: 6ddec235ddd612b530eed54e97789427078313c208889d5ea0f5fe700b40100c90bef99cb6f0c848b0a16e216e19a29ad3007646d5ecf2725c16b983d7e5f9fe
|
data/CHANGELOG.md
CHANGED
data/lib/shellplay/config.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'cliprompt'
|
2
2
|
require 'configstruct'
|
3
|
+
require 'fileutils'
|
3
4
|
|
4
5
|
module Shellplay
|
5
6
|
class Config < ConfigStruct
|
@@ -8,7 +9,7 @@ module Shellplay
|
|
8
9
|
|
9
10
|
def initialize(options = nil, input = STDIN, output = STDOUT)
|
10
11
|
confdir = File.join(ENV['HOME'], '.shellplay')
|
11
|
-
FileUtils
|
12
|
+
FileUtils::mkdir_p confdir unless Dir.exist? confdir
|
12
13
|
super(options = nil, input = STDIN, output = STDOUT)
|
13
14
|
end
|
14
15
|
|