capistrano-strategy-copy-with-bundle-package 0.0.2 → 0.0.3
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.
@@ -6,6 +6,13 @@ module Capistrano
|
|
6
6
|
class CopyWithBundlePackage < Copy
|
7
7
|
|
8
8
|
def build(directory)
|
9
|
+
super
|
10
|
+
bundle_package(directory)
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def bundle_package(directory)
|
9
16
|
cmd = "#{fetch(:bundle_cmd, 'bundle')} package"
|
10
17
|
|
11
18
|
Dir.chdir(directory) do
|
@@ -18,8 +25,6 @@ module Capistrano
|
|
18
25
|
end
|
19
26
|
end
|
20
27
|
|
21
|
-
private
|
22
|
-
|
23
28
|
def with_original_env
|
24
29
|
original_env = ENV.to_hash
|
25
30
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-strategy-copy-with-bundle-package
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1889055196096400351
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rainux Luo
|