RubyPackager 0.1.0.20091021 → 0.1.1.20091105

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/AUTHORS → AUTHORS} +0 -0
  2. data/ChangeLog +67 -0
  3. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/Credits → Credits} +0 -0
  4. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/LICENSE → LICENSE} +0 -0
  5. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/README → README} +0 -0
  6. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/ReleaseInfo → ReleaseInfo} +1 -1
  7. data/TODO +14 -0
  8. data/bin/Release.rb +206 -0
  9. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib → lib}/RubyPackager/Distributors/SourceForge.rb +12 -9
  10. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib → lib}/RubyPackager/Installers/Gem.rb +8 -13
  11. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib → lib}/RubyPackager/ReleaseInfo.rb +1 -11
  12. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib → lib}/RubyPackager/Releaser.rb +130 -102
  13. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib → lib}/RubyPackager/Tools.rb +0 -0
  14. data/lib/RubyPackager/i386-linux/PlatformReleaser.rb +117 -0
  15. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib → lib}/RubyPackager/i386-mswin32/Installers/NSIS.rb +3 -4
  16. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib → lib}/RubyPackager/i386-mswin32/PlatformReleaser.rb +6 -9
  17. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib → lib}/RubyPackager/i386-mswin32/edicon/edicon.exe +0 -0
  18. data/test/Common.rb +346 -0
  19. data/test/PlatformIndependent/CommandLine.rb +156 -0
  20. data/test/PlatformIndependent/Executable.rb +31 -0
  21. data/test/PlatformIndependent/Library.rb +31 -0
  22. data/test/PlatformIndependent/Misc.rb +62 -0
  23. data/test/PlatformIndependent/Plugins/Distributors/SourceForge.rb +81 -0
  24. data/test/PlatformIndependent/Plugins/Installers/Gem.rb +142 -0
  25. data/test/Repository/Applications/Basic/Distribution/ReleaseInfo.rb +27 -0
  26. data/test/Repository/Applications/Basic/Distribution/ReleaseInfo_Exe.rb +33 -0
  27. data/test/Repository/Applications/Basic/Distribution/ReleaseInfo_ExeTerm.rb +33 -0
  28. data/test/Repository/Applications/Basic/Distribution/ReleaseInfo_Gem.rb +32 -0
  29. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test → test/Repository}/Applications/Basic/Distribution/i386-mswin32/Icon.ico +0 -0
  30. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test → test/Repository}/Applications/Basic/Distribution/i386-mswin32/Installer/Icon.ico +0 -0
  31. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test → test/Repository}/Applications/Basic/Distribution/i386-mswin32/Installer/InstallLicense.txt +0 -0
  32. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test → test/Repository}/Applications/Basic/Distribution/i386-mswin32/Installer/install.nsi +0 -0
  33. data/{F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test → test/Repository}/Applications/Basic/Main.rb +0 -0
  34. data/test/Repository/Libraries/Basic/Add.rb +6 -0
  35. data/test/Repository/Libraries/Basic/Distribution/Icon.ico +0 -0
  36. data/test/Repository/Libraries/Basic/Distribution/InstallLicense.txt +31 -0
  37. data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo.rb +24 -0
  38. data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Additional.rb +27 -0
  39. data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Gem.rb +29 -0
  40. data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_GemDep.rb +32 -0
  41. data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_NSIS.rb +28 -0
  42. data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_SF.rb +28 -0
  43. data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Test.rb +27 -0
  44. data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_TestGem.rb +33 -0
  45. data/test/Repository/Libraries/Basic/Distribution/install.nsi +53 -0
  46. data/test/Repository/Libraries/Basic/MainLib.rb +6 -0
  47. data/test/Repository/Libraries/Basic/Test.rb +6 -0
  48. data/test/i386-linux/Executable.rb +86 -0
  49. data/test/i386-mswin32/Executable.rb +90 -0
  50. data/test/i386-mswin32/Plugins/Installers/NSIS.rb +39 -0
  51. data/test/run.rb +6 -2
  52. metadata +56 -29
  53. data/F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/ChangeLog +0 -17
  54. data/F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/TODO +0 -11
  55. data/F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Applications/Basic/Distribution/ReleaseInfo.rb +0 -16
  56. data/F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Common.rb +0 -50
  57. data/F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/i386-mswin32/run.rb +0 -19
  58. data/F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/run.rb +0 -19
