blog_logic 1.4.4 → 1.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.4
1
+ 1.4.5
data/app/models/post.rb CHANGED
@@ -41,8 +41,8 @@ class Post
41
41
  indexes :title
42
42
  end
43
43
 
44
- after_destroy :delete_tank_indexes
45
- after_save :update_tank_indexes
44
+ after_destroy :delete_tank_indexes unless Rails.application.config.tanker_disabled
45
+ after_save :update_tank_indexes unless Rails.application.config.tanker_disabled
46
46
 
47
47
  # Validations ====================================================================================
48
48
  validates_presence_of :content, :title
data/blog_logic.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "blog_logic"
8
- s.version = "1.4.4"
8
+ s.version = "1.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bantik"]
12
- s.date = "2011-11-14"
12
+ s.date = "2011-11-22"
13
13
  s.description = "An engine for search-engine-optimized blog management."
14
14
  s.email = "corey@seologic.com"
15
15
  s.extra_rdoc_files = [
@@ -10,6 +10,6 @@ BlogLogic::Application.configure do
10
10
  # Custom settings
11
11
  config.admin_host = 'admin.bloglogic.com'
12
12
  # tanker gem
13
- config.index_tank_url = 'http://:PctyyJitroN8iv@82wog.api.indextank.com'
13
+ config.tanker_disabled = true
14
14
  config.tanker_pagination_backend = :kaminari
15
15
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blog_logic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 4
10
- version: 1.4.4
9
+ - 5
10
+ version: 1.4.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bantik
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-14 00:00:00 Z
18
+ date: 2011-11-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bson_ext