exip 0.0.1 → 0.0.2
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/bin/exip +15 -1
 - metadata +5 -5
 
    
        data/bin/exip
    CHANGED
    
    | 
         @@ -1,5 +1,19 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            require 'optparse'
         
     | 
| 
       3 
4 
     | 
    
         
             
            require 'exip'
         
     | 
| 
       4 
5 
     | 
    
         | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
      
 6 
     | 
    
         
            +
            OptionParser.new do |o|
         
     | 
| 
      
 7 
     | 
    
         
            +
              o.on("-v", "--version", "Display version") do |h|
         
     | 
| 
      
 8 
     | 
    
         
            +
                puts "exip version 0.0.2"
         
     | 
| 
      
 9 
     | 
    
         
            +
                exit
         
     | 
| 
      
 10 
     | 
    
         
            +
              end
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
              o.on("-h", "--help", "Display documentation") do |h|
         
     | 
| 
      
 13 
     | 
    
         
            +
                puts o
         
     | 
| 
      
 14 
     | 
    
         
            +
                exit
         
     | 
| 
      
 15 
     | 
    
         
            +
              end
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            end.parse!
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            puts Exip.ip
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -2,7 +2,7 @@ 
     | 
|
| 
       2 
2 
     | 
    
         
             
            name: exip
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
4 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       5 
     | 
    
         
            -
              version: 0.0. 
     | 
| 
      
 5 
     | 
    
         
            +
              version: 0.0.2
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors: 
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Ed King
         
     | 
| 
         @@ -10,7 +10,7 @@ autorequire: 
     | 
|
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            date: 2012-05- 
     | 
| 
      
 13 
     | 
    
         
            +
            date: 2012-05-21 00:00:00 Z
         
     | 
| 
       14 
14 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       15 
15 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       16 
16 
     | 
    
         
             
              name: httparty
         
     | 
| 
         @@ -34,7 +34,7 @@ dependencies: 
     | 
|
| 
       34 
34 
     | 
    
         
             
                    version: 0.8.0
         
     | 
| 
       35 
35 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       36 
36 
     | 
    
         
             
              version_requirements: *id002
         
     | 
| 
       37 
     | 
    
         
            -
            description:  
     | 
| 
      
 37 
     | 
    
         
            +
            description: exip outputs your current external IP address. Nothing more, nothing less!
         
     | 
| 
       38 
38 
     | 
    
         
             
            email: ed@victavision.co.uk
         
     | 
| 
       39 
39 
     | 
    
         
             
            executables: 
         
     | 
| 
       40 
40 
     | 
    
         
             
            - exip
         
     | 
| 
         @@ -45,7 +45,7 @@ extra_rdoc_files: [] 
     | 
|
| 
       45 
45 
     | 
    
         
             
            files: 
         
     | 
| 
       46 
46 
     | 
    
         
             
            - lib/exip.rb
         
     | 
| 
       47 
47 
     | 
    
         
             
            - bin/exip
         
     | 
| 
       48 
     | 
    
         
            -
            homepage: http:// 
     | 
| 
      
 48 
     | 
    
         
            +
            homepage: http://ed.victavision.co.uk/exip-a-rubygem-i-made/
         
     | 
| 
       49 
49 
     | 
    
         
             
            licenses: []
         
     | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
51 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
         @@ -71,6 +71,6 @@ rubyforge_project: 
     | 
|
| 
       71 
71 
     | 
    
         
             
            rubygems_version: 1.8.10
         
     | 
| 
       72 
72 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       73 
73 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       74 
     | 
    
         
            -
            summary:  
     | 
| 
      
 74 
     | 
    
         
            +
            summary: exip - an external IP address getter
         
     | 
| 
       75 
75 
     | 
    
         
             
            test_files: []
         
     | 
| 
       76 
76 
     | 
    
         |