capistrano-strategy-copy-with-bundle-package 0.0.1 → 0.0.2
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.
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'capistrano/recipes/deploy/strategy/copy'
|
2
|
-
require 'fileutils'
|
3
2
|
|
4
3
|
module Capistrano
|
5
4
|
module Deploy
|
@@ -10,7 +9,6 @@ module Capistrano
|
|
10
9
|
cmd = "#{fetch(:bundle_cmd, 'bundle')} package"
|
11
10
|
|
12
11
|
Dir.chdir(directory) do
|
13
|
-
FileUtils.rm_rf 'vendor/cache'
|
14
12
|
defined?(Bundler) ? with_original_env { system(cmd) } : system(cmd)
|
15
13
|
|
16
14
|
# Check the return code of bundle package command and rollback if not 0
|
metadata
CHANGED
@@ -1,37 +1,47 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-strategy-copy-with-bundle-package
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1317335842608397244
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Rainux Luo
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2011-10-14 00:00:00 +08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: capistrano
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
26
|
+
requirements:
|
19
27
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 789559908011485442
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
version: "2"
|
22
33
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
strategy,\n but with gems packaged by bundler.\n\n It will package all gems
|
27
|
-
in the copy directory and then upload to servers,\n so the server no longer required
|
28
|
-
to access rubygems.org.\n"
|
29
|
-
email:
|
34
|
+
version_requirements: *id001
|
35
|
+
description: " CopyWithBundlePackage is a capistrano strategy similar to copy strategy,\n but with gems packaged by bundler.\n\n It will package all gems in the copy directory and then upload to servers,\n so the server no longer required to access rubygems.org.\n"
|
36
|
+
email:
|
30
37
|
- rainux@gmail.com
|
31
38
|
executables: []
|
39
|
+
|
32
40
|
extensions: []
|
41
|
+
|
33
42
|
extra_rdoc_files: []
|
34
|
-
|
43
|
+
|
44
|
+
files:
|
35
45
|
- .gitignore
|
36
46
|
- Gemfile
|
37
47
|
- Rakefile
|
@@ -39,29 +49,39 @@ files:
|
|
39
49
|
- lib/capistrano-strategy-copy-with-bundle-package.rb
|
40
50
|
- lib/capistrano-strategy-copy-with-bundle-package/version.rb
|
41
51
|
- lib/capistrano/recipes/deploy/strategy/copy_with_bundle_package.rb
|
52
|
+
has_rdoc: true
|
42
53
|
homepage: https://github.com/rainux/capistrano-strategy-copy-with-bundle-package
|
43
54
|
licenses: []
|
55
|
+
|
44
56
|
post_install_message:
|
45
57
|
rdoc_options: []
|
46
|
-
|
58
|
+
|
59
|
+
require_paths:
|
47
60
|
- lib
|
48
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
62
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
|
54
|
-
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
hash: 2002549777813010636
|
67
|
+
segments:
|
68
|
+
- 0
|
69
|
+
version: "0"
|
70
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
71
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 2002549777813010636
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
version: "0"
|
60
79
|
requirements: []
|
80
|
+
|
61
81
|
rubyforge_project: capistrano-strategy-copy-with-bundle-package
|
62
|
-
rubygems_version: 1.
|
82
|
+
rubygems_version: 1.5.2
|
63
83
|
signing_key:
|
64
84
|
specification_version: 3
|
65
|
-
summary: Deploy your Ruby application to a server which can't access rubygems.org
|
66
|
-
over Internet.
|
85
|
+
summary: Deploy your Ruby application to a server which can't access rubygems.org over Internet.
|
67
86
|
test_files: []
|
87
|
+
|