datacraft 0.3.0 → 0.3.1

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: 5f512f220800ff71938c3d2dfbe7c640dab90f13
4
- data.tar.gz: aad2c68ec6f1663b074dff6c4981d4594588c560
3
+ metadata.gz: 9c4f1974f579a753b15b797c801dbdb1ee05d85e
4
+ data.tar.gz: 59c6d43e0dae78390c37aedc562f8e1cd683da5f
5
5
  SHA512:
6
- metadata.gz: f1f18984edf137b33982301aadb15c7a78a268b1cc50bde6ed3ad1939315b6eb9dc456cd23b268be13a443c5eb1e508c3fe3341b9d5ad0bb71ab7e0643a607bf
7
- data.tar.gz: 9d172bf503e1576535550d60a764114fc33f900f63cf234ef73ce7419d60e37879e4f4a0fa42f9aac601b39e915fb505b09349e29e70e6b8ca639fc54d05d574
6
+ metadata.gz: 404a06490d1af4ffff36bcf1162824ee5cde41014ac1170776d8d0383cf2788cab82cad4975d542c1f41fa2d3250a0d2376eaabdebbd9c9ab68c2b25bcfce4f2
7
+ data.tar.gz: 39fe5a21120f363b87dc796bb35ee2db7676e99c5eaf6596d9dddf19440b070f9983cb1912971b45df6fc56b989935065c117b876493420c78435103bdb27534
@@ -59,10 +59,9 @@ module Datacraft
59
59
  @context.options[:n_threads]].min
60
60
  queue = Queue.new
61
61
  @context.providers.each { |p| queue << p }
62
- threads = thread_number.times.map do |tn|
62
+ threads = thread_number.times.map do
63
63
  Thread.new do
64
64
  until queue.empty?
65
- puts ">> thread #{tn} working..."
66
65
  p = queue.pop(true)
67
66
  p.each { |row| process row }
68
67
  end
@@ -1,3 +1,3 @@
1
1
  module Datacraft
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datacraft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xiaoxing Hu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-29 00:00:00.000000000 Z
11
+ date: 2015-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor