Permalink
Browse files

Removed shoe dependency, using Bundler now

  • Loading branch information...
1 parent c46b1bc commit 299bc9b1d7eb03078bf1af79752ffc130c1c4981 @stevenh512 committed Dec 13, 2010
Showing with 16 additions and 16 deletions.
  1. +1 −4 Gemfile.lock
  2. +7 −6 Rakefile
  3. +8 −6 koala-rails.gemspec
View
5 Gemfile.lock
@@ -11,8 +11,6 @@ GEM
koala (0.9.1)
json
rake (0.8.7)
- shoe (0.7.1)
- rake (~> 0.8.7)
PLATFORMS
ruby
@@ -21,5 +19,4 @@ DEPENDENCIES
bundler (~> 1.0.7)
koala (~> 0.9.0)
koala-rails!
- rake
- shoe (~> 0.7.1)
+ rake (~> 0.8.7)
View
13 Rakefile
@@ -1,7 +1,8 @@
-# -*- encoding: utf-8 -*-
-require 'bundler'
-Bundler.setup
-require 'shoe'
-
-Shoe::Tasks.define('koala-rails.gemspec')
+require 'rubygems'
+begin
+ require 'bundler/setup'
+rescue LoadError
+ puts "You must 'gem install bundler' and 'bundle install' to run rake tasks"
+end
+Bundler::GemHelper.install_tasks
View
14 koala-rails.gemspec
@@ -1,13 +1,14 @@
# -*- encoding: utf-8 -*-
-require File.expand_path("../lib/koala-rails/version", __FILE__)
+$:.push File.expand_path("../lib", __FILE__)
+require "koala-rails/version"
Gem::Specification.new do |s|
s.name = "koala-rails"
s.version = KoalaRails::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Steven Hancock"]
s.email = ["stevenh512@gmail.com"]
- s.homepage = "http://github.com/stevenh512/koala-rails"
+ s.homepage = "https://github.com/stevenh512/koala-rails"
s.summary = "Installer and helpers for using Koala with Rails 3"
s.description = "Installer and helpers for using Koala with Rails 3"
@@ -20,12 +21,13 @@ Gem::Specification.new do |s|
s.add_dependency("koala", "~> 0.9.0")
s.add_development_dependency("bundler", "~> 1.0.7")
- s.add_development_dependency("rake")
- s.add_development_dependency("shoe", "~> 0.7.1")
+ s.add_development_dependency("rake", "~> 0.8.7")
# If you need to check in files that aren't .rb files, add them here
- s.files = Dir["{lib}/**/*.rb", "{lib}/**/*.tt", "LICENSE", "README.rdoc"]
- s.require_path = 'lib'
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
# If you need an executable, add it here
# s.executables = ["koala-rails"]

0 comments on commit 299bc9b

Please sign in to comment.