datafusion 0.0.6 → 0.0.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 027b374699b6947eb182f3ff7b1ff9bb7398a484
4
- data.tar.gz: 87e259fa1f12032975063a9f1716a87417583dfe
3
+ metadata.gz: 05159f4373eeb40d11b0a2dd7869c5f5cf5703e8
4
+ data.tar.gz: f6b8fa17cea6134a2f2cc3232afb88e032cc905f
5
5
  SHA512:
6
- metadata.gz: 13a4d577986d29ff0c006e5aeadc21facf099a1171cac29b7f1ef343fe78ffb6919687cfb5a9e0d8a17991cfc68b0aaeb0854f001e6e3b15edda49b14f25f6d3
7
- data.tar.gz: 409df68d0d4198bb6ef44cbe902897addeb48f575ca2d3ecb023f42430ba59b8ab78bb9df465ba78cf7e375b928cc5cc2605969610412b22410565f2311e7a61
6
+ metadata.gz: c76a7c10a1ebb986394279b36af981f16efddbc2a333eb926a099a26f736976f48fa2b302480d7488a78104d9bfc639f5c7b6e4f335b5397c8add27d78876b0b
7
+ data.tar.gz: b49a0ed3fb636c087e297864b4739d75f1c65932ba74255379659ec84d69e1a594ede803912f98049ea4db76c0e7c1d7e9f07b0f887b955e6996102cb8f8326f
data/bin/datafusion CHANGED
@@ -48,7 +48,7 @@ end
48
48
  file = opts[:file]
49
49
 
50
50
  if opts[:setup]
51
- puts Datafusion.fuse(file, exec_class, opts)
51
+ Datafusion.fuse(file, exec_class, opts)
52
52
  elsif opts[:agent]
53
53
  sched = Datafusion.refresh(file, exec_class, opts)
54
54
  Datafusion.log.info("Running refresh agent.")
@@ -1,3 +1,3 @@
1
1
  module Datafusion
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/lib/datafusion.rb CHANGED
@@ -9,7 +9,10 @@ require "rufus-scheduler"
9
9
 
10
10
  module Datafusion
11
11
  def self.log
12
- @log ||= Logger.new(STDOUT)
12
+ unless @log
13
+ @log = Logger.new($stdout)
14
+ $stdout.sync = true
15
+ end
13
16
  @log
14
17
  end
15
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datafusion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dotan Nahum