melon 0.6.0 → 0.6.1

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.
@@ -1,3 +1,7 @@
1
+ === 0.6.0 2011-02-10
2
+ * Minor improvements
3
+ * Fixed symlink-related bug
4
+
1
5
  === 0.6.0 2011-02-10
2
6
  * Major improvements
3
7
  * melon now expands symlinks by default
@@ -21,18 +21,12 @@ module Melon
21
21
 
22
22
 
23
23
  # 1.0 list
24
- # TODO: check needs -r
25
- # TODO: update- a function of add, ignore files that are already present in the db
26
24
  # TODO: needs a 'remove' command, or some way to deal with deletes/renames
27
25
  # remove: given a tracked file, removes it
28
26
  # given an untracked file, it hashes it
29
27
  # and attempts to remove it by hash
30
28
  # TODO: list needs --paths(only) and --hashes(only)
31
- # TODO: handle moving a file somehow -- hopefully a function of update
32
- # could be:
33
- # 1. move file
34
- # 2. add new path to db
35
- # 3. some sort of cull cmd that removes untracked paths
29
+ #
36
30
  # post-1.0
37
31
  # TODO: needs a 'verify' command to check integrity of database
38
32
  # both internal 2-hash consistency (consistency) and db<->filesystem
@@ -3,7 +3,7 @@ require 'digestif/hasher'
3
3
 
4
4
  module Melon
5
5
  class Hasher
6
- # TODO: scale seek size up with file size
6
+ # scale seek size up with file size
7
7
  # 100M => 0
8
8
  # 1000M =>
9
9
  # 2000M =>
@@ -1,3 +1,5 @@
1
+ require 'pathname'
2
+
1
3
  module Melon
2
4
  module Helpers
3
5
  def format_command(name, desc, options = {})
@@ -1,6 +1,6 @@
1
1
  module Melon
2
2
  def self.version
3
- "0.6.0"
3
+ "0.6.1"
4
4
  end
5
5
 
6
6
  def self.version_string
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: melon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Roberts