capistrano-passenger-restart 0.1.0 → 0.1.1
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/README.md +23 -11
- data/lib/capistrano/passenger/restart/version.rb +1 -1
- 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: 95490a637f7789da9ac4d739ad484f46645b3702
|
4
|
+
data.tar.gz: 03a6b27b1af65d0409488675f4b3cf034c6a3279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4432575e60cd2a67d20e4abe1895f2e0c607fc76f45a982142503448451d4961675d323145e2eef4b6f5b17fbbf9ea1bf4f506824234cd3e35c3467f81213182
|
7
|
+
data.tar.gz: 57436d521fa15ffe3b23aacdf19c800f818115b4cda029644dd63ed3dcc52b42ac91ab3726aceda9571533ffc881088e8c64e088a5ad571cc0c7e986440256d2
|
data/README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# Capistrano::Passenger::Restart
|
2
|
+
[](https://badge.fury.io/rb/capistrano-passenger-restart)
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
4
|
+
Restart Passenger support for Capistrano v3
|
6
5
|
|
7
6
|
## Installation
|
8
7
|
|
9
8
|
Add this line to your application's Gemfile:
|
10
9
|
|
11
10
|
```ruby
|
11
|
+
gem 'capistrano', '~> 3.0'
|
12
12
|
gem 'capistrano-passenger-restart'
|
13
13
|
```
|
14
14
|
|
@@ -16,19 +16,32 @@ And then execute:
|
|
16
16
|
|
17
17
|
$ bundle
|
18
18
|
|
19
|
-
|
19
|
+
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Require in Capfile to use the default task:
|
22
22
|
|
23
|
-
|
23
|
+
```ruby
|
24
|
+
# Capfile
|
25
|
+
require 'capistrano/passenger/restart'
|
26
|
+
```
|
24
27
|
|
25
|
-
|
28
|
+
Use task for restart Passenger in your deploy configuration:
|
26
29
|
|
27
|
-
|
30
|
+
```ruby
|
31
|
+
# config/deploy.rb
|
32
|
+
namespace :deploy do
|
33
|
+
after :finishing, :restart
|
34
|
+
|
35
|
+
task :restart do
|
36
|
+
on roles(:app) do
|
37
|
+
invoke 'passenger:restart'
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
```
|
28
42
|
|
29
|
-
|
43
|
+
And you should be good to go!
|
30
44
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
45
|
|
33
46
|
## Contributing
|
34
47
|
|
@@ -38,4 +51,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
|
|
38
51
|
## License
|
39
52
|
|
40
53
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-passenger-restart
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Bondarenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|