Permalink
Browse files

Make machete a gem + release version 0.1.0

  • Loading branch information...
1 parent 1288cf5 commit d775e7cc18232b7cb13c688cd277aa1c0e1123ae @dmajda dmajda committed Jul 27, 2011
Showing with 35 additions and 349 deletions.
  1. +1 −0 .gitignore
  2. +1 −3 README.md
  3. +1 −0 VERSION
  4. +1 −0 lib/machete.rb
  5. +0 −346 lib/machete/parser.rb
  6. +3 −0 lib/machete/version.rb
  7. +28 −0 machete.gemspec
View
@@ -1,3 +1,4 @@
+lib/machete/parser.rb
doc/
.yardoc
*.rbc
View
@@ -8,9 +8,7 @@ Installation
You need to install [Rubinius](http://rubini.us/) first. You can then install Machete:
- $ git clone git://github.com/openSUSE/machete.git
-
-The library is not available as a gem yet (this will come soon hopefully).
+ $ gem install machete
Usage
-----
View
@@ -0,0 +1 @@
+0.1.0
View
@@ -1,5 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + "/machete/matchers")
require File.expand_path(File.dirname(__FILE__) + "/machete/parser")
+require File.expand_path(File.dirname(__FILE__) + "/machete/version")
module Machete
# Matches a Rubinius AST node against a pattern.
View
Oops, something went wrong.
View
@@ -0,0 +1,3 @@
+module Machete
+ VERSION = File.read(File.dirname(__FILE__) + "/../../VERSION").strip
+end
Oops, something went wrong.

0 comments on commit d775e7c

Please sign in to comment.