pox_paginate 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/LICENCE +7 -0
- data/README.rdoc +3 -2
- data/pox_paginate.gemspec +26 -92
- metadata +79 -192
- data/.rspec +0 -2
- data/Gemfile +0 -19
- data/Rakefile +0 -53
- data/VERSION +0 -1
- data/spec/config/database.yml +0 -2
data/CHANGELOG
CHANGED
data/LICENCE
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Copyright 2010 - 2011 C42 Engineering India Private Limited
|
2
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
3
|
+
you may not use this file except in compliance with the License.
|
4
|
+
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License
|
6
|
+
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
7
|
+
See the License for the specific language governing permissions and limitations under the License.
|
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= PoxPaginate 0.2.
|
1
|
+
= PoxPaginate 0.2.2
|
2
2
|
|
3
3
|
PoxPaginate is an extension to WillPaginate and ActiveResource that makes it possible to transparently paginate over a collection of XML serialised resources.
|
4
4
|
|
@@ -7,7 +7,7 @@ This gem is based on our experience building largish distributed systems consist
|
|
7
7
|
== Installation
|
8
8
|
|
9
9
|
PoxPaginate is available as a gem. In your Gemfile add
|
10
|
-
gem 'pox_paginate', '~> 0.2.
|
10
|
+
gem 'pox_paginate', '~> 0.2.0' # Please check for the latest version
|
11
11
|
|
12
12
|
We also strongly recommend you use Ruby LibXML or Nokogiri rather than the standard REXML for deserialisation. While PoxPaginate supports all three, REXML is simply too slow for use in production. To switch to using either gem:
|
13
13
|
gem 'nokogiri', '~> 1.4.3.1'
|
@@ -78,4 +78,5 @@ If your patch is accepted, we will add you to the 'Contributors' section of the
|
|
78
78
|
* {Sidu Ponnappa}[http://github.com/kaiwren]
|
79
79
|
* {Niranjan Paranjape}[http://github.com/niranjan]
|
80
80
|
* {Jean-Denis Vauguet}[http://github.com/chikamichi]
|
81
|
+
* {klacointe }[http://github.com/klacointe]
|
81
82
|
|
data/pox_paginate.gemspec
CHANGED
@@ -1,98 +1,32 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
1
|
+
lib = File.expand_path('../lib/', __FILE__)
|
2
|
+
$:.unshift lib unless $:.include?(lib)
|
5
3
|
|
4
|
+
require 'pox_paginate/version'
|
6
5
|
Gem::Specification.new do |s|
|
7
|
-
s.name
|
8
|
-
s.version
|
6
|
+
s.name = "pox_paginate"
|
7
|
+
s.version = PoxPaginate::Version::STRING
|
8
|
+
s.authors = ["Sidu Ponnappa", "Niranjan Paranjape"]
|
9
|
+
s.email = ["opensource@c42.in"]
|
10
|
+
s.homepage = "http://c42.in/open_source"
|
11
|
+
s.summary = "Transparent support for pagination using WillPaginate with POX (Plain Old Xml) and ActiveResource"
|
12
|
+
s.description = "Transparent support for pagination using WillPaginate with POX (Plain Old Xml) and ActiveResource. This gem is based on C42 Engineering's experience building largish distributed systems consisting of multiple Rails apps integrated over POX (Plain Old XML)."
|
13
|
+
|
14
|
+
s.required_rubygems_version = ">= 1.3.0"
|
9
15
|
|
10
|
-
s.
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.rdoc"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
".rspec",
|
20
|
-
"CHANGELOG",
|
21
|
-
"Gemfile",
|
22
|
-
"README.rdoc",
|
23
|
-
"Rakefile",
|
24
|
-
"VERSION",
|
25
|
-
"lib/pox_paginate.rb",
|
26
|
-
"lib/pox_paginate/active_resource.rb",
|
27
|
-
"lib/pox_paginate/active_resource/xml_format.rb",
|
28
|
-
"lib/pox_paginate/active_support.rb",
|
29
|
-
"lib/pox_paginate/active_support/core_hash_ext.rb",
|
30
|
-
"lib/pox_paginate/remote_collection.rb",
|
31
|
-
"lib/pox_paginate/version.rb",
|
32
|
-
"lib/pox_paginate/will_paginate.rb",
|
33
|
-
"lib/pox_paginate/will_paginate/collection_extensions.rb",
|
34
|
-
"lib/pox_paginate/xml_mini.rb",
|
35
|
-
"lib/pox_paginate/xml_mini/jdom.rb",
|
36
|
-
"lib/pox_paginate/xml_mini/libxml.rb",
|
37
|
-
"lib/pox_paginate/xml_mini/nokogiri.rb",
|
38
|
-
"lib/pox_paginate/xml_mini/rexml.rb",
|
39
|
-
"pox_paginate.gemspec",
|
40
|
-
"spec/config/database.yml",
|
41
|
-
"spec/db/migrate/001_create_oogas.rb",
|
42
|
-
"spec/pox_paginate/active_resource/xml_format_spec.rb",
|
43
|
-
"spec/pox_paginate/active_support/core_hash_ext_spec.rb",
|
44
|
-
"spec/pox_paginate/will_paginate/collection_extensions_spec.rb",
|
45
|
-
"spec/pox_paginate/xml_mini_spec.rb",
|
46
|
-
"spec/spec_helper.rb"
|
47
|
-
]
|
48
|
-
s.homepage = %q{http://c42.in/open_source}
|
49
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
50
|
-
s.require_paths = ["lib"]
|
51
|
-
s.rubygems_version = %q{1.3.7}
|
52
|
-
s.summary = %q{Transparent support for pagination using WillPaginate with POX (Plain Old Xml) and ActiveResource}
|
53
|
-
s.test_files = [
|
54
|
-
"spec/spec_helper.rb",
|
55
|
-
"spec/pox_paginate/will_paginate/collection_extensions_spec.rb",
|
56
|
-
"spec/pox_paginate/xml_mini_spec.rb",
|
57
|
-
"spec/pox_paginate/active_resource/xml_format_spec.rb",
|
58
|
-
"spec/pox_paginate/active_support/core_hash_ext_spec.rb",
|
59
|
-
"spec/db/migrate/001_create_oogas.rb"
|
60
|
-
]
|
16
|
+
s.files = Dir.glob("lib/**/*.rb") + %w(README.rdoc CHANGELOG LICENCE pox_paginate.gemspec)
|
17
|
+
s.extra_rdoc_files = ["README.rdoc"]
|
18
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
19
|
+
s.require_path = 'lib'
|
20
|
+
s.test_files = Dir.glob("spec/**/*.rb")
|
61
21
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
s.add_development_dependency(%q<activerecord>, ["~> 3.0.0"])
|
72
|
-
s.add_development_dependency(%q<sqlite3-ruby>, ["~> 1.3.1"])
|
73
|
-
s.add_development_dependency(%q<nokogiri>, ["~> 1.4.3.1"])
|
74
|
-
s.add_development_dependency(%q<libxml-ruby>, ["~> 1.1.4"])
|
75
|
-
s.add_development_dependency(%q<jdbc-sqlite3>, ['~> 3.6.3.054'])
|
76
|
-
s.add_development_dependency(%q<activerecord-jdbcsqlite3-adapter>, ['~> 0.9.7'])
|
77
|
-
else
|
78
|
-
s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
|
79
|
-
s.add_dependency(%q<activeresource>, ["~> 3.0.0"])
|
80
|
-
s.add_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
|
81
|
-
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.20"])
|
82
|
-
s.add_dependency(%q<activerecord>, ["~> 3.0.0"])
|
83
|
-
s.add_dependency(%q<sqlite3-ruby>, ["~> 1.3.1"])
|
84
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.4.3.1"])
|
85
|
-
s.add_dependency(%q<libxml-ruby>, ["~> 1.1.4"])
|
86
|
-
end
|
87
|
-
else
|
88
|
-
s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
|
89
|
-
s.add_dependency(%q<activeresource>, ["~> 3.0.0"])
|
90
|
-
s.add_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
|
91
|
-
s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.20"])
|
92
|
-
s.add_dependency(%q<activerecord>, ["~> 3.0.0"])
|
93
|
-
s.add_dependency(%q<sqlite3-ruby>, ["~> 1.3.1"])
|
94
|
-
s.add_dependency(%q<nokogiri>, ["~> 1.4.3.1"])
|
95
|
-
s.add_dependency(%q<libxml-ruby>, ["~> 1.1.4"])
|
96
|
-
end
|
22
|
+
# dependencies
|
23
|
+
s.add_runtime_dependency "activesupport", ["~> 3.0.0"]
|
24
|
+
s.add_runtime_dependency "activeresource", ["~> 3.0.0"]
|
25
|
+
s.add_runtime_dependency "will_paginate", ["~> 3.0.pre2"]
|
26
|
+
|
27
|
+
# development dependencies
|
28
|
+
s.add_development_dependency "rspec", ["~> 2.6.0"]
|
29
|
+
s.add_development_dependency "activerecord", ["~> 3.0.0"]
|
30
|
+
s.add_development_dependency "nokogiri", ["~> 1.4.5"]
|
97
31
|
end
|
98
32
|
|
metadata
CHANGED
@@ -1,219 +1,113 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: pox_paginate
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 2
|
9
|
-
- 2
|
10
|
-
version: 0.2.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Sidu Ponnappa
|
14
9
|
- Niranjan Paranjape
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
date: 2010-11-26 00:00:00 +05:30
|
13
|
+
date: 2011-06-20 00:00:00.000000000 +05:30
|
20
14
|
default_executable:
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
23
17
|
name: activesupport
|
24
|
-
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
18
|
+
requirement: &2153009620 !ruby/object:Gem::Requirement
|
26
19
|
none: false
|
27
|
-
requirements:
|
20
|
+
requirements:
|
28
21
|
- - ~>
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
hash: 7
|
31
|
-
segments:
|
32
|
-
- 3
|
33
|
-
- 0
|
34
|
-
- 0
|
22
|
+
- !ruby/object:Gem::Version
|
35
23
|
version: 3.0.0
|
36
24
|
type: :runtime
|
37
|
-
version_requirements: *id001
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: activeresource
|
40
25
|
prerelease: false
|
41
|
-
|
26
|
+
version_requirements: *2153009620
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activeresource
|
29
|
+
requirement: &2153009140 !ruby/object:Gem::Requirement
|
42
30
|
none: false
|
43
|
-
requirements:
|
31
|
+
requirements:
|
44
32
|
- - ~>
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
hash: 7
|
47
|
-
segments:
|
48
|
-
- 3
|
49
|
-
- 0
|
50
|
-
- 0
|
33
|
+
- !ruby/object:Gem::Version
|
51
34
|
version: 3.0.0
|
52
35
|
type: :runtime
|
53
|
-
version_requirements: *id002
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: will_paginate
|
56
36
|
prerelease: false
|
57
|
-
|
37
|
+
version_requirements: *2153009140
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: will_paginate
|
40
|
+
requirement: &2153008660 !ruby/object:Gem::Requirement
|
58
41
|
none: false
|
59
|
-
requirements:
|
42
|
+
requirements:
|
60
43
|
- - ~>
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
hash: -1876988247
|
63
|
-
segments:
|
64
|
-
- 3
|
65
|
-
- 0
|
66
|
-
- pre2
|
44
|
+
- !ruby/object:Gem::Version
|
67
45
|
version: 3.0.pre2
|
68
46
|
type: :runtime
|
69
|
-
version_requirements: *id003
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: rspec
|
72
47
|
prerelease: false
|
73
|
-
|
48
|
+
version_requirements: *2153008660
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: rspec
|
51
|
+
requirement: &2153008180 !ruby/object:Gem::Requirement
|
74
52
|
none: false
|
75
|
-
requirements:
|
53
|
+
requirements:
|
76
54
|
- - ~>
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
|
79
|
-
segments:
|
80
|
-
- 2
|
81
|
-
- 0
|
82
|
-
- 0
|
83
|
-
- beta
|
84
|
-
- 20
|
85
|
-
version: 2.0.0.beta.20
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.6.0
|
86
57
|
type: :development
|
87
|
-
version_requirements: *id004
|
88
|
-
- !ruby/object:Gem::Dependency
|
89
|
-
name: activerecord
|
90
58
|
prerelease: false
|
91
|
-
|
59
|
+
version_requirements: *2153008180
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: activerecord
|
62
|
+
requirement: &2153007700 !ruby/object:Gem::Requirement
|
92
63
|
none: false
|
93
|
-
requirements:
|
64
|
+
requirements:
|
94
65
|
- - ~>
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
hash: 7
|
97
|
-
segments:
|
98
|
-
- 3
|
99
|
-
- 0
|
100
|
-
- 0
|
66
|
+
- !ruby/object:Gem::Version
|
101
67
|
version: 3.0.0
|
102
68
|
type: :development
|
103
|
-
version_requirements: *id005
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: sqlite3-ruby
|
106
69
|
prerelease: false
|
107
|
-
|
108
|
-
|
109
|
-
requirements:
|
110
|
-
- - ~>
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
hash: 25
|
113
|
-
segments:
|
114
|
-
- 1
|
115
|
-
- 3
|
116
|
-
- 1
|
117
|
-
version: 1.3.1
|
118
|
-
type: :development
|
119
|
-
version_requirements: *id006
|
120
|
-
- !ruby/object:Gem::Dependency
|
70
|
+
version_requirements: *2153007700
|
71
|
+
- !ruby/object:Gem::Dependency
|
121
72
|
name: nokogiri
|
122
|
-
|
123
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
|
-
requirements:
|
126
|
-
- - ~>
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
hash: 113
|
129
|
-
segments:
|
130
|
-
- 1
|
131
|
-
- 4
|
132
|
-
- 3
|
133
|
-
- 1
|
134
|
-
version: 1.4.3.1
|
135
|
-
type: :development
|
136
|
-
version_requirements: *id007
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: libxml-ruby
|
139
|
-
prerelease: false
|
140
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
73
|
+
requirement: &2153007220 !ruby/object:Gem::Requirement
|
141
74
|
none: false
|
142
|
-
requirements:
|
75
|
+
requirements:
|
143
76
|
- - ~>
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
|
146
|
-
segments:
|
147
|
-
- 1
|
148
|
-
- 1
|
149
|
-
- 4
|
150
|
-
version: 1.1.4
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 1.4.5
|
151
79
|
type: :development
|
152
|
-
version_requirements: *id008
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: jdbc-sqlite3
|
155
80
|
prerelease: false
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
- 3
|
164
|
-
- 6
|
165
|
-
- 3
|
166
|
-
- 54
|
167
|
-
version: 3.6.3.054
|
168
|
-
type: :development
|
169
|
-
version_requirements: *id009
|
170
|
-
- !ruby/object:Gem::Dependency
|
171
|
-
name: activerecord-jdbcsqlite3-adapter
|
172
|
-
prerelease: false
|
173
|
-
requirement: &id010 !ruby/object:Gem::Requirement
|
174
|
-
none: false
|
175
|
-
requirements:
|
176
|
-
- - ~>
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
hash: 53
|
179
|
-
segments:
|
180
|
-
- 0
|
181
|
-
- 9
|
182
|
-
- 7
|
183
|
-
version: 0.9.7
|
184
|
-
type: :development
|
185
|
-
version_requirements: *id010
|
186
|
-
description: Transparent support for pagination using WillPaginate with POX (Plain Old Xml) and ActiveResource. This gem is based on C42 Engineering's experience building largish distributed systems consisting of multiple Rails apps integrated over POX (Plain Old XML).
|
187
|
-
email: opensource@c42.in
|
81
|
+
version_requirements: *2153007220
|
82
|
+
description: Transparent support for pagination using WillPaginate with POX (Plain
|
83
|
+
Old Xml) and ActiveResource. This gem is based on C42 Engineering's experience building
|
84
|
+
largish distributed systems consisting of multiple Rails apps integrated over POX
|
85
|
+
(Plain Old XML).
|
86
|
+
email:
|
87
|
+
- opensource@c42.in
|
188
88
|
executables: []
|
189
|
-
|
190
89
|
extensions: []
|
191
|
-
|
192
|
-
extra_rdoc_files:
|
193
|
-
- README.rdoc
|
194
|
-
files:
|
195
|
-
- .rspec
|
196
|
-
- CHANGELOG
|
197
|
-
- Gemfile
|
90
|
+
extra_rdoc_files:
|
198
91
|
- README.rdoc
|
199
|
-
|
200
|
-
- VERSION
|
201
|
-
- lib/pox_paginate.rb
|
202
|
-
- lib/pox_paginate/active_resource.rb
|
92
|
+
files:
|
203
93
|
- lib/pox_paginate/active_resource/xml_format.rb
|
204
|
-
- lib/pox_paginate/
|
94
|
+
- lib/pox_paginate/active_resource.rb
|
205
95
|
- lib/pox_paginate/active_support/core_hash_ext.rb
|
96
|
+
- lib/pox_paginate/active_support.rb
|
206
97
|
- lib/pox_paginate/remote_collection.rb
|
207
98
|
- lib/pox_paginate/version.rb
|
208
|
-
- lib/pox_paginate/will_paginate.rb
|
209
99
|
- lib/pox_paginate/will_paginate/collection_extensions.rb
|
210
|
-
- lib/pox_paginate/
|
100
|
+
- lib/pox_paginate/will_paginate.rb
|
211
101
|
- lib/pox_paginate/xml_mini/jdom.rb
|
212
102
|
- lib/pox_paginate/xml_mini/libxml.rb
|
213
103
|
- lib/pox_paginate/xml_mini/nokogiri.rb
|
214
104
|
- lib/pox_paginate/xml_mini/rexml.rb
|
105
|
+
- lib/pox_paginate/xml_mini.rb
|
106
|
+
- lib/pox_paginate.rb
|
107
|
+
- README.rdoc
|
108
|
+
- CHANGELOG
|
109
|
+
- LICENCE
|
215
110
|
- pox_paginate.gemspec
|
216
|
-
- spec/config/database.yml
|
217
111
|
- spec/db/migrate/001_create_oogas.rb
|
218
112
|
- spec/pox_paginate/active_resource/xml_format_spec.rb
|
219
113
|
- spec/pox_paginate/active_support/core_hash_ext_spec.rb
|
@@ -223,41 +117,34 @@ files:
|
|
223
117
|
has_rdoc: true
|
224
118
|
homepage: http://c42.in/open_source
|
225
119
|
licenses: []
|
226
|
-
|
227
120
|
post_install_message:
|
228
|
-
rdoc_options:
|
121
|
+
rdoc_options:
|
229
122
|
- --charset=UTF-8
|
230
|
-
require_paths:
|
123
|
+
require_paths:
|
231
124
|
- lib
|
232
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
233
126
|
none: false
|
234
|
-
requirements:
|
235
|
-
- -
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
|
238
|
-
|
239
|
-
- 0
|
240
|
-
version: "0"
|
241
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ! '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
132
|
none: false
|
243
|
-
requirements:
|
244
|
-
- -
|
245
|
-
- !ruby/object:Gem::Version
|
246
|
-
|
247
|
-
segments:
|
248
|
-
- 0
|
249
|
-
version: "0"
|
133
|
+
requirements:
|
134
|
+
- - ! '>='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 1.3.0
|
250
137
|
requirements: []
|
251
|
-
|
252
138
|
rubyforge_project:
|
253
|
-
rubygems_version: 1.
|
139
|
+
rubygems_version: 1.6.2
|
254
140
|
signing_key:
|
255
141
|
specification_version: 3
|
256
|
-
summary: Transparent support for pagination using WillPaginate with POX (Plain Old
|
257
|
-
|
258
|
-
|
259
|
-
- spec/
|
260
|
-
- spec/pox_paginate/xml_mini_spec.rb
|
142
|
+
summary: Transparent support for pagination using WillPaginate with POX (Plain Old
|
143
|
+
Xml) and ActiveResource
|
144
|
+
test_files:
|
145
|
+
- spec/db/migrate/001_create_oogas.rb
|
261
146
|
- spec/pox_paginate/active_resource/xml_format_spec.rb
|
262
147
|
- spec/pox_paginate/active_support/core_hash_ext_spec.rb
|
263
|
-
- spec/
|
148
|
+
- spec/pox_paginate/will_paginate/collection_extensions_spec.rb
|
149
|
+
- spec/pox_paginate/xml_mini_spec.rb
|
150
|
+
- spec/spec_helper.rb
|
data/.rspec
DELETED
data/Gemfile
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
source "http://rubygems.org"
|
2
|
-
|
3
|
-
gem 'activeresource', '~> 3.0.1'
|
4
|
-
gem 'activesupport', '~> 3.0.1'
|
5
|
-
gem 'will_paginate', '~> 3.0.pre2'
|
6
|
-
|
7
|
-
group :test do
|
8
|
-
gem 'activerecord', '~> 3.0.1'
|
9
|
-
gem 'rspec', '~> 2.0.0'
|
10
|
-
gem 'nokogiri', '~> 1.4.3.1'
|
11
|
-
platforms :jruby do
|
12
|
-
gem 'jdbc-sqlite3', '~> 3.6.3.054'
|
13
|
-
gem 'activerecord-jdbcsqlite3-adapter', '~> 0.9.7'
|
14
|
-
end
|
15
|
-
platforms :ruby do
|
16
|
-
gem 'sqlite3-ruby', '~> 1.3.1'
|
17
|
-
gem 'libxml-ruby', '~> 1.1.4' unless Object.const_defined?('RUBY_ENGINE') && RUBY_ENGINE =~ /rbx/
|
18
|
-
end
|
19
|
-
end
|
data/Rakefile
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
puts "Building on Ruby #{RUBY_VERSION}, #{RUBY_RELEASE_DATE}, #{RUBY_PLATFORM}"
|
2
|
-
|
3
|
-
require "rubygems"
|
4
|
-
|
5
|
-
require 'rake'
|
6
|
-
require 'rspec'
|
7
|
-
require 'rspec/core/rake_task'
|
8
|
-
|
9
|
-
$:.unshift File.expand_path("../lib", __FILE__)
|
10
|
-
|
11
|
-
desc 'Default: run spec tests.'
|
12
|
-
task :default => 'rspec:unit'
|
13
|
-
|
14
|
-
desc 'Cruise task'
|
15
|
-
task :cruise => 'rspec:unit'
|
16
|
-
|
17
|
-
namespace :rspec do
|
18
|
-
desc "Run all unit specs"
|
19
|
-
RSpec::Core::RakeTask.new(:unit) do |task|
|
20
|
-
task.pattern = 'spec/pox_paginate/**/*_spec.rb'
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
begin
|
25
|
-
require 'jeweler'
|
26
|
-
Jeweler::Tasks.new do |gemspec|
|
27
|
-
gemspec.name = "pox_paginate"
|
28
|
-
gemspec.summary = "Transparent support for pagination using WillPaginate with POX (Plain Old Xml) and ActiveResource"
|
29
|
-
gemspec.description = "Transparent support for pagination using WillPaginate with POX (Plain Old Xml) and ActiveResource. This gem is based on C42 Engineering's experience building largish distributed systems consisting of multiple Rails apps integrated over POX (Plain Old XML)."
|
30
|
-
gemspec.authors = ["Sidu Ponnappa", "Niranjan Paranjape"]
|
31
|
-
gemspec.email = "opensource@c42.in"
|
32
|
-
gemspec.homepage = "http://c42.in/open_source"
|
33
|
-
gemspec.has_rdoc = false
|
34
|
-
gemspec.require_path = "lib"
|
35
|
-
gemspec.files.exclude *['.gitignore']
|
36
|
-
|
37
|
-
gemspec.test_files.exclude *['.gitignore']
|
38
|
-
gemspec.add_dependency('activesupport', '~> 3.0.0')
|
39
|
-
gemspec.add_dependency('activeresource', '~> 3.0.0')
|
40
|
-
gemspec.add_dependency('will_paginate', '~> 3.0.pre2')
|
41
|
-
gemspec.add_development_dependency('rspec', '~> 2.0.0.beta.20')
|
42
|
-
gemspec.add_development_dependency('activerecord', '~> 3.0.0')
|
43
|
-
gemspec.add_development_dependency('sqlite3-ruby', '~> 1.3.1')
|
44
|
-
gemspec.add_development_dependency('nokogiri', '~> 1.4.3.1')
|
45
|
-
gemspec.add_development_dependency('libxml-ruby', '~> 1.1.4')
|
46
|
-
|
47
|
-
end
|
48
|
-
|
49
|
-
Jeweler::GemcutterTasks.new
|
50
|
-
rescue LoadError
|
51
|
-
puts "Jeweler not available. Install it with: gem install jeweler"
|
52
|
-
puts "If you're using JRuby and are having trouble installing jeweler, try installing the git (gem install git) and rubyforge (gem install rubyforge) gems by hand. Also remember to update gems itself (jruby -S gem update --system)."
|
53
|
-
end
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.2.2
|
data/spec/config/database.yml
DELETED