Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Install dependencies with Isolate.

  • Loading branch information...
commit 8ef468572678c9eef4fb90942d061431397eeca9 1 parent 371124c
@topfunky authored
View
1  .gitignore
@@ -0,0 +1 @@
+tmp/*
View
6 Isolate
@@ -0,0 +1,6 @@
+
+env :development, :test do
+ gem "hoe"
+ gem "rspec", "1.3.0"
+end
+
View
16 Rakefile
@@ -1,19 +1,11 @@
require 'rubygems'
+require 'isolate/now'
+
require 'hoe'
require './lib/tidy_table.rb'
-Hoe.new('tidy_table', TidyTable::VERSION) do |p|
- p.rubyforge_name = 'seattlerb'
- p.author = 'Geoffrey Grosenbach'
- p.email = 'boss AT topfunky.com'
- p.summary = 'Yet another library for converting a struct into an HTML table.'
- p.description = p.paragraphs_of('README.txt', 0..1).join("\n\n")
- p.url = "http://rubyforge.org/projects/seattlerb"
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
-end
+Hoe.spec 'tidy_table' do
+ developer('Geoffrey Grosenbach', 'boss@topfunky.com')
-desc "Test task (actually runs specs)"
-task "test" do
- system "spec --format specdoc --color spec"
end
View
1  spec/spec_helper.rb
@@ -1,5 +1,6 @@
require 'rubygems'
+require 'isolate/now'
require 'spec'
require File.dirname(__FILE__) + "/../lib/tidy_table"
View
2  spec/tidy_table_spec.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/spec_helper'
+require 'spec_helper'
class RecordStruct < Struct.new(:title, :description); end
Please sign in to comment.
Something went wrong with that request. Please try again.