releasy 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +3 -1
- data/CHANGELOG.md +9 -0
- data/README.md +114 -41
- data/Rakefile +1 -1
- data/bin/7z_sfx_LICENSE.txt +56 -0
- data/bin/7za.exe +0 -0
- data/bin/7za_exe_LICENSE.txt +29 -0
- data/lib/releasy.rb +4 -1
- data/lib/releasy/builders/builder.rb +14 -6
- data/lib/releasy/builders/ocra_builder.rb +4 -2
- data/lib/releasy/builders/osx_app.rb +18 -6
- data/lib/releasy/builders/source.rb +9 -2
- data/lib/releasy/builders/windows_folder.rb +12 -3
- data/lib/releasy/builders/windows_installer.rb +2 -3
- data/lib/releasy/builders/windows_standalone.rb +13 -3
- data/lib/releasy/builders/windows_wrapped.rb +14 -4
- data/lib/releasy/cli/install_sfx.rb +1 -1
- data/lib/releasy/deployers.rb +1 -1
- data/lib/releasy/deployers/deployer.rb +22 -1
- data/lib/releasy/deployers/github.rb +31 -124
- data/lib/releasy/deployers/local.rb +55 -0
- data/lib/releasy/deployers/rsync.rb +59 -0
- data/lib/releasy/mixins/has_packagers.rb +1 -1
- data/lib/releasy/mixins/utilities.rb +34 -0
- data/lib/releasy/packagers/dmg.rb +17 -0
- data/lib/releasy/packagers/exe.rb +18 -1
- data/lib/releasy/packagers/packager.rb +22 -6
- data/lib/releasy/packagers/seven_zip.rb +17 -0
- data/lib/releasy/packagers/tar_bzip2.rb +19 -0
- data/lib/releasy/packagers/tar_gzip.rb +19 -0
- data/lib/releasy/packagers/tar_packager.rb +2 -1
- data/lib/releasy/packagers/zip.rb +17 -0
- data/lib/releasy/project.rb +45 -4
- data/lib/releasy/version.rb +1 -1
- data/releasy.gemspec +1 -1
- data/test/releasy/builders/data/Main.rb +3 -2
- data/test/releasy/builders/helpers/builder_helper.rb +35 -0
- data/test/releasy/builders/helpers/ocra_builder_helper.rb +31 -0
- data/test/releasy/builders/helpers/windows_builder_helper.rb +25 -0
- data/test/releasy/builders/osx_app_test.rb +6 -4
- data/test/releasy/builders/source_test.rb +7 -4
- data/test/releasy/builders/windows_folder_test.rb +3 -1
- data/test/releasy/builders/windows_installer_test.rb +6 -4
- data/test/releasy/builders/windows_standalone_test.rb +6 -4
- data/test/releasy/builders/windows_wrapped_test.rb +3 -1
- data/test/releasy/cli/install_sfx_test.rb +1 -1
- data/test/releasy/deployers/github_test.rb +30 -32
- data/test/releasy/deployers/local_test.rb +93 -0
- data/test/releasy/deployers/rsync_test.rb +55 -0
- data/test/releasy/integration/source_test.rb +6 -6
- data/test/releasy/mixins/utilities_test.rb +50 -0
- data/test/releasy/packagers/packager_test.rb +79 -0
- data/test/releasy/packagers_test.rb +12 -6
- data/test/releasy/project_test.rb +5 -5
- data/test/teststrap.rb +6 -0
- data/test/yard_test.rb +1 -1
- metadata +40 -28
- data/lib/releasy/mixins/exec.rb +0 -14
- data/test/releasy/builders/ocra_builder_test.rb +0 -37
- data/test/releasy/builders/windows_builder_test.rb +0 -26
@@ -0,0 +1,55 @@
|
|
1
|
+
require File.expand_path("helpers/helper", File.dirname(__FILE__))
|
2
|
+
|
3
|
+
context Releasy::Deployers::Rsync do
|
4
|
+
setup do
|
5
|
+
Releasy::Deployers::Rsync.new new_project
|
6
|
+
end
|
7
|
+
|
8
|
+
teardown do
|
9
|
+
Dir.chdir $original_path
|
10
|
+
Rake::Task.clear
|
11
|
+
end
|
12
|
+
|
13
|
+
hookup do
|
14
|
+
Dir.chdir project_path
|
15
|
+
end
|
16
|
+
|
17
|
+
asserts(:type).equals :rsync
|
18
|
+
asserts(:destination).nil
|
19
|
+
asserts(:destination=, 5).raises TypeError, /destination must be a String/
|
20
|
+
asserts(:options).equals '-glpPrtvz'
|
21
|
+
asserts(:options=, 5).raises TypeError, /options must be a String/
|
22
|
+
asserts(:deploy, "file.zip").raises Releasy::ConfigError, /#destination must be set/
|
23
|
+
|
24
|
+
context "#destination=" do
|
25
|
+
hookup { topic.destination = "fish:www/frog" }
|
26
|
+
asserts(:destination).equals "fish:www/frog"
|
27
|
+
end
|
28
|
+
|
29
|
+
context "#options=" do
|
30
|
+
hookup { topic.options = "-frog" }
|
31
|
+
asserts(:options).equals "-frog"
|
32
|
+
end
|
33
|
+
|
34
|
+
context "valid" do
|
35
|
+
context "#generate_tasks" do
|
36
|
+
hookup { topic.send :generate_tasks, "source:7z", "SOURCE.7z", ".7z" }
|
37
|
+
tasks = [
|
38
|
+
[ :Task, "deploy:source:7z:rsync", %w[package:source:7z] ],
|
39
|
+
]
|
40
|
+
|
41
|
+
test_tasks tasks
|
42
|
+
end
|
43
|
+
|
44
|
+
should "call rsync correctly" do
|
45
|
+
mock(IO).popen(%[rsync -xyz "#{File.expand_path "pkg/x.zip"}" "fish:www/frog"]).yields StringIO.new("done")
|
46
|
+
|
47
|
+
topic.options = "-xyz"
|
48
|
+
topic.destination = "fish:www/frog"
|
49
|
+
|
50
|
+
topic.send :deploy, "pkg/x.zip"
|
51
|
+
|
52
|
+
true
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -16,7 +16,6 @@ context "Source in all formats" do
|
|
16
16
|
version "0.1"
|
17
17
|
files source_files
|
18
18
|
output_path _output_path
|
19
|
-
verbose
|
20
19
|
create_md5s
|
21
20
|
|
22
21
|
add_build :source do
|
@@ -43,6 +42,7 @@ context "Source in all formats" do
|
|
43
42
|
end
|
44
43
|
|
45
44
|
helper(:contents_description) { /#{source_files.size} files, 4 folders/m }
|
45
|
+
helper(:null_file) { Gem.win_platform? ? "NUL" : "/dev/null" }
|
46
46
|
|
47
47
|
active_builders_valid
|
48
48
|
|
@@ -77,9 +77,9 @@ context "Source in all formats" do
|
|
77
77
|
[ :Task, "build", %w[build:source] ],
|
78
78
|
[ :Task, "build:source", [folder] ],
|
79
79
|
|
80
|
-
[ :
|
81
|
-
[ :
|
82
|
-
[ :
|
80
|
+
[ :FileTask, '..', [] ],
|
81
|
+
[ :FileTask, output_path, [] ], # byproduct of using #directory
|
82
|
+
[ :FileTask, folder, source_files ],
|
83
83
|
[ :FileTask, "#{folder}.dmg", [folder] ],
|
84
84
|
[ :FileTask, "#{folder}.7z", [folder] ],
|
85
85
|
[ :FileTask, "#{folder}.exe", [folder] ],
|
@@ -111,7 +111,7 @@ context "Source in all formats" do
|
|
111
111
|
hookup { Rake::Task["package:source:tar_gz"].invoke }
|
112
112
|
|
113
113
|
asserts("archive created") { File.size("#{folder}.tar.gz") > 0}
|
114
|
-
asserts("archive contains expected files") { `7z x -so -bd -tgzip #{folder}.tar.gz | 7z l -si -bd -ttar` =~ contents_description }
|
114
|
+
asserts("archive contains expected files") { `7z x -so -bd -tgzip #{folder}.tar.gz 2>#{null_file} | 7z l -si -bd -ttar` =~ contents_description }
|
115
115
|
md5_created ".tar.gz"
|
116
116
|
end
|
117
117
|
|
@@ -119,7 +119,7 @@ context "Source in all formats" do
|
|
119
119
|
hookup { Rake::Task["package:source:tar_bz2"].invoke }
|
120
120
|
|
121
121
|
asserts("archive created") { File.size("#{folder}.tar.bz2") > 0}
|
122
|
-
asserts("archive contains expected files") { `7z x -so -bd -tbzip2 #{folder}.tar.bz2 | 7z l -si -bd -ttar` =~ contents_description }
|
122
|
+
asserts("archive contains expected files") { `7z x -so -bd -tbzip2 #{folder}.tar.bz2 2>#{null_file} | 7z l -si -bd -ttar` =~ contents_description }
|
123
123
|
md5_created ".tar.bz2"
|
124
124
|
end
|
125
125
|
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require File.expand_path("../../teststrap", File.dirname(__FILE__))
|
2
|
+
|
3
|
+
context Releasy::Mixins::Utilities do
|
4
|
+
setup { Object.new.extend Releasy::Mixins::Utilities }
|
5
|
+
|
6
|
+
context "#execute_command" do
|
7
|
+
asserts("executing command that exists") do
|
8
|
+
mock(IO).popen("hello").yields StringIO.new("Hello!\nHello!\n")
|
9
|
+
mock(topic).info("hello")
|
10
|
+
mock(topic).info("Hello!").twice
|
11
|
+
topic.send :execute_command, "hello"
|
12
|
+
end.equals true
|
13
|
+
|
14
|
+
asserts("executing command that doesn't exist") do
|
15
|
+
mock(IO).popen("hello") { raise Errno::ENOENT }
|
16
|
+
mock(topic).info("hello")
|
17
|
+
topic.send :execute_command, "hello"
|
18
|
+
end.equals false
|
19
|
+
end
|
20
|
+
|
21
|
+
context "#command_available?" do
|
22
|
+
context "on Windows" do
|
23
|
+
should "return true if available" do
|
24
|
+
stub(Releasy).win_platform?.returns true
|
25
|
+
mock(Kernel, :`).with("where command").returns true
|
26
|
+
topic.send(:command_available?, "command")
|
27
|
+
end.equals true
|
28
|
+
|
29
|
+
should "return false if not available" do
|
30
|
+
stub(Releasy).win_platform?.returns true
|
31
|
+
mock(Kernel, :`).with("where command").returns nil
|
32
|
+
topic.send(:command_available?, "command")
|
33
|
+
end.equals false
|
34
|
+
end
|
35
|
+
|
36
|
+
context "not on Windows" do
|
37
|
+
should "return true if available" do
|
38
|
+
stub(Releasy).win_platform?.returns false
|
39
|
+
mock(Kernel, :`).with("which command").returns true
|
40
|
+
topic.send(:command_available?, "command")
|
41
|
+
end.equals true
|
42
|
+
|
43
|
+
should "return false if not available" do
|
44
|
+
stub(Releasy).win_platform?.returns false
|
45
|
+
mock(Kernel, :`).with("which command").returns nil
|
46
|
+
topic.send(:command_available?, "command")
|
47
|
+
end.equals false
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
require File.expand_path("../../teststrap", File.dirname(__FILE__))
|
2
|
+
|
3
|
+
|
4
|
+
context Releasy::Packagers::Packager do
|
5
|
+
helper(:project) { @project ||= Object.new }
|
6
|
+
|
7
|
+
setup do
|
8
|
+
Class.new(Releasy::Packagers::Packager) do
|
9
|
+
const_set :TYPE, :test
|
10
|
+
const_set :DEFAULT_EXTENSION, '.bleh'
|
11
|
+
end.new project
|
12
|
+
end
|
13
|
+
|
14
|
+
asserts(:project).equals { project }
|
15
|
+
asserts(:type).equals :test
|
16
|
+
asserts(:extension).equals ".bleh"
|
17
|
+
asserts(:extension=, 12).raises TypeError, /extension must be a String/
|
18
|
+
asserts(:extension=, "frog").raises ArgumentError, /extension must be valid/
|
19
|
+
asserts(:package, "fish").equals "fish.bleh"
|
20
|
+
|
21
|
+
asserts_topic.respond_to :checksum
|
22
|
+
asserts_topic.respond_to :generate_tasks
|
23
|
+
asserts_topic.respond_to :archive
|
24
|
+
|
25
|
+
context "#seven_zip_command" do
|
26
|
+
helper(:setup) do |windows, za, z|
|
27
|
+
stub(Releasy).win_platform?.returns windows
|
28
|
+
find = windows ? "where" : "which"
|
29
|
+
mock(Kernel, :`).with("#{find} 7za").returns za
|
30
|
+
mock(Kernel, :`).with("#{find} 7z").returns z unless z.nil?
|
31
|
+
end
|
32
|
+
|
33
|
+
context "on Windows" do
|
34
|
+
context "7za command available" do
|
35
|
+
asserts :seven_zip_command do
|
36
|
+
setup true, true, nil
|
37
|
+
topic.send :seven_zip_command
|
38
|
+
end.equals "7za"
|
39
|
+
end
|
40
|
+
|
41
|
+
context "7za not available, but 7z is" do
|
42
|
+
asserts :seven_zip_command do
|
43
|
+
setup true, false, true
|
44
|
+
topic.send :seven_zip_command
|
45
|
+
end.equals "7z"
|
46
|
+
end
|
47
|
+
|
48
|
+
context "no 7z installation" do
|
49
|
+
asserts :seven_zip_command do
|
50
|
+
setup true, false, false
|
51
|
+
topic.send :seven_zip_command
|
52
|
+
end.equals %["#{File.expand_path "../../../../bin/7za.exe", __FILE__}"]
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
context "not on Windows" do
|
57
|
+
context "7za command available" do
|
58
|
+
asserts :seven_zip_command do
|
59
|
+
setup false, true, nil
|
60
|
+
topic.send :seven_zip_command
|
61
|
+
end.equals "7za"
|
62
|
+
end
|
63
|
+
|
64
|
+
context "7za not available, but 7z is" do
|
65
|
+
asserts :seven_zip_command do
|
66
|
+
setup false, false, true
|
67
|
+
topic.send :seven_zip_command
|
68
|
+
end.equals "7z"
|
69
|
+
end
|
70
|
+
|
71
|
+
context "no 7z installation" do
|
72
|
+
asserts :seven_zip_command do
|
73
|
+
setup false, false, false
|
74
|
+
topic.send :seven_zip_command
|
75
|
+
end.raises Releasy::CommandNotFoundError, /Failed to find 7-ZIP/
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -1,13 +1,14 @@
|
|
1
1
|
require File.expand_path("../teststrap", File.dirname(__FILE__))
|
2
2
|
|
3
3
|
# Test all packagers at once, since they are pretty much identical.
|
4
|
+
null_file = Gem.win_platform? ? "NUL" : "/dev/null"
|
4
5
|
[
|
5
6
|
[:dmg, Releasy::Packagers::Dmg, %[GZIP=-9 hdiutil create -fs HFS+ -srcfolder "f" -volname "Test App 0.1" "f.dmg"]],
|
6
|
-
[:exe, Releasy::Packagers::Exe, %[
|
7
|
-
[:"7z", Releasy::Packagers::SevenZip, %[
|
8
|
-
[:tar_bz2, Releasy::Packagers::TarBzip2, %[
|
9
|
-
[:tar_gz, Releasy::Packagers::TarGzip, %[
|
10
|
-
[:zip, Releasy::Packagers::Zip, %[
|
7
|
+
[:exe, Releasy::Packagers::Exe, %[7za a -mmt -bd -t7z -mx9 -sfx7z.sfx "f.exe" "f"]],
|
8
|
+
[:"7z", Releasy::Packagers::SevenZip, %[7za a -mmt -bd -t7z -mx9 "f.7z" "f"]],
|
9
|
+
[:tar_bz2, Releasy::Packagers::TarBzip2, %[7za a -so -mmt -bd -ttar "f.tar" "f" 2>#{null_file} | 7za a -si -bd -tbzip2 -mx9 "f.tar.bz2"]],
|
10
|
+
[:tar_gz, Releasy::Packagers::TarGzip, %[7za a -so -mmt -bd -ttar "f.tar" "f" 2>#{null_file} | 7za a -si -bd -tgzip -mx9 "f.tar.gz"]],
|
11
|
+
[:zip, Releasy::Packagers::Zip, %[7za a -mmt -bd -tzip -mx9 "f.zip" "f"]],
|
11
12
|
].each do |type, packager, command|
|
12
13
|
extension = "." + type.to_s.tr("_", ".")
|
13
14
|
|
@@ -22,7 +23,12 @@ require File.expand_path("../teststrap", File.dirname(__FILE__))
|
|
22
23
|
|
23
24
|
asserts(:type).equals type
|
24
25
|
asserts(:extension).equals extension
|
25
|
-
|
26
|
+
context "" do
|
27
|
+
hookup do
|
28
|
+
mock(Kernel, :`).with("#{Gem.win_platform? ? "where" : "which"} 7za").returns(true) unless type == :dmg
|
29
|
+
end
|
30
|
+
asserts(:command, "f").equals command
|
31
|
+
end
|
26
32
|
asserts(:package, "f").equals "f#{extension}"
|
27
33
|
|
28
34
|
context "setting extension with a . changes package path" do
|
@@ -257,17 +257,17 @@ context Releasy::Project do
|
|
257
257
|
[ :Task, "build:windows", %w[build:windows:installer] ],
|
258
258
|
[ :Task, "build:windows:installer", ["#{folder_base}_WIN32_INSTALLER"] ],
|
259
259
|
|
260
|
-
[ :
|
260
|
+
[ :FileTask, 'pkg', [] ],
|
261
261
|
|
262
|
-
[ :
|
262
|
+
[ :FileTask, "#{folder_base}_SOURCE", source_files ],
|
263
263
|
[ :FileTask, "#{folder_base}_SOURCE.7z", ["#{folder_base}_SOURCE"] ],
|
264
264
|
[ :FileTask, "#{folder_base}_SOURCE.zip", ["#{folder_base}_SOURCE"] ],
|
265
265
|
|
266
|
-
[ :
|
266
|
+
[ :FileTask, "#{folder_base}_OSX", source_files + ["../wrappers/gosu-mac-wrapper-0.7.41.tar.gz"] ],
|
267
267
|
[ :FileTask, "#{folder_base}_OSX.7z", ["#{folder_base}_OSX" ] ],
|
268
268
|
[ :FileTask, "#{folder_base}_OSX.zip", ["#{folder_base}_OSX"] ],
|
269
269
|
|
270
|
-
[ :
|
270
|
+
[ :FileTask, "#{folder_base}_WIN32_INSTALLER", source_files ],
|
271
271
|
[ :FileTask, "#{folder_base}_WIN32_INSTALLER.7z", ["#{folder_base}_WIN32_INSTALLER"] ],
|
272
272
|
[ :FileTask, "#{folder_base}_WIN32_INSTALLER.zip", ["#{folder_base}_WIN32_INSTALLER"] ],
|
273
273
|
]
|
@@ -290,7 +290,7 @@ context Releasy::Project do
|
|
290
290
|
b.add_package :tar_gz do |a|
|
291
291
|
a.extension = ".tgz"
|
292
292
|
end
|
293
|
-
b.wrapper =
|
293
|
+
b.wrapper = "../wrappers/gosu-mac-wrapper-0.7.41.tar.gz"
|
294
294
|
b.url = "org.url.app"
|
295
295
|
end
|
296
296
|
p.add_build :windows_standalone do |b|
|
data/test/teststrap.rb
CHANGED
@@ -7,6 +7,12 @@ require 'fileutils'
|
|
7
7
|
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
8
8
|
require 'releasy'
|
9
9
|
|
10
|
+
if ARGV.include? "--verbose" or ARGV.include? "-v"
|
11
|
+
Riot.verbose
|
12
|
+
else
|
13
|
+
Riot.pretty_dots
|
14
|
+
end
|
15
|
+
|
10
16
|
def source_files
|
11
17
|
%w[bin/test_app lib/test_app.rb lib/test_app/stuff.rb README.txt LICENSE.txt Gemfile.lock Gemfile]
|
12
18
|
end
|
data/test/yard_test.rb
CHANGED
@@ -44,7 +44,7 @@ context "YARD @examples" do
|
|
44
44
|
object.tags(:example).each_with_index {|e, i| run_riot e.text, i, e.object.to_s }
|
45
45
|
object.meths(:inherited => false, :included => false).each do |method|
|
46
46
|
process_method(method)
|
47
|
-
method.tags(:overload).
|
47
|
+
method.tags(:overload).each {|overload| process_method(overload) }
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: releasy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01
|
12
|
+
date: 2012-02-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ocra
|
16
|
-
requirement: &
|
16
|
+
requirement: &25229604 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.3.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *25229604
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &25229088 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.9.2.2
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *25229088
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: cri
|
38
|
-
requirement: &
|
38
|
+
requirement: &25228260 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.1.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *25228260
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: thor
|
49
|
-
requirement: &
|
49
|
+
requirement: &28431360 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,21 +54,21 @@ dependencies:
|
|
54
54
|
version: 0.14.6
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *28431360
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: net-github-upload
|
60
|
-
requirement: &
|
60
|
+
requirement: &28430268 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.0.
|
65
|
+
version: 0.0.8
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *28430268
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: riot
|
71
|
-
requirement: &
|
71
|
+
requirement: &28429836 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 0.12.5
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *28429836
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: rr
|
82
|
-
requirement: &
|
82
|
+
requirement: &28429476 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 1.0.4
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *28429476
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: yard
|
93
|
-
requirement: &
|
93
|
+
requirement: &28429164 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: 0.7.4
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *28429164
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: redcarpet
|
104
|
-
requirement: &
|
104
|
+
requirement: &28428780 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
version: 2.0.1
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *28428780
|
113
113
|
description: ! 'Releasy helps to make Ruby application releases simpler, by creating
|
114
114
|
and archiving source folders, Windows folders,
|
115
115
|
|
@@ -131,6 +131,9 @@ files:
|
|
131
131
|
- README.md
|
132
132
|
- Rakefile
|
133
133
|
- bin/7z.sfx
|
134
|
+
- bin/7z_sfx_LICENSE.txt
|
135
|
+
- bin/7za.exe
|
136
|
+
- bin/7za_exe_LICENSE.txt
|
134
137
|
- bin/releasy
|
135
138
|
- lib/releasy.rb
|
136
139
|
- lib/releasy/builders.rb
|
@@ -148,13 +151,15 @@ files:
|
|
148
151
|
- lib/releasy/deployers.rb
|
149
152
|
- lib/releasy/deployers/deployer.rb
|
150
153
|
- lib/releasy/deployers/github.rb
|
154
|
+
- lib/releasy/deployers/local.rb
|
155
|
+
- lib/releasy/deployers/rsync.rb
|
151
156
|
- lib/releasy/dsl_wrapper.rb
|
152
157
|
- lib/releasy/mixins/can_exclude_encoding.rb
|
153
|
-
- lib/releasy/mixins/exec.rb
|
154
158
|
- lib/releasy/mixins/has_gemspecs.rb
|
155
159
|
- lib/releasy/mixins/has_packagers.rb
|
156
160
|
- lib/releasy/mixins/log.rb
|
157
161
|
- lib/releasy/mixins/register.rb
|
162
|
+
- lib/releasy/mixins/utilities.rb
|
158
163
|
- lib/releasy/packagers.rb
|
159
164
|
- lib/releasy/packagers/dmg.rb
|
160
165
|
- lib/releasy/packagers/exe.rb
|
@@ -174,11 +179,12 @@ files:
|
|
174
179
|
- test/releasy/builders/data/Main.rb
|
175
180
|
- test/releasy/builders/data/relapse_runner.rb
|
176
181
|
- test/releasy/builders/data/set_app_executable.sh
|
182
|
+
- test/releasy/builders/helpers/builder_helper.rb
|
177
183
|
- test/releasy/builders/helpers/helper.rb
|
178
|
-
- test/releasy/builders/
|
184
|
+
- test/releasy/builders/helpers/ocra_builder_helper.rb
|
185
|
+
- test/releasy/builders/helpers/windows_builder_helper.rb
|
179
186
|
- test/releasy/builders/osx_app_test.rb
|
180
187
|
- test/releasy/builders/source_test.rb
|
181
|
-
- test/releasy/builders/windows_builder_test.rb
|
182
188
|
- test/releasy/builders/windows_folder_test.rb
|
183
189
|
- test/releasy/builders/windows_installer_test.rb
|
184
190
|
- test/releasy/builders/windows_standalone_test.rb
|
@@ -186,10 +192,14 @@ files:
|
|
186
192
|
- test/releasy/cli/install_sfx_test.rb
|
187
193
|
- test/releasy/deployers/github_test.rb
|
188
194
|
- test/releasy/deployers/helpers/helper.rb
|
195
|
+
- test/releasy/deployers/local_test.rb
|
196
|
+
- test/releasy/deployers/rsync_test.rb
|
189
197
|
- test/releasy/dsl_wrapper_test.rb
|
190
198
|
- test/releasy/integration/source_test.rb
|
191
199
|
- test/releasy/mixins/log_test.rb
|
192
200
|
- test/releasy/mixins/register_test.rb
|
201
|
+
- test/releasy/mixins/utilities_test.rb
|
202
|
+
- test/releasy/packagers/packager_test.rb
|
193
203
|
- test/releasy/packagers_test.rb
|
194
204
|
- test/releasy/project_test.rb
|
195
205
|
- test/releasy/windows_wrapper_maker_test.rb
|
@@ -220,7 +230,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
230
|
version: '0'
|
221
231
|
segments:
|
222
232
|
- 0
|
223
|
-
hash:
|
233
|
+
hash: 963582929
|
224
234
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
235
|
none: false
|
226
236
|
requirements:
|
@@ -229,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
229
239
|
version: '0'
|
230
240
|
segments:
|
231
241
|
- 0
|
232
|
-
hash:
|
242
|
+
hash: 963582929
|
233
243
|
requirements:
|
234
244
|
- 7z (optional; used to generate archives)
|
235
245
|
- InnoSetup (optional on Windows; used to make Win32 installer)
|
@@ -239,20 +249,22 @@ signing_key:
|
|
239
249
|
specification_version: 3
|
240
250
|
summary: Releasy helps to make Ruby application releases simpler
|
241
251
|
test_files:
|
242
|
-
- test/releasy/builders/ocra_builder_test.rb
|
243
252
|
- test/releasy/builders/osx_app_test.rb
|
244
253
|
- test/releasy/builders/source_test.rb
|
245
|
-
- test/releasy/builders/windows_builder_test.rb
|
246
254
|
- test/releasy/builders/windows_folder_test.rb
|
247
255
|
- test/releasy/builders/windows_installer_test.rb
|
248
256
|
- test/releasy/builders/windows_standalone_test.rb
|
249
257
|
- test/releasy/builders/windows_wrapped_test.rb
|
250
258
|
- test/releasy/cli/install_sfx_test.rb
|
251
259
|
- test/releasy/deployers/github_test.rb
|
260
|
+
- test/releasy/deployers/local_test.rb
|
261
|
+
- test/releasy/deployers/rsync_test.rb
|
252
262
|
- test/releasy/dsl_wrapper_test.rb
|
253
263
|
- test/releasy/integration/source_test.rb
|
254
264
|
- test/releasy/mixins/log_test.rb
|
255
265
|
- test/releasy/mixins/register_test.rb
|
266
|
+
- test/releasy/mixins/utilities_test.rb
|
267
|
+
- test/releasy/packagers/packager_test.rb
|
256
268
|
- test/releasy/packagers_test.rb
|
257
269
|
- test/releasy/project_test.rb
|
258
270
|
- test/releasy/windows_wrapper_maker_test.rb
|