mandy 0.4.96 → 0.4.97
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -0
- data/lib/packer.rb +2 -1
- metadata +2 -1
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.4.97
|
data/lib/packer.rb
CHANGED
@@ -10,11 +10,12 @@ module Mandy
|
|
10
10
|
FileUtils.mkdir_p(tmp_path)
|
11
11
|
to_be_copied = File.file?(dir) ? dir : File.join(dir, '*')
|
12
12
|
FileUtils.cp(script, tmp_path)
|
13
|
+
FileUtils.cp(File.join(MANDY_DIR, 'VERSION'), tmp_path)
|
13
14
|
FileUtils.cp_r(Dir.glob(to_be_copied), tmp_path)
|
14
15
|
if gemfile and File.exists?(gemfile)
|
15
16
|
FileUtils.cp(gemfile, File.join(tmp_path, 'geminstaller.yml'))
|
16
17
|
else
|
17
|
-
|
18
|
+
FileUtils.cp(File.join(MANDY_DIR, 'geminstaller.yml'), tmp_path)
|
18
19
|
end
|
19
20
|
Dir.chdir(tmp_path) { `tar -cf bundle.tar *` }
|
20
21
|
File.join(tmp_path, 'bundle.tar')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mandy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.97
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Kent
|
@@ -59,6 +59,7 @@ files:
|
|
59
59
|
- bin/mandy-mkdir
|
60
60
|
- bin/mandy-exists
|
61
61
|
- bin/mandy-install
|
62
|
+
- VERSION
|
62
63
|
- readme.md
|
63
64
|
- Rakefile
|
64
65
|
- bootstrap.rb
|