capistrano-deploy 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +15 -0
- data/capistrano-deploy.gemspec +1 -1
- data/lib/capistrano-deploy/rails_assets.rb +0 -2
- data/spec/rails_assets_spec.rb +0 -5
- metadata +7 -7
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -78,6 +78,21 @@ And add callback to run `bundle install` on each deploy:
|
|
78
78
|
after 'deploy:update', 'bundle:install'
|
79
79
|
```
|
80
80
|
|
81
|
+
Rails Assets
|
82
|
+
------------
|
83
|
+
|
84
|
+
Use recipe:
|
85
|
+
|
86
|
+
```ruby
|
87
|
+
use_recipe :bundle
|
88
|
+
```
|
89
|
+
|
90
|
+
Add callback to precompile assets after update:
|
91
|
+
|
92
|
+
```ruby
|
93
|
+
after 'deploy:update', 'deploy:assets:precompile'
|
94
|
+
```
|
95
|
+
|
81
96
|
Passenger
|
82
97
|
---------
|
83
98
|
|
data/capistrano-deploy.gemspec
CHANGED
data/spec/rails_assets_spec.rb
CHANGED
@@ -23,11 +23,6 @@ describe 'rails assets' do
|
|
23
23
|
cli_execute 'deploy:assets:precompile'
|
24
24
|
config.should have_run('cd /foo/bar && RAILS_ENV=production RAILS_GROUPS=assets bundle exec rake assets:precompile')
|
25
25
|
end
|
26
|
-
|
27
|
-
it 'is invoked after deploy:update' do
|
28
|
-
cli_execute 'deploy:update'
|
29
|
-
config.should have_executed('deploy:update', 'deploy:assets:precompile')
|
30
|
-
end
|
31
26
|
end
|
32
27
|
|
33
28
|
describe 'deploy:assets:clean' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
16
|
-
requirement: &
|
16
|
+
requirement: &2152294620 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 2.9.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152294620
|
25
25
|
description:
|
26
26
|
email:
|
27
27
|
- just.lest@gmail.com
|
@@ -73,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
73
73
|
version: '0'
|
74
74
|
segments:
|
75
75
|
- 0
|
76
|
-
hash: -
|
76
|
+
hash: -2795208972742122785
|
77
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
78
|
none: false
|
79
79
|
requirements:
|
@@ -82,10 +82,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
segments:
|
84
84
|
- 0
|
85
|
-
hash: -
|
85
|
+
hash: -2795208972742122785
|
86
86
|
requirements: []
|
87
87
|
rubyforge_project:
|
88
|
-
rubygems_version: 1.8.
|
88
|
+
rubygems_version: 1.8.11
|
89
89
|
signing_key:
|
90
90
|
specification_version: 3
|
91
91
|
summary: Capistrano deploy recipes
|