forked from grosser/sort_alphabetical
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
22 lines (21 loc) · 837 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
desc "Run all specs in spec directory"
task :default do |t|
options = "--colour --format progress --loadby --reverse"
files = FileList['spec/**/*_spec.rb']
system("spec #{options} #{files}") rescue nil
system("ACTIVE_SUPPORT_VERSION='2.1.1' spec #{options} #{files}")
end
begin
project_name = 'sort_alphabetical'
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = project_name
gem.summary = "Sort UTF8 Strings alphabetical via Enumerable extension"
gem.email = "[email protected]"
gem.homepage = "http://github.com/grosser/#{project_name}"
gem.authors = ["Michael Grosser"]
gem.add_dependency "activesupport"
end
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end