recycle 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/recycle +3 -1
- data/lib/recycle/version.rb +1 -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: e7251c3a6f18d45a2474d8c9b0ece9a1fa31a51d
|
4
|
+
data.tar.gz: 7b9a37e64aff7153cfe19376edd50d831d05478a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95089f7f33b4326563ff21e13dd157a5e61c3eaa01ece7e29f3e3c6ae28e062b29948fe045c933571efb5cf5b6dda3dcb6add12a16b2b23126c08e4e4e558338
|
7
|
+
data.tar.gz: 29d6824548a3f06e919e6c2626bbc5cff90de858d6e5912028e214614e478510545b5e45a78f51debd5dd9a050bca71d38dfea8963da333f855471f730662131
|
data/exe/recycle
CHANGED
@@ -15,7 +15,9 @@ default_command :help
|
|
15
15
|
|
16
16
|
RECYCLE_HOME = File.join(ENV['RECYCLE_ROOT'] || Dir.home, '.recycle')
|
17
17
|
DATA_FILE = File.join(RECYCLE_HOME, 'data.yml')
|
18
|
-
RECYCLE_CONFIG = File.exists?(DATA_FILE) ? YAML.load_file(DATA_FILE) :
|
18
|
+
RECYCLE_CONFIG = File.exists?(DATA_FILE) ? YAML.load_file(DATA_FILE) : Hash.new do |hash, key|
|
19
|
+
hash[key] = {}
|
20
|
+
end
|
19
21
|
|
20
22
|
command :init do |cmd|
|
21
23
|
cmd.syntax = 'recycle init'
|
data/lib/recycle/version.rb
CHANGED