muck-raker 0.1.19 → 0.1.20

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.19
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
- # acts_as_solr({:if => false, :fields => [{:feed_id => :integer}, {:grain_size => :string}]}, {:type_field => :type_s})
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 # TODO what's this?
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{muck-raker}
5
- s.version = "0.1.19"
5
+ s.version = "0.1.20"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Joel Duffin Justin Ball"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-raker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Duffin Justin Ball