RubyPackager 1.0.0.20120301 → 1.1.0.20120301

Sign up to get free protection for your applications and to get access to all the features.
data/AUTHORS CHANGED
@@ -1,3 +1,7 @@
1
1
  = Muriel Salvan (muriel@x-aeon.com)
2
2
  * 0.0.1.20090819
3
3
  * 0.1.0.20091021
4
+ * 0.1.1.20091105
5
+ * 0.2.1.20101110
6
+ * 1.0.0.20120301
7
+ * 1.1.0.20120301
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
@@ -2,7 +2,7 @@
2
2
  # This file has been generated by RubyPackager during a delivery.
3
3
  # More info about RubyPackager: http://rubypackager.sourceforge.net
4
4
  {
5
- :Version => '1.0.0.20120301',
5
+ :Version => '1.1.0.20120301',
6
6
  :Tags => [ 'Beta' ],
7
7
  :dev_status => 'Beta'
8
8
  }
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
- :Version => 'Development',
38
- :Tags => [],
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[:Version]} - #{lRPReleaseInfo[:dev_status]}"
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?(:checkReadyForRelease)) and
104
- (!@ReleaseInfo.checkReadyForRelease(@RootDir)))
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 = ':Tags => []'
214
+ lStrTags = ':tags => []'
215
215
  else
216
- lStrTags = ":Tags => [ '#{@ReleaseTags.join('\', \'')}' ]"
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
- :Version => '#{@ReleaseVersion}',
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
- $project_info = {
262
- :Name => @ReleaseInfo.project_info[:name],
263
- :Version => @ReleaseVersion,
264
- :Tags => @ReleaseTags,
265
- :Date => Time.now,
266
- :dev_status => @ReleaseInfo.project_info[:dev_status],
267
- :Author => @ReleaseInfo.author_info[:name],
268
- :AuthorMail => @ReleaseInfo.author_info[:email],
269
- :AuthorURL => @ReleaseInfo.author_info[:web_page_url],
270
- :HomepageURL => @ReleaseInfo.project_info[:web_page_url],
271
- :image_url => @ReleaseInfo.project_info[:image_url],
272
- # TODO: Do not hardcode SF anymore
273
- :DownloadURL => "https://sourceforge.net/projects/#{@ReleaseInfo.sf_info[:project_unix_name]}/files/#{@ReleaseVersion}/#{@GemName}/download",
274
- :browse_source_url => @ReleaseInfo.project_info[:browse_source_url],
275
- :favicon_url => @ReleaseInfo.project_info[:favicon_url],
276
- # For the documentation, the Root dir is the Release dir as files have been copied there and the rdoc will be generated from there.
277
- :RootDir => @ReleaseDir
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|
metadata CHANGED
@@ -4,10 +4,10 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 0
7
+ - 1
8
8
  - 0
9
9
  - 20120301
10
- version: 1.0.0.20120301
10
+ version: 1.1.0.20120301
11
11
  platform: ruby
12
12
  authors:
13
13
  - Muriel Salvan