facepalm2 0.0.3 → 0.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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/facepalm2.gemspec +2 -2
- data/lib/facepalm/rails/helpers/url_helper.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56e470c74f47e9b60f23a263276080e3596f5484
|
4
|
+
data.tar.gz: a57eca5199a0e9055a94afc08f9c5989b53b4999
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbd841b9eaa1b865683d28612f9d94ad0155d248d4cb66f9a054a3c1d849cfad310a7ac64c4de188fd693f953b45b779290022512a1f694584afb011cc8b25cb
|
7
|
+
data.tar.gz: 49e2ad0c4213442034a28d4b3d2db7877dc9d5401136710f3bb34f8a71e134ab568196045c9d0303522f96d92d026276cea2f1e6ccd3a840bb477686f179157b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/facepalm2.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: facepalm2 0.0.
|
5
|
+
# stub: facepalm2 0.0.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "facepalm2"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
@@ -5,6 +5,7 @@ module Facepalm
|
|
5
5
|
# Overrides UrlHelper#url_for to filter out secure Facebook params
|
6
6
|
# and add Facebook Canvas URL if necessary
|
7
7
|
def url_for(options = {})
|
8
|
+
::Rails.logger.info options
|
8
9
|
if options.is_a?(Hash)
|
9
10
|
if options.delete(:canvas) && !options[:host]
|
10
11
|
options[:only_path] = true
|
@@ -15,6 +16,7 @@ module Facepalm
|
|
15
16
|
end
|
16
17
|
|
17
18
|
url = super(options.except(:signed_request))
|
19
|
+
::Rails.logger.info "URL: #{url}"
|
18
20
|
|
19
21
|
canvas ? URI.join(facebook_canvas_page_url, url).to_s : url
|
20
22
|
else
|