recycle 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/recycle +3 -1
  3. data/lib/recycle/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 139a82cedf10b7ee5dd55869d2cfb0423eb28149
4
- data.tar.gz: f4a542f820e89bffe12a077b3dca7d013348880e
3
+ metadata.gz: e7251c3a6f18d45a2474d8c9b0ece9a1fa31a51d
4
+ data.tar.gz: 7b9a37e64aff7153cfe19376edd50d831d05478a
5
5
  SHA512:
6
- metadata.gz: 9f1c54477cc4457d09fa676f1d1b6fab43fdc89db1e5bee3994d85443f553607d3164e8c96c57cf67529e7e83df3788497ced228f1759995506e3da492fbe7d7
7
- data.tar.gz: d77067d2deb4e250b3e57114c60d8c5a1beddc93867661f3fbfb72a7823b524e9c27b7aaadc77fe4ab47eef5b16fc2d6cf8a07c2562f2f0c696ca26bde89c06f
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'
@@ -1,3 +1,3 @@
1
1
  module Recycle
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recycle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy W. Rowe