blog_logic 1.4.4 → 1.4.5
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/post.rb +2 -2
- data/blog_logic.gemspec +2 -2
- data/config/environments/test.rb +1 -1
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.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.
|
|
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-
|
|
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 = [
|
data/config/environments/test.rb
CHANGED
|
@@ -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.
|
|
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:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 1.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-
|
|
18
|
+
date: 2011-11-22 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: bson_ext
|