splat 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.
@@ -1,4 +1,4 @@
1
- class Splat::Darwin10Clipboard
1
+ class Splat::DarwinClipboard
2
2
  def content= text
3
3
  `echo "#{text}" | pbcopy`
4
4
  end
@@ -1,4 +1,4 @@
1
- class Splat::Darwin10Launcher
1
+ class Splat::DarwinLauncher
2
2
  def launch text
3
3
  `open #{text}`
4
4
  end
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 /darwin10/i
24
+ when /darwin/i
25
25
  @platform = :macosx
26
- require 'splat/darwin10_clipboard'
27
- @clipboard = Splat::Darwin10Clipboard.new
28
- require 'splat/darwin10_launcher'
29
- @launcher = Splat::Darwin10Launcher.new
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
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/darwin10_clipboard.rb
31
- - lib/splat/darwin10_launcher.rb
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