mandy 0.4.87 → 0.4.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/bootstrap.rb +1 -0
  2. data/lib/packer.rb +5 -2
  3. metadata +11 -1
@@ -5,6 +5,7 @@ module Mandy
5
5
  def self.unpack(file)
6
6
  return false unless File.extname(file) == '.tar'
7
7
  `tar -xf #{file}`
8
+ `gem bundle --cached`
8
9
  end
9
10
  end
10
11
  end
@@ -11,8 +11,11 @@ module Mandy
11
11
  FileUtils.cp_r(script, tmp_path)
12
12
  FileUtils.cp_r(Dir.glob(to_be_copied), tmp_path)
13
13
  FileUtils.cp_r(gemfile, tmp_path)
14
- Dir.chdir(tmp_path) { `gem bundle` }
15
- Dir.chdir(tmp_path) { `tar -cf bundle.tar *` }
14
+ Dir.chdir(tmp_path) do
15
+ `gem bundle`
16
+ `rm -rf vendor/gems/gems`
17
+ `tar -cf bundle.tar *`
18
+ end
16
19
  File.join(tmp_path, 'bundle.tar')
17
20
  end
18
21
 
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.87
4
+ version: 0.4.88
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Kent
@@ -23,6 +23,16 @@ dependencies:
23
23
  - !ruby/object:Gem::Version
24
24
  version: "0"
25
25
  version:
26
+ - !ruby/object:Gem::Dependency
27
+ name: json
28
+ type: :runtime
29
+ version_requirement:
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: "0"
35
+ version:
26
36
  description: Map/Reduce
27
37
  email: andy.kent@me.com
28
38
  executables: