move to gemcutter

This commit is contained in:
Wlodek Bzyl 2009-10-19 21:07:23 +02:00
parent 09b091ec5c
commit ab96579781
8 changed files with 16 additions and 15 deletions

View File

@ -9,7 +9,7 @@ Gem *sinatra-static-assets* implements the following helpers methods:
To install it, run:
sudo gem install wbzyl-sinatra-static-assets -s http://gems.github.com
sudo gem install sinatra-static-assets -s http://gemcutter.com
All these methods are simple wrappers around the `url_for` method
from the [sinatra-url-for](http://github.com/emk/sinatra-url-for/) gem.
@ -117,7 +117,7 @@ The default value of *closed* option is `false`.
In order to use include the following in a Sinatra application:
gem 'wbzyl-sinatra-static-assets'
gem 'sinatra-static-assets'
require 'sinatra/static_assets'
Or, if subclassing `Sinatra::Base`, include helpers manually:
@ -125,7 +125,7 @@ Or, if subclassing `Sinatra::Base`, include helpers manually:
gem 'emk-sinatra-url-for'
require 'sinatra/url_for'
gem 'wbzyl-sinatra-static-assets'
gem 'sinatra-static-assets'
require 'sinatra/static_assets'
class Summer < Sinatra::Base

View File

@ -27,6 +27,7 @@ This Sinatra extensions provides following helper methods:
gemspec.rubyforge_project = 'sinatra-static-assets'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available."
puts "Install it with:"

View File

@ -1,4 +1,4 @@
---
:patch: 5
:major: 0
:minor: 2
:minor: 4
:patch: 0

View File

@ -2,7 +2,7 @@
require 'sinatra/base'
gem 'wbzyl-sinatra-static-assets'
gem 'sinatra-static-assets'
require 'sinatra/static_assets'
module Sinatra

View File

@ -2,7 +2,7 @@
require 'sinatra/base'
gem 'wbzyl-sinatra-static-assets'
gem 'sinatra-static-assets'
require 'sinatra/static_assets'
module Sinatra

View File

@ -2,7 +2,7 @@
require 'sinatra'
gem 'wbzyl-sinatra-static-assets'
gem 'sinatra-static-assets'
require 'sinatra/static_assets'
get "/?" do

View File

@ -3,7 +3,7 @@
require 'rubygems'
require 'sinatra'
gem 'wbzyl-sinatra-static-assets'
gem 'sinatra-static-assets'
require 'sinatra/static_assets'
get "/?" do

View File

@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{sinatra-static-assets}
s.version = "0.2.5"
s.version = "0.4.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Wlodek Bzyl"]
s.date = %q{2009-09-14}
s.date = %q{2009-10-19}
s.description = %q{This Sinatra extensions provides following helper methods:
- image_tag
- stylesheet_link_tag
@ -71,12 +71,12 @@ Gem::Specification.new do |s|
s.rubygems_version = %q{1.3.5}
s.summary = %q{Sinatra extension providing helper methods to output tags for static assetgemspec.}
s.test_files = [
"test/sinatra_app.rb",
"test/sinatra_static_assets_test.rb",
"test/sinatra_app.rb",
"examples/summer/summer.rb",
"examples/rsummer/summer.rb",
"examples/rwinter/winter.rb",
"examples/winter/winter.rb",
"examples/rsummer/summer.rb"
"examples/winter/winter.rb"
]
if s.respond_to? :specification_version then