Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have to do a few things here. First, encoding pragmas. Second, we move to minitest from test-spec which went belly-up when it has acquired bacon-its-evil-twin. Third, we introduce Bundler into the mix and let the updated Jeweler use it. The whole shebang should still work on 1.8.7 which we cannot guarantee yet due to a botched sqlite3 dependency, but this is something we are going to fix very soon. Tests green on 1.9.3-p0 with Rails 3.1
- Loading branch information
Showing
10 changed files
with
135 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
coverage | ||
rdoc | ||
pkg | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
source "http://rubygems.org" | ||
|
||
group :development do | ||
gem "minitest", :require => %w( minitest/spec minitest/autorun ) | ||
gem "mocha" | ||
gem 'sqlite3' | ||
gem "rails", "3.1", :require => %w( active_support active_record action_view ) | ||
gem "jeweler" | ||
gem "rake" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# -*- encoding : utf-8 -*- | ||
require 'peiji_san' | ||
require 'peiji_san/view_helper' | ||
require 'peiji_san/view_helper' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,68 @@ | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{peiji-san} | ||
s.version = "0.1.1" | ||
s.version = "1.0.0" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Eloy Duran"] | ||
s.date = %q{2009-03-09} | ||
s.date = %q{2012-01-20} | ||
s.description = %q{PeijiSan is a Rails plugin which uses named scopes to create a thin pagination layer.} | ||
s.email = %q{eloy.de.enige@gmail.com} | ||
s.extra_rdoc_files = ["README.rdoc", "LICENSE"] | ||
s.files = ["lib", "lib/peiji_san", "lib/peiji_san/view_helper.rb", "lib/peiji_san.rb", "LICENSE", "peiji-san.gemspec", "rails", "rails/init.rb", "Rakefile", "README.rdoc", "test", "test/peiji_san_test.rb", "test/test_helper.rb", "test/view_helper_test.rb", "VERSION.yml"] | ||
s.has_rdoc = true | ||
s.extra_rdoc_files = [ | ||
"LICENSE", | ||
"README.rdoc", | ||
"TODO" | ||
] | ||
s.files = [ | ||
"Gemfile", | ||
"Gemfile.lock", | ||
"LICENSE", | ||
"README.rdoc", | ||
"Rakefile", | ||
"TODO", | ||
"VERSION.yml", | ||
"init.rb", | ||
"lib/peiji_san.rb", | ||
"lib/peiji_san/view_helper.rb", | ||
"peiji-san.gemspec", | ||
"test/peiji_san_test.rb", | ||
"test/test_helper.rb", | ||
"test/view_helper_test.rb" | ||
] | ||
s.homepage = %q{http://github.com/Fingertips/peiji-san} | ||
s.rdoc_options = ["--inline-source", "--charset=UTF-8"] | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = %q{1.3.1} | ||
s.rubygems_version = %q{1.6.2} | ||
s.summary = %q{PeijiSan is a Rails plugin which uses named scopes to create a thin pagination layer.} | ||
|
||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 2 | ||
s.specification_version = 3 | ||
|
||
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then | ||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_development_dependency(%q<minitest>, [">= 0"]) | ||
s.add_development_dependency(%q<mocha>, [">= 0"]) | ||
s.add_development_dependency(%q<sqlite3>, [">= 0"]) | ||
s.add_development_dependency(%q<rails>, ["= 3.1"]) | ||
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"]) | ||
s.add_development_dependency(%q<rake>, [">= 0"]) | ||
else | ||
s.add_dependency(%q<minitest>, [">= 0"]) | ||
s.add_dependency(%q<mocha>, [">= 0"]) | ||
s.add_dependency(%q<sqlite3>, [">= 0"]) | ||
s.add_dependency(%q<rails>, ["= 3.1"]) | ||
s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) | ||
s.add_dependency(%q<rake>, [">= 0"]) | ||
end | ||
else | ||
s.add_dependency(%q<minitest>, [">= 0"]) | ||
s.add_dependency(%q<mocha>, [">= 0"]) | ||
s.add_dependency(%q<sqlite3>, [">= 0"]) | ||
s.add_dependency(%q<rails>, ["= 3.1"]) | ||
s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) | ||
s.add_dependency(%q<rake>, [">= 0"]) | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.