public
Description: ActiveResource wrapper library for Springnote.com's REST API
Homepage: http://myruby.net/pages/391111
Clone URL: git://github.com/deepblue/springnote_resources.git
nainu (author)
Fri Jan 30 03:57:27 -0800 2009
deepblue (committer)
Fri Jan 30 04:13:30 -0800 2009
100644 22 lines (19 sloc) 0.817 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'rubygems'
require 'hoe'
require File.dirname(__FILE__) + '/lib/springnote_resources'
 
Hoe.new("springnote_resources", Springnote::VERSION) do |p|
  p.rubyforge_name = "springnote"
  p.summary = "ActiveResource wrapper library for Springnote.com's REST API"
  p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
  p.url = p.paragraphs_of('README.txt', 1).first.gsub(/^\* Homepage: /, '').split(/\n/)
  p.author = 'Bryan Kang'
  p.email = 'byblue@gmail.com'
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
  p.need_zip = true
  p.extra_deps = %w(activeresource ruby-hmac oauth)
end
 
task :update_manifest do
  dirs = Dir['*txt'] + ['Rakefile', 'vendor']
  %w(lib spec).each {|dir| dirs += Dir["#{dir}/**/*"] }
  File.open('Manifest.txt', 'w') {|f| f.write(dirs.join("\n")) }
end