Permalink
Browse files

Ditch use of Jeweler.

  • Loading branch information...
1 parent a41e6af commit 725b10389df60b808b8f954a4351c30c85d67073 @mdub committed Jul 12, 2010
Showing with 18 additions and 55 deletions.
  1. +0 −2 Rakefile
  2. +18 −53 sham_rack.gemspec
View
@@ -1,8 +1,6 @@
require "rubygems"
require "rake"
-require File.dirname(__FILE__) + "/lib/sham_rack/version.rb"
-
require "spec/rake/spectask"
task "default" => "spec"
View
@@ -1,58 +1,23 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
-# -*- encoding: utf-8 -*-
+$: << File.expand_path("../lib", __FILE__)
+require "sham_rack/version"
-Gem::Specification.new do |s|
- s.name = %q{sham_rack}
- s.version = "1.3.0"
+Gem::Specification.new do |gem|
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Mike Williams"]
- s.date = %q{2010-03-11}
- s.description = %q{ShamRack plumbs Net::HTTP directly into Rack, for quick and easy HTTP testing.}
- s.email = %q{mdub@dogbiscuit.org}
- s.extra_rdoc_files = [
- "README.markdown"
- ]
- s.files = [
- ".gitignore",
- "CHANGES.markdown",
- "README.markdown",
- "Rakefile",
- "benchmark/benchmark.rb",
- "benchmark/hello_app.rb",
- "lib/sham_rack.rb",
- "lib/sham_rack/core_ext/net/http.rb",
- "lib/sham_rack/http.rb",
- "lib/sham_rack/registry.rb",
- "lib/sham_rack/stub_web_service.rb",
- "lib/sham_rack/version.rb",
- "sham_rack.gemspec",
- "spec/sham_rack/stub_web_service_spec.rb",
- "spec/sham_rack_spec.rb",
- "spec/spec_helper.rb"
- ]
- s.homepage = %q{http://github.com/mdub/sham_rack}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubyforge_project = %q{shamrack}
- s.rubygems_version = %q{1.3.5}
- s.summary = %q{Net::HTTP-to-Rack plumbing}
- s.test_files = [
- "spec/sham_rack/stub_web_service_spec.rb",
- "spec/sham_rack_spec.rb",
- "spec/spec_helper.rb"
- ]
+ gem.name = "sham_rack"
+ gem.summary = "Net::HTTP-to-Rack plumbing"
+ gem.description = "ShamRack plumbs Net::HTTP directly into Rack, for quick and easy HTTP testing."
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ gem.homepage = "http://github.com/mdub/sham_rack"
+ gem.authors = ["Mike Williams"]
+ gem.email = "mdub@dogbiscuit.org"
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- else
- end
- else
- end
-end
+ gem.rubyforge_project = "shamrack"
+
+ gem.version = ShamRack::VERSION
+ gem.platform = Gem::Platform::RUBY
+ gem.require_path = "lib"
+ gem.files = Dir["lib/**/*", "README.markdown", "CHANGES.markdown"]
+ gem.test_files = Dir["spec/**/*", "Rakefile", "benchmark/**/*"]
+
+end

0 comments on commit 725b103

Please sign in to comment.