launchy 2.1.1-java → 2.1.2-java

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.
@@ -1,4 +1,8 @@
1
1
  = Launchy Changlog
2
+ == Version 2.1.2 - 2012-08-06
3
+
4
+ * Fix where HostOS would fail to convert to string on JRuby in 1.9 mode (copiousfreetime/launchy#45)
5
+
2
6
  == Version 2.1.1 - 2012-07-28
3
7
 
4
8
  * Update addressable runtime dependency (copiousfreetime/launchy#47)
@@ -40,7 +40,7 @@ module Launchy
40
40
  # and passing all the rest of the parameters to that method in
41
41
  # each child
42
42
  def find_child( method, *args )
43
- klass = children.find do |child|
43
+ children.find do |child|
44
44
  Launchy.log "Checking if class #{child} is the one for #{method}(#{args.join(', ')})}"
45
45
  child.send( method, *args )
46
46
  end
@@ -5,6 +5,7 @@ module Launchy::Detect
5
5
 
6
6
  attr_reader :host_os
7
7
  alias to_s host_os
8
+ alias to_str host_os
8
9
 
9
10
  def initialize( host_os = nil )
10
11
  @host_os = host_os
@@ -1,5 +1,5 @@
1
1
  module Launchy
2
- VERSION = "2.1.1"
2
+ VERSION = "2.1.2"
3
3
 
4
4
  module Version
5
5
 
@@ -53,7 +53,7 @@ describe Launchy::Cli do
53
53
 
54
54
  it "prints the command on stdout when using --dry-run" do
55
55
  argv = %w[ --debug --dry-run http://github.com/copiousfreetime/launchy ]
56
- rc = Launchy::Cli.new.good_run( argv, {} )
56
+ Launchy::Cli.new.good_run( argv, {} )
57
57
  $stdout.string.must_match %r[github.com]
58
58
  end
59
59
 
@@ -1,3 +1,4 @@
1
+ # coding: utf-8
1
2
  require 'spec_helper'
2
3
 
3
4
  describe Launchy::Detect::Runner do
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: launchy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.1.1
5
+ version: 2.1.2
6
6
  platform: java
7
7
  authors:
8
8
  - Jeremy Hinegardner
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-07-28 00:00:00 Z
13
+ date: 2012-08-06 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: addressable