temporal-rails 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Temporal
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -50,7 +50,7 @@ class Temporal
50
50
  expiration = new Date()
51
51
  expiration.setMonth(expiration.getMonth() + 1)
52
52
  document.cookie = "timezone=#{timezone.name}; expires=#{expiration.toGMTString()}"
53
- document.cookie = "timezone_offset=#{timezone.offset}"
53
+ document.cookie = "timezone_offset=#{timezone.offset}; expires=#{expiration.toGMTString()}"
54
54
  @callback?(timezone)
55
55
 
56
56
  @get: ->
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: temporal-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -161,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  segments:
163
163
  - 0
164
- hash: -549914994606472815
164
+ hash: 2430015501946444903
165
165
  required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  none: false
167
167
  requirements:
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  segments:
172
172
  - 0
173
- hash: -549914994606472815
173
+ hash: 2430015501946444903
174
174
  requirements: []
175
175
  rubyforge_project:
176
176
  rubygems_version: 1.8.24