capsum 1.0.6 → 1.0.7
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.
- checksums.yaml +4 -4
- data/.gitignore +4 -3
- data/capsum.gemspec +2 -2
- data/lib/capistrano/tasks/rsync.rake +1 -1
- data/lib/capsum/bundler.rb +5 -0
- data/lib/capsum/shared.rb +13 -1
- data/lib/capsum/version.rb +1 -1
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c1ba8d0a296d6160714534db57600aa7360f800
|
|
4
|
+
data.tar.gz: 2a48c67970afb175200a547dafb6d4a5193fe791
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f90ff127dfc6615717b54f669e985235b0acea352554cc35500661426ba2688d2bda6d7832bf95643b6f182582c1f035749c55eb573c1ece029ac64ec1b42f8
|
|
7
|
+
data.tar.gz: 6682a4bf9c34869afcf7a9323f6ab3843b92c2a268761f40e31150b29c6576b44ffeca566c0414aa201ffa6a5145161ffc96ceab10818c393fd257b3ba30394f
|
data/.gitignore
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
pkg/*.gem
|
|
2
|
-
Gemfile.lock
|
|
3
|
-
tags
|
|
1
|
+
/pkg/*.gem
|
|
2
|
+
/Gemfile.lock
|
|
3
|
+
/tags
|
|
4
|
+
/.bundle/config
|
data/capsum.gemspec
CHANGED
|
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.require_paths = ["lib"]
|
|
20
20
|
|
|
21
21
|
# Dependency Gems
|
|
22
|
-
spec.add_dependency "capistrano", "~> 3.6.
|
|
22
|
+
spec.add_dependency "capistrano", "~> 3.6.1"
|
|
23
23
|
# spec.add_dependency "capistrano-rsync", "~> 1.0.2" # broken, wait update
|
|
24
|
-
spec.add_dependency "capistrano-rails", "~> 1.1.
|
|
24
|
+
spec.add_dependency "capistrano-rails", "~> 1.1.8"
|
|
25
25
|
spec.add_development_dependency "capistrano-sidekiq", Capsum::CAPISTRANO_SIDEKIQ_REQUIREMENT # optional
|
|
26
26
|
|
|
27
27
|
# spec.add_dependency "capistrano-helpers", "~> 0.7.1"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
set_if_empty :rsync_options, %w(--recursive --delete --delete-excluded --exclude .git*)
|
|
1
|
+
set_if_empty :rsync_options, %w(--links --recursive --delete --delete-excluded --exclude .git*)
|
|
2
2
|
set_if_empty :rsync_copy, "rsync --archive --acls --xattrs"
|
|
3
3
|
|
|
4
4
|
# Stage is used on your local machine for rsyncing from.
|
data/lib/capsum/bundler.rb
CHANGED
|
@@ -6,6 +6,11 @@ namespace :load do
|
|
|
6
6
|
set :bundle_flags, '--quiet'
|
|
7
7
|
set :bundle_env_variables, {}
|
|
8
8
|
|
|
9
|
+
if (proxy = ENV["bundle_proxy"])
|
|
10
|
+
bundle_env_variables[:http_proxy] = proxy
|
|
11
|
+
bundle_env_variables[:http_proxy] = proxy
|
|
12
|
+
end
|
|
13
|
+
|
|
9
14
|
bundle_env_variables[:http_proxy] = ENV["bundle_http_proxy"] if ENV["bundle_http_proxy"]
|
|
10
15
|
bundle_env_variables[:https_proxy] = ENV["bundle_https_proxy"] if ENV["bundle_https_proxy"]
|
|
11
16
|
end
|
data/lib/capsum/shared.rb
CHANGED
|
@@ -7,5 +7,17 @@ namespace :capsum do
|
|
|
7
7
|
end
|
|
8
8
|
end
|
|
9
9
|
end
|
|
10
|
+
Rake::Task["deploy:check"].enhance ["capsum:symlink_shared_deprecated"]
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
namespace :capsum do
|
|
13
|
+
task "prepare_links" do
|
|
14
|
+
on release_roles :all do
|
|
15
|
+
[fetch(:linked_files), fetch(:linked_dirs)].compact.flatten.each do |path|
|
|
16
|
+
target = release_path.join(path)
|
|
17
|
+
execute :rm, target if test "[ -L #{target} ]"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
before "deploy:symlink:linked_files", "capsum:prepare_links"
|
data/lib/capsum/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capsum
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sunteya
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -16,28 +16,28 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.6.
|
|
19
|
+
version: 3.6.1
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 3.6.
|
|
26
|
+
version: 3.6.1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: capistrano-rails
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.1.
|
|
33
|
+
version: 1.1.8
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.1.
|
|
40
|
+
version: 1.1.8
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: capistrano-sidekiq
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -130,9 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
130
130
|
version: '0'
|
|
131
131
|
requirements: []
|
|
132
132
|
rubyforge_project:
|
|
133
|
-
rubygems_version: 2.5.
|
|
133
|
+
rubygems_version: 2.5.2
|
|
134
134
|
signing_key:
|
|
135
135
|
specification_version: 4
|
|
136
136
|
summary: Collect gems and recipes related capistrano.
|
|
137
137
|
test_files: []
|
|
138
|
-
has_rdoc:
|