Dahistory 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -1
- data/lib/Dahistory/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -15,7 +15,7 @@ Installation
|
|
15
15
|
|
16
16
|
gem 'Dahistory'
|
17
17
|
|
18
|
-
|
18
|
+
Usage
|
19
19
|
------
|
20
20
|
|
21
21
|
require "Dahistory"
|
@@ -38,6 +38,9 @@ Override the default settings:
|
|
38
38
|
o.dirs "dir1", "dir2" # defaults to "./history"
|
39
39
|
o.pending_dir "./pending"
|
40
40
|
o.backup_file "#{`hostname`}.name.txt.#{Time.now.to_i}"
|
41
|
+
o.on_raise_pending {
|
42
|
+
# Run right before Pending_File is raised.
|
43
|
+
}
|
41
44
|
|
42
45
|
}
|
43
46
|
|
data/lib/Dahistory/version.rb
CHANGED