ress 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module Ress
12
12
 
13
13
  def set_force_canonical_cookie
14
14
  if params[:force_canonical]
15
- cookies[:force_canonical] = 1
15
+ cookies[:force_canonical] = 'true'
16
16
  end
17
17
  end
18
18
 
@@ -1,3 +1,3 @@
1
1
  module Ress
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -52,7 +52,7 @@
52
52
  this.readCookie(FORCE_COOKIE) === 'true';
53
53
  };
54
54
 
55
- VersionManager.prototype.readCookie = function() {
55
+ VersionManager.prototype.readCookie = function(name) {
56
56
  var nameEQ = name + "=";
57
57
  var ca = document.cookie.split(';');
58
58
  for(var i=0;i < ca.length;i++) {
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ress
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matthew Robertson