death 0.3.0 → 0.3.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/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2012 ITO Koichi, Morita Ryohei, Keisuke Chiba
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
@@ -4,7 +4,7 @@ kill command wrapper. say "DEATH" with death voice.
4
4
 
5
5
  == INSTALL
6
6
 
7
- gem install death
7
+ $ gem install death
8
8
 
9
9
  == SYNOPSIS
10
10
 
@@ -15,7 +15,7 @@ kill command wrapper. say "DEATH" with death voice.
15
15
 
16
16
  == Operating environment
17
17
 
18
- MacOS X (only)
18
+ Mac OS X (only)
19
19
 
20
20
  == LICENCE
21
21
 
data/bin/death CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'open3'
3
3
 
4
- 10.times { system('say -v Ralph deeeeeeeeeeeattttth &') }
4
+ raise 'death command is supporting only Mac OS X.' unless RUBY_PLATFORM =~ /darwin/
5
5
 
6
- raise 'death command is supporting only MacOS X.' unless RUBY_PLATFORM =~ /darwin/
6
+ 10.times { system('say -v Ralph deeeeeeeeeeeattttth &') }
7
7
 
8
8
  Open3.popen3("kill #{ARGV.join(' ')}") do |stdin, stdout, stderr|
9
9
  msg = stderr.read
data/death.gemspec CHANGED
@@ -1,39 +1,28 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
1
+ # encoding: utf-8
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "death/version"
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = %q{death}
8
- s.version = "0.3.0"
6
+ s.name = 'death'
7
+ s.version = Death::VERSION
9
8
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["koic"]
12
- s.date = %q{2012-03-30}
9
+ s.authors = ["ITO Koichi"]
10
+ s.date = "2012-04-02"
13
11
  s.description = %q{kill command wrapper. say "DEATH" with death voice. Operating environment is MacOS X only.}
14
12
  s.email = %q{koic.ito@gmail.com}
15
13
  s.extra_rdoc_files = [
16
- "README"
14
+ "README.rdoc"
17
15
  ]
18
16
  s.files = [
19
- "README",
20
- "VERSION",
17
+ "README.rdoc",
18
+ "lib/death/version.rb",
21
19
  "bin/death",
22
- "death.gemspec"
20
+ "death.gemspec",
21
+ "LICENSE"
23
22
  ]
24
23
  s.homepage = %q{http://github.com/koic/death-command}
25
24
  s.require_paths = ["lib"]
26
- s.rubygems_version = %q{1.6.2}
27
25
  s.summary = %q{kill command wrapper. say "DEATH" with death voice.}
28
26
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
29
-
30
- if s.respond_to? :specification_version then
31
- s.specification_version = 3
32
-
33
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
34
- else
35
- end
36
- else
37
- end
38
27
  end
39
28
 
@@ -0,0 +1,4 @@
1
+ module Death
2
+ VERSION = '0.3.1'
3
+ end
4
+
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: death
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - koic
8
+ - ITO Koichi
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-30 00:00:00.000000000 +09:00
12
+ date: 2012-04-02 00:00:00.000000000 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
  description: kill command wrapper. say "DEATH" with death voice. Operating environment
@@ -19,12 +19,13 @@ executables:
19
19
  - death
20
20
  extensions: []
21
21
  extra_rdoc_files:
22
- - README
22
+ - README.rdoc
23
23
  files:
24
- - README
25
- - VERSION
24
+ - README.rdoc
25
+ - lib/death/version.rb
26
26
  - bin/death
27
27
  - death.gemspec
28
+ - LICENSE
28
29
  has_rdoc: true
29
30
  homepage: http://github.com/koic/death-command
30
31
  licenses: []
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.0