splat 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +0 -6
  2. data/lib/splat.rb +0 -8
  3. metadata +6 -17
@@ -26,12 +26,6 @@ This is done by adding the following methods to String:
26
26
 
27
27
  Defaults to notepad on windows and vim everywhere else. Set "EDITOR" environment variable to override this.
28
28
 
29
- == browser automation
30
-
31
- 'http://www.google.com'.to_browser
32
-
33
- Returns a watir compatible browser using watir-webdriver.
34
-
35
29
  == clipboard
36
30
 
37
31
  'some new content'.to_clipboard
@@ -1,24 +1,16 @@
1
1
  require 'tempfile'
2
- require 'watir-webdriver'
3
2
 
4
3
  class String
5
4
  def splat_unsupported
6
5
  $stderr.puts 'platform not supported'
7
6
  end
8
7
 
9
- alias :to_browser :splat_unsupported
10
8
  alias :to_clipboard :splat_unsupported
11
9
  alias :to_speech :splat_unsupported
12
10
  alias :to_launcher :splat_unsupported
13
11
  alias :to_player :splat_unsupported
14
12
  alias :to_os_path :to_s
15
13
 
16
- def to_browser
17
- @browser = Watir::Browser.new
18
- @browser.goto self
19
- @browser
20
- end
21
-
22
14
  def to_editor
23
15
  tmp_file = Tempfile.new('splat')
24
16
  tmp_file.close
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.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-21 00:00:00.000000000Z
12
+ date: 2011-09-10 00:00:00.000000000Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: watir-webdriver
16
- requirement: &70171734295760 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: *70171734295760
25
14
  - !ruby/object:Gem::Dependency
26
15
  name: rake
27
- requirement: &70171734295320 !ruby/object:Gem::Requirement
16
+ requirement: &70248397921440 !ruby/object:Gem::Requirement
28
17
  none: false
29
18
  requirements:
30
19
  - - ! '>='
@@ -32,10 +21,10 @@ dependencies:
32
21
  version: '0'
33
22
  type: :development
34
23
  prerelease: false
35
- version_requirements: *70171734295320
24
+ version_requirements: *70248397921440
36
25
  - !ruby/object:Gem::Dependency
37
26
  name: rspec
38
- requirement: &70171734322020 !ruby/object:Gem::Requirement
27
+ requirement: &70248397921000 !ruby/object:Gem::Requirement
39
28
  none: false
40
29
  requirements:
41
30
  - - ! '>='
@@ -43,7 +32,7 @@ dependencies:
43
32
  version: '0'
44
33
  type: :development
45
34
  prerelease: false
46
- version_requirements: *70171734322020
35
+ version_requirements: *70248397921000
47
36
  description: ! "An adapter to get access to the following features across different
48
37
  platforms:\n\n * the clipboard\n * a default application launcher\n * a media player\n
49
38
  * text to speech\n"