blog_logic 0.7.6 → 0.7.7

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/Gemfile CHANGED
@@ -2,7 +2,7 @@ source 'http://rubygems.org'
2
2
  source 'http://jose.seologic.com:8808/'
3
3
 
4
4
  gem 'bson_ext'
5
- gem 'carrierwave', '< 0.5.7'
5
+ gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
6
6
  gem 'ckeditor', :git => 'git://github.com/Bantik/rails-ckeditor.git', :branch => 'rails3_mongoid'
7
7
  gem 'kaminari'
8
8
  gem 'mongoid', '>= 2.0.0.beta.17'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.6
1
+ 0.7.7
@@ -1,8 +1,6 @@
1
1
  require 'mime/types'
2
- require 'carrierwave/orm/mongoid'
3
2
 
4
3
  class Ckeditor::Asset
5
-
6
4
  include Mongoid::Document
7
5
  include Mongoid::Timestamps
8
6
 
@@ -34,12 +34,6 @@
34
34
  <%- flash.each do |name, msg| -%>
35
35
  <%- if name == :notice -%>
36
36
  <%= content_tag :div, msg, :id => "flash_#{name}", :class => "flash_#{name}", :style => "display:none;" -%>
37
- <script type="text/javascript">
38
- $('washout').toggle();
39
- $('flash_notice').toggle();
40
- <%= visual_effect(:fade, 'flash_notice', :duration => 1.0, :delay => 1.0).html_safe -%>
41
- <%= visual_effect(:fade, 'washout', :duration => 1.0, :delay => 1.0).html_safe -%>
42
- </script>
43
37
  <%- else -%>
44
38
  <%= content_tag :div, msg, :id => "flash_#{name}", :class => "flash_#{name}" -%>
45
39
  <%- end -%>
data/blog_logic.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{blog_logic}
8
- s.version = "0.7.6"
8
+ s.version = "0.7.7"
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 = %q{2011-08-30}
12
+ s.date = %q{2011-08-31}
13
13
  s.description = %q{An engine for search-engine-optimized blog management.}
14
14
  s.email = %q{corey@seologic.com}
15
15
  s.extra_rdoc_files = [
@@ -63,7 +63,6 @@ Gem::Specification.new do |s|
63
63
  "config/environments/development.rb",
64
64
  "config/environments/production.rb",
65
65
  "config/environments/test.rb",
66
- "config/initializers/ckeditor.rb",
67
66
  "config/initializers/formats.rb",
68
67
  "config/initializers/metric_fu.rb",
69
68
  "config/initializers/secret_token.rb",
@@ -143,7 +142,6 @@ Gem::Specification.new do |s|
143
142
  "public/images/menu_icons/blog_on.png",
144
143
  "public/images/menu_icons/blog_posts.png",
145
144
  "public/images/menu_icons/blog_posts_on.png",
146
- "public/javascripts/application.js",
147
145
  "public/javascripts/ckeditor/.htaccess",
148
146
  "public/javascripts/ckeditor/CHANGES.html",
149
147
  "public/javascripts/ckeditor/INSTALL.html",
@@ -818,7 +816,7 @@ Gem::Specification.new do |s|
818
816
 
819
817
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
820
818
  s.add_runtime_dependency(%q<bson_ext>, [">= 0"])
821
- s.add_runtime_dependency(%q<carrierwave>, ["< 0.5.7"])
819
+ s.add_runtime_dependency(%q<carrierwave-mongoid>, [">= 0"])
822
820
  s.add_runtime_dependency(%q<ckeditor>, [">= 0"])
823
821
  s.add_runtime_dependency(%q<kaminari>, [">= 0"])
824
822
  s.add_runtime_dependency(%q<mongoid>, [">= 2.0.0.beta.17"])
@@ -830,7 +828,7 @@ Gem::Specification.new do |s|
830
828
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
831
829
  else
832
830
  s.add_dependency(%q<bson_ext>, [">= 0"])
833
- s.add_dependency(%q<carrierwave>, ["< 0.5.7"])
831
+ s.add_dependency(%q<carrierwave-mongoid>, [">= 0"])
834
832
  s.add_dependency(%q<ckeditor>, [">= 0"])
835
833
  s.add_dependency(%q<kaminari>, [">= 0"])
836
834
  s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.17"])
@@ -843,7 +841,7 @@ Gem::Specification.new do |s|
843
841
  end
844
842
  else
845
843
  s.add_dependency(%q<bson_ext>, [">= 0"])
846
- s.add_dependency(%q<carrierwave>, ["< 0.5.7"])
844
+ s.add_dependency(%q<carrierwave-mongoid>, [">= 0"])
847
845
  s.add_dependency(%q<ckeditor>, [">= 0"])
848
846
  s.add_dependency(%q<kaminari>, [">= 0"])
849
847
  s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.17"])
@@ -11,7 +11,6 @@ BlogLogic::Application.configure do
11
11
 
12
12
  # Show full error reports and disable caching
13
13
  config.consider_all_requests_local = true
14
- config.action_view.debug_rjs = true
15
14
  config.action_controller.perform_caching = false
16
15
 
17
16
  # Don't care if the mailer can't send
@@ -16,4 +16,4 @@ custom_date_formats = {
16
16
  :analytics => '%Y-%m-%d'
17
17
  }
18
18
  Date::DATE_FORMATS.merge!(custom_date_formats)
19
- Time::DATE_FORMATS.merge!(custom_date_formats)
19
+ Time::DATE_FORMATS.merge!(custom_date_formats)
@@ -6,4 +6,4 @@ if Rails.env.test?
6
6
  config.rcov[:test_files] = ['spec/**/*_spec.rb']
7
7
  config.rcov[:rcov_opts] << '-Ispec' # Needed to find spec_helper
8
8
  end
9
- end
9
+ end
@@ -1,7 +1 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- Rails.application.config.secret_token = 'f3f33f7f734a11d31ff2e0f8da353b2233ebf9cd3ea12037e099b550e5f82e829e08672618a8a05322115d0113d89e867c29873168a9e070648e5dcb23b99aca'
1
+ Rails.application.config.secret_token = 'f3f33f7f734a11d31ff2e0f8da353b2233ebf9cd3ea12037e099b550e5f82e829e08672618a8a05322115d0113d89e867c29873168a9e070648e5dcb23b99aca'
@@ -1,8 +1 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, :key => '_bloglogic_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Bloglogic::Application.config.session_store :active_record_store
1
+ Rails.application.config.session_store :cookie_store, :key => '_bloglogic_session'