Rakefile in neerajdotname-javascript_lab-0.0.5 vs Rakefile in neerajdotname-javascript_lab-0.0.7
- old
+ new
@@ -1,20 +1,20 @@
# change p.url to point to the blog
-%w[rubygems rake rake/clean fileutils newgem rubigen jeweler].each {|f| require f}
+#%w[rubygems rake rake/clean fileutils newgem rubigen jeweler].each {|f| require f}
+require 'rubygems'
+require 'hoe'
require File.dirname(__FILE__) + '/lib/javascript_lab'
-$hoe = Hoe.new('javascript_lab', JavascriptLab::VERSION) do |p|
- p.author = 'Neeraj Singh'
- p.email = 'neerajdotname@gmail.com'
- p.changes = p.paragraphs_of('History.txt',0..1).join("\n\n")
+#Hoe.spec('javascript_lab', JavascriptLab::VERSION) do |p|
+Hoe.spec('javascript_lab') do |p|
+ p.developer('Neeraj Singh', 'neerajdotname@gmail.com')
+ p.readme_file = 'README.markdown'
+ p.summary = p.description = %q{A tool to verify javascript code without worrying about including javascript library.}
+ p.extra_rdoc_files = FileList['*.markdown']
p.post_install_message = 'PostInstall.txt'
p.rubyforge_name = 'neerajdotname'
- p.summary = p.description = 'A tool to quickly verify javascript code without worrying about including the javascript library.'
- p.url = ['http://github.com/neerajdotname/javascript_lab','http://neeraj.name']
p.extra_deps = [
['sinatra', '>=0.9.2'],
- ['vegas', '>=0.0.1']
+ ['vegas', '>=0.0.1']
]
-
- p.extra_dev_deps = []
end