Skip to content

Commit

Permalink
update gemgem, Rakefile, and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
godfat committed Sep 27, 2013
1 parent 0a2934f commit e39ae80
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,2 +1,2 @@
pkg
/pkg/
*.rbc
24 changes: 10 additions & 14 deletions Rakefile
@@ -1,17 +1,13 @@

require "#{dir = File.dirname(__FILE__)}/task/gemgem"
Gemgem.dir = dir

($LOAD_PATH << File.expand_path("#{Gemgem.dir}/lib")).uniq!

desc 'Generate gemspec'
task 'gem:spec' do
Gemgem.spec = Gemgem.create do |s|
s.name = 'rack-handlers'
s.version = '0.7.0'

%w[rack].each{ |g| s.add_runtime_dependency(g) }
end
begin
require "#{dir = File.dirname(__FILE__)}/task/gemgem"
rescue LoadError
sh 'git submodule update --init'
exec Gem.ruby, '-S', $PROGRAM_NAME, *ARGV
end

Gemgem.write
Gemgem.init(dir) do |s|
s.name = 'rack-handlers'
s.version = '0.7.0'
%w[rack].each{ |g| s.add_runtime_dependency(g) }
end
5 changes: 3 additions & 2 deletions rack-handlers.gemspec
@@ -1,12 +1,13 @@
# -*- encoding: utf-8 -*-
# stub: rack-handlers 0.7.0 ruby lib

Gem::Specification.new do |s|
s.name = "rack-handlers"
s.version = "0.7.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Lin Jen-Shin (godfat)"]
s.date = "2013-08-23"
s.date = "2013-09-28"
s.description = "Unicorn family Rack handlers for you. Mostly for `rails s`."
s.email = ["godfat (XD) godfat.org"]
s.files = [
Expand All @@ -26,7 +27,7 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/godfat/rack-handlers"
s.licenses = ["Apache License 2.0"]
s.require_paths = ["lib"]
s.rubygems_version = "2.0.6"
s.rubygems_version = "2.1.5"
s.summary = "Unicorn family Rack handlers for you. Mostly for `rails s`."

if s.respond_to? :specification_version then
Expand Down
2 changes: 1 addition & 1 deletion task
Submodule task updated 1 files
+64 −64 gemgem.rb

0 comments on commit e39ae80

Please sign in to comment.