capistrano-django 2.10.0 → 3.0.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/django.rb +1 -15
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b27695057a552753d37f0c75c5a79431e2e2edf4
|
|
4
|
+
data.tar.gz: 450a686c5d6bb27a1035d75ed1cc080b4a449c2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5f5d2253c2fcf2b74e024968cb4a44447d761440462443ac322322715a20413f9c5273f80444bfab9bb664f8bbe5e351505d18a17ef63018f0df8e700f02f6f
|
|
7
|
+
data.tar.gz: d8a4ce739cb294cda76f423030dc9f41de8ac126fc759d1ac6882a41f391a19e97ed882f76c8636374299385459b6971066fd70b6d466a21fdfc7b0e38967720
|
data/lib/capistrano/django.rb
CHANGED
|
@@ -40,9 +40,6 @@ namespace :python do
|
|
|
40
40
|
if fetch(:npm_tasks)
|
|
41
41
|
invoke 'nodejs:npm'
|
|
42
42
|
end
|
|
43
|
-
if fetch(:grunt_task)
|
|
44
|
-
invoke 'nodejs:grunt'
|
|
45
|
-
end
|
|
46
43
|
if fetch(:flask)
|
|
47
44
|
invoke 'flask:setup'
|
|
48
45
|
else
|
|
@@ -148,7 +145,7 @@ namespace :django do
|
|
|
148
145
|
if fetch(:multidb)
|
|
149
146
|
django("sync_all", '--noinput', run_on=:web)
|
|
150
147
|
else
|
|
151
|
-
django("
|
|
148
|
+
django("migrate", "--noinput", run_on=:web)
|
|
152
149
|
end
|
|
153
150
|
end
|
|
154
151
|
end
|
|
@@ -165,17 +162,6 @@ namespace :nodejs do
|
|
|
165
162
|
end
|
|
166
163
|
end
|
|
167
164
|
|
|
168
|
-
desc "Run a grunt task"
|
|
169
|
-
task :grunt do
|
|
170
|
-
invoke 'nodejs:npm_install'
|
|
171
|
-
on roles(:web) do
|
|
172
|
-
path = fetch(:npm_path) ? File.join(release_path, fetch(:npm_path)) : release_path
|
|
173
|
-
within path do
|
|
174
|
-
execute './node_modules/.bin/grunt', "#{fetch(:grunt_task)}"
|
|
175
|
-
end
|
|
176
|
-
end
|
|
177
|
-
end
|
|
178
|
-
|
|
179
165
|
desc 'Run npm tasks'
|
|
180
166
|
task :npm do
|
|
181
167
|
invoke 'nodejs:npm_install'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-django
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew J. Morrison
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|