splat 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,7 +59,7 @@ module Splat
59
59
  try_load 'clipboard'
60
60
  try_load 'launcher'
61
61
  try_load 'player'
62
- try_load 'browser', 'rb-appscript' => 'appscript', 'safariwatir' => 'safariwatir'
62
+ try_load 'browser', 'safariwatir' => 'safariwatir'
63
63
  when /linux/i
64
64
  @platform = :linux
65
65
  try_load 'tts'
@@ -1,5 +1,5 @@
1
1
  class String
2
2
  def to_launcher
3
- `open #{self}`
3
+ spawn "open \"#{self}\""
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  class String
2
2
  def to_player
3
- `afplay #{self}`
3
+ spawn "afplay \"#{self}\""
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  class String
2
2
  def to_launcher
3
- `gnome-open #{self}`
3
+ spawn "gnome-open \"#{self}\""
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  class String
2
2
  def to_player
3
- `mplayer #{self}`
3
+ spawn "mplayer \"#{self}\""
4
4
  end
5
- end
5
+ end
@@ -1,5 +1,5 @@
1
1
  class String
2
2
  def to_launcher
3
- `start #{self}`
3
+ spawn "start \"#{self}\""
4
4
  end
5
- end
5
+ end
@@ -1,5 +1,5 @@
1
1
  class String
2
2
  def to_player
3
- `mpg123 -q #{self}`
3
+ spawn "mpg123 -q \"#{self}\""
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 1
9
- - 1
10
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
11
10
  platform: ruby
12
11
  authors:
13
12
  - Mark Ryall
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-10-24 00:00:00 +10:00
17
+ date: 2011-01-30 00:00:00 +10:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -26,7 +25,6 @@ dependencies:
26
25
  requirements:
27
26
  - - ~>
28
27
  - !ruby/object:Gem::Version
29
- hash: 49
30
28
  segments:
31
29
  - 0
32
30
  - 8
@@ -42,7 +40,6 @@ dependencies:
42
40
  requirements:
43
41
  - - ~>
44
42
  - !ruby/object:Gem::Version
45
- hash: 23
46
43
  segments:
47
44
  - 0
48
45
  - 0
@@ -66,23 +63,23 @@ extensions: []
66
63
  extra_rdoc_files: []
67
64
 
68
65
  files:
69
- - lib/splat.rb
70
- - lib/splat/darwin_launcher.rb
71
- - lib/splat/win32_browser.rb
72
66
  - lib/splat/darwin_browser.rb
67
+ - lib/splat/darwin_clipboard.rb
68
+ - lib/splat/darwin_launcher.rb
73
69
  - lib/splat/darwin_player.rb
74
- - lib/splat/linux_tts.rb
75
- - lib/splat/linux_player.rb
76
70
  - lib/splat/darwin_tts.rb
77
- - lib/splat/win32_clipboard.rb
78
- - lib/splat/win32_player.rb
71
+ - lib/splat/linux_browser.rb
79
72
  - lib/splat/linux_clipboard.rb
80
73
  - lib/splat/linux_launcher.rb
81
- - lib/splat/linux_browser.rb
74
+ - lib/splat/linux_player.rb
75
+ - lib/splat/linux_tts.rb
76
+ - lib/splat/win32_browser.rb
77
+ - lib/splat/win32_clipboard.rb
78
+ - lib/splat/win32_launcher.rb
82
79
  - lib/splat/win32_os_path.rb
80
+ - lib/splat/win32_player.rb
83
81
  - lib/splat/win32_tts.rb
84
- - lib/splat/win32_launcher.rb
85
- - lib/splat/darwin_clipboard.rb
82
+ - lib/splat.rb
86
83
  - README.rdoc
87
84
  - MIT-LICENSE
88
85
  has_rdoc: true
@@ -99,7 +96,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
96
  requirements:
100
97
  - - ">="
101
98
  - !ruby/object:Gem::Version
102
- hash: 3
103
99
  segments:
104
100
  - 0
105
101
  version: "0"
@@ -108,7 +104,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
104
  requirements:
109
105
  - - ">="
110
106
  - !ruby/object:Gem::Version
111
- hash: 3
112
107
  segments:
113
108
  - 0
114
109
  version: "0"