spitball 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/spitball.rb +5 -4
- data/spitball.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/lib/spitball.rb
CHANGED
@@ -48,17 +48,18 @@ class Spitball
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def create_bundle
|
51
|
-
File.open(gemfile_path, 'w') {|f| f.write gemfile }
|
52
51
|
FileUtils.mkdir_p bundle_path
|
53
52
|
|
54
|
-
|
53
|
+
File.open(gemfile_path, 'w') {|f| f.write gemfile }
|
54
|
+
|
55
|
+
if system "cd #{bundle_path} && bundle install #{bundle_path} --disable-shared-gems #{without_clause} > /dev/null"
|
55
56
|
FileUtils.rm_rf File.join(bundle_path, "cache")
|
56
57
|
|
57
58
|
system "tar czf #{tarball_path}.#{Process.pid} -C #{bundle_path} ."
|
58
59
|
system "mv #{tarball_path}.#{Process.pid} #{tarball_path}"
|
59
60
|
|
60
61
|
else
|
61
|
-
FileUtils.rm_rf gemfile_path
|
62
|
+
#FileUtils.rm_rf gemfile_path
|
62
63
|
raise BundleCreationFailure, "Bundle build failure."
|
63
64
|
end
|
64
65
|
|
@@ -79,7 +80,7 @@ class Spitball
|
|
79
80
|
end
|
80
81
|
|
81
82
|
def gemfile_path
|
82
|
-
|
83
|
+
File.expand_path('Gemfile', bundle_path)
|
83
84
|
end
|
84
85
|
|
85
86
|
def tarball_path
|
data/spitball.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spitball
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Freels
|