RubyPackager 1.0.0.20120301 → 1.1.0.20120301
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/AUTHORS +4 -0
- data/ChangeLog +9 -0
- data/Credits +10 -0
- data/ReleaseInfo +1 -1
- data/bin/Release.rb +3 -3
- data/lib/RubyPackager/Releaser.rb +26 -23
- metadata +2 -2
data/AUTHORS
CHANGED
data/ChangeLog
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
= RubyPackager Release History
|
2
2
|
|
3
|
+
== 1.1.0.20120301 (Beta)
|
4
|
+
|
5
|
+
This release changes the API from 1.0.0 (no more camelcase for some methods and parameters, notably generated ReleaseInfo files)
|
6
|
+
|
7
|
+
* Missed some adaptations to Ruby's standard conventions.
|
8
|
+
* Updated authors and credits info.
|
9
|
+
* Updated browsing source url.
|
10
|
+
* Bug correction: Regression: Corrected regression for run under Cygwin.
|
11
|
+
|
3
12
|
== 1.0.0.20120301 (Beta)
|
4
13
|
|
5
14
|
=== API changes
|
data/Credits
CHANGED
@@ -10,6 +10,11 @@
|
|
10
10
|
* http://exerb.sourceforge.jp/index.en.html
|
11
11
|
* Used to create the executable entry point
|
12
12
|
|
13
|
+
== HighLine
|
14
|
+
* James Edward Gray II <james@grayproductions.net>
|
15
|
+
* http://highline.rubyforge.org/
|
16
|
+
* Used to mask password input
|
17
|
+
|
13
18
|
== NSIS
|
14
19
|
* kichik@users.sourceforge.net
|
15
20
|
* http://nsis.sourceforge.net
|
@@ -30,6 +35,11 @@
|
|
30
35
|
* http://rubygems.org/
|
31
36
|
* Used to automatically download Gem dependencies
|
32
37
|
|
38
|
+
== rUtilAnts
|
39
|
+
* Muriel Salvan (http://murielsalvan.users.sourceforge.net)
|
40
|
+
* http://rutilants.sourceforge.net
|
41
|
+
* Used for plugins, logging and various helpers.
|
42
|
+
|
33
43
|
= People that helped a lot in developing RubyPackager
|
34
44
|
|
35
45
|
* Jeremy Hinegardner <jeremy@hinegardner.org>, for his wonderful project Crate (http://copiousfreetime.rubyforge.org/crate/) that should be the next standard in shipping cross-platform ruby applications
|
data/ReleaseInfo
CHANGED
data/bin/Release.rb
CHANGED
@@ -34,8 +34,8 @@ module RubyPackager
|
|
34
34
|
|
35
35
|
# Get the RubyPackager version we are running on
|
36
36
|
lRPReleaseInfo = {
|
37
|
-
:
|
38
|
-
:
|
37
|
+
:version => 'Development',
|
38
|
+
:tags => [],
|
39
39
|
:dev_status => 'Unofficial'
|
40
40
|
}
|
41
41
|
lReleaseInfoFileName = "#{File.dirname(FILE_PATH)}/../ReleaseInfo"
|
@@ -159,7 +159,7 @@ module RubyPackager
|
|
159
159
|
end
|
160
160
|
if (rSuccess)
|
161
161
|
if (lDisplayUsage)
|
162
|
-
puts "RubyPackager v. #{lRPReleaseInfo[:
|
162
|
+
puts "RubyPackager v. #{lRPReleaseInfo[:version]} - #{lRPReleaseInfo[:dev_status]}"
|
163
163
|
puts ''
|
164
164
|
puts lOptionsParser
|
165
165
|
else
|
@@ -100,8 +100,8 @@ module RubyPackager
|
|
100
100
|
# TODO: Use RDI to install missing ones
|
101
101
|
logOp('Check installed tools') do
|
102
102
|
# Check that the tools we need to release are indeed here
|
103
|
-
if ((@ReleaseInfo.respond_to?(:
|
104
|
-
(!@ReleaseInfo.
|
103
|
+
if ((@ReleaseInfo.respond_to?(:check_ready_for_release)) and
|
104
|
+
(!@ReleaseInfo.check_ready_for_release(@RootDir)))
|
105
105
|
rSuccess = false
|
106
106
|
end
|
107
107
|
if (!@ReleaseInfo.executables_info.empty?)
|
@@ -211,16 +211,16 @@ module RubyPackager
|
|
211
211
|
# Create the ReleaseVersion file
|
212
212
|
lStrTags = nil
|
213
213
|
if (@ReleaseTags.empty?)
|
214
|
-
lStrTags = ':
|
214
|
+
lStrTags = ':tags => []'
|
215
215
|
else
|
216
|
-
lStrTags = ":
|
216
|
+
lStrTags = ":tags => [ '#{@ReleaseTags.join('\', \'')}' ]"
|
217
217
|
end
|
218
218
|
File.open("#{@ReleaseDir}/ReleaseInfo", 'w') do |oFile|
|
219
219
|
oFile << "
|
220
220
|
# This file has been generated by RubyPackager during a delivery.
|
221
221
|
# More info about RubyPackager: http://rubypackager.sourceforge.net
|
222
222
|
{
|
223
|
-
:
|
223
|
+
:version => '#{@ReleaseVersion}',
|
224
224
|
#{lStrTags},
|
225
225
|
:dev_status => '#{@ReleaseInfo.project_info[:dev_status]}'
|
226
226
|
}
|
@@ -258,24 +258,27 @@ module RubyPackager
|
|
258
258
|
rSuccess = true
|
259
259
|
|
260
260
|
logOp('Generating RDoc') do
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
:
|
266
|
-
:
|
267
|
-
:
|
268
|
-
:
|
269
|
-
:
|
270
|
-
:
|
271
|
-
:
|
272
|
-
|
273
|
-
:
|
274
|
-
:
|
275
|
-
:
|
276
|
-
|
277
|
-
:
|
278
|
-
|
261
|
+
# This was used by modifications to RDoc for Muriel's template.
|
262
|
+
# Consider it as obsolete now.
|
263
|
+
# TODO: Remove/Adapt when Muriel's template is a well written RDoc gem.
|
264
|
+
# $project_info = {
|
265
|
+
# :Name => @ReleaseInfo.project_info[:name],
|
266
|
+
# :version => @ReleaseVersion,
|
267
|
+
# :tags => @ReleaseTags,
|
268
|
+
# :Date => Time.now,
|
269
|
+
# :dev_status => @ReleaseInfo.project_info[:dev_status],
|
270
|
+
# :Author => @ReleaseInfo.author_info[:name],
|
271
|
+
# :AuthorMail => @ReleaseInfo.author_info[:email],
|
272
|
+
# :AuthorURL => @ReleaseInfo.author_info[:web_page_url],
|
273
|
+
# :HomepageURL => @ReleaseInfo.project_info[:web_page_url],
|
274
|
+
# :image_url => @ReleaseInfo.project_info[:image_url],
|
275
|
+
# # TODO: Do not hardcode SF anymore
|
276
|
+
# :DownloadURL => "https://sourceforge.net/projects/#{@ReleaseInfo.sf_info[:project_unix_name]}/files/#{@ReleaseVersion}/#{@GemName}/download",
|
277
|
+
# :browse_source_url => @ReleaseInfo.project_info[:browse_source_url],
|
278
|
+
# :favicon_url => @ReleaseInfo.project_info[:favicon_url],
|
279
|
+
# # For the documentation, the Root dir is the Release dir as files have been copied there and the rdoc will be generated from there.
|
280
|
+
# :RootDir => @ReleaseDir
|
281
|
+
# }
|
279
282
|
# Create the created.rid file as otherwise rdoc will not finish
|
280
283
|
FileUtils::mkdir_p("#{@DocDir}/rdoc")
|
281
284
|
File.open("#{@DocDir}/rdoc/created.rid", 'w') do |oFile|
|