pox_paginate 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.2.4
2
+ * Moving to WillPaginate 3.0.0
3
+
1
4
  == 0.2.3
2
5
  * Fixing file permission problems with packaged gem
3
6
 
@@ -1,4 +1,4 @@
1
- = PoxPaginate 0.2.2
1
+ = PoxPaginate 0.2.4
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
 
@@ -56,7 +56,8 @@ Now whenever you do
56
56
  PoxPaginate will kick in if pagination related attributes are present on the root node, and will result in the creation of a PoxPaginate::RemoteCollection, which is a subclass of WillPaginate::Collection and so behaves in exactly the same manner.
57
57
 
58
58
  === Note
59
- * PoxPaginate currently overrides the Hash.from_xml method to fix a bug in Rails that is documented in this {Lighthouse ticket}[https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3217-parsing-an-xml-file-with-multiple-records-and-extra-attributes-besides-type-fails]
59
+ * PoxPaginate currently overrides the Hash.from_xml method to fix a bug in Rails that is documented in this {Rails issue}[https://github.com/rails/rails/issues/636]
60
+ * This patch is merged in Rail head (not in RC6)
60
61
  * PoxPaginate must needs be installed on both the client and the server Rails instance
61
62
 
62
63
  == Continuous Itegration
@@ -11,7 +11,7 @@ require 'active_resource'
11
11
  require 'active_support'
12
12
  require 'active_support/core_ext'
13
13
  require 'will_paginate/collection'
14
- require 'will_paginate/finders/active_resource'
14
+ # require 'will_paginate/finders/active_resource'
15
15
 
16
16
  module PoxPaginate
17
17
  Root = File.dirname(__FILE__)
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  # dependencies
23
23
  s.add_runtime_dependency "activesupport", ["~> 3.0.0"]
24
24
  s.add_runtime_dependency "activeresource", ["~> 3.0.0"]
25
- s.add_runtime_dependency "will_paginate", ["~> 3.0.pre2"]
25
+ s.add_runtime_dependency "will_paginate", ["~> 3.0.0"]
26
26
 
27
27
  # development dependencies
28
28
  s.add_development_dependency "rspec", ["~> 2.6.0"]
@@ -5,14 +5,12 @@ require 'rspec'
5
5
 
6
6
 
7
7
  require 'active_record'
8
- require 'will_paginate/finders/active_record'
8
+ require 'will_paginate/active_record'
9
9
 
10
10
  ActiveRecord::Base.establish_connection(YAML::load(File.open(File.dirname(__FILE__) + '/config/database.yml')))
11
11
  ActiveRecord::Base.logger = Logger.new(File.open(File.dirname(__FILE__) + '/../log/test.log', 'a'))
12
12
  ActiveRecord::Migrator.up(File.dirname(__FILE__) + '/db/migrate')
13
13
 
14
- WillPaginate::Finders::ActiveRecord.enable!
15
-
16
14
  class Ooga < ActiveRecord::Base
17
15
  end
18
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pox_paginate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,12 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-06-20 00:00:00.000000000 +05:30
14
- default_executable:
13
+ date: 2011-08-27 00:00:00.000000000Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: activesupport
18
- requirement: &2153009620 !ruby/object:Gem::Requirement
17
+ requirement: &70362718441840 !ruby/object:Gem::Requirement
19
18
  none: false
20
19
  requirements:
21
20
  - - ~>
@@ -23,10 +22,10 @@ dependencies:
23
22
  version: 3.0.0
24
23
  type: :runtime
25
24
  prerelease: false
26
- version_requirements: *2153009620
25
+ version_requirements: *70362718441840
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: activeresource
29
- requirement: &2153009140 !ruby/object:Gem::Requirement
28
+ requirement: &70362718441360 !ruby/object:Gem::Requirement
30
29
  none: false
31
30
  requirements:
32
31
  - - ~>
@@ -34,21 +33,21 @@ dependencies:
34
33
  version: 3.0.0
35
34
  type: :runtime
36
35
  prerelease: false
37
- version_requirements: *2153009140
36
+ version_requirements: *70362718441360
38
37
  - !ruby/object:Gem::Dependency
39
38
  name: will_paginate
40
- requirement: &2153008660 !ruby/object:Gem::Requirement
39
+ requirement: &70362718440880 !ruby/object:Gem::Requirement
41
40
  none: false
42
41
  requirements:
43
42
  - - ~>
44
43
  - !ruby/object:Gem::Version
45
- version: 3.0.pre2
44
+ version: 3.0.0
46
45
  type: :runtime
47
46
  prerelease: false
48
- version_requirements: *2153008660
47
+ version_requirements: *70362718440880
49
48
  - !ruby/object:Gem::Dependency
50
49
  name: rspec
51
- requirement: &2153008180 !ruby/object:Gem::Requirement
50
+ requirement: &70362718440400 !ruby/object:Gem::Requirement
52
51
  none: false
53
52
  requirements:
54
53
  - - ~>
@@ -56,10 +55,10 @@ dependencies:
56
55
  version: 2.6.0
57
56
  type: :development
58
57
  prerelease: false
59
- version_requirements: *2153008180
58
+ version_requirements: *70362718440400
60
59
  - !ruby/object:Gem::Dependency
61
60
  name: activerecord
62
- requirement: &2153007700 !ruby/object:Gem::Requirement
61
+ requirement: &70362718439920 !ruby/object:Gem::Requirement
63
62
  none: false
64
63
  requirements:
65
64
  - - ~>
@@ -67,10 +66,10 @@ dependencies:
67
66
  version: 3.0.0
68
67
  type: :development
69
68
  prerelease: false
70
- version_requirements: *2153007700
69
+ version_requirements: *70362718439920
71
70
  - !ruby/object:Gem::Dependency
72
71
  name: nokogiri
73
- requirement: &2153007220 !ruby/object:Gem::Requirement
72
+ requirement: &70362718439440 !ruby/object:Gem::Requirement
74
73
  none: false
75
74
  requirements:
76
75
  - - ~>
@@ -78,7 +77,7 @@ dependencies:
78
77
  version: 1.4.5
79
78
  type: :development
80
79
  prerelease: false
81
- version_requirements: *2153007220
80
+ version_requirements: *70362718439440
82
81
  description: Transparent support for pagination using WillPaginate with POX (Plain
83
82
  Old Xml) and ActiveResource. This gem is based on C42 Engineering's experience building
84
83
  largish distributed systems consisting of multiple Rails apps integrated over POX
@@ -114,7 +113,6 @@ files:
114
113
  - spec/pox_paginate/will_paginate/collection_extensions_spec.rb
115
114
  - spec/pox_paginate/xml_mini_spec.rb
116
115
  - spec/spec_helper.rb
117
- has_rdoc: true
118
116
  homepage: http://c42.in/open_source
119
117
  licenses: []
120
118
  post_install_message:
@@ -136,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
134
  version: 1.3.0
137
135
  requirements: []
138
136
  rubyforge_project:
139
- rubygems_version: 1.6.2
137
+ rubygems_version: 1.8.6
140
138
  signing_key:
141
139
  specification_version: 3
142
140
  summary: Transparent support for pagination using WillPaginate with POX (Plain Old