crabfarm 0.4.1 → 0.4.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
  SHA1:
3
- metadata.gz: 360f47c6a19987042f26dd6421993ccf09462242
4
- data.tar.gz: 463d0dfea2b7ac2def6982decdd965aa5e31a459
3
+ metadata.gz: bf6e7d6f8659f3c1bac2e007a467766e23c6edc8
4
+ data.tar.gz: 9831fc872ce20aa5f78fff598d774c32363da716
5
5
  SHA512:
6
- metadata.gz: 2f8b920c57db29a441ca777b13cf844d11f369ae728bc3de5f30f416ab7da86f745ec41eac8ab02e2a9fc70480d68ac63d95781850ce1e2c59412208915c1b67
7
- data.tar.gz: f54c43ff80b896d4186e99560a4805672572dd50628964ed0a6e15492063affa361e3d9d0581d16003fd43d600e8b12415c93c5e4ecac4ad5bea8d1978d86973
6
+ metadata.gz: 5fdfdc33011d754a0effb063b3cd37c4c02f4cf5ea19da217de68290db4f450bb2740b109ab7202f7491ea24055475f1dc6ce22ced7af0e691b9200154a38674
7
+ data.tar.gz: e4f6d82029a3a5a9476c2c496681c2ab96f6489c83745c0726c78134c48a3a3d9c4a1af6d77594962c17323541a0f83cd555fb39d3c4d41dd28fe69b8303822d
@@ -28,7 +28,7 @@ module Crabfarm
28
28
  end
29
29
 
30
30
  desc "Starts the crawler in live mode"
31
- command [:live, :i] do |c|
31
+ command [:live, :l] do |c|
32
32
  c.action do |global_options,options,args|
33
33
  next puts "This command can only be ran inside a crabfarm application" unless GlobalState.inside_crawler_app?
34
34
 
@@ -31,9 +31,12 @@ module Crabfarm
31
31
  driver.window_handle
32
32
  sleep 1.0
33
33
  end
34
+ rescue SystemExit, Interrupt
35
+ # Nothing for now
34
36
  rescue Exception => e
35
- puts e
36
- puts e.backtrace
37
+ # Nothing for now
38
+ # puts e.class.to_s
39
+ # puts e.backtrace
37
40
  end
38
41
 
39
42
  puts "Releasing crawling context".color(:green)
@@ -1,3 +1,3 @@
1
1
  module Crabfarm
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crabfarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ignacio Baixas