Dahistory 0.3.0 → 0.3.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.
Files changed (3) hide show
  1. data/README.md +4 -1
  2. data/lib/Dahistory/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -15,7 +15,7 @@ Installation
15
15
 
16
16
  gem 'Dahistory'
17
17
 
18
- Useage
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
 
@@ -1,3 +1,3 @@
1
1
  class Dahistory
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Dahistory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: