launchy 0.3.3 → 0.3.5
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/HISTORY +5 -0
- data/LICENSE +12 -27
- data/README +5 -1
- data/lib/launchy/browser.rb +2 -2
- data/lib/launchy/version.rb +1 -1
- data/spec/application_spec.rb +6 -2
- data/spec/browser_spec.rb +12 -4
- data/spec/tattle-host-os.yml +427 -0
- data/tasks/config.rb +1 -1
- metadata +15 -5
    
        data/HISTORY
    CHANGED
    
    | @@ -1,5 +1,10 @@ | |
| 1 1 | 
             
            = Launchy Changlog
         | 
| 2 2 |  | 
| 3 | 
            +
            == Version 0.3.5 - 2009-12-17
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * clarify that launchy is under ISC license
         | 
| 6 | 
            +
            * fix missing data file in released gem needed for running specs
         | 
| 7 | 
            +
             | 
| 3 8 | 
             
            == Version 0.3.3 - 2009-02-19
         | 
| 4 9 |  | 
| 5 10 | 
             
            * pass command line as discrete items to system() to avoid string
         | 
    
        data/LICENSE
    CHANGED
    
    | @@ -1,31 +1,16 @@ | |
| 1 | 
            -
             | 
| 1 | 
            +
            ISC LICENSE - http://opensource.org/licenses/isc-license.txt
         | 
| 2 2 |  | 
| 3 | 
            -
             | 
| 3 | 
            +
            Copyright (c) 2007-2009 Jeremy Hinegardner
         | 
| 4 4 |  | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 5 | 
            +
            Permission to use, copy, modify, and/or distribute this software for any
         | 
| 6 | 
            +
            purpose with or without fee is hereby granted, provided that the above
         | 
| 7 | 
            +
            copyright notice and this permission notice appear in all copies.
         | 
| 7 8 |  | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             
         | 
| 11 | 
            -
             | 
| 12 | 
            -
             | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
                  
         | 
| 16 | 
            -
                * Neither the name of Jeremy Hinegardner nor the
         | 
| 17 | 
            -
                  names of its contributors may be used to endorse or promote
         | 
| 18 | 
            -
                  products derived from this software without specific prior written
         | 
| 19 | 
            -
                  permission.
         | 
| 9 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
         | 
| 10 | 
            +
            WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
         | 
| 11 | 
            +
            MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
         | 
| 12 | 
            +
            ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
         | 
| 13 | 
            +
            WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
         | 
| 14 | 
            +
            ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
         | 
| 15 | 
            +
            OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
         | 
| 20 16 |  | 
| 21 | 
            -
            THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
         | 
| 22 | 
            -
            IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
         | 
| 23 | 
            -
            TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
         | 
| 24 | 
            -
            PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
         | 
| 25 | 
            -
            OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
         | 
| 26 | 
            -
            EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
         | 
| 27 | 
            -
            PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
         | 
| 28 | 
            -
            PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
         | 
| 29 | 
            -
            LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
         | 
| 30 | 
            -
            NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
         | 
| 31 | 
            -
            SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
         | 
    
        data/README
    CHANGED
    
    | @@ -34,11 +34,14 @@ OR | |
| 34 34 |  | 
| 35 35 | 
             
            == ISC LICENSE
         | 
| 36 36 |  | 
| 37 | 
            +
            http://opensource.org/licenses/isc-license.txt
         | 
| 38 | 
            +
             | 
| 37 39 | 
             
            Copyright (c) 2007-2009 Jeremy Hinegardner
         | 
| 38 40 |  | 
| 39 41 | 
             
            Permission to use, copy, modify, and/or distribute this software for any
         | 
| 40 42 | 
             
            purpose with or without fee is hereby granted, provided that the above
         | 
| 41 | 
            -
            copyright notice | 
| 43 | 
            +
            copyright notice
         | 
| 44 | 
            +
            and this permission notice appear in all copies.
         | 
| 42 45 |  | 
| 43 46 | 
             
            THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
         | 
| 44 47 | 
             
            WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
         | 
| @@ -47,3 +50,4 @@ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
| 47 50 | 
             
            WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
         | 
| 48 51 | 
             
            ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
         | 
| 49 52 | 
             
            OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
         | 
| 53 | 
            +
             | 
    
        data/lib/launchy/browser.rb
    CHANGED
    
    | @@ -37,7 +37,7 @@ module Launchy | |
| 37 37 |  | 
| 38 38 | 
             
                def initialize
         | 
| 39 39 | 
             
                  @browser = nil
         | 
| 40 | 
            -
                  @nix_app_list =  | 
| 40 | 
            +
                  @nix_app_list = []
         | 
| 41 41 | 
             
                  raise "Unable to find browser to launch for os family '#{my_os_family}'." unless browser
         | 
| 42 42 | 
             
                end
         | 
| 43 43 |  | 
| @@ -56,7 +56,7 @@ module Launchy | |
| 56 56 | 
             
                #     3) desktop environment launcher program
         | 
| 57 57 | 
             
                #     4) a list of fallback browsers
         | 
| 58 58 | 
             
                def nix_app_list
         | 
| 59 | 
            -
                  if  | 
| 59 | 
            +
                  if @nix_app_list.empty?
         | 
| 60 60 | 
             
                    browser_cmds = ['xdg-open']
         | 
| 61 61 | 
             
                    browser_cmds << desktop_environment_browser_launchers[nix_desktop_environment]
         | 
| 62 62 | 
             
                    browser_cmds << fallback_browsers
         | 
    
        data/lib/launchy/version.rb
    CHANGED
    
    
    
        data/spec/application_spec.rb
    CHANGED
    
    | @@ -23,8 +23,12 @@ describe Launchy::Application do | |
| 23 23 | 
             
                @app.my_os.should_not eql(nil)
         | 
| 24 24 | 
             
              end
         | 
| 25 25 |  | 
| 26 | 
            -
              it "should find open" do
         | 
| 27 | 
            -
                 | 
| 26 | 
            +
              it "should find open or curl" do
         | 
| 27 | 
            +
                r = "found open or curl"
         | 
| 28 | 
            +
                found = %w[ open curl ].collect do |app|
         | 
| 29 | 
            +
                  @app.find_executable(app).nil?
         | 
| 30 | 
            +
                end
         | 
| 31 | 
            +
                found.should be_include( false )
         | 
| 28 32 | 
             
              end
         | 
| 29 33 |  | 
| 30 34 | 
             
              it "should not find app xyzzy" do
         | 
    
        data/spec/browser_spec.rb
    CHANGED
    
    | @@ -2,7 +2,11 @@ require File.join(File.dirname(__FILE__),"spec_helper.rb") | |
| 2 2 | 
             
            require 'stringio'
         | 
| 3 3 | 
             
            describe Launchy::Browser do
         | 
| 4 4 | 
             
              it "should find a path to a executable" do
         | 
| 5 | 
            -
                 | 
| 5 | 
            +
                begin
         | 
| 6 | 
            +
                  File.executable?(Launchy::Browser.new.browser).should == true
         | 
| 7 | 
            +
                rescue => e
         | 
| 8 | 
            +
                  e.message.should == "Unable to find browser to launch for os family 'nix'."
         | 
| 9 | 
            +
                end
         | 
| 6 10 | 
             
              end
         | 
| 7 11 |  | 
| 8 12 | 
             
              it "should handle an http url" do
         | 
| @@ -22,11 +26,15 @@ describe Launchy::Browser do | |
| 22 26 | 
             
              end
         | 
| 23 27 |  | 
| 24 28 | 
             
              it "creates a default unix application list" do
         | 
| 25 | 
            -
                 | 
| 29 | 
            +
                begin
         | 
| 30 | 
            +
                  Launchy::Browser.new.nix_app_list.class.should == Array
         | 
| 31 | 
            +
                rescue => e
         | 
| 32 | 
            +
                  e.message.should == "Unable to find browser to launch for os family 'nix'."
         | 
| 33 | 
            +
                end
         | 
| 26 34 | 
             
              end
         | 
| 27 35 |  | 
| 28 | 
            -
              { "BROWSER" => "/ | 
| 29 | 
            -
                "LAUNCHY_BROWSER" => "/ | 
| 36 | 
            +
              { "BROWSER" => "/bin/sh",
         | 
| 37 | 
            +
                "LAUNCHY_BROWSER" => "/bin/sh"}.each_pair do |e,v|
         | 
| 30 38 | 
             
                it "can use environmental variable overrides of #{e} for the browser" do
         | 
| 31 39 | 
             
                  ENV[e] = v
         | 
| 32 40 | 
             
                  Launchy::Browser.new.browser.should eql(v)
         | 
| @@ -0,0 +1,427 @@ | |
| 1 | 
            +
            # SOURCE: http://tattle.rubygarden.org
         | 
| 2 | 
            +
            --- 
         | 
| 3 | 
            +
            ruby_version: 
         | 
| 4 | 
            +
              1.8.4: 506
         | 
| 5 | 
            +
              1.8.5: 842
         | 
| 6 | 
            +
              1.8.6: 270
         | 
| 7 | 
            +
              1.9.0: 1
         | 
| 8 | 
            +
              1.8.1: 9
         | 
| 9 | 
            +
              1.8.2: 36
         | 
| 10 | 
            +
            host_vendor: 
         | 
| 11 | 
            +
              "": 1
         | 
| 12 | 
            +
              mandrake: 1
         | 
| 13 | 
            +
              sun: 18
         | 
| 14 | 
            +
              apple: 619
         | 
| 15 | 
            +
              mandriva: 1
         | 
| 16 | 
            +
              slackware: 1
         | 
| 17 | 
            +
              portbld: 27
         | 
| 18 | 
            +
              pc: 858
         | 
| 19 | 
            +
              ibm: 1
         | 
| 20 | 
            +
              suse: 5
         | 
| 21 | 
            +
              Apple Computer, Inc.: 13
         | 
| 22 | 
            +
              Sun Microsystems Inc.: 6
         | 
| 23 | 
            +
              unknown: 45
         | 
| 24 | 
            +
              redhat: 70
         | 
| 25 | 
            +
            ruby_install_name: 
         | 
| 26 | 
            +
              jruby.bat: 2
         | 
| 27 | 
            +
              ruby185: 1
         | 
| 28 | 
            +
              jruby: 17
         | 
| 29 | 
            +
              ruby18: 175
         | 
| 30 | 
            +
              ruby1.8: 222
         | 
| 31 | 
            +
              ruby1.8.4: 1
         | 
| 32 | 
            +
              ruby: 1248
         | 
| 33 | 
            +
            build: 
         | 
| 34 | 
            +
              sparc-sun-solaris2.9: 8
         | 
| 35 | 
            +
              i686-apple-darwin8.6.1: 81
         | 
| 36 | 
            +
              i686-apple-darwin8.5.2: 11
         | 
| 37 | 
            +
              java1.5: 3
         | 
| 38 | 
            +
              i386-unknown-freebsd4.11: 1
         | 
| 39 | 
            +
              powerpc-apple-darwin8.2.0: 3
         | 
| 40 | 
            +
              i386-pc-solaris2.8: 2
         | 
| 41 | 
            +
              x86_64-suse-linux-gnu: 2
         | 
| 42 | 
            +
              x86_64-pc-linux-gnu: 89
         | 
| 43 | 
            +
              i686-apple-darwin8.7.1: 31
         | 
| 44 | 
            +
              i686-apple-darwin8.6.2: 15
         | 
| 45 | 
            +
              java1.6: 6
         | 
| 46 | 
            +
              i686-apple-darwin8.5.3: 4
         | 
| 47 | 
            +
              i686-pc-mswin32: 375
         | 
| 48 | 
            +
              i386-pc-linux-gnu: 2
         | 
| 49 | 
            +
              i386-pc-linux: 3
         | 
| 50 | 
            +
              powerpc-apple-darwin8.3.0: 3
         | 
| 51 | 
            +
              i686-apple-darwin8.8.1: 140
         | 
| 52 | 
            +
              i686-redhat-linux-gnu: 30
         | 
| 53 | 
            +
              i686-apple-darwin8.7.2: 2
         | 
| 54 | 
            +
              powerpc-apple-darwin8.4.0: 6
         | 
| 55 | 
            +
              amd64-portbld-freebsd6: 2
         | 
| 56 | 
            +
              i686-apple-darwin8.8.2: 53
         | 
| 57 | 
            +
              i686-apple-darwin8.9.1: 27
         | 
| 58 | 
            +
              i686-apple-darwin8.7.3: 3
         | 
| 59 | 
            +
              x86_64-unknown-linux-gnu: 29
         | 
| 60 | 
            +
              i686-suse-linux-gnu: 2
         | 
| 61 | 
            +
              powerpc-apple-darwin8.10.0: 2
         | 
| 62 | 
            +
              i686-apple-darwin8.8.3: 15
         | 
| 63 | 
            +
              powerpc-apple-darwin7.9.0: 12
         | 
| 64 | 
            +
              powerpc-apple-darwin8.5.0: 8
         | 
| 65 | 
            +
              i386-mingw32: 1
         | 
| 66 | 
            +
              i686-apple-darwin8.9.3: 1
         | 
| 67 | 
            +
              i686-apple-darwin8.8.4: 5
         | 
| 68 | 
            +
              x86_64-redhat-linux-gnu: 7
         | 
| 69 | 
            +
              powerpc-apple-darwin8.6.0: 25
         | 
| 70 | 
            +
              sparc-sun-solaris2.10: 7
         | 
| 71 | 
            +
              i686-apple-darwin8.9.4: 3
         | 
| 72 | 
            +
              i686-apple-darwin8.8.5: 3
         | 
| 73 | 
            +
              powerpc-apple-darwin8.7.0: 39
         | 
| 74 | 
            +
              powerpc-apple-darwin8.11.0: 1
         | 
| 75 | 
            +
              powerpc-ibm-aix5.3.0.0: 1
         | 
| 76 | 
            +
              powerpc-apple-darwin8.8.0: 53
         | 
| 77 | 
            +
              i386-unknown-netbsdelf3.1.: 1
         | 
| 78 | 
            +
              powerpc-unknown-linux-gnu: 3
         | 
| 79 | 
            +
              powerpc-apple-darwin8.8.1: 1
         | 
| 80 | 
            +
              i486-slackware-linux: 1
         | 
| 81 | 
            +
              i386-pc-solaris2.10: 7
         | 
| 82 | 
            +
              powerpc-apple-darwin8.9.0: 8
         | 
| 83 | 
            +
              i686-pc-cygwin: 14
         | 
| 84 | 
            +
              x86_64-unknown-openbsd4.0: 4
         | 
| 85 | 
            +
              i686-pc-linux-gnu: 343
         | 
| 86 | 
            +
              java: 8
         | 
| 87 | 
            +
              i586-mandrake-linux-gnu: 1
         | 
| 88 | 
            +
              i386-redhat-linux-gnu: 33
         | 
| 89 | 
            +
              i686-apple-darwin9.0: 29
         | 
| 90 | 
            +
              i586-mandriva-linux-gnu: 1
         | 
| 91 | 
            +
              i386-portbld-freebsd5: 3
         | 
| 92 | 
            +
              powerpc-apple-darwin8.0: 10
         | 
| 93 | 
            +
              i386-unknown-freebsd6.0: 2
         | 
| 94 | 
            +
              i486-pc-linux-gnu: 22
         | 
| 95 | 
            +
              i686-suse-linux: 1
         | 
| 96 | 
            +
              i686-apple-darwin: 1
         | 
| 97 | 
            +
              i386-portbld-freebsd6: 20
         | 
| 98 | 
            +
              powerpc-apple-darwin9.0: 5
         | 
| 99 | 
            +
              i386-unknown-freebsd6.1: 1
         | 
| 100 | 
            +
              x86_64-unknown-openbsd3.9: 1
         | 
| 101 | 
            +
              i686-apple-darwin8.10.1: 13
         | 
| 102 | 
            +
              i386-portbld-freebsd7: 2
         | 
| 103 | 
            +
              i686-apple-darwin9.1.0: 1
         | 
| 104 | 
            +
              i686-apple-darwin8.4.1: 1
         | 
| 105 | 
            +
              i686-apple-darwin8.11.1: 2
         | 
| 106 | 
            +
              powerpc64-unknown-linux-gnu: 2
         | 
| 107 | 
            +
              i686-apple-darwin8.5.1: 1
         | 
| 108 | 
            +
              i686-apple-darwin8.10.3: 1
         | 
| 109 | 
            +
              java1.4: 2
         | 
| 110 | 
            +
              sparc-sun-solaris2.8: 3
         | 
| 111 | 
            +
              i386-unknown-openbsd4.0: 2
         | 
| 112 | 
            +
            arch: 
         | 
| 113 | 
            +
              x86-java1.5: 1
         | 
| 114 | 
            +
              i686-darwin8.8.1: 140
         | 
| 115 | 
            +
              i686-darwin8.7.2: 2
         | 
| 116 | 
            +
              i386-mswin32: 375
         | 
| 117 | 
            +
              i686-darwin8.8.2: 53
         | 
| 118 | 
            +
              i686-darwin8.9.1: 27
         | 
| 119 | 
            +
              i686-darwin8.7.3: 3
         | 
| 120 | 
            +
              x86-java1.6: 1
         | 
| 121 | 
            +
              i686-darwin8.8.3: 15
         | 
| 122 | 
            +
              i686-darwin8.9.3: 1
         | 
| 123 | 
            +
              i686-darwin8.8.4: 5
         | 
| 124 | 
            +
              amd64-freebsd6: 2
         | 
| 125 | 
            +
              sparc-solaris2.8: 3
         | 
| 126 | 
            +
              x86_64-openbsd4.0: 4
         | 
| 127 | 
            +
              powerpc-aix5.3.0.0: 1
         | 
| 128 | 
            +
              powerpc-darwin8.2.0: 3
         | 
| 129 | 
            +
              sparc-solaris2.9: 8
         | 
| 130 | 
            +
              i386-netbsdelf: 1
         | 
| 131 | 
            +
              i386-mingw32: 1
         | 
| 132 | 
            +
              powerpc-darwin8.3.0: 3
         | 
| 133 | 
            +
              i686-darwin8.9.4: 3
         | 
| 134 | 
            +
              i686-darwin8.8.5: 3
         | 
| 135 | 
            +
              i386-linux-gnu: 8
         | 
| 136 | 
            +
              powerpc-darwin8.10.0: 2
         | 
| 137 | 
            +
              i586-linux-gnu: 2
         | 
| 138 | 
            +
              powerpc-darwin8.4.0: 6
         | 
| 139 | 
            +
              powerpc-darwin8.11.0: 1
         | 
| 140 | 
            +
              powerpc-darwin8.5.0: 8
         | 
| 141 | 
            +
              i386-freebsd5: 3
         | 
| 142 | 
            +
              powerpc-darwin8.6.0: 25
         | 
| 143 | 
            +
              i386-linux: 71
         | 
| 144 | 
            +
              i386-freebsd6: 20
         | 
| 145 | 
            +
              powerpc-darwin8.7.0: 39
         | 
| 146 | 
            +
              i486-linux: 188
         | 
| 147 | 
            +
              x86_64-linux: 127
         | 
| 148 | 
            +
              i386-freebsd7: 2
         | 
| 149 | 
            +
              powerpc-darwin8.8.0: 53
         | 
| 150 | 
            +
              i586-linux: 3
         | 
| 151 | 
            +
              java: 8
         | 
| 152 | 
            +
              i386-freebsd4.11: 1
         | 
| 153 | 
            +
              powerpc-darwin8.9.0: 8
         | 
| 154 | 
            +
              powerpc-darwin8.8.1: 1
         | 
| 155 | 
            +
              x86_64-openbsd3.9: 1
         | 
| 156 | 
            +
              i686-darwin: 1
         | 
| 157 | 
            +
              powerpc-darwin8.0: 7
         | 
| 158 | 
            +
              sparc-solaris2.10: 7
         | 
| 159 | 
            +
              universal-darwin8.0: 5
         | 
| 160 | 
            +
              powerpc-linux: 3
         | 
| 161 | 
            +
              i386-freebsd6.0: 2
         | 
| 162 | 
            +
              powerpc64-linux: 2
         | 
| 163 | 
            +
              universal-darwin9.0: 34
         | 
| 164 | 
            +
              i386-cygwin: 14
         | 
| 165 | 
            +
              powerpc-darwin7.9.0: 12
         | 
| 166 | 
            +
              i386-freebsd6.1: 1
         | 
| 167 | 
            +
              i386-solaris2.10: 7
         | 
| 168 | 
            +
              i386-java1.5: 2
         | 
| 169 | 
            +
              i386-openbsd4.0: 2
         | 
| 170 | 
            +
              i686-darwin8.4.1: 1
         | 
| 171 | 
            +
              i686-darwin8.10.1: 11
         | 
| 172 | 
            +
              i386-solaris2.8: 2
         | 
| 173 | 
            +
              i686-darwin9.1.0: 1
         | 
| 174 | 
            +
              i686-darwin8.5.1: 1
         | 
| 175 | 
            +
              i686-darwin8.11.1: 2
         | 
| 176 | 
            +
              i386-java1.6: 7
         | 
| 177 | 
            +
              i686-darwin8.6.1: 81
         | 
| 178 | 
            +
              i686-darwin8.5.2: 11
         | 
| 179 | 
            +
              i686-darwin8.10.3: 1
         | 
| 180 | 
            +
              i686-linux: 167
         | 
| 181 | 
            +
              i686-darwin8.7.1: 31
         | 
| 182 | 
            +
              i686-darwin8.6.2: 15
         | 
| 183 | 
            +
              i686-darwin8.5.3: 4
         | 
| 184 | 
            +
            target_cpu: 
         | 
| 185 | 
            +
              x86: 2
         | 
| 186 | 
            +
              powerpc64: 2
         | 
| 187 | 
            +
              i686: 610
         | 
| 188 | 
            +
              powerpc: 180
         | 
| 189 | 
            +
              amd64: 2
         | 
| 190 | 
            +
              x86_64: 132
         | 
| 191 | 
            +
              i386: 527
         | 
| 192 | 
            +
              i486: 188
         | 
| 193 | 
            +
              i586: 5
         | 
| 194 | 
            +
              sparc: 18
         | 
| 195 | 
            +
            host_os: 
         | 
| 196 | 
            +
              freebsd6.1: 1
         | 
| 197 | 
            +
              darwin8.11.1: 2
         | 
| 198 | 
            +
              darwin8.5.3: 4
         | 
| 199 | 
            +
              solaris2.9: 8
         | 
| 200 | 
            +
              darwin7.9.0: 12
         | 
| 201 | 
            +
              darwin8.6.2: 15
         | 
| 202 | 
            +
              darwin8.7.1: 31
         | 
| 203 | 
            +
              darwin8.8.0: 53
         | 
| 204 | 
            +
              darwin8.10.3: 1
         | 
| 205 | 
            +
              freebsd4.11: 1
         | 
| 206 | 
            +
              darwin9.1.0: 1
         | 
| 207 | 
            +
              darwin8.7.2: 2
         | 
| 208 | 
            +
              darwin8.9.0: 8
         | 
| 209 | 
            +
              darwin8.0: 10
         | 
| 210 | 
            +
              darwin8.8.1: 141
         | 
| 211 | 
            +
              darwin8.7.3: 3
         | 
| 212 | 
            +
              linux: 9
         | 
| 213 | 
            +
              darwin8.9.1: 27
         | 
| 214 | 
            +
              darwin9.0: 34
         | 
| 215 | 
            +
              darwin8.8.2: 53
         | 
| 216 | 
            +
              openbsd3.9: 1
         | 
| 217 | 
            +
              Windows XP: 2
         | 
| 218 | 
            +
              cygwin: 14
         | 
| 219 | 
            +
              darwin8.8.3: 15
         | 
| 220 | 
            +
              darwin8.9.3: 1
         | 
| 221 | 
            +
              darwin8.2.0: 3
         | 
| 222 | 
            +
              darwin8.8.4: 5
         | 
| 223 | 
            +
              darwin8.8.5: 3
         | 
| 224 | 
            +
              darwin8.9.4: 3
         | 
| 225 | 
            +
              darwin8.3.0: 3
         | 
| 226 | 
            +
              openbsd4.0: 6
         | 
| 227 | 
            +
              Mac OS X: 13
         | 
| 228 | 
            +
              aix5.3.0.0: 1
         | 
| 229 | 
            +
              darwin: 1
         | 
| 230 | 
            +
              freebsd5: 3
         | 
| 231 | 
            +
              darwin8.4.0: 6
         | 
| 232 | 
            +
              darwin8.4.1: 1
         | 
| 233 | 
            +
              darwin8.10.0: 2
         | 
| 234 | 
            +
              darwin8.5.0: 8
         | 
| 235 | 
            +
              freebsd6: 22
         | 
| 236 | 
            +
              netbsdelf: 1
         | 
| 237 | 
            +
              darwin8.5.1: 1
         | 
| 238 | 
            +
              darwin8.11.0: 1
         | 
| 239 | 
            +
              freebsd7: 2
         | 
| 240 | 
            +
              darwin8.10.1: 13
         | 
| 241 | 
            +
              darwin8.6.0: 25
         | 
| 242 | 
            +
              freebsd6.0: 2
         | 
| 243 | 
            +
              solaris2.8: 5
         | 
| 244 | 
            +
              darwin8.5.2: 11
         | 
| 245 | 
            +
              solaris2.10: 14
         | 
| 246 | 
            +
              darwin8.7.0: 39
         | 
| 247 | 
            +
              darwin8.6.1: 81
         | 
| 248 | 
            +
              mswin32: 376
         | 
| 249 | 
            +
              linux-gnu: 566
         | 
| 250 | 
            +
            rubygems_version: 
         | 
| 251 | 
            +
              1.1.0: 11
         | 
| 252 | 
            +
              0.9.3: 11
         | 
| 253 | 
            +
              0.9.0.8: 16
         | 
| 254 | 
            +
              1.0.1: 71
         | 
| 255 | 
            +
              0.8.5: 2
         | 
| 256 | 
            +
              0.8.10: 12
         | 
| 257 | 
            +
              1.1.1: 16
         | 
| 258 | 
            +
              0.9.0.9: 21
         | 
| 259 | 
            +
              0.9.4: 95
         | 
| 260 | 
            +
              0.9.5: 6
         | 
| 261 | 
            +
              0.8.11: 235
         | 
| 262 | 
            +
              0.9.4.7: 1
         | 
| 263 | 
            +
              0.8.8: 1
         | 
| 264 | 
            +
              0.9.0.10: 5
         | 
| 265 | 
            +
              0.9.0: 912
         | 
| 266 | 
            +
              0.9.1: 78
         | 
| 267 | 
            +
              0.9.0.6: 5
         | 
| 268 | 
            +
              0.9.2: 162
         | 
| 269 | 
            +
              0.9.0.7: 2
         | 
| 270 | 
            +
              1.0.0: 2
         | 
| 271 | 
            +
            SHELL: 
         | 
| 272 | 
            +
              /bin/bash: 75
         | 
| 273 | 
            +
              /bin/sh: 1212
         | 
| 274 | 
            +
              $(COMSPEC): 375
         | 
| 275 | 
            +
              cmd.exe: 2
         | 
| 276 | 
            +
              /usr/local/bin/bash: 2
         | 
| 277 | 
            +
            host_cpu: 
         | 
| 278 | 
            +
              powerpc64: 2
         | 
| 279 | 
            +
              x86: 2
         | 
| 280 | 
            +
              i686: 1208
         | 
| 281 | 
            +
              powerpc: 180
         | 
| 282 | 
            +
              amd64: 2
         | 
| 283 | 
            +
              x86_64: 132
         | 
| 284 | 
            +
              i386: 97
         | 
| 285 | 
            +
              i486: 23
         | 
| 286 | 
            +
              i586: 2
         | 
| 287 | 
            +
              sparc: 18
         | 
| 288 | 
            +
            LIBRUBY: 
         | 
| 289 | 
            +
              libruby.so.1.8.6: 9
         | 
| 290 | 
            +
              libruby1.8.4.1.8.4.dylib: 1
         | 
| 291 | 
            +
              libruby18.so.1.8.4: 3
         | 
| 292 | 
            +
              libruby185-static.a: 1
         | 
| 293 | 
            +
              libruby1.8.so.1.8.2: 7
         | 
| 294 | 
            +
              libruby18.so.1.8.5: 127
         | 
| 295 | 
            +
              libruby18.so.1.8.6: 17
         | 
| 296 | 
            +
              libruby.1.8.5.dylib: 166
         | 
| 297 | 
            +
              jruby: 8
         | 
| 298 | 
            +
              libruby.1.8.6.dylib: 41
         | 
| 299 | 
            +
              libruby.so.1.9.0: 1
         | 
| 300 | 
            +
              libruby.so.1.8.1: 8
         | 
| 301 | 
            +
              libruby1.8.so.1.8.4: 125
         | 
| 302 | 
            +
              libruby.so.1.8.2: 1
         | 
| 303 | 
            +
              libruby18.so.18.5: 1
         | 
| 304 | 
            +
              libruby.so.1.84: 2
         | 
| 305 | 
            +
              jruby.jar: 11
         | 
| 306 | 
            +
              libruby1.8.so.1.8.5: 62
         | 
| 307 | 
            +
              libmsvcrt-ruby18.dll.a: 1
         | 
| 308 | 
            +
              libruby.so.1.85: 1
         | 
| 309 | 
            +
              libruby1.8-static.a: 1
         | 
| 310 | 
            +
              libruby.so.1: 4
         | 
| 311 | 
            +
              libruby.1.8.2.dylib: 5
         | 
| 312 | 
            +
              libruby1.8.so.1.8.6: 26
         | 
| 313 | 
            +
              libruby.dll.a: 14
         | 
| 314 | 
            +
              libruby.so.1.8.4: 15
         | 
| 315 | 
            +
              libruby.1.dylib: 43
         | 
| 316 | 
            +
              libruby-static.a: 454
         | 
| 317 | 
            +
              libruby.1.8.4.dylib: 50
         | 
| 318 | 
            +
              libruby.so.1.8.5: 59
         | 
| 319 | 
            +
              msvcrt-ruby18.lib: 375
         | 
| 320 | 
            +
              libruby18.so.18: 27
         | 
| 321 | 
            +
            LIBRUBY_SO: 
         | 
| 322 | 
            +
              libruby.so.1.8.6: 47
         | 
| 323 | 
            +
              libruby1.8.4.1.8.4.dylib: 1
         | 
| 324 | 
            +
              libruby18.so.1.8.4: 3
         | 
| 325 | 
            +
              libruby1.8.so.1.8.2: 7
         | 
| 326 | 
            +
              libruby18.so.1.8.5: 127
         | 
| 327 | 
            +
              libruby18.so.1.8.6: 17
         | 
| 328 | 
            +
              libruby.1.8.5.dylib: 166
         | 
| 329 | 
            +
              jruby: 8
         | 
| 330 | 
            +
              libruby.1.8.6.dylib: 41
         | 
| 331 | 
            +
              libruby.so.1.9.0: 1
         | 
| 332 | 
            +
              libruby.so.1.8.1: 9
         | 
| 333 | 
            +
              libruby1.8.so.1.8.4: 125
         | 
| 334 | 
            +
              libruby18.so.18.5: 1
         | 
| 335 | 
            +
              libruby.so.1.84: 2
         | 
| 336 | 
            +
              libruby.so.1.8.2: 3
         | 
| 337 | 
            +
              jruby.jar: 11
         | 
| 338 | 
            +
              libruby1.8.so.1.8.5: 63
         | 
| 339 | 
            +
              libruby.so.1.85: 1
         | 
| 340 | 
            +
              libruby.so.1: 4
         | 
| 341 | 
            +
              libruby.1.8.2.dylib: 5
         | 
| 342 | 
            +
              libruby1.8.so.1.8.6: 26
         | 
| 343 | 
            +
              libruby185.so.1.8.5: 1
         | 
| 344 | 
            +
              cygruby18.dll: 14
         | 
| 345 | 
            +
              libruby.1.dylib: 43
         | 
| 346 | 
            +
              libruby.so.1.8.4: 253
         | 
| 347 | 
            +
              msvcrt-ruby18.dll: 376
         | 
| 348 | 
            +
              libruby.1.8.4.dylib: 50
         | 
| 349 | 
            +
              libruby.so.1.8.5: 234
         | 
| 350 | 
            +
              libruby18.so.18: 27
         | 
| 351 | 
            +
            target: 
         | 
| 352 | 
            +
              sparc-sun-solaris2.9: 8
         | 
| 353 | 
            +
              i686-apple-darwin8.6.1: 81
         | 
| 354 | 
            +
              i686-apple-darwin8.5.2: 11
         | 
| 355 | 
            +
              i386--netbsdelf: 1
         | 
| 356 | 
            +
              powerpc-apple-darwin8.2.0: 3
         | 
| 357 | 
            +
              i386-unknown-freebsd4.11: 1
         | 
| 358 | 
            +
              i386-pc-solaris2.8: 2
         | 
| 359 | 
            +
              x86_64-pc-linux-gnu: 105
         | 
| 360 | 
            +
              i686-apple-darwin8.7.1: 31
         | 
| 361 | 
            +
              i686-apple-darwin8.6.2: 15
         | 
| 362 | 
            +
              i686-apple-darwin8.5.3: 4
         | 
| 363 | 
            +
              x86_64-suse-linux: 2
         | 
| 364 | 
            +
              i386-pc-linux-gnu: 2
         | 
| 365 | 
            +
              i386-pc-linux: 15
         | 
| 366 | 
            +
              powerpc-apple-darwin8.3.0: 3
         | 
| 367 | 
            +
              i686-apple-darwin8.8.1: 140
         | 
| 368 | 
            +
              i686-apple-darwin8.7.2: 2
         | 
| 369 | 
            +
              powerpc-apple-darwin8.4.0: 6
         | 
| 370 | 
            +
              amd64-portbld-freebsd6: 2
         | 
| 371 | 
            +
              i686-apple-darwin8.8.2: 53
         | 
| 372 | 
            +
              i686-apple-darwin8.9.1: 27
         | 
| 373 | 
            +
              i686-apple-darwin8.7.3: 3
         | 
| 374 | 
            +
              x86_64-unknown-linux-gnu: 13
         | 
| 375 | 
            +
              powerpc-apple-darwin8.10.0: 2
         | 
| 376 | 
            +
              i686-apple-darwin8.8.3: 15
         | 
| 377 | 
            +
              powerpc-apple-darwin7.9.0: 12
         | 
| 378 | 
            +
              powerpc-apple-darwin8.5.0: 8
         | 
| 379 | 
            +
              i386-mingw32: 1
         | 
| 380 | 
            +
              i686-apple-darwin8.9.3: 1
         | 
| 381 | 
            +
              i586-suse-linux: 3
         | 
| 382 | 
            +
              i686-apple-darwin8.8.4: 5
         | 
| 383 | 
            +
              x86_64-redhat-linux-gnu: 7
         | 
| 384 | 
            +
              powerpc-apple-darwin8.6.0: 25
         | 
| 385 | 
            +
              powerpc-apple-darwin8.11.0: 1
         | 
| 386 | 
            +
              sparc-sun-solaris2.10: 7
         | 
| 387 | 
            +
              i686-apple-darwin8.9.4: 3
         | 
| 388 | 
            +
              i686-apple-darwin8.8.5: 3
         | 
| 389 | 
            +
              powerpc-apple-darwin8.7.0: 39
         | 
| 390 | 
            +
              powerpc-ibm-aix5.3.0.0: 1
         | 
| 391 | 
            +
              i386-redhat-linux: 1
         | 
| 392 | 
            +
              powerpc-apple-darwin8.8.0: 53
         | 
| 393 | 
            +
              powerpc-unknown-linux-gnu: 3
         | 
| 394 | 
            +
              i486-slackware-linux: 1
         | 
| 395 | 
            +
              i386-pc-solaris2.10: 7
         | 
| 396 | 
            +
              powerpc-apple-darwin8.9.0: 8
         | 
| 397 | 
            +
              powerpc-apple-darwin8.8.1: 1
         | 
| 398 | 
            +
              i686-pc-cygwin: 14
         | 
| 399 | 
            +
              x86_64-unknown-openbsd4.0: 4
         | 
| 400 | 
            +
              i686-pc-linux-gnu: 166
         | 
| 401 | 
            +
              java: 8
         | 
| 402 | 
            +
              i586-mandrake-linux-gnu: 1
         | 
| 403 | 
            +
              i386-redhat-linux-gnu: 61
         | 
| 404 | 
            +
              i586-mandriva-linux-gnu: 1
         | 
| 405 | 
            +
              i686-apple-darwin9.0: 29
         | 
| 406 | 
            +
              i386-portbld-freebsd5: 3
         | 
| 407 | 
            +
              powerpc-apple-darwin8.0: 10
         | 
| 408 | 
            +
              i386-unknown-freebsd6.0: 2
         | 
| 409 | 
            +
              i486-pc-linux-gnu: 187
         | 
| 410 | 
            +
              i686-apple-darwin: 1
         | 
| 411 | 
            +
              i386-portbld-freebsd6: 20
         | 
| 412 | 
            +
              powerpc-apple-darwin9.0: 5
         | 
| 413 | 
            +
              i386-unknown-freebsd6.1: 1
         | 
| 414 | 
            +
              x86_64-unknown-openbsd3.9: 1
         | 
| 415 | 
            +
              i686-redhat-linux: 1
         | 
| 416 | 
            +
              i686-apple-darwin8.10.1: 13
         | 
| 417 | 
            +
              i386-portbld-freebsd7: 2
         | 
| 418 | 
            +
              i686-apple-darwin9.1.0: 1
         | 
| 419 | 
            +
              i686-apple-darwin8.4.1: 1
         | 
| 420 | 
            +
              i686-apple-darwin8.11.1: 2
         | 
| 421 | 
            +
              powerpc64-unknown-linux-gnu: 2
         | 
| 422 | 
            +
              i386-pc-mswin32: 375
         | 
| 423 | 
            +
              i686-apple-darwin8.5.1: 1
         | 
| 424 | 
            +
              java1.4: 11
         | 
| 425 | 
            +
              sparc-sun-solaris2.8: 3
         | 
| 426 | 
            +
              i386-unknown-openbsd4.0: 2
         | 
| 427 | 
            +
              i686-apple-darwin8.10.3: 1
         | 
    
        data/tasks/config.rb
    CHANGED
    
    | @@ -31,7 +31,7 @@ Configuration.for('packaging') { | |
| 31 31 | 
             
                examples  FileList["examples/*.rb"]
         | 
| 32 32 | 
             
                lib       FileList["lib/**/*.rb"]
         | 
| 33 33 | 
             
                test      FileList["spec/**/*.rb", "test/**/*.rb"]
         | 
| 34 | 
            -
                data      FileList["data/**/*"]
         | 
| 34 | 
            +
                data      FileList["data/**/*", "spec/**/*.yml"]
         | 
| 35 35 | 
             
                tasks     FileList["tasks/**/*.r{ake,b}"]
         | 
| 36 36 | 
             
                rdoc      FileList[proj_conf.readme, proj_conf.history,
         | 
| 37 37 | 
             
                                   proj_conf.license] + lib + FileList["ext/*.c"]
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: launchy
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              version: 0.3. | 
| 4 | 
            +
              version: 0.3.5
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors: 
         | 
| 7 7 | 
             
            - Jeremy Hinegardner
         | 
| @@ -9,7 +9,7 @@ autorequire: | |
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 11 |  | 
| 12 | 
            -
            date: 2009- | 
| 12 | 
            +
            date: 2009-12-17 00:00:00 -07:00
         | 
| 13 13 | 
             
            default_executable: 
         | 
| 14 14 | 
             
            dependencies: 
         | 
| 15 15 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| @@ -32,7 +32,14 @@ dependencies: | |
| 32 32 | 
             
                  - !ruby/object:Gem::Version 
         | 
| 33 33 | 
             
                    version: 0.0.5
         | 
| 34 34 | 
             
                version: 
         | 
| 35 | 
            -
            description:  | 
| 35 | 
            +
            description: |-
         | 
| 36 | 
            +
              Launchy is helper class for launching cross-platform applications in a
         | 
| 37 | 
            +
              fire and forget manner.
         | 
| 38 | 
            +
              
         | 
| 39 | 
            +
              There are application concepts (browser, email client, etc) that are
         | 
| 40 | 
            +
              common across all platforms, and they may be launched differently on
         | 
| 41 | 
            +
              each platform.  Launchy is here to make a common approach to launching
         | 
| 42 | 
            +
              external application from within ruby programs.
         | 
| 36 43 | 
             
            email: jeremy@copiousfreetime.org
         | 
| 37 44 | 
             
            executables: 
         | 
| 38 45 | 
             
            - launchy
         | 
| @@ -62,6 +69,7 @@ files: | |
| 62 69 | 
             
            - spec/paths_spec.rb
         | 
| 63 70 | 
             
            - spec/spec_helper.rb
         | 
| 64 71 | 
             
            - spec/version_spec.rb
         | 
| 72 | 
            +
            - spec/tattle-host-os.yml
         | 
| 65 73 | 
             
            - README
         | 
| 66 74 | 
             
            - HISTORY
         | 
| 67 75 | 
             
            - LICENSE
         | 
| @@ -76,6 +84,8 @@ files: | |
| 76 84 | 
             
            - gemspec.rb
         | 
| 77 85 | 
             
            has_rdoc: true
         | 
| 78 86 | 
             
            homepage: http://copiousfreetime.rubyforge.org/launchy/
         | 
| 87 | 
            +
            licenses: []
         | 
| 88 | 
            +
             | 
| 79 89 | 
             
            post_install_message: 
         | 
| 80 90 | 
             
            rdoc_options: 
         | 
| 81 91 | 
             
            - --line-numbers
         | 
| @@ -99,9 +109,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 99 109 | 
             
            requirements: []
         | 
| 100 110 |  | 
| 101 111 | 
             
            rubyforge_project: copiousfreetime
         | 
| 102 | 
            -
            rubygems_version: 1.3. | 
| 112 | 
            +
            rubygems_version: 1.3.5
         | 
| 103 113 | 
             
            signing_key: 
         | 
| 104 | 
            -
            specification_version:  | 
| 114 | 
            +
            specification_version: 3
         | 
| 105 115 | 
             
            summary: Launchy is helper class for launching cross-platform applications in a fire and forget manner
         | 
| 106 116 | 
             
            test_files: []
         | 
| 107 117 |  |