herdst_worker 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6754dcab06ceedfa472bae8e9f36308d5b72865ed9d49c9b50119c923ad7f33a
4
- data.tar.gz: 52d94cf004fb6e482d19b0f1ad254dc1c19a6069fc97e27c758414e38e496b41
3
+ metadata.gz: 6b6b9a0d96a5006442a1575169588704eadbadef89218f89962970f61e4a0172
4
+ data.tar.gz: 7f64060a9d13882974ce5a977a048371b8b00c898b9c0f1eae04c5e879e384ad
5
5
  SHA512:
6
- metadata.gz: 923627aabe68609ac0378cbf90ff33ef96d583902100d8537a6fbfb5cf8dd5c850f888c22d3e2f4a30a0e744c4ceea64cd73d62c7b41b31738c0517f5a53bc2e
7
- data.tar.gz: 42b2742887f6a3db02a715acecee2203b8c787dd4be04bd57320b21fe28d60a1a684b13f7d599da5fde55473f5841679a6e3d55f1e1d8a743cd2a6d6338f8575
6
+ metadata.gz: ac149ff031d7504cb7584ad8535b3cf4f7d6727cc9c1a342268219b84aeba0db3e45c055491d1ba44d97fdce842878733266a94a2e9bd8da2961471c3a62867a
7
+ data.tar.gz: 7d2ee10d17bcfa82279b098da8de0bfc81a63dbc9fc13a82561fc1e70722b9e4666d80a1ec7bf3706df09139d9c7ee2ca5ba63b8f6327f151a0c3d201897cfef
@@ -4,6 +4,8 @@ module HerdstWorker
4
4
 
5
5
 
6
6
  def self.setup(app)
7
+ ActiveRecord::Base.default_timezone = :utc
8
+
7
9
  begin
8
10
  if app.config.is_dev?
9
11
  ActiveRecord::Base.logger = app.logger.activerecord
@@ -15,7 +17,6 @@ module HerdstWorker
15
17
  end
16
18
 
17
19
  ActiveRecord::Base.configurations = db_config.values
18
- ActiveRecord::Base.default_timezone = :utc
19
20
  ActiveRecord::Base.establish_connection(db_config[:primary])
20
21
  ActiveRecord::Base.connection.enable_query_cache!
21
22
  rescue Exception => ex
@@ -1,3 +1,3 @@
1
1
  module HerdstWorker
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: herdst_worker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Herd.St