Added bundler and filters_spam dependency

This commit is contained in:
Philip Arndt 2010-08-28 16:13:35 +12:00
parent f1ddedaea1
commit e6fead06dc
6 changed files with 21 additions and 5 deletions

1
Gemfile Normal file
View file

@ -0,0 +1 @@
gem 'filters_spam', '~> 0.1'

9
Gemfile.lock Normal file
View file

@ -0,0 +1,9 @@
GEM
specs:
filters_spam (0.1)
PLATFORMS
ruby
DEPENDENCIES
filters_spam (~> 0.1)

View file

@ -17,7 +17,8 @@ Gem::Specification.new do |s|
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 ")}

View file

@ -1,3 +1,5 @@
require 'filters_spam' if defined?(Bundler)
module Refinery
module Blog
class << self

View file

@ -1,3 +1,5 @@
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'}
@ -5,6 +7,4 @@ Refinery::Plugin.register do |plugin|
plugin.activity = {
:class => BlogPost
}
plugin.directory = directory # tell refinery where this plugin is located
end

View file

@ -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{info@refinerycms.com}
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