From 730093e48fb5f05bc112b6697d2f56c760fd1ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Thu, 22 Nov 2012 22:44:51 +0200 Subject: Set friendly_id as a dependency and require it so that migrations don't fail. Fixes #296. --- lib/refinery/blog.rb | 1 + refinerycms-blog.gemspec | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/refinery/blog.rb b/lib/refinery/blog.rb index 52f73e0..3fc0ce1 100644 --- a/lib/refinery/blog.rb +++ b/lib/refinery/blog.rb @@ -3,6 +3,7 @@ require 'refinerycms-settings' require 'filters_spam' require 'rails_autolink' require 'acts_as_indexed' +require 'friendly_id' module Refinery autoload :BlogGenerator, 'generators/refinery/blog/blog_generator' diff --git a/refinerycms-blog.gemspec b/refinerycms-blog.gemspec index 3449c93..06e2eae 100644 --- a/refinerycms-blog.gemspec +++ b/refinerycms-blog.gemspec @@ -24,4 +24,5 @@ Gem::Specification.new do |s| s.add_dependency 'acts-as-taggable-on' s.add_dependency 'seo_meta', '~> 1.3.0' s.add_dependency 'rails_autolink', '~> 1.0.7' + s.add_dependency 'friendly_id', '~> 4.0.4' end -- cgit v1.2.3