socializer-scraper 0.0.4 → 0.0.5

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: 5ff0568774a1e3bf2ce45ffee204ad10802906ab
4
- data.tar.gz: 964535e1f772af5f02ab1b029cb3a9281251d5c1
3
+ metadata.gz: e2a0dffdfdc26a3fe5b797f05217b6740f774947
4
+ data.tar.gz: d6881c694359b22f9e4ff1680f3e5faccce4fc49
5
5
  SHA512:
6
- metadata.gz: 1dbebe4c40d48807ef2675b856aa4c47d5436cf45134c429a34bc6c9451506dbe7ed28a26ec43ffcce096d833868b5fcc44b827274f7141c15551544b4b0bc9c
7
- data.tar.gz: 31ae5ac34fc0ecb904468772e6e7d2d51286b286a42c86740ee3095688e90471f1a3b97f08787ddffb9b22794b64b447bbc514e5c1fdd4ba6d107a702c56094c
6
+ metadata.gz: 34e3032cc875c6b430fa9d62c381c39defb9cb3cd205008bcad530f3b42d4770bc8760434cde39cb0835a049dbec04db4a3e5485e0ce0237d2c023b343b4f7bc
7
+ data.tar.gz: 06614ecce98c80a31743c4f978145e4ac4a4d2fdcd7536103de06c36538c777cd8217b464351da285e1693d7735f0a30ed86e1b615e81f90c00468f841934525
@@ -5,6 +5,7 @@ require 'yaml'
5
5
  require 'thor'
6
6
  require 'fileutils'
7
7
  require 'socializer/scraper'
8
+ STDOUT.sync = true
8
9
 
9
10
  class Socializer::Scraper::CLI < Thor
10
11
 
@@ -33,9 +34,9 @@ class Socializer::Scraper::CLI < Thor
33
34
 
34
35
  if counter % 100 == 99
35
36
  File.open(file, "w") { |f| f.puts list.to_yaml }
36
- puts found
37
+ STDOUT.puts found
37
38
  else
38
- print found
39
+ STDOUT.print found
39
40
  end
40
41
 
41
42
  counter += 1
@@ -1,5 +1,5 @@
1
1
  module Socializer
2
2
  module Scraper
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socializer-scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikhil Gupta