Permalink
Browse files

Remove Jeweler and (correctly) use Bundler to manage dependencies

  • Loading branch information...
1 parent e316444 commit 8269ce7c968942daad39b16981d344f25dba1c6d @jlecour jlecour committed Sep 25, 2010
Showing with 41 additions and 122 deletions.
  1. +1 −12 Gemfile
  2. +13 −11 Gemfile.lock
  3. +1 −30 Rakefile
  4. +0 −1 VERSION
  5. +21 −68 geokit-rails.gemspec
  6. +5 −0 lib/geokit-rails/version.rb
View
@@ -1,14 +1,3 @@
source :rubygems
-gem 'rails', '~> 3.0.0'
-
-gem 'geokit', '~> 1.5.0'
-
-group :development do
- gem "bundler", "~> 1.0.0"
- gem "jeweler", "~> 1.5.0.pre3"
- gem "rcov", ">= 0"
- gem "mocha", "~> 0.9.8"
-
- gem "mysql", "~> 2.8.1"
-end
+gemspec
View
@@ -1,3 +1,10 @@
+PATH
+ remote: .
+ specs:
+ geokit-rails (0.0.2)
+ geokit (~> 1.5.0)
+ rails (~> 3.0.0)
+
GEM
remote: http://rubygems.org/
specs:
@@ -34,13 +41,8 @@ GEM
erubis (2.6.6)
abstract (>= 1.0.0)
geokit (1.5.0)
- git (1.2.5)
i18n (0.4.1)
- jeweler (1.5.0.pre3)
- bundler (~> 1.0.0)
- git (>= 1.2.5)
- rake
- mail (2.2.5)
+ mail (2.2.6.1)
activesupport (>= 2.3.6)
mime-types
treetop (>= 1.4.5)
@@ -52,7 +54,7 @@ GEM
rack (1.2.1)
rack-mount (0.6.13)
rack (>= 1.0.0)
- rack-test (0.5.4)
+ rack-test (0.5.5)
rack (>= 1.0)
rails (3.0.0)
actionmailer (= 3.0.0)
@@ -68,8 +70,8 @@ GEM
rake (>= 0.8.4)
thor (~> 0.14.0)
rake (0.8.7)
- rcov (0.9.8)
- thor (0.14.0)
+ rcov (0.9.9)
+ thor (0.14.2)
treetop (1.4.8)
polyglot (>= 0.3.1)
tzinfo (0.3.23)
@@ -78,9 +80,9 @@ PLATFORMS
ruby
DEPENDENCIES
- bundler (~> 1.0.0)
+ bundler (>= 1.0.0)
geokit (~> 1.5.0)
- jeweler (~> 1.5.0.pre3)
+ geokit-rails!
mocha (~> 0.9.8)
mysql (~> 2.8.1)
rails (~> 3.0.0)
View
@@ -1,34 +1,5 @@
-require 'rubygems'
require 'bundler'
-
-begin
- Bundler.setup(:default, :development)
-rescue Bundler::BundlerError => e
- $stderr.puts e.message
- $stderr.puts "Run `bundle install` to install missing gems"
- exit e.status_code
-end
-require 'rake'
-
-require 'jeweler'
-Jeweler::Tasks.new do |gem|
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
- gem.name = "geokit-rails"
- gem.summary = %Q{Use Geokit with Rails 3}
- gem.description = %Q{Integrate Geokit with Rails 3}
- gem.email = ["andre@earthcode.com", "bill_eisenhauer@yahoo.com"]
- gem.homepage = 'http://github.com/andre/%s' % gem.name
- gem.authors = ["Andre Lewis", "Bill Eisenhauer", "Jeremy Lecour"]
- # Include your dependencies below. Runtime dependencies are required when using your gem,
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
- # spec.add_runtime_dependency 'jabber4r', '> 0.1'
- # spec.add_development_dependency 'rspec', '> 1.2.3'
- gem.add_runtime_dependency "rails", "~> 3.0.0"
- gem.add_development_dependency "bundler", "~> 1.0.0"
- gem.add_development_dependency "jeweler", "~> 1.5.0.pre3"
- gem.add_development_dependency "rcov", ">= 0"
-end
-Jeweler::RubygemsDotOrgTasks.new
+Bundler::GemHelper.install_tasks
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
View
@@ -1 +0,0 @@
-0.0.1
View
@@ -1,75 +1,28 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+require File.expand_path("../lib/geokit-rails/version", __FILE__)
Gem::Specification.new do |s|
- s.name = %q{geokit-rails}
- s.version = "0.0.1"
+ s.name = "geokit-rails"
+ s.version = Geokit::Rails::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Andre Lewis", "Bill Eisenhauer", "Jeremy Lecour"]
+ s.email = ["andre@earthcode.com", "bill_eisenhauer@yahoo.com", "jeremy.lecour@gmail.com"]
+ s.homepage = "http://rubygems.org/gems/test_gem"
+ s.summary = "Integrate Geokit with Rails 3"
+ s.description = "Integrate Geokit with Rails 3"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Andre Lewis", "Bill Eisenhauer", "Jeremy Lecour"]
- s.date = %q{2010-09-11}
- s.description = %q{Integrate Geokit with Rails 3}
- s.email = ["andre@earthcode.com", "bill_eisenhauer@yahoo.com"]
- s.extra_rdoc_files = [
- "README.markdown"
- ]
- s.files = [
- ".gitignore",
- "CHANGELOG.rdoc",
- "Gemfile",
- "Gemfile.lock",
- "MIT-LICENSE",
- "README.markdown",
- "Rakefile",
- "VERSION",
- "geokit-rails.gemspec",
- "lib/geokit-rails.rb",
- "lib/geokit-rails/acts_as_mappable.rb",
- "lib/geokit-rails/core_extensions.rb",
- "lib/geokit-rails/railtie.rb"
- ]
- s.homepage = %q{http://github.com/andre/geokit-rails}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Use Geokit with Rails 3}
+ s.required_rubygems_version = ">= 1.3.6"
+ # s.rubyforge_project = "test_gem"
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_runtime_dependency 'rails', '~> 3.0.0'
+ s.add_runtime_dependency 'geokit', '~> 1.5.0'
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
- s.add_runtime_dependency(%q<geokit>, ["~> 1.5.0"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.0.pre3"])
- s.add_development_dependency(%q<rcov>, [">= 0"])
- s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.0.pre3"])
- s.add_development_dependency(%q<rcov>, [">= 0"])
- else
- s.add_dependency(%q<rails>, ["~> 3.0.0"])
- s.add_dependency(%q<geokit>, ["~> 1.5.0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre3"])
- s.add_dependency(%q<rcov>, [">= 0"])
- s.add_dependency(%q<rails>, ["~> 3.0.0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre3"])
- s.add_dependency(%q<rcov>, [">= 0"])
- end
- else
- s.add_dependency(%q<rails>, ["~> 3.0.0"])
- s.add_dependency(%q<geokit>, ["~> 1.5.0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre3"])
- s.add_dependency(%q<rcov>, [">= 0"])
- s.add_dependency(%q<rails>, ["~> 3.0.0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre3"])
- s.add_dependency(%q<rcov>, [">= 0"])
- end
-end
+ s.add_development_dependency "bundler", ">= 1.0.0"
+ s.add_development_dependency "rcov", "~> 0.9.9"
+ s.add_development_dependency "mocha", "~> 0.9.8"
+ s.add_development_dependency "mysql", "~> 2.8.1"
+ s.files = `git ls-files`.split("\n")
+ s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
+ s.require_path = 'lib'
+end
@@ -0,0 +1,5 @@
+module Geokit
+ module Rails
+ VERSION = "0.0.2"
+ end
+end

0 comments on commit 8269ce7

Please sign in to comment.