findmyips 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YjRhYTUyNjAxM2RlMGJlYjIwMjQwZTMwOTJjYTcyYjc1MjQ5MGNhNw==
5
+ data.tar.gz: !binary |-
6
+ ZDQyMjVmZDQyNjQwODg5MzMwN2YzNmQwZWNmNGIzNmI4Yzg4MGM1Yg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ YjdlMTJhZjQwNzZhNDJjOTI5MmZjZjcxYWRkYTgxYjA3YjhjZWE0ODU1NThh
10
+ MTE1ZWJlMWYyNTFiOGE5NTFmMDNmZTg0NjM3MzM5M2FiMGM3MTc5ZTQ1ODRh
11
+ ZGMzMjcyOTg5M2U2NTg3NjA4Y2YwMWUzOWUxOTZhOThkYTQxOTM=
12
+ data.tar.gz: !binary |-
13
+ MTIyZTQ2ODEzNDBhMWVlN2FjMzdhOWE3NDFlM2VkZGNlMjExNWJlMjJhYTcy
14
+ YjBlNWE5MTJhMDAyZGE2NTlmZjI2OGUyODc1OGEwNzkyZGMwNjI5OTE5MmJl
15
+ NGMzNzVmNjNkNjhhNmU2MjE1NDA0N2MwNDdmOThhNWJhZGFjODI=
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
@@ -0,0 +1 @@
1
+ whatismyip
@@ -0,0 +1 @@
1
+ ruby-1.9.3-p448
data/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ # Add dependencies to develop your gem here.
7
+ # Include everything needed to run rake, tests, features, etc.
8
+ group :development do
9
+ gem 'rspec', '>= 2.8.0'
10
+ gem 'rdoc', '~> 3.12'
11
+ gem 'cucumber', '>= 0'
12
+ gem "bundler", "> 1.0.0"
13
+ gem "jeweler", ">= 1.8.4"
14
+ gem 'simplecov', ">= 0"
15
+ end
16
+
17
+ gem 'colorize'
@@ -0,0 +1,80 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ addressable (2.3.5)
5
+ builder (3.2.2)
6
+ colorize (0.6.0)
7
+ cucumber (1.3.8)
8
+ builder (>= 2.1.2)
9
+ diff-lcs (>= 1.1.3)
10
+ gherkin (~> 2.12.1)
11
+ multi_json (>= 1.7.5, < 2.0)
12
+ multi_test (>= 0.0.2)
13
+ diff-lcs (1.2.4)
14
+ faraday (0.8.8)
15
+ multipart-post (~> 1.2.0)
16
+ gherkin (2.12.1)
17
+ multi_json (~> 1.3)
18
+ git (1.2.6)
19
+ github_api (0.10.1)
20
+ addressable
21
+ faraday (~> 0.8.1)
22
+ hashie (>= 1.2)
23
+ multi_json (~> 1.4)
24
+ nokogiri (~> 1.5.2)
25
+ oauth2
26
+ hashie (2.0.5)
27
+ highline (1.6.19)
28
+ httpauth (0.2.0)
29
+ jeweler (1.8.7)
30
+ builder
31
+ bundler (~> 1.0)
32
+ git (>= 1.2.5)
33
+ github_api (= 0.10.1)
34
+ highline (>= 1.6.15)
35
+ nokogiri (= 1.5.10)
36
+ rake
37
+ rdoc
38
+ json (1.8.0)
39
+ jwt (0.1.8)
40
+ multi_json (>= 1.5)
41
+ multi_json (1.8.1)
42
+ multi_test (0.0.2)
43
+ multi_xml (0.5.5)
44
+ multipart-post (1.2.0)
45
+ nokogiri (1.5.10)
46
+ oauth2 (0.9.2)
47
+ faraday (~> 0.8)
48
+ httpauth (~> 0.2)
49
+ jwt (~> 0.1.4)
50
+ multi_json (~> 1.0)
51
+ multi_xml (~> 0.5)
52
+ rack (~> 1.2)
53
+ rack (1.5.2)
54
+ rake (10.1.0)
55
+ rdoc (3.12.2)
56
+ json (~> 1.4)
57
+ rspec (2.14.1)
58
+ rspec-core (~> 2.14.0)
59
+ rspec-expectations (~> 2.14.0)
60
+ rspec-mocks (~> 2.14.0)
61
+ rspec-core (2.14.5)
62
+ rspec-expectations (2.14.3)
63
+ diff-lcs (>= 1.1.3, < 2.0)
64
+ rspec-mocks (2.14.3)
65
+ simplecov (0.7.1)
66
+ multi_json (~> 1.0)
67
+ simplecov-html (~> 0.7.1)
68
+ simplecov-html (0.7.1)
69
+
70
+ PLATFORMS
71
+ ruby
72
+
73
+ DEPENDENCIES
74
+ bundler (> 1.0.0)
75
+ colorize
76
+ cucumber
77
+ jeweler (>= 1.8.4)
78
+ rdoc (~> 3.12)
79
+ rspec (>= 2.8.0)
80
+ simplecov
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Christo De Lange
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.
@@ -0,0 +1,24 @@
1
+ = whatismyip
2
+
3
+ WhatIsMyIP is a very simple Gem that does exactly what it's name suggests - It will tell you what your IP addresses are.
4
+ If you are behind a firewall or on public WiFi you may have noticed that you always have two IP addresses as far as your
5
+ workstation is concerned - the internal address that you are known by to the rest of the LAN and a public address which
6
+ the rest of the Internet sees (your external or public address).
7
+ If you have a situation where you are on the WAN of a big company or have only one workstation connected via some ISPs then you
8
+ may have only a public IP. In this case your internal and external IPs will be the same.
9
+
10
+ == Contributing to whatismyip
11
+
12
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
13
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
14
+ * Fork the project.
15
+ * Start a feature/bugfix branch.
16
+ * Commit and push until you are happy with your contribution.
17
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
18
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
19
+
20
+ == Copyright
21
+
22
+ Copyright (c) 2013 Christo De Lange. See LICENSE.txt for
23
+ further details.
24
+
@@ -0,0 +1,52 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "findmyips"
18
+ gem.homepage = "http://github.com/dldinternet/findmyips"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Obtain my public and internal IP addresses}
21
+ gem.description = %Q{Look up my IP address}
22
+ gem.email = "github@dldinternet.com"
23
+ gem.authors = ["Christo De Lange"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
35
+ spec.pattern = 'spec/**/*_spec.rb'
36
+ spec.rcov = true
37
+ end
38
+
39
+ require 'cucumber/rake/task'
40
+ Cucumber::Rake::Task.new(:features)
41
+
42
+ task :default => :spec
43
+
44
+ require 'rdoc/task'
45
+ Rake::RDocTask.new do |rdoc|
46
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
47
+
48
+ rdoc.rdoc_dir = 'rdoc'
49
+ rdoc.title = "findmyips #{version}"
50
+ rdoc.rdoc_files.include('README*')
51
+ rdoc.rdoc_files.include('lib/**/*.rb')
52
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.0
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # Adjust lib path
4
+ _lib=File.expand_path(File.dirname(__FILE__) + '/../lib')
5
+ $:.unshift(_lib) unless $:.include?(_lib)
6
+
7
+ require "dldinternet/net/findmyips.rb"
8
+ include DLDInternet::Net::FindMyIPs
9
+
10
+ external = IPAddr.new(getExternal, Socket::AF_INET)
11
+ puts
12
+ puts "External IP: ".white + "#{external}".green
13
+ puts "Internal IP: ".white + "#{getLocal}".green
14
+ puts
@@ -0,0 +1,9 @@
1
+ #!/bin/bash
2
+
3
+ #source /Users/christo/.rvm/scripts/rvm
4
+ [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
5
+ #eval "$(rbenv init -)"
6
+
7
+ #rvm list
8
+ rvm use 1.9.3@whatismyip >/dev/null
9
+ ruby `dirname $0`/whatismyip.rb
@@ -0,0 +1,13 @@
1
+ require 'bundler'
2
+ begin
3
+ Bundler.setup(:default, :development)
4
+ rescue Bundler::BundlerError => e
5
+ $stderr.puts e.message
6
+ $stderr.puts "Run `bundle install` to install missing gems"
7
+ exit e.status_code
8
+ end
9
+
10
+ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
11
+ require 'whatismyip'
12
+
13
+ require 'rspec/expectations'
@@ -0,0 +1,9 @@
1
+ Feature: something something
2
+ In order to something something
3
+ A user something something
4
+ something something something
5
+
6
+ Scenario: something something
7
+ Given inspiration
8
+ When I create a sweet new gem
9
+ Then everyone should see how awesome I am
@@ -0,0 +1,78 @@
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 -*-
5
+ # stub: findmyips 1.0.0 ruby lib
6
+
7
+ Gem::Specification.new do |s|
8
+ s.name = "findmyips"
9
+ s.version = "1.0.0"
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.authors = ["Christo De Lange"]
13
+ s.date = "2013-10-07"
14
+ s.description = "Look up my IP address"
15
+ s.email = "github@dldinternet.com"
16
+ s.executables = ["whatismyip", "whatismyip.sh"]
17
+ s.extra_rdoc_files = [
18
+ "LICENSE.txt",
19
+ "README.rdoc"
20
+ ]
21
+ s.files = [
22
+ ".document",
23
+ ".rspec",
24
+ ".ruby-gemset",
25
+ ".ruby-version",
26
+ "Gemfile",
27
+ "Gemfile.lock",
28
+ "LICENSE.txt",
29
+ "README.rdoc",
30
+ "Rakefile",
31
+ "VERSION",
32
+ "bin/whatismyip",
33
+ "bin/whatismyip.sh",
34
+ "features/step_definitions/whatismyip_steps.rb",
35
+ "features/support/env.rb",
36
+ "features/whatismyip.feature",
37
+ "findmyips.gemspec",
38
+ "lib/dldinternet/Net/findmyips.rb",
39
+ "spec/spec_helper.rb",
40
+ "spec/whatismyip_spec.rb"
41
+ ]
42
+ s.homepage = "http://github.com/dldinternet/findmyips"
43
+ s.licenses = ["MIT"]
44
+ s.require_paths = ["lib"]
45
+ s.rubygems_version = "2.1.5"
46
+ s.summary = "Obtain my public and internal IP addresses"
47
+
48
+ if s.respond_to? :specification_version then
49
+ s.specification_version = 4
50
+
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ s.add_runtime_dependency(%q<colorize>, [">= 0"])
53
+ s.add_development_dependency(%q<rspec>, [">= 2.8.0"])
54
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
55
+ s.add_development_dependency(%q<cucumber>, [">= 0"])
56
+ s.add_development_dependency(%q<bundler>, ["> 1.0.0"])
57
+ s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
58
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
59
+ else
60
+ s.add_dependency(%q<colorize>, [">= 0"])
61
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
62
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
63
+ s.add_dependency(%q<cucumber>, [">= 0"])
64
+ s.add_dependency(%q<bundler>, ["> 1.0.0"])
65
+ s.add_dependency(%q<jeweler>, [">= 1.8.4"])
66
+ s.add_dependency(%q<simplecov>, [">= 0"])
67
+ end
68
+ else
69
+ s.add_dependency(%q<colorize>, [">= 0"])
70
+ s.add_dependency(%q<rspec>, [">= 2.8.0"])
71
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
72
+ s.add_dependency(%q<cucumber>, [">= 0"])
73
+ s.add_dependency(%q<bundler>, ["> 1.0.0"])
74
+ s.add_dependency(%q<jeweler>, [">= 1.8.4"])
75
+ s.add_dependency(%q<simplecov>, [">= 0"])
76
+ end
77
+ end
78
+
@@ -0,0 +1,59 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'ipaddr'
4
+ require 'net/http'
5
+ require 'socket'
6
+ require 'rubygems'
7
+ require 'colorize'
8
+
9
+ module DLDInternet
10
+ module Net
11
+ module FindMyIPs
12
+ #
13
+ # Find IP using simple query to DYNDNS.org & Internal facing interface
14
+ #
15
+
16
+ def getLocal
17
+ orig, Socket.do_not_reverse_lookup = Socket.do_not_reverse_lookup, true #RevDNS = Off, so dont resolve!
18
+
19
+ UDPSocket.open do |sox|
20
+ sox.connect '8.8.8.8', 1 #74.125.227.32', 1 #this is Google, but we dont actually send anything, just looking for how machine would if we did :p
21
+ sox.addr.last
22
+ end
23
+ rescue SocketError => e # sox shit happens?
24
+ puts "Socket Error!".light_red
25
+ puts "\t=> #{e}".light_red
26
+ ensure
27
+ Socket.do_not_reverse_lookup = orig
28
+ end
29
+ alias :getInternal getLocal
30
+
31
+ #Simply fetch the external from dyndns, not so much magic :p
32
+ def getPublic(host = 'checkip.dyndns.org', port = 80, timeout = 5, maxtries = 10, report_progress = true)
33
+ tries= 0
34
+ while true
35
+ begin
36
+ dyn = ::Net::HTTP.new(host, port)
37
+ dyn.open_timeout = timeout
38
+ dyn.read_timeout = timeout
39
+ unless dyn.nil?
40
+ resp = dyn.get("/")
41
+ unless resp.nil?
42
+ ip = resp.read_body.match(/\d+\.\d+\.\d+\.\d+/)
43
+ return ip[0]
44
+ end
45
+ end
46
+ rescue Timeout::Error => e
47
+ #puts e.class.to_s+" "+e.message
48
+ puts "No response from #{host}:#{port} within #{timo} seconds".light_red if report_progress
49
+ tries += 1
50
+ raise StandardError.new("Max retries exceeded") if tries >= maxtries
51
+ end
52
+ end
53
+ end
54
+ alias :getExternal getPublic
55
+ end
56
+ end
57
+ end
58
+
59
+ #EOF
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'whatismyip'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "Whatismyip" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,168 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: findmyips
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Christo De Lange
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: colorize
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 2.8.0
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: 2.8.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rdoc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: !binary |-
48
+ My4xMg==
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: !binary |-
56
+ My4xMg==
57
+ - !ruby/object:Gem::Dependency
58
+ name: cucumber
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :development
65
+ prerelease: false
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: bundler
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ! '>'
76
+ - !ruby/object:Gem::Version
77
+ version: 1.0.0
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ! '>'
83
+ - !ruby/object:Gem::Version
84
+ version: 1.0.0
85
+ - !ruby/object:Gem::Dependency
86
+ name: jeweler
87
+ requirement: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ! '>='
90
+ - !ruby/object:Gem::Version
91
+ version: !binary |-
92
+ MS44LjQ=
93
+ type: :development
94
+ prerelease: false
95
+ version_requirements: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: !binary |-
100
+ MS44LjQ=
101
+ - !ruby/object:Gem::Dependency
102
+ name: simplecov
103
+ requirement: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ! '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ type: :development
109
+ prerelease: false
110
+ version_requirements: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ! '>='
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ description: Look up my IP address
116
+ email: github@dldinternet.com
117
+ executables:
118
+ - whatismyip
119
+ - whatismyip.sh
120
+ extensions: []
121
+ extra_rdoc_files:
122
+ - LICENSE.txt
123
+ - README.rdoc
124
+ files:
125
+ - .document
126
+ - .rspec
127
+ - .ruby-gemset
128
+ - .ruby-version
129
+ - Gemfile
130
+ - Gemfile.lock
131
+ - LICENSE.txt
132
+ - README.rdoc
133
+ - Rakefile
134
+ - VERSION
135
+ - bin/whatismyip
136
+ - bin/whatismyip.sh
137
+ - features/step_definitions/whatismyip_steps.rb
138
+ - features/support/env.rb
139
+ - features/whatismyip.feature
140
+ - findmyips.gemspec
141
+ - lib/dldinternet/Net/findmyips.rb
142
+ - spec/spec_helper.rb
143
+ - spec/whatismyip_spec.rb
144
+ homepage: http://github.com/dldinternet/findmyips
145
+ licenses:
146
+ - MIT
147
+ metadata: {}
148
+ post_install_message:
149
+ rdoc_options: []
150
+ require_paths:
151
+ - lib
152
+ required_ruby_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ! '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - ! '>='
160
+ - !ruby/object:Gem::Version
161
+ version: '0'
162
+ requirements: []
163
+ rubyforge_project:
164
+ rubygems_version: 2.1.5
165
+ signing_key:
166
+ specification_version: 4
167
+ summary: Obtain my public and internal IP addresses
168
+ test_files: []