-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
29 lines (24 loc) · 819 Bytes
/
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
29
require 'rake'
begin
require 'jeweler'
require 'spec/rake/spectask'
rescue LoadError
puts "Please install RSpec & Jeweler"
end
Jeweler::Tasks.new do |gemspec|
gemspec.name = "beijing_emperor"
gemspec.summary = "An ActiveModel interface to Tokyo Tyrant"
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/saarons/beijing_emperor"
gemspec.authors = ["Sam Aarons"]
gemspec.required_ruby_version = ">= 1.9.1"
gemspec.add_dependency "ruby-tokyotyrant", ">= 0.3.1"
gemspec.add_dependency "activemodel", ">= 3.0.pre"
gemspec.add_dependency "activesupport", ">= 3.0.pre"
gemspec.add_development_dependency "rspec", ">= 1.2.9"
end
desc "Run all tests"
Spec::Rake::SpecTask.new('test') do |t|
t.spec_opts = ["--color"]
t.pattern = "test/**/*_spec.rb"
end