Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 20 lines (18 sloc) 0.719 kB
7c075e3 @grosser make spec to spectask, to work nicely with CI server
grosser authored
1 task :default => :spec
2 require 'spec/rake/spectask'
3 Spec::Rake::SpecTask.new {|t| t.spec_opts = ['--color']}
eadb259 its a gem now too...
grosser authored
4
0286d39 @grosser switch to jeweler, to later easily use gemcutter
grosser authored
5 begin
6 require 'jeweler'
7 project_name = 'clear_empty_attributes'
8 Jeweler::Tasks.new do |gem|
9 gem.name = project_name
10 gem.description = gem.summary = "Save empty strings as nil to avoid lots of problems"
11 gem.email = "brandon@opensoul.org"
805d67a @bkeepers Update homepage
bkeepers authored
12 gem.homepage = "http://github.com/collectiveidea/#{project_name}"
0286d39 @grosser switch to jeweler, to later easily use gemcutter
grosser authored
13 gem.authors = ["Brandon Keepers"]
d143344 @grosser switch to gemcutter for gem release
grosser authored
14 gem.add_dependency ['activerecord']
0286d39 @grosser switch to jeweler, to later easily use gemcutter
grosser authored
15 end
d143344 @grosser switch to gemcutter for gem release
grosser authored
16
17 Jeweler::GemcutterTasks.new
0286d39 @grosser switch to jeweler, to later easily use gemcutter
grosser authored
18 rescue LoadError
19 puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
20 end
Something went wrong with that request. Please try again.