open_graph 0.1.4 → 0.1.5
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.
- data/facebook-stub/facebook-stub.js +4 -2
- data/lib/open_graph/version.rb +1 -1
- metadata +4 -4
|
@@ -359,8 +359,10 @@ FBWorld.Helpers.makeMeACookie = function(name, value, options) {
|
|
|
359
359
|
if (typeof value != 'undefined') { // name and value given, set cookie
|
|
360
360
|
options = options || {};
|
|
361
361
|
if (value === null) {
|
|
362
|
-
|
|
363
|
-
|
|
362
|
+
value = '';
|
|
363
|
+
options.expires = -1;
|
|
364
|
+
} else {
|
|
365
|
+
options.expires = null;
|
|
364
366
|
}
|
|
365
367
|
var expires = '';
|
|
366
368
|
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
|
data/lib/open_graph/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: open_graph
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.1.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Change.org Engineering
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-06-
|
|
18
|
+
date: 2011-06-16 00:00:00 -07:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|