From ab965797819c0f8d85685f05b00e081719fdadde Mon Sep 17 00:00:00 2001 From: Wlodek Bzyl Date: Mon, 19 Oct 2009 21:07:23 +0200 Subject: [PATCH] move to gemcutter --- README.markdown | 6 +++--- Rakefile | 1 + VERSION.yml | 4 ++-- examples/rsummer/summer.rb | 2 +- examples/rwinter/winter.rb | 2 +- examples/summer/summer.rb | 2 +- examples/winter/winter.rb | 2 +- sinatra-static-assets.gemspec | 12 ++++++------ 8 files changed, 16 insertions(+), 15 deletions(-) diff --git a/README.markdown b/README.markdown index 9e5e3e9..7decf05 100644 --- a/README.markdown +++ b/README.markdown @@ -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 diff --git a/Rakefile b/Rakefile index 1355d9f..74674a6 100644 --- a/Rakefile +++ b/Rakefile @@ -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:" diff --git a/VERSION.yml b/VERSION.yml index 9690255..040999c 100644 --- a/VERSION.yml +++ b/VERSION.yml @@ -1,4 +1,4 @@ --- -:patch: 5 :major: 0 -:minor: 2 +:minor: 4 +:patch: 0 diff --git a/examples/rsummer/summer.rb b/examples/rsummer/summer.rb index 00cf329..92af6ac 100644 --- a/examples/rsummer/summer.rb +++ b/examples/rsummer/summer.rb @@ -2,7 +2,7 @@ require 'sinatra/base' -gem 'wbzyl-sinatra-static-assets' +gem 'sinatra-static-assets' require 'sinatra/static_assets' module Sinatra diff --git a/examples/rwinter/winter.rb b/examples/rwinter/winter.rb index c9fd3e0..8de7a7f 100644 --- a/examples/rwinter/winter.rb +++ b/examples/rwinter/winter.rb @@ -2,7 +2,7 @@ require 'sinatra/base' -gem 'wbzyl-sinatra-static-assets' +gem 'sinatra-static-assets' require 'sinatra/static_assets' module Sinatra diff --git a/examples/summer/summer.rb b/examples/summer/summer.rb index 4c956da..2fecbd0 100644 --- a/examples/summer/summer.rb +++ b/examples/summer/summer.rb @@ -2,7 +2,7 @@ require 'sinatra' -gem 'wbzyl-sinatra-static-assets' +gem 'sinatra-static-assets' require 'sinatra/static_assets' get "/?" do diff --git a/examples/winter/winter.rb b/examples/winter/winter.rb index 073a8fd..3d95cca 100644 --- a/examples/winter/winter.rb +++ b/examples/winter/winter.rb @@ -3,7 +3,7 @@ require 'rubygems' require 'sinatra' -gem 'wbzyl-sinatra-static-assets' +gem 'sinatra-static-assets' require 'sinatra/static_assets' get "/?" do diff --git a/sinatra-static-assets.gemspec b/sinatra-static-assets.gemspec index 07486bc..616b479 100644 --- a/sinatra-static-assets.gemspec +++ b/sinatra-static-assets.gemspec @@ -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_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