Permalink
Browse files

Gemify

  • Loading branch information...
1 parent 29be4a2 commit 1cc2b8358acb2dd71368d363956984d44302cf2a Matt Mongeau committed Dec 16, 2009
Showing with 80 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +26 −0 Rakefile
  3. +52 −0 presentable.gemspec
  4. +1 −1 test/test_helper.rb
View
@@ -0,0 +1 @@
+*.gem
View
@@ -0,0 +1,26 @@
+require 'rubygems'
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |g|
+ g.name = 'presentable'
+ g.summary = %(Making presenters easy and fun!)
+ g.description = %(Making presenters easy and fun!)
+ g.email = 'matt@toastyapps.com'
+ g.homepage = 'http://github.com/toastyapps/presentable'
+ g.authors = %w(toastyapps)
+ end
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts 'Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com'
+end
+
+Rake::TestTask.new do |t|
+ t.libs = %w(test)
+ t.pattern = 'test/**/*_test.rb'
+end
+
+task :default => :test
View
@@ -0,0 +1,52 @@
+# 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{presentable}
+ s.version = "0.0.1"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["toastyapps"]
+ s.date = %q{2009-12-16}
+ s.description = %q{Making presenters easy and fun!}
+ s.email = %q{matt@toastyapps.com}
+ s.files = [
+ "Readme.textile",
+ "VERSION",
+ "lib/presentable.rb",
+ "lib/presenter.rb",
+ "rails/init.rb",
+ "test/presenter_test.rb",
+ "test/presenters/post_presenter.rb",
+ "test/presenters/post_rss_presenter.rb",
+ "test/presenters/rss_presenter.rb",
+ "test/schema.rb",
+ "test/test_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/toastyapps/presentable}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Making presenters easy and fun!}
+ s.test_files = [
+ "test/presenter_test.rb",
+ "test/presenters/post_presenter.rb",
+ "test/presenters/post_rss_presenter.rb",
+ "test/presenters/rss_presenter.rb",
+ "test/schema.rb",
+ "test/test_helper.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
+
View
@@ -1,4 +1,4 @@
-$:.unshift(File.dirname(__FILE__) + '../lib')
+$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'test/unit'
require 'presentable'

0 comments on commit 1cc2b83

Please sign in to comment.