Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

convert to Tumbler

  • Loading branch information...
commit 295e6a2895f9a6e862de78a8fe68bdfd7848b749 1 parent 2868044
@joshbuddy authored
View
0  CHANGELOG
No changes.
View
1  Gemfile
@@ -8,4 +8,5 @@ group :development do
gem 'rake'
gem 'sinatra'
gem 'rbench'
+ gem 'tumbler', ">= 0.0.6"
end
View
26 Gemfile.lock
@@ -1,13 +1,17 @@
---
dependencies:
+ url_mount:
+ group:
+ - :default
+ version: ">= 0.2.1"
rake:
group:
- :development
version: ">= 0"
- url_mount:
+ tumbler:
group:
- - :default
- version: ">= 0.2.1"
+ - :development
+ version: ">= 0.0.6"
rspec:
group:
- :development
@@ -27,17 +31,29 @@ dependencies:
specs:
- rake:
version: 0.8.7
+- blockenspiel:
+ version: 0.3.3
+- bundler:
+ version: 0.9.26
+- callsite:
+ version: 0.0.2
+- json:
+ version: 1.4.3
- rack:
- version: 1.1.0
+ version: 1.2.1
- rbench:
version: 0.2.3
- rspec:
version: 1.3.0
- sinatra:
version: "1.0"
+- versionomy:
+ version: 0.4.0
+- tumbler:
+ version: 0.0.6
- url_mount:
version: 0.2.1
-hash: 31358295b6fc19c69280f917c4fa3db0d1a7d48d
+hash: 3e1dfdbf9cd7a55dc9a4751d1e8eb4d3b65bd7da
sources:
- Rubygems:
uri: http://gemcutter.org
View
6 Rakefile
@@ -20,3 +20,9 @@ Rake::RDocTask.new do |rd|
rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
rd.rdoc_dir = 'rdoc'
end
+
+
+# automatically added Tumbler tasks
+
+require 'tumbler'
+Tumbler.use_rake_tasks
View
4 Tumbler
@@ -0,0 +1,4 @@
+gem_name "http_router"
+
+version_file 'lib/http_router/version.rb'
+changelog_file "CHANGELOG"
View
1  VERSION
@@ -1 +0,0 @@
-0.2.4
View
19 http_router.gemspec
@@ -1,28 +1,27 @@
# -*- encoding: utf-8 -*-
+require 'tumbler/gemspec'
+
Gem::Specification.new do |s|
- s.name = %q{http_router}
- s.version = File.read(File.join(File.dirname(__FILE__), 'VERSION')).strip
+ s.name = Tumbler::Gemspec.name
+ s.version = Tumbler::Gemspec.version
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Joshua Hull"]
- s.date = %q{2010-05-30}
+ s.date = Tumbler::Gemspec.date
s.description = %q{A kick-ass HTTP router for use in Rack & Sinatra}
s.email = %q{joshbuddy@gmail.com}
- s.extra_rdoc_files = [
- "README.rdoc"
- ]
- s.files = `git ls-files`.split("\n")
+ s.extra_rdoc_files = Tumbler::Gemspec.files('README.rdoc')
+ s.files = Tumbler::Gemspec.files
s.homepage = %q{http://github.com/joshbuddy/http_router}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{A kick-ass HTTP router for use in Rack & Sinatra}
- s.test_files = `git ls-files spec`.split("\n")
+ s.test_files = Tumbler::Gemspec.files(/^spec/)
# dependencies
- s.add_dependency "rack", ">= 1.0.0"
- s.add_dependency "url_mount", ">=0.2"
+ Tumbler::Gemspec.inject_dependencies(s)
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
View
1  lib/http_router.rb
@@ -12,6 +12,7 @@
require 'http_router/path'
require 'http_router/optional_compiler'
require 'http_router/parts'
+require 'http_router/version'
class HttpRouter
# Raised when a Route is not able to be generated.
View
4 lib/http_router/version.rb
@@ -0,0 +1,4 @@
+# encoding: utf-8
+class HttpRouter #:nodoc
+ VERSION = '0.2.4'
+end
Please sign in to comment.
Something went wrong with that request. Please try again.