attic-cleanup 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,6 +82,12 @@ module AtticCleanup
82
82
  w.write("\n"+ @name + " " + @path)
83
83
  end
84
84
  end
85
+
86
+ def self.default(value)
87
+ File.open(MyAttic::DEFAULT, 'w') do |w|
88
+ w.write("#Write your default location here.\n#{value}")
89
+ end
90
+ end
85
91
  end
86
92
  end
87
93
  end
@@ -54,6 +54,11 @@ module AtticCleanup
54
54
  end
55
55
  end
56
56
 
57
+ desc "default", "Set a default path for store."
58
+ def default(input)
59
+ AtticCleanup::Path::Custom.default(input)
60
+ end
61
+
57
62
  desc "shortcuts", "View all available shortcuts"
58
63
  # Show all the availible shortcuts from the custom_paths.txt file
59
64
  def shortcuts
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attic-cleanup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-12-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70360767219960 !ruby/object:Gem::Requirement
16
+ requirement: &70232866257560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70360767219960
24
+ version_requirements: *70232866257560
25
25
  description:
26
26
  email: kevin.van.rooijen@gmail.com
27
27
  executables: