site_logic 1.9.9 → 1.9.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile +2 -4
  2. data/VERSION +1 -1
  3. data/app/models/page.rb +2 -2
  4. data/site_logic.gemspec +6 -12
  5. metadata +23 -50
data/Gemfile CHANGED
@@ -2,14 +2,12 @@ source 'http://rubygems.org'
2
2
 
3
3
  gem 'bson_ext'
4
4
  gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
5
- gem 'ckeditor'
6
5
  gem 'mini_magick'
7
6
  gem 'mongoid-tree', :require => 'mongoid/tree'
8
- gem 'rails', '~> 3.1'
7
+ gem 'rails', '~> 3.0.0'
9
8
  gem 'rmagick', '2.12.2'# version compatible with heroku
10
9
  gem 'scaffold_logic'
11
10
  gem 'stringex'
12
- gem 'tanker'
13
11
 
14
12
  group :development do
15
13
  gem 'jeweler'
@@ -24,4 +22,4 @@ group :test do
24
22
  gem 'machinist_mongo', :require => 'machinist/mongoid'
25
23
  gem 'mocha'
26
24
  gem 'rspec-rails'
27
- end
25
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.9
1
+ 1.9.10
data/app/models/page.rb CHANGED
@@ -2,7 +2,7 @@ class Page
2
2
  include LuckySneaks::StringExtensions
3
3
  include Mongoid::Document
4
4
  include Mongoid::Timestamps
5
- include Tanker
5
+ include Tanker if defined? Tanker
6
6
 
7
7
  # Constants ======================================================================================
8
8
  STATES = ['draft', 'published']
@@ -46,7 +46,7 @@ class Page
46
46
  indexes :meta_description
47
47
  indexes :meta_keywords
48
48
  indexes :page_title
49
- end
49
+ end if defined? Tanker
50
50
 
51
51
  after_destroy :delete_tank_indexes unless Rails.application.config.tanker_disabled
52
52
  after_save :update_tank_indexes unless Rails.application.config.tanker_disabled
data/site_logic.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "site_logic"
8
- s.version = "1.9.9"
8
+ s.version = "1.9.10"
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 = "2012-01-12"
12
+ s.date = "2012-02-02"
13
13
  s.description = "An engine for search-engine-optimized content management."
14
14
  s.email = "corey@seologic.com"
15
15
  s.files = [
@@ -157,7 +157,7 @@ Gem::Specification.new do |s|
157
157
  ]
158
158
  s.homepage = "http://github.com/ivanoblomov/site_logic"
159
159
  s.require_paths = ["lib"]
160
- s.rubygems_version = "1.8.11"
160
+ s.rubygems_version = "1.8.10"
161
161
  s.summary = "An engine for search-engine-optimized content management."
162
162
 
163
163
  if s.respond_to? :specification_version then
@@ -166,41 +166,35 @@ Gem::Specification.new do |s|
166
166
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
167
167
  s.add_runtime_dependency(%q<bson_ext>, [">= 0"])
168
168
  s.add_runtime_dependency(%q<carrierwave-mongoid>, [">= 0"])
169
- s.add_runtime_dependency(%q<ckeditor>, [">= 0"])
170
169
  s.add_runtime_dependency(%q<mini_magick>, [">= 0"])
171
170
  s.add_runtime_dependency(%q<mongoid-tree>, [">= 0"])
172
- s.add_runtime_dependency(%q<rails>, ["~> 3.1"])
171
+ s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
173
172
  s.add_runtime_dependency(%q<rmagick>, ["= 2.12.2"])
174
173
  s.add_runtime_dependency(%q<scaffold_logic>, [">= 0"])
175
174
  s.add_runtime_dependency(%q<stringex>, [">= 0"])
176
- s.add_runtime_dependency(%q<tanker>, [">= 0"])
177
175
  s.add_development_dependency(%q<jeweler>, [">= 0"])
178
176
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
179
177
  else
180
178
  s.add_dependency(%q<bson_ext>, [">= 0"])
181
179
  s.add_dependency(%q<carrierwave-mongoid>, [">= 0"])
182
- s.add_dependency(%q<ckeditor>, [">= 0"])
183
180
  s.add_dependency(%q<mini_magick>, [">= 0"])
184
181
  s.add_dependency(%q<mongoid-tree>, [">= 0"])
185
- s.add_dependency(%q<rails>, ["~> 3.1"])
182
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
186
183
  s.add_dependency(%q<rmagick>, ["= 2.12.2"])
187
184
  s.add_dependency(%q<scaffold_logic>, [">= 0"])
188
185
  s.add_dependency(%q<stringex>, [">= 0"])
189
- s.add_dependency(%q<tanker>, [">= 0"])
190
186
  s.add_dependency(%q<jeweler>, [">= 0"])
191
187
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
192
188
  end
193
189
  else
194
190
  s.add_dependency(%q<bson_ext>, [">= 0"])
195
191
  s.add_dependency(%q<carrierwave-mongoid>, [">= 0"])
196
- s.add_dependency(%q<ckeditor>, [">= 0"])
197
192
  s.add_dependency(%q<mini_magick>, [">= 0"])
198
193
  s.add_dependency(%q<mongoid-tree>, [">= 0"])
199
- s.add_dependency(%q<rails>, ["~> 3.1"])
194
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
200
195
  s.add_dependency(%q<rmagick>, ["= 2.12.2"])
201
196
  s.add_dependency(%q<scaffold_logic>, [">= 0"])
202
197
  s.add_dependency(%q<stringex>, [">= 0"])
203
- s.add_dependency(%q<tanker>, [">= 0"])
204
198
  s.add_dependency(%q<jeweler>, [">= 0"])
