acts_as_publishable 0.3.2 → 0.3.3

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.
@@ -34,7 +34,7 @@ module ActsAsPublishable
34
34
 
35
35
  module InstanceMethods
36
36
  def published?
37
- now = Time.now
37
+ now = Time.now.utc
38
38
  @from ||= self[self.class.published_from_column.to_sym]
39
39
  @to ||= self[self.class.published_to_column.to_sym]
40
40
  is_published_now = self[self.class.publish_now_column.to_sym]
@@ -1,4 +1,4 @@
1
1
  module ActsAsPublishable
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.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.3.2
5
+ version: 0.3.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rasmus Bang Grouleff