rack-pjax 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  class Pjax
3
- VERSION = "0.5.5"
3
+ VERSION = "0.5.6"
4
4
  end
5
5
  end
data/lib/rack/pjax.rb CHANGED
@@ -22,8 +22,7 @@ module Rack
22
22
  title = parsed_body.at("title")
23
23
 
24
24
  new_body << title.to_s if title
25
- # workaround hpricot bug (https://github.com/eval/rack-pjax/pull/5)
26
- new_body << children.map { |c| c.to_original_html }.join
25
+ new_body << container.inner_html
27
26
  else
28
27
  new_body << b
29
28
  end
data/rack-pjax.gemspec CHANGED
@@ -19,5 +19,5 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  s.add_dependency('rack', '~>1.3')
22
- s.add_dependency('hpricot', '~>0.8.4')
22
+ s.add_dependency('hpricot', '~>0.8.6')
23
23
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-pjax
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 5
10
- version: 0.5.5
9
+ - 6
10
+ version: 0.5.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Gert Goet
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-07 00:00:00 Z
18
+ date: 2012-01-23 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rack
@@ -40,12 +40,12 @@ dependencies:
40
40
  requirements:
41
41
  - - ~>
42
42
  - !ruby/object:Gem::Version
43
- hash: 55
43
+ hash: 51
44
44
  segments:
45
45
  - 0
46
46
  - 8
47
- - 4
48
- version: 0.8.4
47
+ - 6
48
+ version: 0.8.6
49
49
  type: :runtime
50
50
  version_requirements: *id002
51
51
  description: Serve pjax responses through rack middleware