launchy 2.2.0-java → 2.4.2-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ class ThisProject
25
25
  #
26
26
  # Yields self
27
27
  def initialize(&block)
28
- @exclude_from_manifest = %r/tmp$|\.(git|DS_Store)|^(doc|coverage|pkg)|Gemfile*|\.gemspec$|\.swp$|\.jar|\.rvmrc$|~$/
28
+ @exclude_from_manifest = %r/\.(git|DS_Store)|^(doc|coverage|pkg|tmp|Gemfile(\.lock)?)|^[^\/]+\.gemspec|\.(swp|jar|bundle|so|rvmrc)$|~$/
29
29
  @gemspecs = Hash.new
30
30
  yield self if block_given?
31
31
  end
@@ -54,7 +54,7 @@ class ThisProject
54
54
  #
55
55
  # Retuns the text of the section as an array of paragrphs.
56
56
  def section_of( file, section_name )
57
- re = /^=+ (.*)$/
57
+ re = /^[=#]+ (.*)$/
58
58
  sectional = project_path( file )
59
59
  parts = sectional.read.split( re )[1..-1]
60
60
  parts.map! { |p| p.strip }
@@ -77,8 +77,8 @@ class ThisProject
77
77
  # path - the relative path of the file from the project root
78
78
  #
79
79
  # Returns the Pathname of the file
80
- def project_path( relative_path )
81
- project_root.join( relative_path )
80
+ def project_path( *relative_path )
81
+ project_root.join( *relative_path )
82
82
  end
83
83
 
84
84
  # Internal: The absolute path of this file
@@ -110,6 +110,13 @@ class ThisProject
110
110
  manifest_file.readlines.map { |l| l.strip }
111
111
  end
112
112
 
113
+ # Internal: Return the files that define the extensions
114
+ #
115
+ # Returns an Array
116
+ def extension_conf_files
117
+ manifest.grep( /extconf.rb\Z/ )
118
+ end
119
+
113
120
  # Internal: Returns the gemspace associated with the current ruby platform
114
121
  def platform_gemspec
115
122
  gemspecs[platform]
@@ -130,8 +137,8 @@ class ThisProject
130
137
  spec.executables = spec.files.grep(/^bin/) { |f| File.basename(f) }
131
138
  spec.test_files = spec.files.grep(/^spec/)
132
139
 
133
- spec.extra_rdoc_files += spec.files.grep(/(txt|rdoc)$/)
134
- spec.rdoc_options = [ "--main" , 'README.rdoc',
140
+ spec.extra_rdoc_files += spec.files.grep(/(txt|rdoc|md)$/)
141
+ spec.rdoc_options = [ "--main" , 'README.md',
135
142
  "--markup", "tomdoc" ]
136
143
  end
137
144
  end
@@ -180,7 +187,7 @@ class ThisProject
180
187
 
181
188
  # Internal: Return the DESCRIPTION section of the README.rdoc file
182
189
  def description_section
183
- section_of( 'README.rdoc', 'DESCRIPTION')
190
+ section_of( 'README.md', 'DESCRIPTION')
184
191
  end
185
192
 
186
193
  # Internal: Return the summary text from the README
metadata CHANGED
@@ -1,94 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: launchy
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 2.2.0
4
+ version: 2.4.2
6
5
  platform: java
7
6
  authors:
8
7
  - Jeremy Hinegardner
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-06 00:00:00.000000000 Z
11
+ date: 2014-01-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: addressable
16
15
  version_requirements: !ruby/object:Gem::Requirement
17
16
  requirements:
18
- - - "~>"
17
+ - - ~>
19
18
  - !ruby/object:Gem::Version
20
19
  version: '2.3'
21
- none: false
22
20
  requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
- - - "~>"
22
+ - - ~>
25
23
  - !ruby/object:Gem::Version
26
24
  version: '2.3'
27
- none: false
28
25
  prerelease: false
29
26
  type: :runtime
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  version_requirements: !ruby/object:Gem::Requirement
33
30
  requirements:
34
- - - "~>"
31
+ - - ~>
35
32
  - !ruby/object:Gem::Version
36
- version: 10.0.3
37
- none: false
33
+ version: '10.1'
38
34
  requirement: !ruby/object:Gem::Requirement
39
35
  requirements:
40
- - - "~>"
36
+ - - ~>
41
37
  - !ruby/object:Gem::Version
42
- version: 10.0.3
43
- none: false
38
+ version: '10.1'
44
39
  prerelease: false
45
40
  type: :development
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: minitest
48
43
  version_requirements: !ruby/object:Gem::Requirement
49
44
  requirements:
50
- - - "~>"
45
+ - - ~>
51
46
  - !ruby/object:Gem::Version
52
- version: 4.5.0
53
- none: false
47
+ version: '5.0'
54
48
  requirement: !ruby/object:Gem::Requirement
55
49
  requirements:
56
- - - "~>"
50
+ - - ~>
57
51
  - !ruby/object:Gem::Version
58
- version: 4.5.0
59
- none: false
52
+ version: '5.0'
60
53
  prerelease: false
61
54
  type: :development
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rdoc
64
57
  version_requirements: !ruby/object:Gem::Requirement
65
58
  requirements:
66
- - - "~>"
59
+ - - ~>
67
60
  - !ruby/object:Gem::Version
68
61
  version: '3.12'
69
- none: false
70
62
  requirement: !ruby/object:Gem::Requirement
71
63
  requirements:
72
- - - "~>"
64
+ - - ~>
73
65
  - !ruby/object:Gem::Version
74
66
  version: '3.12'
75
- none: false
76
67
  prerelease: false
77
68
  type: :development
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: spoon
80
71
  version_requirements: !ruby/object:Gem::Requirement
81
72
  requirements:
82
- - - "~>"
73
+ - - ~>
83
74
  - !ruby/object:Gem::Version
84
75
  version: 0.0.1
85
- none: false
86
76
  requirement: !ruby/object:Gem::Requirement
87
77
  requirements:
88
- - - "~>"
78
+ - - ~>
89
79
  - !ruby/object:Gem::Version
90
80
  version: 0.0.1
91
- none: false
92
81
  prerelease: false
93
82
  type: :runtime
94
83
  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.
@@ -97,20 +86,22 @@ executables:
97
86
  - launchy
98
87
  extensions: []
99
88
  extra_rdoc_files:
100
- - HISTORY.rdoc
89
+ - CONTRIBUTING.md
90
+ - HISTORY.md
101
91
  - Manifest.txt
102
- - README.rdoc
92
+ - README.md
103
93
  files:
104
94
  - CONTRIBUTING.md
105
- - HISTORY.rdoc
95
+ - HISTORY.md
106
96
  - LICENSE
107
97
  - Manifest.txt
108
- - README.rdoc
98
+ - README.md
109
99
  - Rakefile
110
100
  - bin/launchy
111
101
  - lib/launchy.rb
112
102
  - lib/launchy/application.rb
113
103
  - lib/launchy/applications/browser.rb
104
+ - lib/launchy/argv.rb
114
105
  - lib/launchy/cli.rb
115
106
  - lib/launchy/deprecated.rb
116
107
  - lib/launchy/descendant_tracker.rb
@@ -140,33 +131,30 @@ files:
140
131
  - tasks/this.rb
141
132
  homepage: http://github.com/copiousfreetime/launchy
142
133
  licenses: []
134
+ metadata: {}
143
135
  post_install_message:
144
136
  rdoc_options:
145
- - "--main"
146
- - README.rdoc
147
- - "--markup"
137
+ - --main
138
+ - README.md
139
+ - --markup
148
140
  - tomdoc
149
141
  require_paths:
150
142
  - lib
151
143
  required_ruby_version: !ruby/object:Gem::Requirement
152
144
  requirements:
153
- - - ">="
145
+ - - '>='
154
146
  - !ruby/object:Gem::Version
155
- version: !binary |-
156
- MA==
157
- none: false
147
+ version: '0'
158
148
  required_rubygems_version: !ruby/object:Gem::Requirement
159
149
  requirements:
160
- - - ">="
150
+ - - '>='
161
151
  - !ruby/object:Gem::Version
162
- version: !binary |-
163
- MA==
164
- none: false
152
+ version: '0'
165
153
  requirements: []
166
154
  rubyforge_project:
167
- rubygems_version: 1.8.24
155
+ rubygems_version: 2.1.9
168
156
  signing_key:
169
- specification_version: 3
157
+ specification_version: 4
170
158
  summary: Launchy is helper class for launching cross-platform applications in a fire and forget manner.
171
159
  test_files:
172
160
  - spec/application_spec.rb
@@ -1,135 +0,0 @@
1
- = Launchy Changlog
2
- == Version 2.2.0 - 2013-02-06
3
-
4
- * Change XFCE detection to not depend on grep (copiousfreetime/launchy#52 - thanks bogdan)
5
- * Suppress forked process output (copiousfreetime/launchy#51)
6
- * Display help/usage if no url is given (copiousfreetime/launchy#54)
7
- * Detect the fluxbox environment (copiousfreetime/launchy#53)
8
- * Automatically detect 'http' url's if they are missing the 'http://' (copiousfreetime/launchy#55)
9
- * Update to latest project management rake tasks
10
-
11
- == Version 2.1.2 - 2012-08-06
12
-
13
- * Fix where HostOS would fail to convert to string on JRuby in 1.9 mode (copiousfreetime/launchy#45)
14
-
15
- == Version 2.1.1 - 2012-07-28
16
-
17
- * Update addressable runtime dependency (copiousfreetime/launchy#47)
18
- * Bring minitest and ffi development dependencies up to date
19
-
20
- == Version 2.1.0 - 2012-03-18
21
-
22
- * Fix raising exception when no browser program found (copiousfreetime/launchy#42)
23
- * Add LAUNCHY_DRY_RUN environment variable (thanks Mariusz Pietrzyk / wijet)
24
- * Update dependencies
25
-
26
- == Version 2.0.5 - 2011-07-24
27
-
28
- * Fix the case where $BROWSER is set and no *nix desktop was found (copiousfreetime/launchy#33)
29
-
30
- == Version 2.0.4 - 2011-07-23
31
-
32
- * Fix windows 'start' commandline (copiousfreetime/launchy#5)
33
- * Add capability to open local files with no file: scheme present (copiousfreetime/launchy#29)
34
- * Added 'rake how_to_contribute' task (copiousfreetime/launchy#30)
35
- * Make better decisions on when to do shell escaping (copiousfreetime/launchy#31)
36
- * Switch to Addressable::URI so UTF-8 urls may be parsed. (copiousfreetime/launchy#32)
37
-
38
- == Version 2.0.3 - 2011-07-17
39
-
40
- * Add in Deprecated API wrappers that warn the user
41
-
42
- == Version 2.0.2 - 2011-07-17
43
-
44
- * Typo fixes from @mtorrent
45
- * Documentation updates explicitly stating the Public API
46
- * Increase test coverage
47
-
48
- == Version 2.0.1 - 2011-07-16
49
-
50
- * Almost a complete rewrite
51
- * JRuby Support
52
- * Organization is such that it will be easier to add additional applications
53
- * Windows behavior possibly fixed, again
54
-
55
- == Version 1.0.0 - 2011-03-17
56
-
57
- * Add JRuby support (Stephen Judkins)
58
- * Remove unused Paths module
59
- * Switch to using bones
60
- * Switch to use minitest
61
- * NOTE, this version was never released.
62
-
63
- == Version 0.4.0 - 2011-01-27
64
-
65
- * Add support for file:/// schema (postmodern)
66
-
67
- == Version 0.3.7 - 2010-07-19
68
-
69
- * Fix launchy on windows (mikefarmer)
70
-
71
- == Version 0.3.6 - 2010-02-22
72
-
73
- * add a test:spec task to run tests without rcov support
74
- * added 'testing' os family for running tests
75
-
76
- == Version 0.3.5 - 2009-12-17
77
-
78
- * clarify that launchy is under ISC license
79
- * fix missing data file in released gem needed for running specs
80
-
81
- == Version 0.3.3 - 2009-02-19
82
-
83
- * pass command line as discrete items to system() to avoid string
84
- interpretation by the system shell. (Suraj N. Kurapati)
85
- * rework project layout and tasks
86
-
87
- == Version 0.3.2 - 2008-05-21
88
-
89
- * detect aix and mingw as known operating systems.
90
-
91
- == Version 0.3.1 - 2007-09-08
92
-
93
- * finalize the command line wrapper around the launchy library.
94
- * added more tests
95
-
96
- == Version 0.3.0 - 2007-08-30
97
-
98
- * reorganize the code structure, removing Spawnable namespace
99
- * removed 'do_magic' method, changed it to 'open'
100
- * added override environment variable LAUNCHY_HOST_OS for testing
101
- * fix broken cygwin support [Bug #13472]
102
-
103
- == Version 0.2.1 - 2007-08-18
104
-
105
- * fix inability to find windows executables [Bug #13132]
106
-
107
- == Version 0.2.0 - 2007-08-11
108
-
109
- * rework browser finding
110
- * manual override with LAUNCHY_BROWSER environment variable
111
- * on *nix use desktop application launcher with fallback to list of browsers
112
- * On windows, switch to 'start' command and remove dependency on win32-process
113
- * removed win32 gem
114
- * Add debug output by setting LAUNCHY_DEBUG environment variable to 'true'
115
-
116
- == Version 0.1.2 - 2007-08-11
117
-
118
- * forked child exits without calling at_exit handlers
119
-
120
- == Version 0.1.1
121
-
122
- * fixed rubyforge task to release mswin32 gem also
123
-
124
- == Version 0.1.0
125
-
126
- * Initial public release
127
- * switched to using fork to spawn process and require 'win32/process' if on windows
128
-
129
- == Version 0.0.2
130
-
131
- * First attempt at using systemu to spawn processes
132
-
133
- == Version 0.0.1
134
-
135
- * Initially working release