pagify 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +3 -1
- data/README +1 -1
- data/Rakefile +2 -0
- data/lib/pagify/helper/detail/web.rb +18 -0
- data/lib/pagify/helper/html.rb +4 -1
- data/lib/pagify/helper/innate.rb +16 -0
- data/lib/pagify/helper/rails.rb +7 -23
- data/lib/pagify/pager/data_mapper.rb +12 -3
- data/lib/pagify/version.rb +1 -1
- data/pagify.gemspec +5 -5
- data/tasks/gem.rake +1 -1
- data/tasks/setup.rb +2 -2
- data/tasks/spec.rake +1 -1
- data/tasks/svn.rake +1 -1
- data/test/helper.rb +0 -2
- data/test/helper_model.rb +1 -16
- data/test/helper_pagify.rb +1 -1
- data/test/helper_web.rb +23 -0
- data/test/test_active_record.rb +3 -2
- data/test/test_array.rb +3 -2
- data/test/test_basic.rb +4 -3
- data/test/test_data_mapper.rb +4 -3
- data/test/test_innate.rb +13 -0
- data/test/test_rails.rb +2 -22
- metadata +7 -2
data/CHANGES
CHANGED
data/README
CHANGED
@@ -120,7 +120,7 @@ by Lin Jen-Shin (aka godfat-真常[http://godfat.org])
|
|
120
120
|
|
121
121
|
Apache License 2.0
|
122
122
|
|
123
|
-
Copyright (c) 2008, Lin Jen-Shin (aka godfat 真常)
|
123
|
+
Copyright (c) 2008-2009, Lin Jen-Shin (aka godfat 真常)
|
124
124
|
|
125
125
|
Licensed under the Apache License, Version 2.0 (the "License");
|
126
126
|
you may not use this file except in compliance with the License.
|
data/Rakefile
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
require 'pagify/helper/html'
|
3
|
+
|
4
|
+
module Pagify
|
5
|
+
module Helper
|
6
|
+
module Web
|
7
|
+
def pagify_links objs, opts
|
8
|
+
html = objs.pager.html
|
9
|
+
name = html.setting[:query_name]
|
10
|
+
type = html.setting[:links_type]
|
11
|
+
base = opts[:path].call
|
12
|
+
"<div class=\"#{html.setting[:wrapper_class]}\">" +
|
13
|
+
html.send(type, opts[:page][name]){ |p| base + "?#{name}=#{p}" } +
|
14
|
+
'</div>'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/pagify/helper/html.rb
CHANGED
@@ -17,7 +17,10 @@ module Pagify
|
|
17
17
|
:outer_links => 2,
|
18
18
|
# :step => 3,
|
19
19
|
:separator => ' ',
|
20
|
-
:ellipsis => '...'
|
20
|
+
:ellipsis => '...',
|
21
|
+
:query_name => :page,
|
22
|
+
:links_type => :links_full,
|
23
|
+
:wrapper_class => 'pagination' })
|
21
24
|
end
|
22
25
|
|
23
26
|
def links_full page, &block
|
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
require 'pagify/helper/detail/web'
|
3
|
+
|
4
|
+
module Pagify::Helper::Innate
|
5
|
+
include Pagify::Helper::Web
|
6
|
+
def pagify_links objs, &path
|
7
|
+
super(objs, :path => lambda{ block_given? ? path.call : request.path },
|
8
|
+
:page => lambda{ |name| request[name] })
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
module Innate
|
13
|
+
module Helper
|
14
|
+
Pagify = Pagify::Helper::Innate
|
15
|
+
end
|
16
|
+
end
|
data/lib/pagify/helper/rails.rb
CHANGED
@@ -1,32 +1,16 @@
|
|
1
1
|
|
2
|
-
require 'pagify/helper/
|
2
|
+
require 'pagify/helper/detail/web'
|
3
3
|
|
4
4
|
module Pagify::Helper::Rails
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
include Pagify::Helper::Web
|
6
|
+
def pagify_links objs, &path
|
7
|
+
super(objs, :path => lambda{ block_given? ? path.call : request.path },
|
8
|
+
:page => lambda{ |name| params[name] })
|
8
9
|
end
|
9
10
|
|
10
|
-
|
11
|
-
def pagify_links objs, &path
|
12
|
-
path = lambda{ request.path } unless block_given?
|
13
|
-
html = objs.pager.html
|
14
|
-
name = html.setting[:query_name]
|
15
|
-
type = html.setting[:links_type]
|
16
|
-
base = path.call
|
17
|
-
"<div class=\"#{html.setting[:wrapper_class]}\">" +
|
18
|
-
html.send(type, params[name]){ |p| base + "?#{name}=#{p}" } +
|
19
|
-
'</div>'
|
20
|
-
end
|
21
|
-
|
22
|
-
alias_method :would_paginate, :pagify_links
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
class Pagify::Helper::HTML
|
27
|
-
extend Pagify::Helper::Rails
|
11
|
+
alias_method :would_paginate, :pagify_links
|
28
12
|
end
|
29
13
|
|
30
14
|
module ApplicationHelper
|
31
|
-
include Pagify::Helper::Rails
|
15
|
+
include Pagify::Helper::Rails
|
32
16
|
end
|
@@ -9,18 +9,27 @@ module Pagify
|
|
9
9
|
|
10
10
|
def initialize model_class, opts = {}, query = {}
|
11
11
|
@model = model_class
|
12
|
-
query ||= {}
|
13
12
|
query_opts = reject_pager_opts(opts)
|
14
13
|
|
15
14
|
super(opts.merge(
|
16
15
|
:fetcher => lambda{ |offset, per_page|
|
17
|
-
|
16
|
+
# TODO: i am not sure why do we need this check?
|
17
|
+
if query == model.query
|
18
18
|
model.all(query_opts.merge(:offset => offset, :limit => per_page))
|
19
|
+
else
|
20
|
+
model.send(:with_scope, query) do
|
21
|
+
model.all(query_opts.merge(:offset => offset, :limit => per_page))
|
22
|
+
end
|
19
23
|
end
|
20
24
|
},
|
21
25
|
:counter => lambda{
|
22
|
-
|
26
|
+
# TODO: i am not sure why do we need this check?
|
27
|
+
if query == model.query
|
23
28
|
model.count(query_opts)
|
29
|
+
else
|
30
|
+
model.send(:with_scope, query) do
|
31
|
+
model.count(query_opts)
|
32
|
+
end
|
24
33
|
end
|
25
34
|
}))
|
26
35
|
end
|
data/lib/pagify/version.rb
CHANGED
data/pagify.gemspec
CHANGED
@@ -2,22 +2,22 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{pagify}
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.7.0"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Lin Jen-Shin (aka godfat
|
9
|
-
s.date = %q{2009-
|
8
|
+
s.authors = ["Lin Jen-Shin (aka godfat 真常)"]
|
9
|
+
s.date = %q{2009-11-16}
|
10
10
|
s.description = %q{ Pagination tools for Array(or custom class), DataMapper and ActiveRecord}
|
11
11
|
s.email = %q{godfat (XD) godfat.org}
|
12
12
|
s.extra_rdoc_files = ["CHANGES", "LICENSE", "NOTICE", "README", "TODO", "pagify.gemspec"]
|
13
|
-
s.files = ["CHANGES", "LICENSE", "NOTICE", "README", "Rakefile", "TODO", "lib/pagify.rb", "lib/pagify/active_record.rb", "lib/pagify/array.rb", "lib/pagify/data_mapper.rb", "lib/pagify/helper/abstract.rb", "lib/pagify/helper/detail/setting.rb", "lib/pagify/helper/detail/setup.rb", "lib/pagify/helper/html.rb", "lib/pagify/helper/rails.rb", "lib/pagify/page/basic.rb", "lib/pagify/page/null.rb", "lib/pagify/pager/active_record.rb", "lib/pagify/pager/array.rb", "lib/pagify/pager/basic.rb", "lib/pagify/pager/data_mapper.rb", "lib/pagify/pager/detail/page_accept_string_or_blank.rb", "lib/pagify/pager/null.rb", "lib/pagify/pagifier/abstract.rb", "lib/pagify/pagifier/active_record.rb", "lib/pagify/pagifier/array.rb", "lib/pagify/pagifier/data_mapper.rb", "lib/pagify/version.rb", "pagify.gemspec", "spec/pagify_spec.rb", "spec/spec_helper.rb", "test/helper.rb", "test/helper_model.rb", "test/helper_pagify.rb", "test/test_active_record.rb", "test/test_array.rb", "test/test_basic.rb", "test/test_data_mapper.rb", "test/test_html.rb", "test/test_null.rb", "test/test_rails.rb"]
|
13
|
+
s.files = ["CHANGES", "LICENSE", "NOTICE", "README", "Rakefile", "TODO", "lib/pagify.rb", "lib/pagify/active_record.rb", "lib/pagify/array.rb", "lib/pagify/data_mapper.rb", "lib/pagify/helper/abstract.rb", "lib/pagify/helper/detail/setting.rb", "lib/pagify/helper/detail/setup.rb", "lib/pagify/helper/detail/web.rb", "lib/pagify/helper/html.rb", "lib/pagify/helper/innate.rb", "lib/pagify/helper/rails.rb", "lib/pagify/page/basic.rb", "lib/pagify/page/null.rb", "lib/pagify/pager/active_record.rb", "lib/pagify/pager/array.rb", "lib/pagify/pager/basic.rb", "lib/pagify/pager/data_mapper.rb", "lib/pagify/pager/detail/page_accept_string_or_blank.rb", "lib/pagify/pager/null.rb", "lib/pagify/pagifier/abstract.rb", "lib/pagify/pagifier/active_record.rb", "lib/pagify/pagifier/array.rb", "lib/pagify/pagifier/data_mapper.rb", "lib/pagify/version.rb", "pagify.gemspec", "spec/pagify_spec.rb", "spec/spec_helper.rb", "test/helper.rb", "test/helper_model.rb", "test/helper_pagify.rb", "test/helper_web.rb", "test/test_active_record.rb", "test/test_array.rb", "test/test_basic.rb", "test/test_data_mapper.rb", "test/test_html.rb", "test/test_innate.rb", "test/test_null.rb", "test/test_rails.rb"]
|
14
14
|
s.homepage = %q{http://github.com/godfat/pagify}
|
15
15
|
s.rdoc_options = ["--charset=utf-8", "--inline-source", "--line-numbers", "--promiscuous", "--main", "README"]
|
16
16
|
s.require_paths = ["lib"]
|
17
17
|
s.rubyforge_project = %q{ludy}
|
18
18
|
s.rubygems_version = %q{1.3.5}
|
19
19
|
s.summary = %q{Pagination tools for Array(or custom class), DataMapper and ActiveRecord}
|
20
|
-
s.test_files = ["test/test_active_record.rb", "test/test_array.rb", "test/test_basic.rb", "test/test_data_mapper.rb", "test/test_html.rb", "test/test_null.rb", "test/test_rails.rb"]
|
20
|
+
s.test_files = ["test/test_active_record.rb", "test/test_array.rb", "test/test_basic.rb", "test/test_data_mapper.rb", "test/test_html.rb", "test/test_innate.rb", "test/test_null.rb", "test/test_rails.rb"]
|
21
21
|
|
22
22
|
if s.respond_to? :specification_version then
|
23
23
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
data/tasks/gem.rake
CHANGED
data/tasks/setup.rb
CHANGED
@@ -6,7 +6,7 @@ require 'fileutils'
|
|
6
6
|
require 'ostruct'
|
7
7
|
require 'find'
|
8
8
|
|
9
|
-
class OpenStruct; undef :gem if defined? :gem; end
|
9
|
+
class OpenStruct; undef :gem if defined? :gem; end
|
10
10
|
|
11
11
|
# TODO: make my own openstruct type object that includes descriptions
|
12
12
|
# TODO: use the descriptions to output help on the available bones options
|
@@ -251,7 +251,7 @@ def manifest
|
|
251
251
|
files = []
|
252
252
|
exclude = PROJ.exclude.dup
|
253
253
|
comment = %r/^\s*#/
|
254
|
-
|
254
|
+
|
255
255
|
# process the ignore file and add the items there to the exclude list
|
256
256
|
if test(?f, PROJ.ignore_file)
|
257
257
|
ary = []
|
data/tasks/spec.rake
CHANGED
@@ -32,7 +32,7 @@ namespace :spec do
|
|
32
32
|
t.rcov_opts = PROJ.rcov.opts + ['--exclude', 'spec']
|
33
33
|
end
|
34
34
|
|
35
|
-
RCov::VerifyTask.new(:verify) do |t|
|
35
|
+
RCov::VerifyTask.new(:verify) do |t|
|
36
36
|
t.threshold = PROJ.rcov.threshold
|
37
37
|
t.index_html = File.join(PROJ.rcov.dir, 'index.html')
|
38
38
|
t.require_exact_threshold = PROJ.rcov.threshold_exact
|
data/tasks/svn.rake
CHANGED
data/test/helper.rb
CHANGED
data/test/helper_model.rb
CHANGED
@@ -22,7 +22,7 @@ module SuiteForModel
|
|
22
22
|
assert_equal 1, users.page
|
23
23
|
assert_equal send(:User).first, users.first
|
24
24
|
assert_equal 2, users.size
|
25
|
-
assert_equal send(:User).first(:offset => 2
|
25
|
+
assert_equal send(:User).first(:offset => 2), users.next.first
|
26
26
|
assert_equal 1, users.next.size
|
27
27
|
assert_equal Pagify::NullPage.new(users.pager), users.next.next
|
28
28
|
end
|
@@ -65,19 +65,4 @@ module SuiteForModel
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
# include Extlib::Hook
|
69
|
-
#
|
70
|
-
# private
|
71
|
-
# def i_give_up
|
72
|
-
# if self.class == TestActiveRecord
|
73
|
-
# skip "it's toooooo hard to implement this for active record!! patch wanted!"
|
74
|
-
# end
|
75
|
-
# end
|
76
|
-
#
|
77
|
-
# [:test_same_pager_with_same_opts,
|
78
|
-
# :test_page_correctness,
|
79
|
-
# :test_condition_chain].each{ |test|
|
80
|
-
# before test.to_sym, :i_give_up
|
81
|
-
# }
|
82
|
-
|
83
68
|
end
|
data/test/helper_pagify.rb
CHANGED
data/test/helper_web.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
|
2
|
+
module WebCase
|
3
|
+
def setup
|
4
|
+
@data = (0..9).to_a.pagify(:per_page => 2, :page => 3)
|
5
|
+
end
|
6
|
+
|
7
|
+
def test_query_name
|
8
|
+
assert_equal(:page, Pagify::Helper::HTML.setting[:query_name])
|
9
|
+
assert_equal(:page, Pagify::ArrayPager.new([]).html.setting[:query_name])
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_pagify_links
|
13
|
+
assert_equal('<div class="pagination"><a href="/a/b?page=2">< Previous</a> <a href="/a/b?page=4">Next ></a><br /><a href="/a/b?page=1">« First</a> <a href="/a/b?page=2">2</a> 3 <a href="/a/b?page=4">4</a> <a href="/a/b?page=5">Last »</a></div>', pagify_links(@data))
|
14
|
+
|
15
|
+
@data.pager.html.setting[:links_type] = :links
|
16
|
+
|
17
|
+
assert_equal('<div class="pagination"><a href="/a/b?page=1">« First</a> <a href="/a/b?page=2">2</a> 3 <a href="/a/b?page=4">4</a> <a href="/a/b?page=5">Last »</a></div>', pagify_links(@data))
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_custom_path
|
21
|
+
assert_equal('<div class="pagination"><a href="XD?page=2">< Previous</a> <a href="XD?page=4">Next ></a><br /><a href="XD?page=1">« First</a> <a href="XD?page=2">2</a> 3 <a href="XD?page=4">4</a> <a href="XD?page=5">Last »</a></div>', pagify_links(@data){'XD'})
|
22
|
+
end
|
23
|
+
end
|
data/test/test_active_record.rb
CHANGED
@@ -5,7 +5,8 @@ require 'test/helper_model'
|
|
5
5
|
|
6
6
|
require 'pagify/active_record'
|
7
7
|
|
8
|
-
class TestActiveRecord <
|
8
|
+
class TestActiveRecord < TestCase
|
9
|
+
include PagifyCase
|
9
10
|
def test_for_active_record
|
10
11
|
for_pager Pagify::ActiveRecordPager.new(Topic)
|
11
12
|
end
|
@@ -16,7 +17,7 @@ class TestActiveRecord < TestPagify
|
|
16
17
|
101
|
17
18
|
end
|
18
19
|
def find all, opts = {}
|
19
|
-
|
20
|
+
PagifyCase.data[opts[:offset], opts[:limit]]
|
20
21
|
end
|
21
22
|
end
|
22
23
|
end
|
data/test/test_array.rb
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
require 'test/helper'
|
3
3
|
require 'test/helper_pagify'
|
4
4
|
|
5
|
-
class TestArray <
|
5
|
+
class TestArray < TestCase
|
6
|
+
include PagifyCase
|
6
7
|
def test_offset_bug
|
7
8
|
a = (0..9).to_a
|
8
9
|
pager = Pagify::ArrayPager.new a
|
@@ -13,7 +14,7 @@ class TestArray < TestPagify
|
|
13
14
|
end
|
14
15
|
|
15
16
|
def test_for_array
|
16
|
-
for_pager Pagify::ArrayPager.new(
|
17
|
+
for_pager Pagify::ArrayPager.new(PagifyCase.data)
|
17
18
|
end
|
18
19
|
|
19
20
|
end
|
data/test/test_basic.rb
CHANGED
@@ -2,18 +2,19 @@
|
|
2
2
|
require 'test/helper'
|
3
3
|
require 'test/helper_pagify'
|
4
4
|
|
5
|
-
class TestBasic <
|
5
|
+
class TestBasic < TestCase
|
6
|
+
include PagifyCase
|
6
7
|
def test_basic
|
7
8
|
pager = Pagify::BasicPager.new(
|
8
9
|
:fetcher => lambda{ |offset, per_page|
|
9
10
|
# if for rails,
|
10
11
|
# Data.find :all, :offset => offset, :limit => per_page
|
11
|
-
|
12
|
+
PagifyCase.data[offset, per_page]
|
12
13
|
},
|
13
14
|
:counter => lambda{
|
14
15
|
# if for rails,
|
15
16
|
# Data.count
|
16
|
-
|
17
|
+
PagifyCase.data.size
|
17
18
|
})
|
18
19
|
|
19
20
|
for_pager pager
|
data/test/test_data_mapper.rb
CHANGED
@@ -5,7 +5,8 @@ require 'test/helper_model'
|
|
5
5
|
|
6
6
|
require 'pagify/data_mapper'
|
7
7
|
|
8
|
-
class TestDataMapper <
|
8
|
+
class TestDataMapper < TestCase
|
9
|
+
include PagifyCase
|
9
10
|
def test_for_data_mapper
|
10
11
|
for_pager Pagify::DataMapperPager.new(Topic)
|
11
12
|
end
|
@@ -16,10 +17,10 @@ class TestDataMapper < TestPagify
|
|
16
17
|
101
|
17
18
|
end
|
18
19
|
def all opts = {}
|
19
|
-
|
20
|
+
PagifyCase.data[opts[:offset], opts[:limit]]
|
20
21
|
end
|
21
22
|
def query
|
22
|
-
|
23
|
+
{}
|
23
24
|
end
|
24
25
|
private
|
25
26
|
def with_scope query
|
data/test/test_innate.rb
ADDED
data/test/test_rails.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
|
2
2
|
require 'test/helper'
|
3
|
-
require '
|
3
|
+
require 'test/helper_web'
|
4
4
|
require 'pagify/helper/rails'
|
5
5
|
|
6
6
|
class TestRails < TestCase
|
7
|
+
include WebCase
|
7
8
|
include ApplicationHelper
|
8
9
|
# fake
|
9
10
|
def request
|
@@ -12,25 +13,4 @@ class TestRails < TestCase
|
|
12
13
|
def params
|
13
14
|
{:page => 3}
|
14
15
|
end
|
15
|
-
|
16
|
-
def setup
|
17
|
-
@data = (0..9).to_a.pagify(:per_page => 2, :page => 3)
|
18
|
-
end
|
19
|
-
|
20
|
-
def test_query_name
|
21
|
-
assert_equal(:page, Pagify::Helper::HTML.setting[:query_name])
|
22
|
-
assert_equal(:page, Pagify::ArrayPager.new([]).html.setting[:query_name])
|
23
|
-
end
|
24
|
-
|
25
|
-
def test_would_paginate
|
26
|
-
assert_equal('<div class="pagination"><a href="/a/b?page=2">< Previous</a> <a href="/a/b?page=4">Next ></a><br /><a href="/a/b?page=1">« First</a> <a href="/a/b?page=2">2</a> 3 <a href="/a/b?page=4">4</a> <a href="/a/b?page=5">Last »</a></div>', pagify_links(@data))
|
27
|
-
|
28
|
-
@data.pager.html.setting[:links_type] = :links
|
29
|
-
|
30
|
-
assert_equal('<div class="pagination"><a href="/a/b?page=1">« First</a> <a href="/a/b?page=2">2</a> 3 <a href="/a/b?page=4">4</a> <a href="/a/b?page=5">Last »</a></div>', pagify_links(@data))
|
31
|
-
end
|
32
|
-
|
33
|
-
def test_custom_path
|
34
|
-
assert_equal('<div class="pagination"><a href="XD?page=2">< Previous</a> <a href="XD?page=4">Next ></a><br /><a href="XD?page=1">« First</a> <a href="XD?page=2">2</a> 3 <a href="XD?page=4">4</a> <a href="XD?page=5">Last »</a></div>', pagify_links(@data){'XD'})
|
35
|
-
end
|
36
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pagify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Lin Jen-Shin (aka godfat \xE7\x9C\x9F\xE5\xB8\xB8)"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-11-16 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -79,7 +79,9 @@ files:
|
|
79
79
|
- lib/pagify/helper/abstract.rb
|
80
80
|
- lib/pagify/helper/detail/setting.rb
|
81
81
|
- lib/pagify/helper/detail/setup.rb
|
82
|
+
- lib/pagify/helper/detail/web.rb
|
82
83
|
- lib/pagify/helper/html.rb
|
84
|
+
- lib/pagify/helper/innate.rb
|
83
85
|
- lib/pagify/helper/rails.rb
|
84
86
|
- lib/pagify/page/basic.rb
|
85
87
|
- lib/pagify/page/null.rb
|
@@ -113,11 +115,13 @@ files:
|
|
113
115
|
- test/helper.rb
|
114
116
|
- test/helper_model.rb
|
115
117
|
- test/helper_pagify.rb
|
118
|
+
- test/helper_web.rb
|
116
119
|
- test/test_active_record.rb
|
117
120
|
- test/test_array.rb
|
118
121
|
- test/test_basic.rb
|
119
122
|
- test/test_data_mapper.rb
|
120
123
|
- test/test_html.rb
|
124
|
+
- test/test_innate.rb
|
121
125
|
- test/test_null.rb
|
122
126
|
- test/test_rails.rb
|
123
127
|
has_rdoc: true
|
@@ -159,5 +163,6 @@ test_files:
|
|
159
163
|
- test/test_basic.rb
|
160
164
|
- test/test_data_mapper.rb
|
161
165
|
- test/test_html.rb
|
166
|
+
- test/test_innate.rb
|
162
167
|
- test/test_null.rb
|
163
168
|
- test/test_rails.rb
|