splat 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/splat.rb +3 -3
  2. metadata +1 -1
data/lib/splat.rb CHANGED
@@ -8,7 +8,7 @@ class Splat
8
8
  begin
9
9
  require 'splat/win32_clipboard'
10
10
  @clipboard = Splat::Win32Clipboard.new
11
- rescue
11
+ rescue Exception
12
12
  puts 'for clipboard with splat on windows:'
13
13
  puts ' * gem install win32-clipboard'
14
14
  end
@@ -17,7 +17,7 @@ class Splat
17
17
  begin
18
18
  require 'watir'
19
19
  @browser_class = Watir::IE
20
- rescue
20
+ rescue Exception
21
21
  puts 'for browser automation with splat on windows'
22
22
  puts ' * gem install watir'
23
23
  end
@@ -30,7 +30,7 @@ class Splat
30
30
  begin
31
31
  require 'safariwatir'
32
32
  @browser_class = Watir::Safari
33
- rescue
33
+ rescue Exception
34
34
  puts 'for browser automation with splat on mac os x:'
35
35
  puts ' * gem install safariwatir'
36
36
  puts ' * gem install rb-appscript'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Ryall