Skip to content

Commit

Permalink
Removed redmine_plugin_support gem from dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
kulesa committed Apr 24, 2012
1 parent 60ad37a commit a6163c4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -9,7 +9,6 @@ group :test do
gem 'rspec-rails', "~>1.3"
gem 'factory_girl', "~>1.3"
gem 'database_cleaner'
gem 'redmine_plugin_support'
gem 'test-unit', '1.2.3'
gem 'RedCloth', "~> 4.2.9"
end
2 changes: 0 additions & 2 deletions Gemfile.lock
Expand Up @@ -10,7 +10,6 @@ GEM
mysql (2.8.1)
rack (1.1.0)
rake (0.9.2)
redmine_plugin_support (0.0.4)
rspec (1.3.2)
rspec-rails (1.3.4)
rack (>= 1.0.0)
Expand All @@ -28,7 +27,6 @@ DEPENDENCIES
factory_girl (~> 1.3)
mysql
rake
redmine_plugin_support
rspec (~> 1.3)
rspec-rails (~> 1.3)
sqlite3
Expand Down
27 changes: 21 additions & 6 deletions Rakefile
@@ -1,10 +1,25 @@
require 'redmine_plugin_support'

Dir[File.expand_path(File.dirname(__FILE__)) + "/lib/tasks/**/*.rake"].sort.each { |ext| load ext }

RedminePluginSupport::Base.setup do |plugin|
plugin.project_name = 'redmine_better_gantt_chart'
plugin.default_task = [:spec, :features]
plugin.tasks = [:doc, :release, :clean, :test, :db, :spec]
plugin.redmine_root = ENV['REDMINE_ROOT'] || File.expand_path(File.dirname(__FILE__) + '/../../..')
begin
require 'spec'
rescue LoadError
require 'rubygems'
require 'spec'
end

begin
require 'spec/rake/spectask'
rescue LoadError
puts <<-EOS
To use rspec for testing you must install rspec gem:
gem install rspec
EOS
exit(0)
end

desc "Run the specs under spec/models"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
t.spec_files = FileList['spec/**/*_spec.rb']
end

0 comments on commit a6163c4

Please sign in to comment.