wijet-launchy 2.0.6
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 +111 -0
- data/LICENSE +16 -0
- data/NOTES +1 -0
- data/README +100 -0
- data/Rakefile +70 -0
- data/bin/launchy +4 -0
- data/lib/launchy.rb +115 -0
- data/lib/launchy/application.rb +62 -0
- data/lib/launchy/applications/browser.rb +79 -0
- data/lib/launchy/cli.rb +83 -0
- data/lib/launchy/deprecated.rb +52 -0
- data/lib/launchy/descendant_tracker.rb +49 -0
- data/lib/launchy/detect.rb +10 -0
- data/lib/launchy/detect/host_os.rb +31 -0
- data/lib/launchy/detect/host_os_family.rb +71 -0
- data/lib/launchy/detect/nix_desktop_environment.rb +60 -0
- data/lib/launchy/detect/ruby_engine.rb +78 -0
- data/lib/launchy/detect/runner.rb +111 -0
- data/lib/launchy/error.rb +4 -0
- data/lib/launchy/os_family.rb +8 -0
- data/lib/launchy/version.rb +18 -0
- data/spec/application_spec.rb +43 -0
- data/spec/applications/browser_spec.rb +54 -0
- data/spec/cli_spec.rb +75 -0
- data/spec/detect/host_os_family_spec.rb +40 -0
- data/spec/detect/host_os_spec.rb +19 -0
- data/spec/detect/nix_desktop_environment_spec.rb +33 -0
- data/spec/detect/ruby_engine_spec.rb +37 -0
- data/spec/detect/runner_spec.rb +98 -0
- data/spec/launchy_spec.rb +58 -0
- data/spec/mock_application.rb +9 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/tattle-host-os.yaml +427 -0
- data/spec/version_spec.rb +11 -0
- data/tasks/bundler.rake +13 -0
- data/tasks/contribute.rake +36 -0
- metadata +200 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'Launchy::VERSION' do
|
4
|
+
it "should have a #.#.# format" do
|
5
|
+
Launchy::VERSION.must_match( /\d+\.\d+\.\d+/ )
|
6
|
+
Launchy::Version.to_s.must_match( /\d+\.\d+\.\d+/ )
|
7
|
+
Launchy::Version.to_a.each do |n|
|
8
|
+
n.to_i.must_be :>=, 0
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
data/tasks/bundler.rake
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
desc "Instructions on how to contribute to launchy"
|
2
|
+
task :help do
|
3
|
+
abort <<-_banner
|
4
|
+
-----------------------------------------------------------------------
|
5
|
+
I see you are wanting to do some development on launchy. You will
|
6
|
+
need to install the 'bones' gem first.
|
7
|
+
|
8
|
+
% gem install bones -v #{USING_BONES_VERSION}
|
9
|
+
|
10
|
+
The easiest way to start after that is with the
|
11
|
+
'install:dependencies' task:
|
12
|
+
|
13
|
+
% rake gem:install_dependencies
|
14
|
+
|
15
|
+
If you use bundler, then you will need to first create the Gemfile
|
16
|
+
and then run 'bundle install':
|
17
|
+
|
18
|
+
% rake bundle:gemfile
|
19
|
+
% bundle install
|
20
|
+
|
21
|
+
Now you are ready to work on launchy. Please submit bugs and pull
|
22
|
+
requests to:
|
23
|
+
|
24
|
+
https://github.com/copiousfreetime/launchy
|
25
|
+
|
26
|
+
Thanks!
|
27
|
+
|
28
|
+
-jeremy
|
29
|
+
-----------------------------------------------------------------------
|
30
|
+
_banner
|
31
|
+
end
|
32
|
+
|
33
|
+
desc "(Alias for 'help') Instructions on how to contribute to launchy"
|
34
|
+
task 'how_to_contribute' => :help
|
35
|
+
desc "(Alias for 'help') Instructions on how to contribute to launchy"
|
36
|
+
task '==> I WANT TO CONTRIBUTE <==' => :help
|
metadata
ADDED
@@ -0,0 +1,200 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wijet-launchy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.6
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jeremy Hinegardner
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-11-16 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: addressable
|
16
|
+
requirement: &2157379600 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.2.6
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2157379600
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rake
|
27
|
+
requirement: &2157379020 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.9.2
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2157379020
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: minitest
|
38
|
+
requirement: &2157378440 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 2.3.1
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2157378440
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: bones
|
49
|
+
requirement: &2157377700 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.7.0
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *2157377700
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: bones-rcov
|
60
|
+
requirement: &2157377040 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.0.1
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *2157377040
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rcov
|
71
|
+
requirement: &2157376420 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.9.9
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *2157376420
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: spoon
|
82
|
+
requirement: &2157375740 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 0.0.1
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *2157375740
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: ffi
|
93
|
+
requirement: &2157375200 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ~>
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 1.0.9
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *2157375200
|
102
|
+
description: ! 'Launchy is helper class for launching cross-platform applications
|
103
|
+
in a
|
104
|
+
|
105
|
+
fire and forget manner.
|
106
|
+
|
107
|
+
|
108
|
+
There are application concepts (browser, email client, etc) that are
|
109
|
+
|
110
|
+
common across all platforms, and they may be launched differently on
|
111
|
+
|
112
|
+
each platform. Launchy is here to make a common approach to launching
|
113
|
+
|
114
|
+
external application from within ruby programs.
|
115
|
+
|
116
|
+
'
|
117
|
+
email: jeremy@copiousfreetime.org
|
118
|
+
executables:
|
119
|
+
- launchy
|
120
|
+
extensions: []
|
121
|
+
extra_rdoc_files:
|
122
|
+
- HISTORY
|
123
|
+
- LICENSE
|
124
|
+
- README
|
125
|
+
- bin/launchy
|
126
|
+
files:
|
127
|
+
- HISTORY
|
128
|
+
- LICENSE
|
129
|
+
- NOTES
|
130
|
+
- README
|
131
|
+
- Rakefile
|
132
|
+
- bin/launchy
|
133
|
+
- lib/launchy.rb
|
134
|
+
- lib/launchy/application.rb
|
135
|
+
- lib/launchy/applications/browser.rb
|
136
|
+
- lib/launchy/cli.rb
|
137
|
+
- lib/launchy/deprecated.rb
|
138
|
+
- lib/launchy/descendant_tracker.rb
|
139
|
+
- lib/launchy/detect.rb
|
140
|
+
- lib/launchy/detect/host_os.rb
|
141
|
+
- lib/launchy/detect/host_os_family.rb
|
142
|
+
- lib/launchy/detect/nix_desktop_environment.rb
|
143
|
+
- lib/launchy/detect/ruby_engine.rb
|
144
|
+
- lib/launchy/detect/runner.rb
|
145
|
+
- lib/launchy/error.rb
|
146
|
+
- lib/launchy/os_family.rb
|
147
|
+
- lib/launchy/version.rb
|
148
|
+
- spec/application_spec.rb
|
149
|
+
- spec/applications/browser_spec.rb
|
150
|
+
- spec/cli_spec.rb
|
151
|
+
- spec/detect/host_os_family_spec.rb
|
152
|
+
- spec/detect/host_os_spec.rb
|
153
|
+
- spec/detect/nix_desktop_environment_spec.rb
|
154
|
+
- spec/detect/ruby_engine_spec.rb
|
155
|
+
- spec/detect/runner_spec.rb
|
156
|
+
- spec/launchy_spec.rb
|
157
|
+
- spec/mock_application.rb
|
158
|
+
- spec/spec_helper.rb
|
159
|
+
- spec/tattle-host-os.yaml
|
160
|
+
- spec/version_spec.rb
|
161
|
+
- tasks/bundler.rake
|
162
|
+
- tasks/contribute.rake
|
163
|
+
homepage: http://www.copiousfreetime.org/projects/launchy
|
164
|
+
licenses: []
|
165
|
+
post_install_message:
|
166
|
+
rdoc_options:
|
167
|
+
- --main
|
168
|
+
- README
|
169
|
+
require_paths:
|
170
|
+
- lib
|
171
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
172
|
+
none: false
|
173
|
+
requirements:
|
174
|
+
- - ! '>='
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
177
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
179
|
+
requirements:
|
180
|
+
- - ! '>='
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
requirements: []
|
184
|
+
rubyforge_project: wijet-launchy
|
185
|
+
rubygems_version: 1.8.10
|
186
|
+
signing_key:
|
187
|
+
specification_version: 3
|
188
|
+
summary: Launchy is helper class for launching cross-platform applications in a fire
|
189
|
+
and forget manner.
|
190
|
+
test_files:
|
191
|
+
- spec/application_spec.rb
|
192
|
+
- spec/applications/browser_spec.rb
|
193
|
+
- spec/cli_spec.rb
|
194
|
+
- spec/detect/host_os_family_spec.rb
|
195
|
+
- spec/detect/host_os_spec.rb
|
196
|
+
- spec/detect/nix_desktop_environment_spec.rb
|
197
|
+
- spec/detect/ruby_engine_spec.rb
|
198
|
+
- spec/detect/runner_spec.rb
|
199
|
+
- spec/launchy_spec.rb
|
200
|
+
- spec/version_spec.rb
|