ledger 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,6 @@ module Ledger
6
6
  opts.each do |attr, value|
7
7
  self.send("#{attr}=", value) if respond_to?("#{attr}=")
8
8
  end
9
- self.created_at = Time.now
10
9
  end
11
10
 
12
11
  class << self
@@ -16,6 +16,7 @@ module Ledger
16
16
  end
17
17
 
18
18
  def add_event event
19
+ event.created_at = Time.now
19
20
  events.lpush event.to_json
20
21
  end
21
22
 
@@ -1,3 +1,3 @@
1
1
  module Ledger
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: