Skip to content

Commit

Permalink
Rename to dm-is-page-by-page
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
  • Loading branch information
myabc committed Jan 23, 2010
1 parent a012e6e commit 20a937c
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 34 deletions.
6 changes: 3 additions & 3 deletions README.markdown
@@ -1,11 +1,11 @@
dm-is-paginated
dm-is-page-by-page
---------------

http://dm-is-paginated.rubyforge.org
http://github.com/myabc/dm-is-page-by-page

## DESCRIPTION:

dm-is-paginated is a simple pagination plugin for DataMapper.
dm-is-page-by-page is a simple pagination plugin for DataMapper.

See the website for more details.

Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -4,11 +4,11 @@ require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'dm-is-paginated'
gem.name = 'dm-is-page-by-page'
gem.summary = %Q{A simple pagination plugin for DataMapper}
gem.description = %Q{A simple pagination plugin for DataMapper}
gem.email = 'alex@alexbcoles.com'
gem.homepage = 'http://github.com/myabc/dm-is-paginated'
gem.homepage = 'http://github.com/myabc/dm-is-page-by-page'
gem.authors = ['Lori Holden', 'Alex Coles']
gem.add_dependency 'dm-core', '>= 0.10.2'
gem.add_development_dependency 'rspec', '>= 1.2.9'
Expand Down
19 changes: 8 additions & 11 deletions dm-is-paginated.gemspec → dm-is-page-by-page.gemspec
Expand Up @@ -4,12 +4,12 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{dm-is-paginated}
s.name = %q{dm-is-page-by-page}
s.version = "0.0.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Lori Holden", "Alex Coles"]
s.date = %q{2009-12-14}
s.date = %q{2010-01-23}
s.description = %q{A simple pagination plugin for DataMapper}
s.email = %q{alex@alexbcoles.com}
s.extra_rdoc_files = [
Expand All @@ -23,12 +23,10 @@ Gem::Specification.new do |s|
"README.markdown",
"Rakefile",
"VERSION",
"dm-is-paginated.gemspec",
"lib/dm-is-paginated.rb",
"lib/dm-is-paginated/hash.rb",
"lib/dm-is-paginated/is/paginated.rb",
"lib/dm-is-paginated/is/version.rb",
"spec/dm-is-paginated_spec.rb",
"lib/dm-is-page-by-page.rb",
"lib/dm-is-page-by-page/hash.rb",
"lib/dm-is-page-by-page/is/paginated.rb",
"lib/dm-is-page-by-page/is/version.rb",
"spec/spec.opts",
"spec/spec_helper.rb",
"tasks/spec.rake",
Expand All @@ -38,14 +36,13 @@ Gem::Specification.new do |s|
"website/stylesheets/screen.css",
"website/template.html.erb"
]
s.homepage = %q{http://github.com/myabc/dm-is-paginated}
s.homepage = %q{http://github.com/myabc/dm-is-page-by-page}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{A simple pagination plugin for DataMapper}
s.test_files = [
"spec/dm-is-paginated_spec.rb",
"spec/spec_helper.rb"
"spec/spec_helper.rb"
]

if s.respond_to? :specification_version then
Expand Down
2 changes: 1 addition & 1 deletion lib/dm-is-paginated.rb → lib/dm-is-page-by-page.rb
Expand Up @@ -5,7 +5,7 @@
require 'dm-core'

# Require plugin-files
dir = Pathname(__FILE__).dirname.expand_path / 'dm-is-paginated'
dir = Pathname(__FILE__).dirname.expand_path / 'dm-is-page-by-page'
require dir / "hash"
require dir / 'is' / 'paginated'

Expand Down
File renamed without changes.
@@ -1,9 +1,11 @@
module DataMapper
module Is
module Paginated

def is_paginated(options = {})
extend DataMapper::Is::Paginated::ClassMethods
end
alias is_page_by_page is_paginated

module ClassMethods
def paginated(options = {})
Expand Down
File renamed without changes.
7 changes: 0 additions & 7 deletions spec/dm-is-paginated_spec.rb

This file was deleted.

4 changes: 2 additions & 2 deletions spec/spec_helper.rb
@@ -1,9 +1,9 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'dm-is-paginated'
require 'dm-is-page-by-page'
require 'spec'
require 'spec/autorun'

Spec::Runner.configure do |config|

end
16 changes: 8 additions & 8 deletions website/index.txt
@@ -1,12 +1,12 @@
h1. dm-is-paginated
h1. dm-is-page-by-page

h2. What

dm-is-paginated is a simple pagination plugin for DataMapper.
dm-is-page-by-page is a simple pagination plugin for DataMapper.

h2. Installing

<pre>sudo gem install dm-is-paginated</pre>
<pre>sudo gem install dm-is-page-by-page</pre>

h2. Demonstration of usage

Expand All @@ -18,7 +18,7 @@ Example:

h2. Google Groups / Mailing List

"http://groups.google.com/group/dm-is-paginated":http://groups.google.com/group/dm-is-paginated
"http://groups.google.com/group/dm-is-page-by-page":http://groups.google.com/group/dm-is-page-by-page

h2. How to report a bug or make a feature request

Expand All @@ -30,19 +30,19 @@ Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/

You can fetch the source from github:

<pre>git clone git://github.com/lholden/dm-is-paginated.git</pre>
<pre>git clone git://github.com/lholden/dm-is-page-by-page.git</pre>

h3. Build and test instructions

<pre>cd dm-is-paginated
<pre>cd dm-is-page-by-page
rake test
rake install_gem</pre>


h2. License

This code is free to use under the terms of the "MIT license":http://dm-is-paginated.rubyforge.org/rdoc/files/License_txt.html.
This code is free to use under the terms of the "MIT license":http://dm-is-page-by-page.rubyforge.org/rdoc/files/License_txt.html.

h2. Contact

Comments are welcome, and can be sent via "Google Groups":http://groups.google.com/group/dm-is-paginated.
Comments are welcome, and can be sent via "Google Groups":http://groups.google.com/group/dm-is-page-by-page.

0 comments on commit 20a937c

Please sign in to comment.