Permalink
Browse files

* Simplify gem spec and specify a more flexible dependency on Browser…

…CMS.
  • Loading branch information...
1 parent 604a0a9 commit 6cfe38eeb335b168d54a637dfbdaa12ec053aa2c @peakpg peakpg committed Jan 6, 2012
Showing with 4 additions and 8 deletions.
  1. +0 −1 Gemfile
  2. +3 −0 Rakefile
  3. +1 −2 bcms_blog.gemspec
  4. 0 lib/tasks/.gitkeep
  5. +0 −5 lib/tasks/build_gem.rake
View
@@ -1,6 +1,5 @@
source 'http://rubygems.org'
-gem 'rails', '3.0.5'
gem 'sqlite3'
gem 'factory_girl_rails', '1.0', :group=>:test
View
@@ -5,3 +5,6 @@ require File.expand_path('../config/application', __FILE__)
require 'rake'
BcmsBlog::Application.load_tasks
+
+require 'bundler'
+Bundler::GemHelper.install_tasks
View
@@ -17,8 +17,7 @@ Gem::Specification.new do |s|
s.files += Dir["doc/**/*"]
s.files += Dir["db/migrate/[0-9]*.rb"].reject {|f| f =~ /_browsercms|_load_seed/ }
s.files += Dir["lib/**/*"]
- s.files -= Dir["lib/tasks/build_gem.rake"]
- s.add_dependency('browsercms', '3.3.0')
+ s.add_dependency('browsercms', '~> 3.3.0')
end
View
No changes.
View
@@ -1,5 +0,0 @@
-# Add any tasks from your Rake file here (if you were using, say, Jeweler to build gems)
-
-# Otherwise, this enabled Bundler to build your gem
-require 'bundler'
-Bundler::GemHelper.install_tasks

0 comments on commit 6cfe38e

Please sign in to comment.