Skip to content

Commit

Permalink
Added bundler and filters_spam dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Aug 28, 2010
1 parent f1ddeda commit e6fead0
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gem 'filters_spam', '~> 0.1'
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
GEM
specs:
filters_spam (0.1)

PLATFORMS
ruby

DEPENDENCIES
filters_spam (~> 0.1)
3 changes: 2 additions & 1 deletion lib/gemspec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
s.homepage = %q{http://refinerycms.com}
s.authors = %w(Resolve\\ Digital Neoteric\\ Design)
s.require_paths = %w(lib)
s.add_dependency('refinerycms', '~> 0.9.7.12')
s.add_dependency 'refinerycms', '~> 0.9.7.13'
s.add_dependency 'filters_spam', '~> 0.1'
s.files = %w(
#{files.join("\n ")}
Expand Down
2 changes: 2 additions & 0 deletions lib/refinerycms-blog.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'filters_spam' if defined?(Bundler)

module Refinery
module Blog
class << self
Expand Down
4 changes: 2 additions & 2 deletions rails/init.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
require File.expand_path('../../lib/refinerycms-blog', __FILE__)

Refinery::Plugin.register do |plugin|
plugin.name = "refinerycms_blog"
plugin.url = {:controller => '/admin/blog/posts', :action => 'index'}
plugin.menu_match = /^\/?(admin|refinery)\/blog\/?(posts|comments|categories)?/
plugin.activity = {
:class => BlogPost
}

plugin.directory = directory # tell refinery where this plugin is located
end
7 changes: 5 additions & 2 deletions refinerycms-blog.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ Gem::Specification.new do |s|
s.name = %q{refinerycms-blog}
s.version = %q{0.9.8.0.rc1}
s.description = %q{A really straightforward open source Ruby on Rails blog engine designed for integration with RefineryCMS.}
s.date = %q{2010-08-26}
s.date = %q{2010-08-28}
s.summary = %q{Ruby on Rails blogging engine for RefineryCMS.}
s.email = %q{[email protected]}
s.homepage = %q{http://refinerycms.com}
s.authors = %w(Resolve\ Digital Neoteric\ Design)
s.require_paths = %w(lib)
s.add_dependency('refinerycms', '~> 0.9.7.12')
s.add_dependency 'refinerycms', '~> 0.9.7.13'
s.add_dependency 'filters_spam', '~> 0.1'

s.files = %w(
app
Expand Down Expand Up @@ -57,6 +58,8 @@ Gem::Specification.new do |s|
config/locales/nb.yml
config/locales/nl.yml
config/routes.rb
Gemfile
Gemfile.lock
generators
generators/refinery_blog
generators/refinery_blog/refinery_blog_generator.rb
Expand Down

0 comments on commit e6fead0

Please sign in to comment.