capistrano-django 2.2.0 → 2.3.0
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/lib/capistrano/gitsubmodules.rb +25 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3d51d03ce9f8b30b74024bc062a380891f4e28d
|
|
4
|
+
data.tar.gz: b73dced689c9b9b287b66b9f4574832731461be8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c002558d6b9e3a31ae6a175691d27714d692e95cffe42f4719a6545ce208e1a79e5cfe9e085e164974b708a8dbc7914527588c8f8f2ede2a8027ac3412bf9f6
|
|
7
|
+
data.tar.gz: c3f50104242ff8484a836116051fa46d09d970f04ecde978d2d06a16f87645943b55b97cffe7b6c72353830ad8b2c50f410cba6d72b562ba42cac68ce71f3278
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Taken from https://github.com/juanibiapina/capistrano-scm-gitsubmodules
|
|
2
|
+
# To support git < 1.7.10
|
|
3
|
+
|
|
4
|
+
load "capistrano/tasks/git.rake"
|
|
5
|
+
|
|
6
|
+
namespace :gitsubmodules do
|
|
7
|
+
|
|
8
|
+
git_environmental_variables = {
|
|
9
|
+
git_askpass: "/bin/echo",
|
|
10
|
+
git_ssh: "#{fetch(:tmp_dir)}/git-ssh.sh"
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
task :check => 'git:check'
|
|
14
|
+
|
|
15
|
+
desc 'Copy repo to releases'
|
|
16
|
+
task create_release: :'git:update' do
|
|
17
|
+
on roles :all do
|
|
18
|
+
with git_environmental_variables do
|
|
19
|
+
within repo_path do
|
|
20
|
+
execute :git, :clone, "-b #{fetch :branch}", '--recursive', '.', release_path
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-django
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew J. Morrison
|
|
@@ -31,6 +31,7 @@ extensions: []
|
|
|
31
31
|
extra_rdoc_files: []
|
|
32
32
|
files:
|
|
33
33
|
- lib/capistrano/django.rb
|
|
34
|
+
- lib/capistrano/gitsubmodules.rb
|
|
34
35
|
- lib/django_capistrano.rb
|
|
35
36
|
homepage: http://github.com/mattjmorrison/capistrano-django
|
|
36
37
|
licenses: []
|