capistrano-django 2.7.0 → 2.8.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 +7 -0
- data/lib/capistrano/django.rb +6 -3
- metadata +7 -11
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 78475c1b1e6fe395a6d2b63598949964bde8800a
|
|
4
|
+
data.tar.gz: 0e4d23eec23045fff5876e78084686cf4ae84f8c
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 23ba44406b41e581fea950fd373f6eb3fd17a067bdf2955cec5183a6ac0956b2403a7e5e3038e3b9c3cac4815e194b8f6a7987e88f07e8793baa05bdd31daab3
|
|
7
|
+
data.tar.gz: 8987d7304ffed7db977eee4191c20375c8247edf87d4cfe3401bcd1e2e83d398753528292ebd833a6912630df5d58902a12bdcc1395d95ef03e941a7db176707
|
data/lib/capistrano/django.rb
CHANGED
|
@@ -156,7 +156,8 @@ namespace :nodejs do
|
|
|
156
156
|
desc 'Install node modules'
|
|
157
157
|
task :npm_install do
|
|
158
158
|
on roles(:web) do
|
|
159
|
-
|
|
159
|
+
path = fetch(:npm_path) ? File.join(release_path, fetch(:npm_path)) : release_path
|
|
160
|
+
within path do
|
|
160
161
|
execute 'npm', 'install', '--production'
|
|
161
162
|
end
|
|
162
163
|
end
|
|
@@ -166,7 +167,8 @@ namespace :nodejs do
|
|
|
166
167
|
task :grunt do
|
|
167
168
|
invoke 'nodejs:npm_install'
|
|
168
169
|
on roles(:web) do
|
|
169
|
-
|
|
170
|
+
path = fetch(:npm_path) ? File.join(release_path, fetch(:npm_path)) : release_path
|
|
171
|
+
within path do
|
|
170
172
|
execute './node_modules/.bin/grunt', "#{fetch(:grunt_task)}"
|
|
171
173
|
end
|
|
172
174
|
end
|
|
@@ -176,7 +178,8 @@ namespace :nodejs do
|
|
|
176
178
|
task :npm do
|
|
177
179
|
invoke 'nodejs:npm_install'
|
|
178
180
|
on roles(:web) do
|
|
179
|
-
|
|
181
|
+
path = fetch(:npm_path) ? File.join(release_path, fetch(:npm_path)) : release_path
|
|
182
|
+
within path do
|
|
180
183
|
fetch(:npm_tasks).each do |task, args|
|
|
181
184
|
execute "./node_modules/.bin/#{task}", args
|
|
182
185
|
end
|
metadata
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-django
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 2.8.0
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Matthew J. Morrison
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2015-01-14 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: capistrano
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
17
|
- - ~>
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
@@ -22,7 +20,6 @@ dependencies:
|
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
24
|
- - ~>
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
@@ -37,26 +34,25 @@ files:
|
|
|
37
34
|
- lib/django_capistrano.rb
|
|
38
35
|
homepage: http://github.com/mattjmorrison/capistrano-django
|
|
39
36
|
licenses: []
|
|
37
|
+
metadata: {}
|
|
40
38
|
post_install_message:
|
|
41
39
|
rdoc_options: []
|
|
42
40
|
require_paths:
|
|
43
41
|
- lib
|
|
44
42
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
45
|
-
none: false
|
|
46
43
|
requirements:
|
|
47
|
-
- -
|
|
44
|
+
- - '>='
|
|
48
45
|
- !ruby/object:Gem::Version
|
|
49
46
|
version: '0'
|
|
50
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
|
-
none: false
|
|
52
48
|
requirements:
|
|
53
|
-
- -
|
|
49
|
+
- - '>='
|
|
54
50
|
- !ruby/object:Gem::Version
|
|
55
51
|
version: '0'
|
|
56
52
|
requirements: []
|
|
57
53
|
rubyforge_project:
|
|
58
|
-
rubygems_version:
|
|
54
|
+
rubygems_version: 2.0.14
|
|
59
55
|
signing_key:
|
|
60
|
-
specification_version:
|
|
56
|
+
specification_version: 4
|
|
61
57
|
summary: capistrano-django - Welcome to easy deployment with Ruby over SSH for Django
|
|
62
58
|
test_files: []
|