capistrano-django 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/capistrano/django.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f0eb392420aa1144933dc7361ef5a210871ba8e
4
- data.tar.gz: 12afa56146fb106739bcdb0711518c28c02cfb94
3
+ metadata.gz: 59550b1685e6f0c83d798d8a0d461f0477ce5e15
4
+ data.tar.gz: 3739a42315d8c25c6f870f13964554ef381aec24
5
5
  SHA512:
6
- metadata.gz: b5de05b1b0866a18cffec7df72b954a5dea6f07c68ec6a7864fca9a9b89b0f910dc458c907bf16db13bc6ca911653d42b7c7bf5eeaae6b87c8c9c221a8858fd9
7
- data.tar.gz: ab92e7467bba79a4d1af10b92732a4f16eb2b3065d7a4e8461b52c6cd98f8e8985f6b8a900e5dad09f888cd688424b73c12e563d7716a89def82226b2d455bd4
6
+ metadata.gz: b25c63dbc1f77725fd1b678fe2179ac619cdb63323dfc80c9300481b1a421004e22ae65f7532b1137047f029a1e18bb452efe800102ea8d56c6550d3b297c585
7
+ data.tar.gz: 9c9ff3dbc89adec110e2d05293a8f67c7798645022caf8a446ddc4e0a3c5318a78b4cd20b615166c433932002fe37084410539a8f9901a6213950e307b90f273
@@ -66,13 +66,14 @@ namespace :django do
66
66
  desc "Symlink wsgi script to live.wsgi"
67
67
  task :symlink_wsgi do
68
68
  on roles(:web) do
69
- execute "ln -sf #{release_path}/wsgi/main.wsgi #{release_path}/wsgi/live.wsgi"
69
+ wsgi_path = File.join(release_path, fetch(:wsgi_path) || 'wsgi')
70
+ execute "ln -sf #{wsgi_path}/main.wsgi #{wsgi_path}/live.wsgi"
70
71
  end
71
72
  end
72
73
 
73
74
  desc "Run django migrations"
74
75
  task :migrate do
75
- django("syncdb", "--migrate --noinput")
76
+ django("syncdb", "--noinput --migrate")
76
77
  end
77
78
 
78
79
  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: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew J. Morrison