mandy 0.4.90 → 0.4.91
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +8 -3
- data/bootstrap.rb +1 -0
- data/lib/packer.rb +5 -2
- metadata +11 -1
data/Rakefile
CHANGED
@@ -10,8 +10,13 @@ Spec::Rake::SpecTask.new(:spec) do |t|
|
|
10
10
|
t.spec_opts = %w{-f s -c -L mtime}
|
11
11
|
end
|
12
12
|
|
13
|
-
task :
|
14
|
-
`
|
13
|
+
task :build do
|
14
|
+
`gem build mandy.gemspec`
|
15
15
|
`mkdir pkg; mv mandy-*.gem pkg/`
|
16
|
+
end
|
17
|
+
|
18
|
+
task :install do
|
16
19
|
`sudo gem install pkg/mandy-*.gem`
|
17
|
-
end
|
20
|
+
end
|
21
|
+
|
22
|
+
task :gem => [:build, :install]
|
data/bootstrap.rb
CHANGED
data/lib/packer.rb
CHANGED
@@ -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)
|
15
|
-
|
14
|
+
Dir.chdir(tmp_path) do
|
15
|
+
`gem bundle`
|
16
|
+
`rm -r 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.
|
4
|
+
version: 0.4.91
|
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:
|