death 0.4.0 → 0.4.1
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.
- data/README.rdoc +4 -0
- data/bin/death +10 -1
- data/bin/lml +10 -1
- data/death.gemspec +16 -16
- data/lib/death/version.rb +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
data/bin/death
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'open3'
|
3
3
|
|
4
|
-
|
4
|
+
def support_os?
|
5
|
+
if RUBY_PLATFORM == 'java'
|
6
|
+
require 'java'
|
7
|
+
java.lang.System.getProperty('os.name') == 'Mac OS X'
|
8
|
+
else
|
9
|
+
RUBY_PLATFORM =~ /darwin/
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
raise 'death command is supporting only Mac OS X.' unless support_os?
|
5
14
|
|
6
15
|
10.times { system('say -v Ralph deeeeeeeeeeeattttth &') }
|
7
16
|
|
data/bin/lml
CHANGED
@@ -1,7 +1,16 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'open3'
|
3
3
|
|
4
|
-
|
4
|
+
def support_os?
|
5
|
+
if RUBY_PLATFORM == 'java'
|
6
|
+
require 'java'
|
7
|
+
java.lang.System.getProperty('os.name') == 'Mac OS X'
|
8
|
+
else
|
9
|
+
RUBY_PLATFORM =~ /darwin/
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
raise 'death command is supporting only Mac OS X.' unless support_os?
|
5
14
|
|
6
15
|
10.times { system('say -v Ralph deeeeeeeeeeeattttth &') }
|
7
16
|
|
data/death.gemspec
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
$:.push File.expand_path(
|
3
|
-
require
|
2
|
+
$:.push File.expand_path('../lib', __FILE__)
|
3
|
+
require 'death/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = 'death'
|
7
7
|
s.version = Death::VERSION
|
8
8
|
|
9
|
-
s.authors = [
|
10
|
-
s.date =
|
11
|
-
s.description =
|
12
|
-
s.email =
|
9
|
+
s.authors = ['ITO Koichi']
|
10
|
+
s.date = '2012-04-27'
|
11
|
+
s.description = 'kill command wrapper. say "DEATH" with death voice. Operating environment is Mac OS X only.'
|
12
|
+
s.email = 'koic.ito@gmail.com'
|
13
13
|
s.extra_rdoc_files = [
|
14
|
-
|
14
|
+
'README.rdoc'
|
15
15
|
]
|
16
16
|
s.files = [
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
'README.rdoc',
|
18
|
+
'lib/death/version.rb',
|
19
|
+
'bin/death',
|
20
|
+
'death.gemspec',
|
21
|
+
'LICENSE'
|
22
22
|
]
|
23
|
-
s.homepage =
|
24
|
-
s.require_paths = [
|
25
|
-
s.summary =
|
26
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
23
|
+
s.homepage = 'http://github.com/koic/death-command'
|
24
|
+
s.require_paths = ['lib']
|
25
|
+
s.summary = 'kill command wrapper. say "DEATH" with death voice.'
|
26
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
27
27
|
end
|
28
28
|
|
data/lib/death/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: death
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-27 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: kill command wrapper. say "DEATH" with death voice. Operating environment
|
15
15
|
is Mac OS X only.
|