firefly 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +4 -0
- data/VERSION +1 -1
- data/firefly.gemspec +1 -1
- data/lib/firefly/url.rb +1 -1
- metadata +2 -2
data/HISTORY
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/firefly.gemspec
CHANGED
data/lib/firefly/url.rb
CHANGED
@@ -6,7 +6,7 @@ module Firefly
|
|
6
6
|
property :url, String, :index => true, :length => 255
|
7
7
|
property :code, String, :index => true, :length => 16
|
8
8
|
property :clicks, Integer, :default => 0
|
9
|
-
property :created_at, DateTime, :default => Time.now
|
9
|
+
property :created_at, DateTime, :default => Proc.new{Time.now}
|
10
10
|
|
11
11
|
# Increase the visits counter by 1
|
12
12
|
def register_click!
|