ThiagoLelis-backgroundjob 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/bj/table.rb +1 -1
  2. data/lib/bj/util.rb +2 -1
  3. metadata +1 -1
data/lib/bj/table.rb CHANGED
@@ -164,7 +164,7 @@ class Bj
164
164
  :tag => "",
165
165
  :is_restartable => true,
166
166
  :submitter => Bj.hostname,
167
- :submitted_at => Time.now
167
+ :submitted_at => Time.now.utc
168
168
  }
169
169
  end
170
170
 
data/lib/bj/util.rb CHANGED
@@ -107,7 +107,8 @@ class Bj
107
107
  end
108
108
 
109
109
  def now
110
- Bj.config["utc"] ? Time.now.utc : Time.now
110
+ #Bj.config["utc"] ? Time.now.utc : Time.now
111
+ Time.now.utc
111
112
  end
112
113
  end
113
114
  send :extend, ModuleMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ThiagoLelis-backgroundjob
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard