Permalink
Browse files

add in basic gem structure

  • Loading branch information...
1 parent 4900fc3 commit bdab3fdbe93f045e676f2fd4fe1e152903154754 @jackdempsey committed Aug 9, 2010
Showing with 114 additions and 1 deletion.
  1. +1 −1 LICENSE
  2. +52 −0 Rakefile
  3. +1 −0 VERSION
  4. +43 −0 interested_people.gemspec
  5. 0 lib/interested_people.rb
  6. +10 −0 test/helper.rb
  7. +7 −0 test/test_interested_people.rb
View
@@ -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
View
@@ -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
View
@@ -0,0 +1 @@
+0.0.0
View
@@ -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
+
View
No changes.
View
@@ -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
@@ -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.