Skip to content

Commit

Permalink
add in basic gem structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdempsey committed Aug 9, 2010
1 parent 4900fc3 commit bdab3fd
Show file tree
Hide file tree
Showing 7 changed files with 114 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2010 Jack Dempsey
Copyright (c) 2009 Jack Dempsey

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
52 changes: 52 additions & 0 deletions Rakefile
@@ -0,0 +1,52 @@
require 'rubygems'
require 'rake'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "interested_people"
gem.summary = %Q{engine that handles mailing list type forms}
gem.description = %Q{TODO: engine that handles mailing list type forms. Aw yea.}
gem.email = "jack.dempsey@gmail.com"
gem.homepage = "http://github.com/jackdempsey/interested_people"
gem.authors = ["Jack Dempsey"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end

begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
rescue LoadError
task :rcov do
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
end
end

task :test => :check_dependencies

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "interested_people #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
1 change: 1 addition & 0 deletions VERSION
@@ -0,0 +1 @@
0.0.0
43 changes: 43 additions & 0 deletions interested_people.gemspec
@@ -0,0 +1,43 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{interested_people}
s.version = "0.0.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jack Dempsey"]
s.date = %q{2010-08-09}
s.description = %q{TODO: engine that handles mailing list type forms. Aw yea.}
s.email = %q{jack.dempsey@gmail.com}
s.extra_rdoc_files = [
"LICENSE",
"README.textile"
]
s.files = [
"LICENSE",
"README.textile"
]
s.homepage = %q{http://github.com/jackdempsey/interested_people}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{engine that handles mailing list type forms}
s.test_files = [
"test/helper.rb",
"test/test_interested_people.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
else
end
else
end
end

Empty file added lib/interested_people.rb
Empty file.
10 changes: 10 additions & 0 deletions test/helper.rb
@@ -0,0 +1,10 @@
require 'rubygems'
require 'test/unit'
require 'shoulda'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'interested_people'

class Test::Unit::TestCase
end
7 changes: 7 additions & 0 deletions test/test_interested_people.rb
@@ -0,0 +1,7 @@
require 'helper'

class TestInterestedPeople < Test::Unit::TestCase
should "probably rename this file and start testing for real" do
flunk "hey buddy, you should probably rename this file and start testing for real"
end
end

0 comments on commit bdab3fd

Please sign in to comment.