Permalink
Browse files

Grab more config stuff from the README.

  • Loading branch information...
1 parent feb07db commit dc5b3bb9e1791fff63662dec587b3e7df259a4ca @jbarnette committed Jun 23, 2009
Showing with 34 additions and 34 deletions.
  1. +14 −11 README.rdoc
  2. +20 −23 Rakefile
View
@@ -1,10 +1,13 @@
= Johnson
-Johnson wraps JavaScript in a loving Ruby embrace.
+* http://github.com/jbarnette/johnson
+* http://johnson.lighthouseapp.com
+* http://groups.google.com/group/johnson-talk
-* {Source Code}[http://github.com/jbarnette/johnson]
-* {Bug Tracker}[http://johnson.lighthouseapp.com]
-* {RubyForge Project}[http://johnson.rubyforge.org]
+== Description
+
+Johnson wraps JavaScript in a loving Ruby embrace. It embeds the
+Mozilla SpiderMonkey JavaScript runtime as a C extension.
== Examples
@@ -16,18 +19,18 @@ Johnson wraps JavaScript in a loving Ruby embrace.
== Installation
- [sudo] gem install johnson
-
-=== Restrictions
+ $ gem install johnson
-Johnson is currently developed and tested on Mac OS X with Ruby
-1.8.6. We'd like to widen our support: contributions are very welcome!
+=== TODO
-It's also kinda segfaulty at the moment. GC is hard.
+* Support more than just Mac OS X / Ruby 1.8.6.
+* Stop freaking segfaulting.
== License
-Copyright 2008-2009 John Barnette, Aaron Patterson, Yehuda Katz,
+Copyright 2008-2009 John Barnette,
+Aaron Patterson,
+Yehuda Katz,
Matthew Draper
Permission is hereby granted, free of charge, to any person obtaining
View
@@ -4,29 +4,26 @@ require "rake/extensiontask"
Hoe.plugin :debugging
-HOE = Hoe.spec "johnson" do |p|
- p.developer "John Barnette", "jbarnette@rubyforge.org"
- p.developer "Aaron Patterson", "aaron.patterson@gmail.com"
- p.developer "Yehuda Katz", "wycats@gmail.com"
- p.developer "Matthew Draper", "matthew@trebex.net"
-
- p.history_file = "CHANGELOG.rdoc"
- p.readme_file = "README.rdoc"
- p.summary = "Johnson wraps JavaScript in a loving Ruby embrace."
- p.description = "Johnson is a Ruby to JavaScript bridge."
- p.url = "http://github.com/jbarnette/johnson/wikis"
-
- p.extra_rdoc_files = [p.readme_file]
- p.test_globs = %w(test/**/*_test.rb)
-
- p.clean_globs << "lib/johnson/spidermonkey.bundle"
- p.clean_globs << "tmp"
- p.clean_globs << "vendor/spidermonkey/**/*.OBJ"
- p.clean_globs << "ext/**/*.{o,so,bundle,a,log}"
-
- p.extra_deps << "rake"
- p.extra_dev_deps << "rake-compiler"
- p.spec_extras = { :extensions => %w(Rakefile) }
+HOE = Hoe.spec "johnson" do
+ developer "John Barnette", "jbarnette@rubyforge.org"
+ developer "Aaron Patterson", "aaron.patterson@gmail.com"
+ developer "Yehuda Katz", "wycats@gmail.com"
+ developer "Matthew Draper", "matthew@trebex.net"
+
+ self.extra_rdoc_files = FileList["*.rdoc"]
+ self.history_file = "CHANGELOG.rdoc"
+ self.readme_file = "README.rdoc"
+ self.test_globs = %w(test/**/*_test.rb)
+
+ clean_globs << "lib/johnson/spidermonkey.bundle"
+ clean_globs << "tmp"
+ clean_globs << "vendor/spidermonkey/**/*.OBJ"
+ clean_globs << "ext/**/*.{o,so,bundle,a,log}"
+
+ # FIX: this crap needs to die
+ extra_deps << "rake"
+ extra_dev_deps << "rake-compiler"
+ self.spec_extras = { :extensions => %w(Rakefile) }
end
Rake::ExtensionTask.new "spidermonkey", HOE.spec do |ext|

0 comments on commit dc5b3bb

Please sign in to comment.