hip 0.0.0 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. data/Gemfile +5 -0
  2. data/Gemfile.lock +19 -0
  3. data/LICENSE.txt +20 -0
  4. data/README.md +14 -0
  5. data/Rakefile +28 -0
  6. data/VERSION +1 -0
  7. metadata +35 -6
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'http://rubygems.org'
2
+
3
+ group :development do
4
+ gem 'jeweler', '~> 1.8.3'
5
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,19 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ git (1.2.5)
5
+ jeweler (1.8.3)
6
+ bundler (~> 1.0)
7
+ git (>= 1.2.5)
8
+ rake
9
+ rdoc
10
+ json (1.7.3)
11
+ rake (0.9.2.2)
12
+ rdoc (3.12)
13
+ json (~> 1.4)
14
+
15
+ PLATFORMS
16
+ ruby
17
+
18
+ DEPENDENCIES
19
+ jeweler (~> 1.8.3)
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Matt Lenz
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # hip
2
+
3
+ (H)ostname to (IP)
4
+
5
+ ## Usage
6
+
7
+ `hip HOSTNAME1 HOSTNAME2 ...`
8
+
9
+ ## Example
10
+
11
+ `$ hip google.com github.com`
12
+
13
+ 74.125.237.136
14
+ 207.97.227.239
data/Rakefile ADDED
@@ -0,0 +1,28 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+
6
+ begin
7
+ Bundler.setup(:default, :development)
8
+ rescue Bundler::BundlerError => e
9
+ $stderr.puts e.message
10
+ $stderr.puts "Run `bundle install` to install missing gems"
11
+ exit e.status_code
12
+ end
13
+
14
+ require 'rake'
15
+ require 'jeweler'
16
+
17
+ Jeweler::Tasks.new do |gem|
18
+ gem.name = 'hip'
19
+ gem.homepage = 'http://github.com/mattlenz/hip'
20
+ gem.license = 'MIT'
21
+ gem.summary = '(H)ostname to (IP)'
22
+ gem.description = 'Simple tool that takes a list of hostnames and outputs a newline-deliminated list of resolved IP addresses.'
23
+ gem.email = 'matt@mattlenz.com'
24
+ gem.authors = ['Matt Lenz']
25
+ gem.executables << 'hip'
26
+ end
27
+
28
+ Jeweler::RubygemsDotOrgTasks.new
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,17 +10,43 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-06-04 00:00:00.000000000 Z
13
- dependencies: []
14
- description: Hostname to IP
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: jeweler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 1.8.3
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 1.8.3
30
+ description: Simple tool that takes a list of hostnames and outputs a newline-deliminated
31
+ list of resolved IP addresses.
15
32
  email: matt@mattlenz.com
16
33
  executables:
17
34
  - hip
18
35
  extensions: []
19
- extra_rdoc_files: []
36
+ extra_rdoc_files:
37
+ - LICENSE.txt
38
+ - README.md
20
39
  files:
40
+ - Gemfile
41
+ - Gemfile.lock
42
+ - LICENSE.txt
43
+ - README.md
44
+ - Rakefile
45
+ - VERSION
21
46
  - bin/hip
22
47
  homepage: http://github.com/mattlenz/hip
23
- licenses: []
48
+ licenses:
49
+ - MIT
24
50
  post_install_message:
25
51
  rdoc_options: []
26
52
  require_paths:
@@ -31,6 +57,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
31
57
  - - ! '>='
32
58
  - !ruby/object:Gem::Version
33
59
  version: '0'
60
+ segments:
61
+ - 0
62
+ hash: -2899868594441324668
34
63
  required_rubygems_version: !ruby/object:Gem::Requirement
35
64
  none: false
36
65
  requirements:
@@ -42,5 +71,5 @@ rubyforge_project:
42
71
  rubygems_version: 1.8.24
43
72
  signing_key:
44
73
  specification_version: 3
45
- summary: Hostname to IP
74
+ summary: (H)ostname to (IP)
46
75
  test_files: []