adds jewlers work

This commit is contained in:
Torsten Ruger 2014-06-04 19:47:55 +03:00
parent 15aebb166b
commit 7cc269be52
4 changed files with 14 additions and 25 deletions

View File

@ -1,14 +1,11 @@
source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"
gem "parslet"
# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
gem "shoulda", ">= 0"
gem "rdoc", "~> 3.12"
gem "bundler", "~> 1.0"
gem "jeweler", "~> 2.0.1"
gem "simplecov", ">= 0"
end

View File

@ -16,9 +16,12 @@ Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
gem.name = "crystal-reader"
gem.homepage = "http://github.com/ruby-in-ruby/crystal-reader"
gem.license = "MIT"
gem.summary = %Q{TODO: one-line summary of your gem}
gem.description = %Q{TODO: longer description of your gem}
gem.license = "GPL3"
gem.summary = %Q{Parse ruby in ruby using parslet.}
gem.description = %Q{Crystal reader is part of the crystal vm. The reader reads (parses) ruby and
creates an ast from it. There are no other dependencies than parslet, which itself has hardly any.
The gem may be useful for code analysis tools or for education.
Two ways to use it include adding functions to each of the AST classes, or using a visitor patter.}
gem.email = "torsten@villataika.fi"
gem.authors = ["Torsten Ruger"]
# dependencies defined in Gemfile

View File

@ -1,19 +1,5 @@
require 'simplecov'
module SimpleCov::Configuration
def clean_filters
@filters = []
end
end
SimpleCov.configure do
clean_filters
load_adapter 'test_frameworks'
end
ENV["COVERAGE"] && SimpleCov.start do
add_filter "/.rvm/"
end
require 'rubygems'
require 'bundler'
begin
@ -28,7 +14,10 @@ require 'shoulda'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'crystal-reader'
require 'parser'
require "minitest/autorun"
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'test'))
class Test::Unit::TestCase
end