Permalink
Browse files

Merge pull request #1 from tlehman/update_gem

Update gem spec to use gem/package_task and use rvm/rbx
  • Loading branch information...
2 parents c663b32 + 4ef0863 commit 8ca0532ef5ce2447510f9cf65de2c6a833787817 ezmobius committed Oct 27, 2013
Showing with 17 additions and 7 deletions.
  1. +3 −0 .gitignore
  2. +1 −0 .rvmrc
  3. +6 −1 README
  4. +5 −5 Rakefile
  5. +2 −1 bin/ez-scheme
View
@@ -0,0 +1,3 @@
+pkg/*
+.DS_store
+.rbx
View
1 .rvmrc
@@ -0,0 +1 @@
+rvm use rbx-head
View
7 README
@@ -9,4 +9,9 @@ to rubinius bytecode that can run directly on the rbx vm.
Loosely based/ported from bobscheme by Eli Bendersky
-released into the public domain
+released into the public domain
+
+ez-scheme has been updated to use the non-deprecated 'rubygems/package_task'
+instead of 'rake/gempackagetask'
+
+_Also, Rubinius is used by default if RVM is installed_
View
@@ -1,14 +1,14 @@
require 'rubygems'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
require 'rake/testtask'
$:.unshift File.join(File.dirname(__FILE__), 'lib')
GEM = 'ez-scheme'
GEM_NAME = 'ez-scheme'
-GEM_VERSION = '0.0.2'
-AUTHORS = ['Ezra Zygmuntowicz']
-EMAIL = "ez@vmware.com"
+GEM_VERSION = '0.0.3'
+AUTHORS = ['Ezra Zygmuntowicz', 'Tobi Lehman']
+EMAIL = ["ez@vmware.com", "tobi.lehman@gmail.com"]
HOMEPAGE = "http://github.com/ezmobius/ez-scheme"
SUMMARY = "Scheme interpreter and bytecode compiler for the rubinius VM"
@@ -30,6 +30,6 @@ spec = Gem::Specification.new do |s|
s.files = %w(Rakefile) + Dir.glob("{lib,bin}/**/*")
end
-Rake::GemPackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
View
@@ -1,8 +1,9 @@
+#!/usr/bin/env ruby
require 'ez-scheme/interpreter'
if file = ARGV[0]
inp = IO.read(file)
interactive_interpreter(interpret_code(inp))
else
interactive_interpreter()
-end
+end

0 comments on commit 8ca0532

Please sign in to comment.