@@ -0,0 +1,53 @@
1
+ ;--
2
+ ; Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
+ ; Licensed under the terms specified in LICENSE file. No warranty is provided.
4
+ ;++
5
+
6
+ ; install.nsi
7
+ ;
8
+ ; This script creates an installer using NSIS for PBS on Windows.
9
+ ; The compiler must define the following symbols:
10
+ ; * VERSION (/DVERSION=0.0.1.20090430)
11
+ ; * RELEASEDIR ("/DRELEASEDIR=C:\PBS\Releases\MyRelease")
12
+
13
+ ;--------------------------------
14
+ ; Global attributes
15
+ Name "Name"
16
+ Caption "Caption"
17
+ Icon "Icon.ico"
18
+ OutFile "setup.exe"
19
+
20
+ ;--------------------------------
21
+ ; Compiler tuner
22
+ XPStyle on
23
+
24
+ ;--------------------------------
25
+ ; Default location
26
+ InstallDir "$PROGRAMFILES\DummyNSISInstall"
27
+
28
+ ;--------------------------------
29
+ ; License
30
+ LicenseText "LicenseText"
31
+ LicenseData "InstallLicense.txt"
32
+
33
+ ;--------------------------------
34
+ ; List of wizard pages to display
35
+ Page license
36
+ Page components
37
+ Page directory
38
+ Page instfiles
39
+ UninstPage uninstConfirm
40
+ UninstPage instfiles
41
+
42
+ ;--------------------------------
43
+ ; List of installable components
44
+ InstType "Full"
45
+
46
+ ;--------------------------------
47
+ ; Sections giving what to install
48
+
49
+ Section "DummySection"
50
+ SectionIn 1 RO
51
+ SetOutPath $INSTDIR
52
+ File /r ${RELEASEDIR}\*.*
53
+ SectionEnd
@@ -0,0 +1,6 @@
1
+ #--
2
+ # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
+ # Licensed under the terms specified in LICENSE file. No warranty is provided.
4
+ #++
5
+
6
+ puts "Hello World"
@@ -0,0 +1,6 @@
1
+ #--
2
+ # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
+ # Licensed under the terms specified in LICENSE file. No warranty is provided.
4
+ #++
5
+
6
+ puts "Hello World"
@@ -0,0 +1,86 @@
1
+ #--
2
+ # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
+ # Licensed under the terms specified in LICENSE file. No warranty is provided.
4
+ #++
5
+
6
+ module RubyPackager
7
+
8
+ module Test
9
+
10
+ module I386Linux
11
+
12
+ class Executable < ::Test::Unit::TestCase
13
+
14
+ include RubyPackager::Test::Common
15
+
16
+ # Test the basic usage generating an executable
17
+ def testBasicBinary
18
+ execTest('Applications/Basic', [], 'ReleaseInfo_Exe.rb') do |iReleaseDir, iReleaseInfo|
19
+ checkReleaseInfo(iReleaseDir, iReleaseInfo)
20
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
21
+ lExeFileName = "#{iReleaseDir}/Release/ExeName"
22
+ assert(File.exists?(lExeFileName))
23
+ # Unless the Executable file can contain other rb files (please Crate come faster !), files are still present.
24
+ assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
25
+ # Test it in Ruby's environment
26
+ assert_equal("Ruby found on current platform. Use it directly.
27
+ Hello World\n", runExe(lExeFileName))
28
+ # TODO: Test it without Ruby's environment
29
+ end
30
+ end
31
+
32
+ # Test the basic usage generating an executable in a terminal
33
+ def testBasicBinaryInTerminal
34
+ execTest('Applications/Basic', [], 'ReleaseInfo_ExeTerm.rb') do |iReleaseDir, iReleaseInfo|
35
+ checkReleaseInfo(iReleaseDir, iReleaseInfo)
36
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
37
+ lExeFileName = "#{iReleaseDir}/Release/ExeName"
38
+ assert(File.exists?(lExeFileName))
39
+ # Unless the Executable file can contain other rb files (please Crate come faster !), files are still present.
40
+ assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
41
+ # Test it in Ruby's environment
42
+ assert_equal("Ruby found on current platform. Use it directly.
43
+ Hello World\n", runExe(lExeFileName))
44
+ # TODO: Test it without Ruby's environment
45
+ end
46
+ end
47
+
48
+ # Test the basic usage generating an executable, including Ruby
49
+ def testBasicBinaryWithRuby
50
+ execTest('Applications/Basic', [ '-r' ], 'ReleaseInfo_Exe.rb') do |iReleaseDir, iReleaseInfo|
51
+ checkReleaseInfo(iReleaseDir, iReleaseInfo)
52
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
53
+ lExeFileName = "#{iReleaseDir}/Release/ExeName"
54
+ assert(File.exists?(lExeFileName))
55
+ # Unless the Executable file can contain other rb files (please Crate come faster !), files are still present.
56
+ assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
57
+ # Test it in Ruby's environment
58
+ assert_equal("Ruby found on current platform. Use it directly.
59
+ Hello World\n", runExe(lExeFileName))
60
+ # TODO: Test it without Ruby's environment
61
+ end
62
+ end
63
+
64
+ # Test the basic usage generating an executable, including Ruby launched from a terminal
65
+ def testBasicBinaryWithRubyInTerminal
66
+ execTest('Applications/Basic', [ '-r' ], 'ReleaseInfo_ExeTerm.rb') do |iReleaseDir, iReleaseInfo|
67
+ checkReleaseInfo(iReleaseDir, iReleaseInfo)
68
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
69
+ lExeFileName = "#{iReleaseDir}/Release/ExeName"
70
+ assert(File.exists?(lExeFileName))
71
+ # Unless the Executable file can contain other rb files (please Crate come faster !), files are still present.
72
+ assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
73
+ # Test it in Ruby's environment
74
+ assert_equal("Ruby found on current platform. Use it directly.
75
+ Hello World\n", runExe(lExeFileName))
76
+ # TODO: Test it without Ruby's environment
77
+ end
78
+ end
79
+
80
+ end
81
+
82
+ end
83
+
84
+ end
85
+
86
+ end
@@ -0,0 +1,90 @@
1
+ #--
2
+ # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
+ # Licensed under the terms specified in LICENSE file. No warranty is provided.
4
+ #++
5
+
6
+ module RubyPackager
7
+
8
+ module Test
9
+
10
+ module I386MSWin32
11
+
12
+ class Executable < ::Test::Unit::TestCase
13
+
14
+ include RubyPackager::Test::Common
15
+
16
+ # Test the basic usage generating an executable
17
+ def testBasicBinary
18
+ execTest('Applications/Basic', [], 'ReleaseInfo_Exe.rb') do |iReleaseDir, iReleaseInfo|
19
+ checkReleaseInfo(iReleaseDir, iReleaseInfo)
20
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
21
+ lExeFileName = "#{iReleaseDir}/Release/ExeName.exe"
22
+ assert(File.exists?(lExeFileName))
23
+ # Unless the Executable file can contain other rb files (please Crate come faster !), files are still present.
24
+ assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
25
+ # Test it in Ruby's environment
26
+ assert_equal("ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]
27
+ Ruby found in environment. Using it directly.
28
+ > start rubyw -w \"#{iReleaseDir}/Release/Main.rb\" \n", runExe(lExeFileName))
29
+ # TODO: Test it without Ruby's environment
30
+ end
31
+ end
32
+
33
+ # Test the basic usage generating an executable in a terminal
34
+ def testBasicBinaryInTerminal
35
+ execTest('Applications/Basic', [], 'ReleaseInfo_ExeTerm.rb') do |iReleaseDir, iReleaseInfo|
36
+ checkReleaseInfo(iReleaseDir, iReleaseInfo)
37
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
38
+ lExeFileName = "#{iReleaseDir}/Release/ExeName.exe"
39
+ assert(File.exists?(lExeFileName))
40
+ # Unless the Executable file can contain other rb files (please Crate come faster !), files are still present.
41
+ assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
42
+ # Test it in Ruby's environment
43
+ assert_equal("ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]
44
+ Ruby found in environment. Using it directly.
45
+ > ruby -w \"#{iReleaseDir}/Release/Main.rb\" \nHello World\n", runExe(lExeFileName))
46
+ # TODO: Test it without Ruby's environment
47
+ end
48
+ end
49
+
50
+ # Test the basic usage generating an executable, including Ruby
51
+ def testBasicBinaryWithRuby
52
+ execTest('Applications/Basic', [ '-r' ], 'ReleaseInfo_Exe.rb') do |iReleaseDir, iReleaseInfo|
53
+ checkReleaseInfo(iReleaseDir, iReleaseInfo)
54
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
55
+ lExeFileName = "#{iReleaseDir}/Release/ExeName.exe"
56
+ assert(File.exists?(lExeFileName))
57
+ # Unless the Executable file can contain other rb files (please Crate come faster !), files are still present.
58
+ assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
59
+ # Test it in Ruby's environment
60
+ assert_equal("ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]
61
+ Ruby found in environment. Using it directly.
62
+ > start rubyw -w \"#{iReleaseDir}/Release/Main.rb\" \n", runExe(lExeFileName))
63
+ # TODO: Test it without Ruby's environment
64
+ end
65
+ end
66
+
67
+ # Test the basic usage generating an executable, including Ruby launched from a terminal
68
+ def testBasicBinaryWithRubyInTerminal
69
+ execTest('Applications/Basic', [ '-r' ], 'ReleaseInfo_ExeTerm.rb') do |iReleaseDir, iReleaseInfo|
70
+ checkReleaseInfo(iReleaseDir, iReleaseInfo)
71
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
72
+ lExeFileName = "#{iReleaseDir}/Release/ExeName.exe"
73
+ assert(File.exists?(lExeFileName))
74
+ # Unless the Executable file can contain other rb files (please Crate come faster !), files are still present.
75
+ assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
76
+ # Test it in Ruby's environment
77
+ assert_equal("ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]
78
+ Ruby found in environment. Using it directly.
79
+ > ruby -w \"#{iReleaseDir}/Release/Main.rb\" \nHello World\n", runExe(lExeFileName))
80
+ # TODO: Test it without Ruby's environment
81
+ end
82
+ end
83
+
84
+ end
85
+
86
+ end
87
+
88
+ end
89
+
90
+ end
@@ -0,0 +1,39 @@
1
+ #--
2
+ # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
+ # Licensed under the terms specified in LICENSE file. No warranty is provided.
4
+ #++
5
+
6
+ module RubyPackager
7
+
8
+ module Test
9
+
10
+ module PlatformIndependent
11
+
12
+ module Plugins
13
+
14
+ module Installers
15
+
16
+ class NSIS < ::Test::Unit::TestCase
17
+
18
+ include RubyPackager::Test::Common
19
+
20
+ def testNSISCall
21
+ execTest('Libraries/Basic', [ '-v', '0.0.1.20091030', '-i', 'NSIS' ], 'ReleaseInfo_NSIS.rb') do |iReleaseDir, iReleaseInfo|
22
+ checkReleaseInfo(iReleaseDir, iReleaseInfo, :Version => '0.0.1.20091030' )
23
+ checkReleaseNotes(iReleaseDir, iReleaseInfo)
24
+ assert(File.exists?("#{iReleaseDir}/Release/MainLib.rb"))
25
+ assert(File.exists?("#{iReleaseDir}/Installer/InstallerName_0.0.1.20091030_setup.exe"))
26
+ end
27
+ end
28
+
29
+ end
30
+
31
+ end
32
+
33
+ end
34
+
35
+ end
36
+
37
+ end
38
+
39
+ end
data/test/run.rb CHANGED
@@ -11,9 +11,13 @@ require 'test/unit'
11
11
  lRootDir = File.expand_path("#{File.dirname(__FILE__)}/..")
12
12
  $LOAD_PATH << lRootDir
13
13
  $LOAD_PATH << "#{lRootDir}/lib"
14
+ $LOAD_PATH << "#{lRootDir}/test"
14
15
 
15
16
  require 'bin/Release'
16
17
  require 'Common'
17
18
 
18
- # Run the test cases for our platform
19
- require "#{File.dirname(__FILE__)}/#{RUBY_PLATFORM}/run"
19
+ # Run the test cases for our platform only
20
+ ( Dir.glob("#{File.dirname(__FILE__)}/PlatformIndependent/**/*.rb") +
21
+ Dir.glob("#{File.dirname(__FILE__)}/#{RUBY_PLATFORM}/**/*.rb") ).each do |iFileName|
22
+ require iFileName
23
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyPackager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.20091021
4
+ version: 0.1.1.20091105
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan
@@ -9,8 +9,8 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-21 00:00:00 +02:00
13
- default_executable: Release.rb
12
+ date: 2009-11-05 00:00:00 +01:00
13
+ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rUtilAnts
@@ -24,37 +24,64 @@ dependencies:
24
24
  version:
25
25
  description: Generate installable binary distributions of Ruby programs for many platforms (many OS, with or without Ruby installed on clients...). Fit to distribute extensible (plugins) Ruby programs also. Handles also libraries and uploads on websites (SF.net...).
26
26
  email: murielsalvan@users.sourceforge.net
27
- executables: []
28
-
27
+ executables:
28
+ - Release.rb
29
29
  extensions: []
30
30
 
31
31
  extra_rdoc_files: []
32
32
 
33
33
  files:
34
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/ReleaseInfo
35
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/README
36
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/LICENSE
37
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/AUTHORS
38
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/Credits
39
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/TODO
40
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/ChangeLog
41
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib/RubyPackager/Releaser.rb
42
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib/RubyPackager/ReleaseInfo.rb
43
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib/RubyPackager/Tools.rb
44
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib/RubyPackager/i386-mswin32/PlatformReleaser.rb
45
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib/RubyPackager/i386-mswin32/edicon/edicon.exe
46
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib/RubyPackager/i386-mswin32/Installers/NSIS.rb
47
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib/RubyPackager/Installers/Gem.rb
48
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/lib/RubyPackager/Distributors/SourceForge.rb
49
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/run.rb
50
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Common.rb
51
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/i386-mswin32/run.rb
52
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Applications/Basic/Main.rb
53
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Applications/Basic/Distribution/ReleaseInfo.rb
54
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Applications/Basic/Distribution/i386-mswin32/Icon.ico
55
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Applications/Basic/Distribution/i386-mswin32/Installer/Icon.ico
56
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Applications/Basic/Distribution/i386-mswin32/Installer/InstallLicense.txt
57
- - F:/RR/Source/rubypackager/svn/rubypackager/Releases/i386-mswin32/0.1.0.20091021/Normal/2009_10_21_19_10_02/Release/test/Applications/Basic/Distribution/i386-mswin32/Installer/install.nsi
34
+ - ReleaseInfo
35
+ - README
36
+ - LICENSE
37
+ - AUTHORS
38
+ - Credits
39
+ - TODO
40
+ - ChangeLog
41
+ - lib/RubyPackager/Releaser.rb
42
+ - lib/RubyPackager/ReleaseInfo.rb
43
+ - lib/RubyPackager/Tools.rb
44
+ - lib/RubyPackager/i386-linux/PlatformReleaser.rb
45
+ - lib/RubyPackager/i386-mswin32/PlatformReleaser.rb
46
+ - lib/RubyPackager/i386-mswin32/edicon/edicon.exe
47
+ - lib/RubyPackager/i386-mswin32/Installers/NSIS.rb
48
+ - lib/RubyPackager/Installers/Gem.rb
49
+ - lib/RubyPackager/Distributors/SourceForge.rb
50
+ - bin/Release.rb
51
+ - test/run.rb
52
+ - test/Common.rb
53
+ - test/i386-mswin32/Executable.rb
54
+ - test/i386-mswin32/Plugins/Installers/NSIS.rb
55
+ - test/i386-linux/Executable.rb
56
+ - test/Repository/Applications/Basic/Main.rb
57
+ - test/Repository/Applications/Basic/Distribution/ReleaseInfo.rb
58
+ - test/Repository/Applications/Basic/Distribution/ReleaseInfo_Exe.rb
59
+ - test/Repository/Applications/Basic/Distribution/ReleaseInfo_Gem.rb
60
+ - test/Repository/Applications/Basic/Distribution/ReleaseInfo_ExeTerm.rb
61
+ - test/Repository/Applications/Basic/Distribution/i386-mswin32/Icon.ico
62
+ - test/Repository/Applications/Basic/Distribution/i386-mswin32/Installer/Icon.ico
63
+ - test/Repository/Applications/Basic/Distribution/i386-mswin32/Installer/InstallLicense.txt
64
+ - test/Repository/Applications/Basic/Distribution/i386-mswin32/Installer/install.nsi
65
+ - test/Repository/Libraries/Basic/MainLib.rb
66
+ - test/Repository/Libraries/Basic/Test.rb
67
+ - test/Repository/Libraries/Basic/Add.rb
68
+ - test/Repository/Libraries/Basic/Distribution/ReleaseInfo.rb
69
+ - test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Test.rb
70
+ - test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Additional.rb
71
+ - test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Gem.rb
72
+ - test/Repository/Libraries/Basic/Distribution/ReleaseInfo_GemDep.rb
73
+ - test/Repository/Libraries/Basic/Distribution/ReleaseInfo_NSIS.rb
74
+ - test/Repository/Libraries/Basic/Distribution/install.nsi
75
+ - test/Repository/Libraries/Basic/Distribution/ReleaseInfo_TestGem.rb
76
+ - test/Repository/Libraries/Basic/Distribution/Icon.ico
77
+ - test/Repository/Libraries/Basic/Distribution/InstallLicense.txt
78
+ - test/Repository/Libraries/Basic/Distribution/ReleaseInfo_SF.rb
79
+ - test/PlatformIndependent/Library.rb
80
+ - test/PlatformIndependent/Executable.rb
81
+ - test/PlatformIndependent/CommandLine.rb
82
+ - test/PlatformIndependent/Misc.rb
83
+ - test/PlatformIndependent/Plugins/Installers/Gem.rb
84
+ - test/PlatformIndependent/Plugins/Distributors/SourceForge.rb
58
85
  has_rdoc: true
59
86
  homepage: http://rubypackager.sourceforge.net/
60
87
  licenses: []
@@ -1,17 +0,0 @@
1
- = RubyPackager Release History
2
-
3
- == 0.1.0.20091021 (Alpha)
4
-
5
- * Implemented release of libraries as well.
6
- * Implemented generation of Installers.
7
- * Implemented distribution to third parties (SourceForge...).
8
- * Harmonized the way ReleaseInfo are described (!!! complete change with no compatibility with previous format).
9
- * Plugins architecture for Installers and Distributors.
10
- * Removed .rb suffixes in required files (better migration to .so if needed).
11
- * Removed references to PBS.
12
- * Bug correction: Dir.glob does not work correctly with '\'.
13
- * Bug correction: Application specific checks for tools were ignored.
14
-
15
- == 0.0.1.20090819 (Alpha)
16
-
17
- * Initial public release.
@@ -1,11 +0,0 @@
1
- * Documentation
2
- ** Write a complete User Guide.
3
- ** Write a complete Developer Guide.
4
- ** Create FAQ
5
-
6
- * Testing
7
- ** More complete regression
8
-
9
- * Development
10
- ** Make it run under Linux
11
- ** Make it run under MacOS
@@ -1,16 +0,0 @@
1
- #--
2
- # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
- # Licensed under the terms specified in LICENSE file. No warranty is provided.
4
- #++
5
-
6
- $ReleaseInfo = RubyPackager::ReleaseInfo.new(
7
- 'BasicTest_HelloWorld',
8
- '0.0.1',
9
- ['Main.rb'],
10
- [],
11
- 'Main.rb',
12
- 'BasicTest',
13
- "Distribution/#{RUBY_PLATFORM}/Icon.ico",
14
- "Distribution/#{RUBY_PLATFORM}/Installer/install.nsi",
15
- true
16
- )
@@ -1,50 +0,0 @@
1
- #--
2
- # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
- # Licensed under the terms specified in LICENSE file. No warranty is provided.
4
- #++
5
-
6
- require 'fileutils'
7
-
8
- module RubyPackager
9
-
10
- module Test
11
-
12
- # Execute a test
13
- #
14
- # Parameters:
15
- # * *iApplicationName* (_String_): Name of the application for the test
16
- # * *iReleaseInfoName* (_String_): Name of release info file
17
- # * *iIncludeRuby* (_Boolean_): Do we include Ruby in the release ?
18
- def execTest(iApplicationName, iReleaseInfoName, iIncludeRuby)
19
- # Go to the application directory
20
- lOldDir = Dir.getwd
21
- lAppDir = File.expand_path("#{File.dirname(__FILE__)}/Applications/#{iApplicationName}")
22
- Dir.chdir(lAppDir)
23
- # Clean the Releases dir if it exists already
24
- FileUtils::rm_rf("#{lAppDir}/Releases")
25
- # Launch everything
26
- lArgs = []
27
- if (iIncludeRuby)
28
- lArgs << '-r'
29
- end
30
- lArgs << "Distribution/#{iReleaseInfoName}"
31
- lSuccess = RubyPackager::Launcher.new.run(lArgs)
32
- Dir.chdir(lOldDir)
33
- # Check if everything is ok
34
- assert(lSuccess)
35
- # Get the name of the directory
36
- lDirs = Dir.glob("#{lAppDir}/Releases/#{RUBY_PLATFORM}/*")
37
- assert_equal(1, lDirs.size)
38
- lReleaseDir = lDirs[0]
39
- # Read the release info ourselves
40
- require "#{lAppDir}/Distribution/#{iReleaseInfoName}"
41
- # TODO: OS independent. Don't test .exe anymore here.
42
- assert(File.exists?("#{lReleaseDir}/Installer/#{$ReleaseInfo.ExeName}_#{$ReleaseInfo.Version}_setup.exe"))
43
- assert(File.exists?("#{lReleaseDir}/Release/#{$ReleaseInfo.ExeName}.exe"))
44
- # Clean the Releases dir
45
- FileUtils::rm_rf("#{lAppDir}/Releases")
46
- end
47
-
48
- end
49
-
50
- end
@@ -1,19 +0,0 @@
1
- #--
2
- # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
3
- # Licensed under the terms specified in LICENSE file. No warranty is provided.
4
- #++
5
-
6
- module RubyPackager
7
-
8
- class BasicTest < ::Test::Unit::TestCase
9
-
10
- include RubyPackager::Test
11
-
12
- # Test the basic usage without embedded Ruby
13
- def testBasicWithoutRuby
14
- execTest('Basic', 'ReleaseInfo.rb', false)
15
- end
16
-
17
- end
18
-
19
- end
@@ -1,19 +0,0 @@
1
- # To change this template, choose Tools | Templates
2
- # and open the template in the editor.
3
- #--
4
- # Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
5
- # Licensed under the terms specified in LICENSE file. No warranty is provided.
6
- #++
7
-
8
- require 'test/unit'
9
-
10
- # Add the path
11
- lRootDir = File.expand_path("#{File.dirname(__FILE__)}/..")
12
- $LOAD_PATH << lRootDir
13
- $LOAD_PATH << "#{lRootDir}/lib"
14
-
15
- require 'bin/Release'
16
- require 'Common'
17
-
18
- # Run the test cases for our platform
19
- require "#{File.dirname(__FILE__)}/#{RUBY_PLATFORM}/run"