launchy 2.1.1 → 2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,128 +1,126 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: launchy
3
- version: !ruby/object:Gem::Version
4
- hash: 9
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.1.2
5
5
  prerelease:
6
- segments:
7
- - 2
8
- - 1
9
- - 1
10
- version: 2.1.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Jeremy Hinegardner
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-07-28 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-08-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: addressable
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 5
29
- segments:
30
- - 2
31
- - 3
32
- version: "2.3"
20
+ - !ruby/object:Gem::Version
21
+ version: '2.3'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: rake
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
39
25
  none: false
40
- requirements:
26
+ requirements:
41
27
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 11
44
- segments:
45
- - 0
46
- - 9
47
- - 2
48
- - 2
28
+ - !ruby/object:Gem::Version
29
+ version: '2.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
49
37
  version: 0.9.2.2
50
38
  type: :development
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: minitest
54
39
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.9.2.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: minitest
48
+ requirement: !ruby/object:Gem::Requirement
56
49
  none: false
57
- requirements:
50
+ requirements:
58
51
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 11
61
- segments:
62
- - 3
63
- - 3
64
- - 0
52
+ - !ruby/object:Gem::Version
65
53
  version: 3.3.0
66
54
  type: :development
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: rdoc
70
55
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 3.3.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: rdoc
64
+ requirement: !ruby/object:Gem::Requirement
72
65
  none: false
73
- requirements:
66
+ requirements:
74
67
  - - ~>
75
- - !ruby/object:Gem::Version
76
- hash: 31
77
- segments:
78
- - 3
79
- - 12
80
- version: "3.12"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.12'
81
70
  type: :development
82
- version_requirements: *id004
83
- - !ruby/object:Gem::Dependency
84
- name: spoon
85
71
  prerelease: false
86
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
87
73
  none: false
88
- requirements:
74
+ requirements:
89
75
  - - ~>
90
- - !ruby/object:Gem::Version
91
- hash: 29
92
- segments:
93
- - 0
94
- - 0
95
- - 1
76
+ - !ruby/object:Gem::Version
77
+ version: '3.12'
78
+ - !ruby/object:Gem::Dependency
79
+ name: spoon
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
96
85
  version: 0.0.1
97
86
  type: :development
98
- version_requirements: *id005
99
- - !ruby/object:Gem::Dependency
100
- name: ffi
101
87
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.0.1
94
+ - !ruby/object:Gem::Dependency
95
+ name: ffi
96
+ requirement: !ruby/object:Gem::Requirement
103
97
  none: false
104
- requirements:
98
+ requirements:
105
99
  - - ~>
106
- - !ruby/object:Gem::Version
107
- hash: 17
108
- segments:
109
- - 1
110
- - 1
111
- - 1
100
+ - !ruby/object:Gem::Version
112
101
  version: 1.1.1
113
102
  type: :development
114
- version_requirements: *id006
115
- description: Launchy is helper class for launching cross-platform applications in a fire and forget manner. There are application concepts (browser, email client, etc) that are common across all platforms, and they may be launched differently on each platform. Launchy is here to make a common approach to launching external application from within ruby programs.
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 1.1.1
110
+ description: Launchy is helper class for launching cross-platform applications in
111
+ a fire and forget manner. There are application concepts (browser, email client,
112
+ etc) that are common across all platforms, and they may be launched differently
113
+ on each platform. Launchy is here to make a common approach to launching external
114
+ application from within ruby programs.
116
115
  email: jeremy@copiousfreetime.org
117
- executables:
116
+ executables:
118
117
  - launchy
119
118
  extensions: []
120
-
121
- extra_rdoc_files:
119
+ extra_rdoc_files:
122
120
  - HISTORY.rdoc
123
121
  - Manifest.txt
124
122
  - README.rdoc
125
- files:
123
+ files:
126
124
  - HISTORY.rdoc
127
125
  - LICENSE
128
126
  - Manifest.txt
@@ -160,39 +158,32 @@ files:
160
158
  - spec/version_spec.rb
161
159
  homepage: http://github.com/copiousfreetime/launchy
162
160
  licenses: []
163
-
164
161
  post_install_message:
165
- rdoc_options:
162
+ rdoc_options:
166
163
  - --main
167
164
  - README.rdoc
168
- require_paths:
165
+ require_paths:
169
166
  - lib
170
- required_ruby_version: !ruby/object:Gem::Requirement
167
+ required_ruby_version: !ruby/object:Gem::Requirement
171
168
  none: false
172
- requirements:
173
- - - ">="
174
- - !ruby/object:Gem::Version
175
- hash: 3
176
- segments:
177
- - 0
178
- version: "0"
179
- required_rubygems_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ required_rubygems_version: !ruby/object:Gem::Requirement
180
174
  none: false
181
- requirements:
182
- - - ">="
183
- - !ruby/object:Gem::Version
184
- hash: 3
185
- segments:
186
- - 0
187
- version: "0"
175
+ requirements:
176
+ - - ! '>='
177
+ - !ruby/object:Gem::Version
178
+ version: '0'
188
179
  requirements: []
189
-
190
180
  rubyforge_project:
191
- rubygems_version: 1.8.15
181
+ rubygems_version: 1.8.24
192
182
  signing_key:
193
183
  specification_version: 3
194
- summary: Launchy is helper class for launching cross-platform applications in a fire and forget manner.
195
- test_files:
184
+ summary: Launchy is helper class for launching cross-platform applications in a fire
185
+ and forget manner.
186
+ test_files:
196
187
  - spec/application_spec.rb
197
188
  - spec/applications/browser_spec.rb
198
189
  - spec/cli_spec.rb