acts_as_publishable 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ module ActsAsPublishable
36
36
 
37
37
  module InstanceMethods
38
38
  def published?
39
- now = Time.now
39
+ now = Time.now.utc
40
40
  @from ||= self[self.class.published_from_column.to_sym]
41
41
  @to ||= self[self.class.published_to_column.to_sym]
42
42
  is_published_now = self[self.class.publish_now_column.to_sym]
@@ -1,4 +1,4 @@
1
1
  module ActsAsPublishable
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: acts_as_publishable
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.2
5
+ version: 0.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rasmus Bang Grouleff