forked from refinery/refinerycms-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added bundler and filters_spam dependency
- Loading branch information
Showing
6 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gem 'filters_spam', '~> 0.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|