205
199
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
206
200
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: site_logic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 33
4
+ hash: 39
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 9
9
- - 9
10
- version: 1.9.9
9
+ - 10
10
+ version: 1.9.10
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: 2012-01-12 00:00:00 Z
18
+ date: 2012-02-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bson_ext
@@ -46,7 +46,7 @@ dependencies:
46
46
  type: :runtime
47
47
  version_requirements: *id002
48
48
  - !ruby/object:Gem::Dependency
49
- name: ckeditor
49
+ name: mini_magick
50
50
  prerelease: false
51
51
  requirement: &id003 !ruby/object:Gem::Requirement
52
52
  none: false
@@ -60,7 +60,7 @@ dependencies:
60
60
  type: :runtime
61
61
  version_requirements: *id003
62
62
  - !ruby/object:Gem::Dependency
63
- name: mini_magick
63
+ name: mongoid-tree
64
64
  prerelease: false
65
65
  requirement: &id004 !ruby/object:Gem::Requirement
66
66
  none: false
@@ -73,39 +73,26 @@ dependencies:
73
73
  version: "0"
74
74
  type: :runtime
75
75
  version_requirements: *id004
76
- - !ruby/object:Gem::Dependency
77
- name: mongoid-tree
78
- prerelease: false
79
- requirement: &id005 !ruby/object:Gem::Requirement
80
- none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 3
85
- segments:
86
- - 0
87
- version: "0"
88
- type: :runtime
89
- version_requirements: *id005
90
76
  - !ruby/object:Gem::Dependency
91
77
  name: rails
92
78
  prerelease: false
93
- requirement: &id006 !ruby/object:Gem::Requirement
79
+ requirement: &id005 !ruby/object:Gem::Requirement
94
80
  none: false
95
81
  requirements:
96
82
  - - ~>
97
83
  - !ruby/object:Gem::Version
98
- hash: 5
84
+ hash: 7
99
85
  segments:
100
86
  - 3
101
- - 1
102
- version: "3.1"
87
+ - 0
88
+ - 0
89
+ version: 3.0.0
103
90
  type: :runtime
104
- version_requirements: *id006
91
+ version_requirements: *id005
105
92
  - !ruby/object:Gem::Dependency
106
93
  name: rmagick
107
94
  prerelease: false
108
- requirement: &id007 !ruby/object:Gem::Requirement
95
+ requirement: &id006 !ruby/object:Gem::Requirement
109
96
  none: false
110
97
  requirements:
111
98
  - - "="
@@ -117,11 +104,11 @@ dependencies:
117
104
  - 2
118
105
  version: 2.12.2
119
106
  type: :runtime
120
- version_requirements: *id007
107
+ version_requirements: *id006
121
108
  - !ruby/object:Gem::Dependency
122
109
  name: scaffold_logic
123
110
  prerelease: false
124
- requirement: &id008 !ruby/object:Gem::Requirement
111
+ requirement: &id007 !ruby/object:Gem::Requirement
125
112
  none: false
126
113
  requirements:
127
114
  - - ">="
@@ -131,25 +118,11 @@ dependencies:
131
118
  - 0
132
119
  version: "0"
133
120
  type: :runtime
134
- version_requirements: *id008
121
+ version_requirements: *id007
135
122
  - !ruby/object:Gem::Dependency
136
123
  name: stringex
137
124
  prerelease: false
138
- requirement: &id009 !ruby/object:Gem::Requirement
139
- none: false
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- hash: 3
144
- segments:
145
- - 0
146
- version: "0"
147
- type: :runtime
148
- version_requirements: *id009
149
- - !ruby/object:Gem::Dependency
150
- name: tanker
151
- prerelease: false
152
- requirement: &id010 !ruby/object:Gem::Requirement
125
+ requirement: &id008 !ruby/object:Gem::Requirement
153
126
  none: false
154
127
  requirements:
155
128
  - - ">="
@@ -159,11 +132,11 @@ dependencies:
159
132
  - 0
160
133
  version: "0"
161
134
  type: :runtime
162
- version_requirements: *id010
135
+ version_requirements: *id008
163
136
  - !ruby/object:Gem::Dependency
164
137
  name: jeweler
165
138
  prerelease: false
166
- requirement: &id011 !ruby/object:Gem::Requirement
139
+ requirement: &id009 !ruby/object:Gem::Requirement
167
140
  none: false
168
141
  requirements:
169
142
  - - ">="
@@ -173,11 +146,11 @@ dependencies:
173
146
  - 0
174
147
  version: "0"
175
148
  type: :development
176
- version_requirements: *id011
149
+ version_requirements: *id009
177
150
  - !ruby/object:Gem::Dependency
178
151
  name: rspec
179
152
  prerelease: false
180
- requirement: &id012 !ruby/object:Gem::Requirement
153
+ requirement: &id010 !ruby/object:Gem::Requirement
181
154
  none: false
182
155
  requirements:
183
156
  - - ">="
@@ -189,7 +162,7 @@ dependencies:
189
162
  - 9
190
163
  version: 1.2.9
191
164
  type: :development
192
- version_requirements: *id012
165
+ version_requirements: *id010
193
166
  description: An engine for search-engine-optimized content management.
194
167
  email: corey@seologic.com
195
168
  executables: []
@@ -369,7 +342,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
369
342
  requirements: []
370
343
 
371
344
  rubyforge_project:
372
- rubygems_version: 1.8.11
345
+ rubygems_version: 1.8.10
373
346
  signing_key:
374
347
  specification_version: 3
375
348
  summary: An engine for search-engine-optimized content management.