charted 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/charted.rb +4 -4
- metadata +1 -1
data/lib/charted.rb
CHANGED
@@ -20,7 +20,7 @@ DataMapper::Model.raise_on_save_failure = true
|
|
20
20
|
DataMapper::Property::String.length(255)
|
21
21
|
|
22
22
|
module Charted
|
23
|
-
VERSION = '0.0.
|
23
|
+
VERSION = '0.0.5'
|
24
24
|
GEOIP = GeoIP.new("#{File.dirname(__FILE__)}/../geoip.dat")
|
25
25
|
JS_FILE = "#{File.dirname(__FILE__)}/../public/charted/script.js"
|
26
26
|
|
@@ -186,9 +186,9 @@ module Charted
|
|
186
186
|
include DataMapper::Resource
|
187
187
|
|
188
188
|
property :id, Serial
|
189
|
-
property :path, String, :
|
190
|
-
property :title, String, :
|
191
|
-
property :referrer, String
|
189
|
+
property :path, String, required: true
|
190
|
+
property :title, String, required: true
|
191
|
+
property :referrer, String, length: 2048
|
192
192
|
property :search_terms, String
|
193
193
|
property :created_at, DateTime
|
194
194
|
|