open_graph 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- value = '';
363
- options.expires = -1;
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)) {
@@ -1,3 +1,3 @@
1
1
  module OpenGraph
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
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-14 00:00:00 -07:00
18
+ date: 2011-06-16 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency