call_center 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. data/lib/call_center/test/dsl.rb +6 -3
  2. metadata +4 -4
@@ -26,10 +26,13 @@ module CallCenter
26
26
  HTML::Document.new(CGI.unescapeHTML(@body))
27
27
  end
28
28
 
29
- def response_from_page_or_rjs_with_body
30
- html_document.root
29
+ if ActionPack::VERSION::STRING < "3.2.0"
30
+ def response_from_page_or_rjs_with_body
31
+ html_document.root
32
+ end
33
+
34
+ alias_method_chain :response_from_page_or_rjs, :body
31
35
  end
32
- alias_method_chain :response_from_page_or_rjs, :body
33
36
  end
34
37
  end
35
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: call_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-13 00:00:00.000000000 Z
12
+ date: 2013-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -72,7 +72,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
72
  version: '0'
73
73
  segments:
74
74
  - 0
75
- hash: -631066211889326188
75
+ hash: -3714808437100980602
76
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  none: false
78
78
  requirements:
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  segments:
83
83
  - 0
84
- hash: -631066211889326188
84
+ hash: -3714808437100980602
85
85
  requirements: []
86
86
  rubyforge_project:
87
87
  rubygems_version: 1.8.25