-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
28 lines (23 loc) · 1.02 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
require File.dirname(__FILE__) + '/lib/active_graph'
# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "active_graph"
gemspec.summary = "Gem which makes filling data for Gruff graphs based on ActiveRecord objects much easier."
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/kazjote/active_graph"
gemspec.authors = ["Kacper Bielecki"]
gemspec.add_dependency "activesupport", ">= 3.0.0"
gemspec.add_dependency "metaid"
gemspec.add_dependency "gruff", ">= 0.3.1"
gemspec.add_development_dependency "rspec", ">= 2.0.0"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
# TODO - want other tests/tasks run by default? Add them to the list
# task :default => [:spec, :features]