gem-whois 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,16 +6,22 @@ Show information about the owner of a gem.
6
6
 
7
7
  $ gem install gem-whois
8
8
 
9
- Usage
9
+ ## Usage
10
10
 
11
11
  $ gem whois gem-whois
12
12
 
13
- ** INSERT EXAMPLE HERE **
13
+ gem-whois (0.2)
14
14
 
15
- == License
15
+ Show information about the owner of a gem
16
+
17
+ author(s) : David Dollar
18
+ downloads : 0
19
+ homepage : http://github.com/ddollar/gem-whois
20
+
21
+ ## License
16
22
 
17
23
  MIT
18
24
 
19
- == Copyright
25
+ ## Copyright
20
26
 
21
- Copyright (c) 2009 David Dollar. See LICENSE for details.
27
+ Copyright (c) 2010 David Dollar
@@ -2,17 +2,15 @@ require 'rubygems/command'
2
2
  require 'rubygems/command_manager'
3
3
  require 'rubygems/uninstaller'
4
4
  require 'crack'
5
- require 'rest-client'
6
5
 
7
6
  class Gem::Commands::WhoisCommand < Gem::Command
8
7
 
9
- VERSION = "0.2"
10
-
11
8
  def initialize
12
9
  super 'whois', 'Show information about the owner of a gem'
13
10
  end
14
11
 
15
12
  def execute
13
+ require 'rest-client'
16
14
  name = get_one_gem_name
17
15
  Gem.sources.each { |source| whois_from_source(name, source) }
18
16
  rescue Exception => ex
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-whois
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
9
- version: "0.2"
8
+ - 3
9
+ version: "0.3"
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Dollar
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-08-16 00:00:00 -04:00
17
+ date: 2010-08-17 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20