-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathRakefile
34 lines (29 loc) · 1.21 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
require 'rubygems'
begin
require 'yard'
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb', '-', 'TODO'] # optional
t.options = ["--default-return", "::Object", "--query", "!@private", "--hide-void-return"]
end
rescue LoadError
puts "Yard, or a dependency, not available. Install it with gem install yard"
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "active_cmis"
gemspec.summary = "A library to interact with CMIS repositories through the AtomPub/REST binding"
gemspec.description = "A CMIS library implementing both reading and updating capabilities through the AtomPub/REST binding to CMIS."
gemspec.email = "joeri@xaop.com"
gemspec.homepage = "http://xaop.com/labs/activecmis/"
gemspec.authors = ["Joeri Samson"]
gemspec.add_runtime_dependency 'nokogiri', '>= 1.4.1'
gemspec.add_runtime_dependency 'ntlm-http', '~> 0.1', '>= 0.1.1'
gemspec.add_runtime_dependency 'require_relative', '~> 1.0', '>= 1.0.2'
gemspec.required_ruby_version = '>= 1.8.6'
gemspec.files.exclude '.gitignore'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end