firefly 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/HISTORY +4 -0
  2. data/VERSION +1 -1
  3. data/firefly.gemspec +1 -1
  4. data/lib/firefly/url.rb +1 -1
  5. metadata +2 -2
data/HISTORY CHANGED
@@ -1,3 +1,7 @@
1
+ = 0.3.1 / 2010-04-13
2
+
3
+ * 2010-04-13 - Fixed issue with setting `created_at` timestamp. [ariejan]
4
+
1
5
  = 0.3.0 / 2010-04-13
2
6
 
3
7
  * 2010-04-13 - Added recent urls to dashboard [ariejan]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/firefly.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{firefly}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ariejan de Vroom"]
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!
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ariejan de Vroom