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.
- 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
- data/ChangeLog +67 -0
- 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
- 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
- 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
- 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
- data/TODO +14 -0
- data/bin/Release.rb +206 -0
- 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
- 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
- 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
- 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
- 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
- data/lib/RubyPackager/i386-linux/PlatformReleaser.rb +117 -0
- 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
- 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
- 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
- data/test/Common.rb +346 -0
- data/test/PlatformIndependent/CommandLine.rb +156 -0
- data/test/PlatformIndependent/Executable.rb +31 -0
- data/test/PlatformIndependent/Library.rb +31 -0
- data/test/PlatformIndependent/Misc.rb +62 -0
- data/test/PlatformIndependent/Plugins/Distributors/SourceForge.rb +81 -0
- data/test/PlatformIndependent/Plugins/Installers/Gem.rb +142 -0
- data/test/Repository/Applications/Basic/Distribution/ReleaseInfo.rb +27 -0
- data/test/Repository/Applications/Basic/Distribution/ReleaseInfo_Exe.rb +33 -0
- data/test/Repository/Applications/Basic/Distribution/ReleaseInfo_ExeTerm.rb +33 -0
- data/test/Repository/Applications/Basic/Distribution/ReleaseInfo_Gem.rb +32 -0
- 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
- 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
- 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
- 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
- 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
- data/test/Repository/Libraries/Basic/Add.rb +6 -0
- data/test/Repository/Libraries/Basic/Distribution/Icon.ico +0 -0
- data/test/Repository/Libraries/Basic/Distribution/InstallLicense.txt +31 -0
- data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo.rb +24 -0
- data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Additional.rb +27 -0
- data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Gem.rb +29 -0
- data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_GemDep.rb +32 -0
- data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_NSIS.rb +28 -0
- data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_SF.rb +28 -0
- data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_Test.rb +27 -0
- data/test/Repository/Libraries/Basic/Distribution/ReleaseInfo_TestGem.rb +33 -0
- data/test/Repository/Libraries/Basic/Distribution/install.nsi +53 -0
- data/test/Repository/Libraries/Basic/MainLib.rb +6 -0
- data/test/Repository/Libraries/Basic/Test.rb +6 -0
- data/test/i386-linux/Executable.rb +86 -0
- data/test/i386-mswin32/Executable.rb +90 -0
- data/test/i386-mswin32/Plugins/Installers/NSIS.rb +39 -0
- data/test/run.rb +6 -2
- metadata +56 -29
- 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
- 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
- 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
- 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
- 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
- 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,81 @@
|
|
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 Distributors
|
15
|
+
|
16
|
+
class SourceForge < ::Test::Unit::TestCase
|
17
|
+
|
18
|
+
include RubyPackager::Test::Common
|
19
|
+
|
20
|
+
def testBasicSend
|
21
|
+
execTest('Libraries/Basic', [ '-i', 'DummyInstaller1', '-d', 'SourceForge' ], 'ReleaseInfo_SF.rb') do |iReleaseDir, iReleaseInfo|
|
22
|
+
checkReleaseInfo(iReleaseDir, iReleaseInfo)
|
23
|
+
checkReleaseNotes(iReleaseDir, iReleaseInfo)
|
24
|
+
assert(File.exists?("#{iReleaseDir}/Release/MainLib.rb"))
|
25
|
+
assert(File.exists?("#{iReleaseDir}/Installer/MainLib.rb.Installer1"))
|
26
|
+
assert_equal( [
|
27
|
+
[ 'SSH', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
28
|
+
:Cmd => 'create' } ],
|
29
|
+
[ 'SSH', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
30
|
+
:Cmd => 'mkdir -p /home/frs/project/u/un/unixname/UnnamedVersion' } ],
|
31
|
+
[ 'SCP', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
32
|
+
:FileSrc => "#{iReleaseDir}/Documentation/ReleaseNote.html",
|
33
|
+
:FileDst => '/home/frs/project/u/un/unixname/UnnamedVersion/ReleaseNote.html' } ],
|
34
|
+
[ 'SCP', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
35
|
+
:FileSrc => "#{iReleaseDir}/Installer/MainLib.rb.Installer1",
|
36
|
+
:FileDst => '/home/frs/project/u/un/unixname/UnnamedVersion/MainLib.rb.Installer1' } ]
|
37
|
+
], $SSHCommands)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def testBasicSendWithRDoc
|
42
|
+
execTest('Libraries/Basic', [ '-i', 'DummyInstaller1', '-d', 'SourceForge' ], 'ReleaseInfo_SF.rb', :IncludeRDoc => true) do |iReleaseDir, iReleaseInfo|
|
43
|
+
checkReleaseInfo(iReleaseDir, iReleaseInfo)
|
44
|
+
checkReleaseNotes(iReleaseDir, iReleaseInfo)
|
45
|
+
checkRDoc(iReleaseDir, iReleaseInfo)
|
46
|
+
assert(File.exists?("#{iReleaseDir}/Release/MainLib.rb"))
|
47
|
+
assert(File.exists?("#{iReleaseDir}/Installer/MainLib.rb.Installer1"))
|
48
|
+
lRDocBaseDir = '/home/groups/u/un/unixname/htdocs/rdoc'
|
49
|
+
assert_equal( [
|
50
|
+
[ 'SSH', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
51
|
+
:Cmd => 'create' } ],
|
52
|
+
[ 'SSH', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
53
|
+
:Cmd => 'mkdir -p /home/frs/project/u/un/unixname/UnnamedVersion' } ],
|
54
|
+
[ 'SSH', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
55
|
+
:Cmd => "mkdir -p #{lRDocBaseDir}" } ],
|
56
|
+
[ 'SCP', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
57
|
+
:FileSrc => "#{iReleaseDir}/Documentation/rdoc.zip",
|
58
|
+
:FileDst => "#{lRDocBaseDir}/rdoc-UnnamedVersion.zip" } ],
|
59
|
+
[ 'SSH', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
60
|
+
:Cmd => "unzip -o -d #{lRDocBaseDir} #{lRDocBaseDir}/rdoc-UnnamedVersion.zip ; mv #{lRDocBaseDir}/rdoc #{lRDocBaseDir}/UnnamedVersion ; rm #{lRDocBaseDir}/latest ; ln -s #{lRDocBaseDir}/UnnamedVersion #{lRDocBaseDir}/latest ; rm #{lRDocBaseDir}/rdoc-UnnamedVersion.zip" } ],
|
61
|
+
[ 'SCP', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
62
|
+
:FileSrc => "#{iReleaseDir}/Documentation/ReleaseNote.html",
|
63
|
+
:FileDst => '/home/frs/project/u/un/unixname/UnnamedVersion/ReleaseNote.html' } ],
|
64
|
+
[ 'SCP', { :Host => 'shell.sourceforge.net', :Login => 'login,unixname',
|
65
|
+
:FileSrc => "#{iReleaseDir}/Installer/MainLib.rb.Installer1",
|
66
|
+
:FileDst => '/home/frs/project/u/un/unixname/UnnamedVersion/MainLib.rb.Installer1' } ]
|
67
|
+
], $SSHCommands)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
@@ -0,0 +1,142 @@
|
|
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 Gem < ::Test::Unit::TestCase
|
17
|
+
|
18
|
+
include RubyPackager::Test::Common
|
19
|
+
|
20
|
+
def testGemLibrary
|
21
|
+
execTest('Libraries/Basic', [ '-v', '0.0.1.20091030', '-i', 'Gem' ], 'ReleaseInfo_Gem.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
|
+
lGemName = "#{iReleaseDir}/Installer/GemName-0.0.1.20091030.gem"
|
26
|
+
assert(File.exists?(lGemName))
|
27
|
+
# Get back the specification to check it
|
28
|
+
lGemSpec = getGemSpec(lGemName)
|
29
|
+
assert_equal('GemName', lGemSpec.name)
|
30
|
+
assert_equal(::Gem::Version.new('0.0.1.20091030'), lGemSpec.version)
|
31
|
+
assert_equal(['Author:Name'], lGemSpec.authors)
|
32
|
+
assert_equal('Project:Description', lGemSpec.description)
|
33
|
+
assert_equal('Author:EMail', lGemSpec.email)
|
34
|
+
assert_equal(2, lGemSpec.files.size)
|
35
|
+
assert(lGemSpec.files.include?('MainLib.rb'))
|
36
|
+
assert(lGemSpec.files.include?('ReleaseInfo'))
|
37
|
+
assert_equal(true, lGemSpec.has_rdoc)
|
38
|
+
assert_equal('Project:WebPageURL', lGemSpec.homepage)
|
39
|
+
assert_equal('Project:Summary', lGemSpec.summary)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
def testGemLibraryWithTest
|
44
|
+
execTest('Libraries/Basic', [ '-v', '0.0.1.20091030', '-n', '-i', 'Gem' ], 'ReleaseInfo_TestGem.rb') do |iReleaseDir, iReleaseInfo|
|
45
|
+
checkReleaseInfo(iReleaseDir, iReleaseInfo, :Version => '0.0.1.20091030' )
|
46
|
+
checkReleaseNotes(iReleaseDir, iReleaseInfo)
|
47
|
+
assert(File.exists?("#{iReleaseDir}/Release/MainLib.rb"))
|
48
|
+
assert(File.exists?("#{iReleaseDir}/Release/Test.rb"))
|
49
|
+
lGemName = "#{iReleaseDir}/Installer/GemName-0.0.1.20091030.gem"
|
50
|
+
assert(File.exists?(lGemName))
|
51
|
+
# Get back the specification to check it
|
52
|
+
lOldDir = Dir.getwd
|
53
|
+
Dir.chdir(File.dirname(lGemName))
|
54
|
+
require 'rubygems'
|
55
|
+
# TODO: Bug (Ruby): gem.bat instead of gem for Windows only. Make .bat files calleable without their extension.
|
56
|
+
if (RUBY_PLATFORM == 'i386-mswin32')
|
57
|
+
lGemSpec = eval(`gem.bat specification #{File.basename(lGemName)} --ruby`.gsub(/Gem::/,'::Gem::'))
|
58
|
+
else
|
59
|
+
lGemSpec = eval(`gem specification #{File.basename(lGemName)} --ruby`.gsub(/Gem::/,'::Gem::'))
|
60
|
+
end
|
61
|
+
Dir.chdir(lOldDir)
|
62
|
+
assert_equal('GemName', lGemSpec.name)
|
63
|
+
assert_equal(::Gem::Version.new('0.0.1.20091030'), lGemSpec.version)
|
64
|
+
assert_equal(['Author:Name'], lGemSpec.authors)
|
65
|
+
assert_equal('Project:Description', lGemSpec.description)
|
66
|
+
assert_equal('Author:EMail', lGemSpec.email)
|
67
|
+
assert_equal('Test.rb', lGemSpec.test_file)
|
68
|
+
assert_equal(3, lGemSpec.files.size)
|
69
|
+
assert(lGemSpec.files.include?('MainLib.rb'))
|
70
|
+
assert(lGemSpec.files.include?('Test.rb'))
|
71
|
+
assert(lGemSpec.files.include?('ReleaseInfo'))
|
72
|
+
assert_equal(true, lGemSpec.has_rdoc)
|
73
|
+
assert_equal('Project:WebPageURL', lGemSpec.homepage)
|
74
|
+
assert_equal('Project:Summary', lGemSpec.summary)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
def testGemExecutable
|
79
|
+
execTest('Applications/Basic', [ '-v', '0.0.1.20091030', '-i', 'Gem' ], 'ReleaseInfo_Gem.rb') do |iReleaseDir, iReleaseInfo|
|
80
|
+
checkReleaseInfo(iReleaseDir, iReleaseInfo, :Version => '0.0.1.20091030' )
|
81
|
+
checkReleaseNotes(iReleaseDir, iReleaseInfo)
|
82
|
+
assert(File.exists?("#{iReleaseDir}/Release/Main.rb"))
|
83
|
+
lGemName = "#{iReleaseDir}/Installer/GemName-0.0.1.20091030.gem"
|
84
|
+
assert(File.exists?(lGemName))
|
85
|
+
# Get back the specification to check it
|
86
|
+
lGemSpec = getGemSpec(lGemName)
|
87
|
+
assert_equal('GemName', lGemSpec.name)
|
88
|
+
assert_equal(::Gem::Version.new('0.0.1.20091030'), lGemSpec.version)
|
89
|
+
assert_equal(['Author:Name'], lGemSpec.authors)
|
90
|
+
assert_equal('.', lGemSpec.bindir)
|
91
|
+
assert_equal('Main.rb', lGemSpec.default_executable)
|
92
|
+
assert_equal(['Main.rb'], lGemSpec.executables)
|
93
|
+
assert_equal('Project:Description', lGemSpec.description)
|
94
|
+
assert_equal('Author:EMail', lGemSpec.email)
|
95
|
+
assert_equal(3, lGemSpec.files.size)
|
96
|
+
assert(lGemSpec.files.include?('Main.rb'))
|
97
|
+
assert(lGemSpec.files.include?('ReleaseInfo'))
|
98
|
+
# This one is added by RubyGems itself because of the binary
|
99
|
+
assert(lGemSpec.files.include?('./Main.rb'))
|
100
|
+
assert_equal(true, lGemSpec.has_rdoc)
|
101
|
+
assert_equal('Project:WebPageURL', lGemSpec.homepage)
|
102
|
+
assert_equal('Project:Summary', lGemSpec.summary)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
def testGemDependency
|
107
|
+
execTest('Libraries/Basic', [ '-v', '0.0.1.20091030', '-i', 'Gem' ], 'ReleaseInfo_GemDep.rb') do |iReleaseDir, iReleaseInfo|
|
108
|
+
checkReleaseInfo(iReleaseDir, iReleaseInfo, :Version => '0.0.1.20091030' )
|
109
|
+
checkReleaseNotes(iReleaseDir, iReleaseInfo)
|
110
|
+
assert(File.exists?("#{iReleaseDir}/Release/MainLib.rb"))
|
111
|
+
lGemName = "#{iReleaseDir}/Installer/GemName-0.0.1.20091030.gem"
|
112
|
+
assert(File.exists?(lGemName))
|
113
|
+
# Get back the specification to check it
|
114
|
+
lGemSpec = getGemSpec(lGemName)
|
115
|
+
assert_equal('GemName', lGemSpec.name)
|
116
|
+
assert_equal(::Gem::Version.new('0.0.1.20091030'), lGemSpec.version)
|
117
|
+
assert_equal(['Author:Name'], lGemSpec.authors)
|
118
|
+
assert_equal('Project:Description', lGemSpec.description)
|
119
|
+
assert_equal('Author:EMail', lGemSpec.email)
|
120
|
+
assert_equal(2, lGemSpec.files.size)
|
121
|
+
assert(lGemSpec.files.include?('MainLib.rb'))
|
122
|
+
assert(lGemSpec.files.include?('ReleaseInfo'))
|
123
|
+
assert_equal(true, lGemSpec.has_rdoc)
|
124
|
+
assert_equal('Project:WebPageURL', lGemSpec.homepage)
|
125
|
+
assert_equal('Project:Summary', lGemSpec.summary)
|
126
|
+
assert_equal(1, lGemSpec.dependencies.size)
|
127
|
+
assert_equal('GemDepName', lGemSpec.dependencies[0].name)
|
128
|
+
assert_equal([ [ '>=', ::Gem::Version.new('0.1') ] ], lGemSpec.dependencies[0].version_requirements.requirements)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
end
|
133
|
+
|
134
|
+
end
|
135
|
+
|
136
|
+
end
|
137
|
+
|
138
|
+
end
|
139
|
+
|
140
|
+
end
|
141
|
+
|
142
|
+
end
|
@@ -0,0 +1,27 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'*'
|
24
|
+
] ).
|
25
|
+
executable(
|
26
|
+
:StartupRBFile => 'Main.rb'
|
27
|
+
)
|
@@ -0,0 +1,33 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'*'
|
24
|
+
] ).
|
25
|
+
executable(
|
26
|
+
:StartupRBFile => 'Main.rb',
|
27
|
+
:ExeName => 'ExeName',
|
28
|
+
:IconName => "Distribution/#{RUBY_PLATFORM}/Icon.ico",
|
29
|
+
:TerminalApplication => false
|
30
|
+
).
|
31
|
+
install(
|
32
|
+
:NSISFileName => "Distribution/#{RUBY_PLATFORM}/Installer/install.nsi"
|
33
|
+
)
|
@@ -0,0 +1,33 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'*'
|
24
|
+
] ).
|
25
|
+
executable(
|
26
|
+
:StartupRBFile => 'Main.rb',
|
27
|
+
:ExeName => 'ExeName',
|
28
|
+
:IconName => "Distribution/#{RUBY_PLATFORM}/Icon.ico",
|
29
|
+
:TerminalApplication => true
|
30
|
+
).
|
31
|
+
install(
|
32
|
+
:NSISFileName => "Distribution/#{RUBY_PLATFORM}/Installer/install.nsi"
|
33
|
+
)
|
@@ -0,0 +1,32 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'*'
|
24
|
+
] ).
|
25
|
+
executable(
|
26
|
+
:StartupRBFile => 'Main.rb'
|
27
|
+
).
|
28
|
+
gem(
|
29
|
+
:GemName => 'GemName',
|
30
|
+
:GemPlatformClassName => 'Gem::Platform::RUBY',
|
31
|
+
:HasRDoc => true
|
32
|
+
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
The license stated herein is a copy of the BSD License (modified on July 1999).
|
3
|
+
The AUTHOR mentionned below refers to the list of people involved in the
|
4
|
+
creation and modification of any file included in the delivered package.
|
5
|
+
This list is found in the file named AUTHORS.
|
6
|
+
The AUTHORS and LICENSE files have to be included in any release of software
|
7
|
+
embedding source code of this package, or using it as a derivative software.
|
8
|
+
|
9
|
+
Copyright (c) 2009 Muriel Salvan (murielsalvan@users.sourceforge.net)
|
10
|
+
|
11
|
+
Redistribution and use in source and binary forms, with or without
|
12
|
+
modification, are permitted provided that the following conditions are met:
|
13
|
+
|
14
|
+
1. Redistributions of source code must retain the above copyright notice,
|
15
|
+
this list of conditions and the following disclaimer.
|
16
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
17
|
+
this list of conditions and the following disclaimer in the documentation
|
18
|
+
and/or other materials provided with the distribution.
|
19
|
+
3. The name of the author may not be used to endorse or promote products
|
20
|
+
derived from this software without specific prior written permission.
|
21
|
+
|
22
|
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
23
|
+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
24
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
25
|
+
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
26
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
27
|
+
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
28
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
29
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
30
|
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
31
|
+
OF SUCH DAMAGE.
|
@@ -0,0 +1,24 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'MainLib.rb'
|
24
|
+
] )
|
@@ -0,0 +1,27 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'MainLib.rb'
|
24
|
+
] ).
|
25
|
+
addAdditionalFiles( [
|
26
|
+
'Add.rb'
|
27
|
+
] )
|
@@ -0,0 +1,29 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'MainLib.rb'
|
24
|
+
] ).
|
25
|
+
gem(
|
26
|
+
:GemName => 'GemName',
|
27
|
+
:GemPlatformClassName => 'Gem::Platform::RUBY',
|
28
|
+
:HasRDoc => true
|
29
|
+
)
|
@@ -0,0 +1,32 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'MainLib.rb'
|
24
|
+
] ).
|
25
|
+
gem(
|
26
|
+
:GemName => 'GemName',
|
27
|
+
:GemPlatformClassName => 'Gem::Platform::RUBY',
|
28
|
+
:HasRDoc => true,
|
29
|
+
:GemDependencies => [
|
30
|
+
[ 'GemDepName', '>= 0.1' ]
|
31
|
+
]
|
32
|
+
)
|
@@ -0,0 +1,28 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'MainLib.rb'
|
24
|
+
] ).
|
25
|
+
install(
|
26
|
+
:NSISFileName => 'Distribution/install.nsi',
|
27
|
+
:InstallerName => 'InstallerName'
|
28
|
+
)
|
@@ -0,0 +1,28 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'MainLib.rb'
|
24
|
+
] ).
|
25
|
+
sourceForge(
|
26
|
+
:Login => 'login',
|
27
|
+
:ProjectUnixName => 'unixname'
|
28
|
+
)
|
@@ -0,0 +1,27 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'MainLib.rb'
|
24
|
+
] ).
|
25
|
+
addTestFiles( [
|
26
|
+
'Test.rb'
|
27
|
+
] )
|
@@ -0,0 +1,33 @@
|
|
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
|
+
RubyPackager::ReleaseInfo.new.
|
7
|
+
author(
|
8
|
+
:Name => 'Author:Name',
|
9
|
+
:EMail => 'Author:EMail',
|
10
|
+
:WebPageURL => 'Author:WebPageURL'
|
11
|
+
).
|
12
|
+
project(
|
13
|
+
:Name => 'Project:Name',
|
14
|
+
:WebPageURL => 'Project:WebPageURL',
|
15
|
+
:Summary => 'Project:Summary',
|
16
|
+
:Description => 'Project:Description',
|
17
|
+
:ImageURL => 'Project:ImageURL',
|
18
|
+
:FaviconURL => 'Project:FaviconURL',
|
19
|
+
:SVNBrowseURL => 'Project:SVNBrowseURL',
|
20
|
+
:DevStatus => 'Project:DevStatus'
|
21
|
+
).
|
22
|
+
addCoreFiles( [
|
23
|
+
'MainLib.rb'
|
24
|
+
] ).
|
25
|
+
addTestFiles( [
|
26
|
+
'Test.rb'
|
27
|
+
] ).
|
28
|
+
gem(
|
29
|
+
:GemName => 'GemName',
|
30
|
+
:GemPlatformClassName => 'Gem::Platform::RUBY',
|
31
|
+
:HasRDoc => true,
|
32
|
+
:TestFile => 'Test.rb'
|
33
|
+
)
|