Permalink
Browse files

from jeweler to bundler

because combination of gemspec method and jeweler task caused circular dependency in the generated metadata
  • Loading branch information...
1 parent 834dcab commit 74736637c8e4066d203d6538d14c650760f9c796 @amatsuda amatsuda committed Apr 19, 2011
Showing with 38 additions and 413 deletions.
  1. +4 −42 .gitignore
  2. +3 −0 Gemfile
  3. +0 −147 Gemfile.lock
  4. +3 −47 Rakefile
  5. +0 −1 VERSION
  6. +27 −174 kaminari.gemspec
  7. +0 −1 lib/kaminari.rb
  8. +1 −1 lib/kaminari/version.rb
View
@@ -1,45 +1,7 @@
-# rcov generated
-coverage
-
-# rdoc generated
-rdoc
-
-# yard generated
-doc
-.yardoc
-
-# bundler
+*.gem
.bundle
+Gemfile.lock
+pkg/*
-# jeweler generated
-pkg
-
-# log
+doc
log
-
-# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
-#
-# * Create a file at ~/.gitignore
-# * Include files you want ignored
-# * Run: git config --global core.excludesfile ~/.gitignore
-#
-# After doing this, these files will be ignored in all your git projects,
-# saving you from having to 'pollute' every project you touch with them
-#
-# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
-#
-# For MacOS:
-#
-#.DS_Store
-#
-# For TextMate
-#*.tmproj
-#tmtags
-#
-# For emacs:
-#*~
-#\#*
-#.\#*
-#
-# For vim:
-#*.swp
View
@@ -1 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in kaminari.gemspec
gemspec
View
@@ -1,147 +0,0 @@
-PATH
- remote: .
- specs:
- kaminari (0.11.0)
- kaminari
-
-GEM
- specs:
- abstract (1.0.0)
- actionmailer (3.0.7)
- actionpack (= 3.0.7)
- mail (~> 2.2.15)
- actionpack (3.0.7)
- activemodel (= 3.0.7)
- activesupport (= 3.0.7)
- builder (~> 2.1.2)
- erubis (~> 2.6.6)
- i18n (~> 0.5.0)
- rack (~> 1.2.1)
- rack-mount (~> 0.6.14)
- rack-test (~> 0.5.7)
- tzinfo (~> 0.3.23)
- activemodel (3.0.7)
- activesupport (= 3.0.7)
- builder (~> 2.1.2)
- i18n (~> 0.5.0)
- activerecord (3.0.7)
- activemodel (= 3.0.7)
- activesupport (= 3.0.7)
- arel (~> 2.0.2)
- tzinfo (~> 0.3.23)
- activeresource (3.0.7)
- activemodel (= 3.0.7)
- activesupport (= 3.0.7)
- activesupport (3.0.7)
- arel (2.0.9)
- bson (1.3.0)
- builder (2.1.2)
- capybara (0.4.1.2)
- celerity (>= 0.7.9)
- culerity (>= 0.2.4)
- mime-types (>= 1.16)
- nokogiri (>= 1.3.3)
- rack (>= 1.0.0)
- rack-test (>= 0.5.4)
- selenium-webdriver (>= 0.0.27)
- xpath (~> 0.1.3)
- celerity (0.8.9)
- childprocess (0.1.8)
- ffi (~> 1.0.6)
- culerity (0.2.15)
- database_cleaner (0.6.6)
- diff-lcs (1.1.2)
- erubis (2.6.6)
- abstract (>= 1.0.0)
- ffi (1.0.7)
- rake (>= 0.8.7)
- git (1.2.5)
- i18n (0.5.0)
- jeweler (1.5.2)
- bundler (~> 1.0.0)
- git (>= 1.2.5)
- rake
- json_pure (1.5.1)
- mail (2.2.17)
- activesupport (>= 2.3.6)
- i18n (>= 0.4.0)
- mime-types (~> 1.16)
- treetop (~> 1.4.8)
- mime-types (1.16)
- mongo (1.3.0)
- bson (>= 1.3.0)
- mongoid (2.0.1)
- activemodel (~> 3.0)
- mongo (~> 1.3)
- tzinfo (~> 0.3.22)
- will_paginate (~> 3.0.pre)
- nokogiri (1.4.4)
- polyglot (0.3.1)
- rack (1.2.2)
- rack-mount (0.6.14)
- rack (>= 1.0.0)
- rack-test (0.5.7)
- rack (>= 1.0)
- rails (3.0.7)
- actionmailer (= 3.0.7)
- actionpack (= 3.0.7)
- activerecord (= 3.0.7)
- activeresource (= 3.0.7)
- activesupport (= 3.0.7)
- bundler (~> 1.0)
- railties (= 3.0.7)
- railties (3.0.7)
- actionpack (= 3.0.7)
- activesupport (= 3.0.7)
- rake (>= 0.8.7)
- thor (~> 0.14.4)
- rake (0.8.7)
- rcov (0.9.9)
- rr (1.0.2)
- rspec (2.5.0)
- rspec-core (~> 2.5.0)
- rspec-expectations (~> 2.5.0)
- rspec-mocks (~> 2.5.0)
- rspec-core (2.5.1)
- rspec-expectations (2.5.0)
- diff-lcs (~> 1.1.2)
- rspec-mocks (2.5.0)
- rspec-rails (2.5.0)
- actionpack (~> 3.0)
- activesupport (~> 3.0)
- railties (~> 3.0)
- rspec (~> 2.5.0)
- rubyzip (0.9.4)
- selenium-webdriver (0.1.4)
- childprocess (>= 0.1.7)
- ffi (>= 1.0.7)
- json_pure
- rubyzip
- sqlite3 (1.3.3)
- steak (1.1.0)
- rspec (>= 1.3)
- thor (0.14.6)
- treetop (1.4.9)
- polyglot (>= 0.3.1)
- tzinfo (0.3.26)
- will_paginate (3.0.pre2)
- xpath (0.1.3)
- nokogiri (~> 1.3)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- bundler (>= 1.0.0)
- capybara
- database_cleaner
- jeweler
- kaminari!
- mongoid (>= 2)
- rails (>= 3.0.0)
- rcov
- rr
- rspec
- rspec-rails
- sqlite3
- steak
View
@@ -1,66 +1,22 @@
# encoding: utf-8
-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 = "kaminari"
- gem.homepage = "http://github.com/amatsuda/kaminari"
- gem.license = "MIT"
- gem.summary = 'A pagination engine plugin for Rails 3'
- gem.description = 'Kaminari is a Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Rails 3'
- gem.email = "ronnie@dio.jp"
- gem.authors = ["Akira Matsuda"]
- # 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)
- gem.add_development_dependency 'rails', '>= 3.0.0'
- gem.add_development_dependency 'bundler', '>= 1.0.0'
- gem.add_development_dependency 'sqlite3'
- gem.add_development_dependency 'mongoid', '>= 2'
- gem.add_development_dependency 'rspec'
- gem.add_development_dependency 'rspec-rails'
- gem.add_development_dependency 'rr'
- gem.add_development_dependency 'steak'
- gem.add_development_dependency 'capybara'
- gem.add_development_dependency 'database_cleaner'
- gem.add_development_dependency 'rcov'
- gem.add_development_dependency 'jeweler'
-end
-Jeweler::RubygemsDotOrgTasks.new
+Bundler::GemHelper.install_tasks
require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
-RSpec::Core::RakeTask.new(:rcov) do |spec|
- spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
-end
-
task :default => :spec
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
+ require 'kaminari/version'
rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "kaminari #{version}"
+ rdoc.title = "kaminari #{Kaminari::VERSION}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
-
-task :test do
- Rake::Task[:spec].invoke
-end
View
@@ -1 +0,0 @@
-0.11.0
Oops, something went wrong.

0 comments on commit 7473663

Please sign in to comment.