kimurai-dashboard 0.1.1 → 0.1.2

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: 4076735ad425281574a5bf8352235ef4afe94be5a9457af82cce178c16baa15d
4
- data.tar.gz: c6a6536f7e7e5e2a6e5e73fb02fc3f6d049c0f917a4e7cfe09062b6bbd2d054b
3
+ metadata.gz: 58150ded11d2b495f52d1395b5393168ec5148a721d4e0d555eb05fe1469b80e
4
+ data.tar.gz: ebf7784a35e9b8572838c28b0416fb6d7abb9591c3230733788b06cdf33c4826
5
5
  SHA512:
6
- metadata.gz: 245e2444dd1ddf1db5f969a29e57f741a086527f6c511952b16d74dfbf35b8e1f52bc68e7e2cbba3c281bb50bbe4aa37d4be8651db57dd2edb6f49cfbb805255
7
- data.tar.gz: 5f3b06c071f15a45f1833f8f11cb603f0c24a12847850d5dbd6a7e6e1159b06ee457616d428e807b812cc6b61bf4a9b91be9753a890f9e4643c103e5ba6f6c18
6
+ metadata.gz: ec30794bd24c81af83310cb82721030d518864536118e18d6f940b34210c00dc8b911c7e2eed7eeb74fb7b9120f7d7a4afa57991d434e0cd1d17d396aeb94cd6
7
+ data.tar.gz: ff60554d8c16e794497bd775923f4e4a8c2cab46634e7dbff5022df5e5fe74f76c90eba330dd8499476f67a318cb30d1800bc8efafb192a6884413429a1d9c20
@@ -7,7 +7,7 @@ module Kimurai
7
7
  alias_method :original_crawl!, :crawl!
8
8
  end
9
9
 
10
- def self.crawl!(continue: false, exception_on_fail: true)
10
+ def self.crawl!(exception_on_fail: true)
11
11
  logger.error "Spider: already running: #{name}" and return false if running?
12
12
 
13
13
  spider = Dashboard::Spider.find_or_create(name: name)
@@ -39,7 +39,7 @@ module Kimurai
39
39
  loop { sleep 0.5 and updater.call and sleep 1.5 }
40
40
  end
41
41
 
42
- final_info, error = original_crawl!(continue: continue, exception_on_fail: false)
42
+ final_info, error = original_crawl!(exception_on_fail: false)
43
43
  if error
44
44
  exception_on_fail ? raise(error) : [final_info, error]
45
45
  else
@@ -1,5 +1,5 @@
1
1
  module Kimurai
2
2
  module Dashboard
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kimurai-dashboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Afanasev