-
Notifications
You must be signed in to change notification settings - Fork 6
/
Rakefile
53 lines (37 loc) · 1.45 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
require 'rubygems'
require 'rake'
# Load merb-auth-core version information
require File.expand_path('../../merb-auth-core/lib/merb-auth-core/version', __FILE__)
# Load this library's version information
require File.expand_path('../lib/merb-auth-more/version', __FILE__)
begin
gem 'jeweler', '~> 1.4'
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.version = Merb::Auth::More::VERSION.dup
gemspec.name = "merb-auth-more"
gemspec.description = "Addons for merb-auth-core"
gemspec.summary = "Additional resources for use with the merb-auth-core authentication framework."
gemspec.authors = [ "Daniel Neighman" ]
gemspec.email = "has.sox@gmail.com"
gemspec.homepage = "http://merbivore.com/"
gemspec.files = %w(LICENSE Rakefile README.textile TODO) + Dir['{lib,spec}/**/*']
# Runtime dependencies
gemspec.add_dependency 'merb-auth-core', "~> #{Merb::Auth::Core::VERSION}"
# Development dependencies
gemspec.add_development_dependency 'rspec', ">= 2.5"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = "spec/**/*_spec.rb"
spec.fail_on_error = false
end
RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = "spec/**/*_spec.rb"
spec.fail_on_error = false
spec.rcov = true
end