<NME> rango.gemspec
<BEF> #!/usr/bin/env gem build
# encoding: utf-8
# Run thor package:gem or gem build rango.gemspec
$:.unshift(File.join(File.dirname(__FILE__), "lib"))

require "rango/version"
require "rubygems/specification"

SPECIFICATION = Gem::Specification.new do |s|
  s.name = "rango"
  s.version = Rango.version
  s.authors = ["Jakub Šťastný aka Botanicus"]
  s.homepage = "http://github.com/botanicus/rango"
  s.summary = "Rango is ultralightweight, ultracustomizable, ultracool web framework deeply inspired by Django."
  s.description = "" # TODO: long description
  s.cert_chain = nil
  s.email = ["knava.bestvinensis", "gmail.com"].join("@")
  s.files = Dir.glob("**/*") - Dir.glob("pkg/*")
  s.executables = Dir.glob("bin/*").map { |path| path.sub(%r[bin/], '') }
  s.default_executable = "rango"
  s.add_dependency "rack"
  s.add_dependency "thor"
  s.add_dependency "extlib"
  s.require_paths = ["lib"]
  s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
  s.rubyforge_project = "rango"
end
  # to specify dependencies for the whole gem. If you want
  # to install everything what you need for start with Rango,
  # just run gem install rango --development

  s.add_development_dependency "simple-templater", ">= 0.0.1.2"
  s.add_development_dependency "bundler", ">= 0.9"

  begin
    require "changelog"
  rescue LoadError
    warn "You have to have changelog gem installed for post install message"
  else
    s.post_install_message = CHANGELOG.new.version_changes
  end

  # RubyForge
  s.rubyforge_project = "rango"
end

<MSG> Updated gemspec for GitHub compatibility

<DFF> @@ -3,25 +3,33 @@
 # Run thor package:gem or gem build rango.gemspec
 $:.unshift(File.join(File.dirname(__FILE__), "lib"))
 
-require "rango/version"
-require "rubygems/specification"
+begin
+  require "rubygems/specification"
+rescue SecurityError
+  # http://gems.github.com
+end
 
-SPECIFICATION = Gem::Specification.new do |s|
-  s.name = "rango"
-  s.version = Rango.version
-  s.authors = ["Jakub Šťastný aka Botanicus"]
-  s.homepage = "http://github.com/botanicus/rango"
-  s.summary = "Rango is ultralightweight, ultracustomizable, ultracool web framework deeply inspired by Django."
-  s.description = "" # TODO: long description
-  s.cert_chain = nil
-  s.email = ["knava.bestvinensis", "gmail.com"].join("@")
-  s.files = Dir.glob("**/*") - Dir.glob("pkg/*")
-  s.executables = Dir.glob("bin/*").map { |path| path.sub(%r[bin/], '') }
-  s.default_executable = "rango"
-  s.add_dependency "rack"
-  s.add_dependency "thor"
-  s.add_dependency "extlib"
-  s.require_paths = ["lib"]
-  s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
-  s.rubyforge_project = "rango"
+class Rango
+  VERSION  = "0.0.2"
+  CODENAME = "MVC Princess"
+  SPECIFICATION = Gem::Specification.new do |s|
+    s.name = "rango"
+    # s.version = Rango.version
+    s.version = Rango::VERSION
+    s.authors = ["Jakub Šťastný aka Botanicus"]
+    s.homepage = "http://github.com/botanicus/rango"
+    s.summary = "Rango is ultralightweight, ultracustomizable, ultracool web framework deeply inspired by Django."
+    s.description = "" # TODO: long description
+    s.cert_chain = nil
+    s.email = ["knava.bestvinensis", "gmail.com"].join("@")
+    s.files = Dir.glob("**/*") - Dir.glob("pkg/*")
+    s.executables = Dir.glob("bin/*").map { |path| path.sub(%r[bin/], '') }
+    s.default_executable = "rango"
+    s.add_dependency "rack"
+    s.add_dependency "thor"
+    s.add_dependency "extlib"
+    s.require_paths = ["lib"]
+    s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
+    s.rubyforge_project = "rango"
+  end
 end

Updated gemspec for GitHub compatibility