muck-raker 0.1.19 → 0.1.20
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.
- data/VERSION +1 -1
- data/app/models/entry.rb +1 -1
- data/app/models/feed.rb +3 -1
- data/muck-raker.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.20
|
data/app/models/entry.rb
CHANGED
|
@@ -33,7 +33,7 @@ class Entry < ActiveRecord::Base
|
|
|
33
33
|
|
|
34
34
|
@@default_time_on_page = 60.0
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
acts_as_solr({:if => false, :fields => [{:feed_id => :integer}, {:grain_size => :string}]}, {:type_field => :type_s})
|
|
37
37
|
|
|
38
38
|
def self.top_tags(tags = nil)
|
|
39
39
|
|
data/app/models/feed.rb
CHANGED
|
@@ -64,7 +64,9 @@ class Feed < ActiveRecord::Base
|
|
|
64
64
|
if self.harvest_interval
|
|
65
65
|
self.harvest_interval/3600
|
|
66
66
|
else
|
|
67
|
-
168 #
|
|
67
|
+
168 # Once a week
|
|
68
|
+
# Looks like 168 = 24 * 7 (1 week)
|
|
69
|
+
# harvest_interval is currently stored in seconds. I'm guessing it used to be stored in hours and this is a relic
|
|
68
70
|
end
|
|
69
71
|
end
|
|
70
72
|
|
data/muck-raker.gemspec
CHANGED