capistrano-maintenance 1.2.0 → 1.2.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 +5 -5
- data/CHANGELOG.md +7 -1
- data/README.md +3 -3
- data/lib/capistrano-maintenance/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 192b9dc6bc8240e33b194c91bedf6765a8f96724ad96205d52d1ccb4ecf919e2
|
|
4
|
+
data.tar.gz: b75f37c464e324b34942c62ffea788145df688006b7669212d15984a3878d377
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f40990952b8ab9ceee56547fdfbac602c3531aca5a51612b499d87fef4be5693a0ae72cf6400c9465fa52742bb6518520392c9eca3e54f832d927837a88e2b36
|
|
7
|
+
data.tar.gz: 4ac6dd512e51585e1e04824b072515eebe1dee678223e3be362822cde03dac455d6a1ab2f620432bab9c152ea697535b41132316dd679e99d664b90f58d11b21
|
data/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,16 @@ Reverse chronological order:
|
|
|
4
4
|
|
|
5
5
|
## master
|
|
6
6
|
|
|
7
|
-
https://github.com/capistrano/capistrano-maintenance/compare/v1.2.
|
|
7
|
+
https://github.com/capistrano/capistrano-maintenance/compare/v1.2.1...HEAD
|
|
8
8
|
|
|
9
9
|
* Your contribution here!
|
|
10
10
|
|
|
11
|
+
## `1.2.1` (2019-06-30)
|
|
12
|
+
|
|
13
|
+
https://github.com/capistrano/capistrano-maintenance/compare/v1.2.0...v1.2.1
|
|
14
|
+
|
|
15
|
+
* [#44](https://github.com/capistrano/maintenance/pull/44): Use the more standard `.html.erb` file extension in the README - [@phoet](https://github.com/phoet)
|
|
16
|
+
|
|
11
17
|
## `1.2.0` (2017-03-10)
|
|
12
18
|
|
|
13
19
|
https://github.com/capistrano/capistrano-maintenance/compare/v1.1.0...v1.2.0
|
data/README.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
Add this line to your application's Gemfile:
|
|
6
6
|
|
|
7
7
|
``` ruby
|
|
8
|
-
gem 'capistrano', '~> 3.
|
|
9
|
-
gem 'capistrano-maintenance', '~> 1.
|
|
8
|
+
gem 'capistrano', '~> 3.11'
|
|
9
|
+
gem 'capistrano-maintenance', '~> 1.2', require: false
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
And then execute:
|
|
@@ -92,7 +92,7 @@ You can use a different template for the maintenance page by setting the
|
|
|
92
92
|
`:maintenance_template_path` variable in your deploy.rb file with an absolute path.
|
|
93
93
|
|
|
94
94
|
```
|
|
95
|
-
set :maintenance_template_path, File.expand_path("../../app/path/to/maintenance.erb
|
|
95
|
+
set :maintenance_template_path, File.expand_path("../../app/path/to/maintenance.html.erb", __FILE__)
|
|
96
96
|
```
|
|
97
97
|
|
|
98
98
|
The template file should either be a plaintext or an erb file. For example:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-maintenance
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kir Shatrov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-06-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -105,8 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
105
105
|
- !ruby/object:Gem::Version
|
|
106
106
|
version: '0'
|
|
107
107
|
requirements: []
|
|
108
|
-
|
|
109
|
-
rubygems_version: 2.6.10
|
|
108
|
+
rubygems_version: 3.0.4
|
|
110
109
|
signing_key:
|
|
111
110
|
specification_version: 4
|
|
112
111
|
summary: Enable and disabled tasks to show when your project is on maintenance
|