pagelime-rails 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98a56419e15fd1630981b3d13471398bf07530a6
4
- data.tar.gz: d05819fae445c52f43e2b13d1913206cd013f2f0
3
+ metadata.gz: d9570776a70cb704333b2d8e065b79968bb3d91c
4
+ data.tar.gz: 8ee1bc0d241bb5a61f00a9fe35773f518fef7c0f
5
5
  SHA512:
6
- metadata.gz: 5ca9ada4e2d378e325a4513d88378b1ad9ad56ee3119bc0199622d16fa2d3a8948cca09a86ef94776eb9c17a8c490bb74d4eb1f94475b0436f9d9aa7c786a702
7
- data.tar.gz: 1d1392d3ce7db894119adbc309f07da79e153d6b0f4334ae7fd1e46242ad752cb1a3609602142ffd784607c2f82143d7e9e25797d2121d1cace2932cd4f7a303
6
+ metadata.gz: 3ae0182cd8bc802b1d72c54a81d2d32ae16bb3fef9b0721b3c4fa23057339cfd6717ddbaa62189fc6ba7352295987fe4faa4163104943440849f6140efb7c5e0
7
+ data.tar.gz: 9b48d367c90671280e857b244463bd24b1055bf36824d37b95e39b84130bc037d01f6d8ffd0f5e169e36b45438d70b5bf2b844eca7c76304556d13b0a98ef9a3
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source "http://rubygems.org"
2
2
  # Add dependencies required to use your gem here.
3
3
  # Example:
4
4
 
5
- gem 'pagelime-rack', '>= 0.4.3'
5
+ gem 'pagelime-rack', '>= 0.4.4'
6
6
 
7
7
  # Add dependencies to develop your gem here.
8
8
  # Include everything needed to run rake, tests, features, etc.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -12,7 +12,7 @@ module Pagelime
12
12
  ::Rails.logger.debug "PAGELIME CMS RAILS PLUGIN: Processing response body in controller"
13
13
 
14
14
  # tell pagelime-rack to parse response body, cache, and use result as response body
15
- ::Rack::Pagelime.enable_processing_for_request(request.env)
15
+ ::Rack::Pagelime.enable_processing_for_request(request)
16
16
  end
17
17
  end
18
18
 
@@ -2,14 +2,14 @@ class PagelimeReceiverController < ApplicationController
2
2
 
3
3
  def index
4
4
  ::Rails.logger.debug "PAGELIME RAILS RECEIVER index"
5
- status, headers, body = Rack::Pagelime.handle_status_check(request.env)
5
+ status, headers, body = Rack::Pagelime.handle_status_check(request)
6
6
 
7
7
  render :inline => body.string, :status => status
8
8
  end
9
9
 
10
10
  def after_publish_callback
11
11
  ::Rails.logger.debug "PAGELIME RAILS RECEIVER after_publish_callback"
12
- status, headers, body = Rack::Pagelime.handle_publish_callback(request.env)
12
+ status, headers, body = Rack::Pagelime.handle_publish_callback(request)
13
13
 
14
14
  render :inline => body.string, :status => status
15
15
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pagelime-rails"
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Emil Anticevic", "Joel Van Horn"]
@@ -48,16 +48,16 @@ Gem::Specification.new do |s|
48
48
  s.specification_version = 4
49
49
 
50
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_runtime_dependency(%q<pagelime-rack>, [">= 0.4.3"])
51
+ s.add_runtime_dependency(%q<pagelime-rack>, [">= 0.4.4"])
52
52
  s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
53
53
  s.add_development_dependency(%q<jeweler>, [">= 1.6.4"])
54
54
  else
55
- s.add_dependency(%q<pagelime-rack>, [">= 0.4.3"])
55
+ s.add_dependency(%q<pagelime-rack>, [">= 0.4.4"])
56
56
  s.add_dependency(%q<bundler>, [">= 1.0.0"])
57
57
  s.add_dependency(%q<jeweler>, [">= 1.6.4"])
58
58
  end
59
59
  else
60
- s.add_dependency(%q<pagelime-rack>, [">= 0.4.3"])
60
+ s.add_dependency(%q<pagelime-rack>, [">= 0.4.4"])
61
61
  s.add_dependency(%q<bundler>, [">= 1.0.0"])
62
62
  s.add_dependency(%q<jeweler>, [">= 1.6.4"])
63
63
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagelime-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Anticevic
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '>='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.4.3
20
+ version: 0.4.4
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '>='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.4.3
27
+ version: 0.4.4
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement