Permalink
Browse files

Initial setup tweaks.

  • Loading branch information...
1 parent d62d2b7 commit d510285162e7dfd25cf4469398341b3300045fd8 @knaveofdiamonds committed May 9, 2012
Showing with 8 additions and 24 deletions.
  1. +3 −3 .gitignore
  2. +0 −5 Gemfile
  3. +1 −1 README.rdoc
  4. +0 −8 Rakefile
  5. +2 −5 test/helper.rb
  6. +2 −2 test/test_pompom.rb
View
6 .gitignore
@@ -2,9 +2,6 @@
coverage
coverage.data
-# rdoc generated
-rdoc
-
# yard generated
doc
.yardoc
@@ -15,6 +12,9 @@ doc
# jeweler generated
pkg
+# This is a gem, don't check in Gemfile.lock
+Gemfile.lock
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
#
# * Create a file at ~/.gitignore
View
5 Gemfile
@@ -1,15 +1,10 @@
source "http://rubygems.org"
-# Add dependencies required to use your gem here.
-# Example:
-# gem "activesupport", ">= 2.3.5"
# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
gem "minitest", ">= 0"
gem "yard", "~> 0.7"
- gem "rdoc", "~> 3.12"
gem "bundler", "~> 1.0.0"
gem "jeweler", "~> 1.8.3"
- gem "rcov", ">= 0"
end
View
2 README.rdoc
@@ -1,6 +1,6 @@
= pompom
-Description goes here.
+A command line pomodoro timer.
== Contributing to pompom
View
8 Rakefile
@@ -32,14 +32,6 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- test.rcov_opts << '--exclude "gems/*"'
-end
-
task :default => :test
require 'yard'
View
7 test/helper.rb
@@ -7,13 +7,10 @@
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
-require 'minitest/unit'
+require 'minitest/spec'
+require 'minitest/autorun'
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'pompom'
-class MiniTest::Unit::TestCase
-end
-
-MiniTest::Unit.autorun
View
4 test/test_pompom.rb
@@ -1,7 +1,7 @@
require 'helper'
-class TestPompom < MiniTest::Unit::TestCase
- def test_something_for_real
+describe "Pompom" do
+ it "should work" do
flunk "hey buddy, you should probably rename this file and start testing for real"
end
end

0 comments on commit d510285

Please sign in to comment.