-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
28 lines (24 loc) · 966 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
require 'rspec/core/rake_task'
desc 'Default: run specs.'
task :default => :spec
desc "Run specs"
RSpec::Core::RakeTask.new do |t|
# t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "require_options"
s.summary = "Simply extract named arguments from a hash. Require or allow a set of keys."
s.description = "Simply extract named arguments from a hash. Require or allow a set of keys."
s.email = "github@atomicobject.com"
s.homepage = "http://github.com/atomicobject/require_options"
s.authors = ["Atomic Object"]
s.executables = []
s.files = FileList["lib/**/*.rb", "LICENSE", "Rakefile"]
s.test_files = FileList["spec/**/*.rb"]
end
Jeweler::GemcutterTasks.new
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