splat 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/lib/splat.rb
CHANGED
@@ -21,12 +21,12 @@ class Splat
|
|
21
21
|
puts 'for browser automation with splat on windows'
|
22
22
|
puts ' * gem install watir'
|
23
23
|
end
|
24
|
-
when /
|
24
|
+
when /darwin/i
|
25
25
|
@platform = :macosx
|
26
|
-
require 'splat/
|
27
|
-
@clipboard = Splat::
|
28
|
-
require 'splat/
|
29
|
-
@launcher = Splat::
|
26
|
+
require 'splat/darwin_clipboard'
|
27
|
+
@clipboard = Splat::DarwinClipboard.new
|
28
|
+
require 'splat/darwin_launcher'
|
29
|
+
@launcher = Splat::DarwinLauncher.new
|
30
30
|
begin
|
31
31
|
require 'safariwatir'
|
32
32
|
@browser_class = Watir::Safari
|
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.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Ryall
|
@@ -27,8 +27,8 @@ extensions: []
|
|
27
27
|
extra_rdoc_files: []
|
28
28
|
|
29
29
|
files:
|
30
|
-
- lib/splat/
|
31
|
-
- lib/splat/
|
30
|
+
- lib/splat/darwin_clipboard.rb
|
31
|
+
- lib/splat/darwin_launcher.rb
|
32
32
|
- lib/splat/win32_clipboard.rb
|
33
33
|
- lib/splat/win32_launcher.rb
|
34
34
|
- lib/splat.rb
|