capistrano-fiftyfive 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -17
- data/capistrano-fiftyfive.gemspec +3 -3
- data/lib/capistrano/fiftyfive/version.rb +1 -1
- data/lib/capistrano/tasks/defaults.rake +1 -1
- data/lib/capistrano/tasks/dotenv.rake +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af395799f454e43548f4178ab79587ad4276f2be
|
4
|
+
data.tar.gz: a297ed433f6b58783b1e8dcd28e2d65f024d6ba2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27f2eea48feaacf5f573e4eae795a091827e5bd3fc4a25abfaca281ca46a7ef43e84b77d29cf2ceaf04be4c86c1c070492f93627afcd64d078c1554384430caf
|
7
|
+
data.tar.gz: 13a5935b343753306a143189bae548032b1857d17565b898a9495fa75903b5a477615cc61a3b5c05e9b4997e4dc0afafe50212c9c3ad90666f70fc5097161c61
|
data/CHANGELOG.md
CHANGED
@@ -1,25 +1,32 @@
|
|
1
|
-
|
1
|
+
## Next release
|
2
2
|
|
3
|
-
|
3
|
+
* Your contribution here!
|
4
|
+
|
5
|
+
## 0.19.0 (2015-04-10)
|
6
|
+
|
7
|
+
* Add `--retry=3` to bundle install options. This will help prevent deployment failures in case that a gem initially fails to download during the `bundle install` step.
|
8
|
+
* Ensure that `--dry-run` works without crashing. This involved working around Capistrano's `download!` behavior (it returns a String normally, but an entirely different object during a dry run).
|
9
|
+
|
10
|
+
## 0.18.0
|
4
11
|
|
5
12
|
* **The abbreviated log formatter has been removed and is now available in a new gem: `airbrussh`.** With this change, capistrano-fiftyfive no longer automatically changes the logging format of capistrano. To opt into the prettier, more concise format, add the airbrussh gem to your project as explained in the [airbrussh README](https://github.com/mattbrictson/airbrussh#readme).
|
6
13
|
* The version initializer that capistrano-fiftyfive adds during deployment sets a new value: `Rails.application.config.version_time`. You can use this value within your app for the date and time of the last commit that produced the version that is currently deployed.
|
7
14
|
|
8
15
|
|
9
|
-
##
|
16
|
+
## 0.17.2
|
10
17
|
|
11
18
|
* Default self-signed SSL certificate is now more generic (for real this time).
|
12
19
|
|
13
|
-
##
|
20
|
+
## 0.17.1
|
14
21
|
|
15
22
|
* Cosmetic changes to the gemspec.
|
16
23
|
|
17
|
-
##
|
24
|
+
## 0.17.0
|
18
25
|
|
19
26
|
* Write a banner message into `capistrano.log` at the start of each cap run, to aid in troubleshooting.
|
20
27
|
* Default self-signed SSL certificate is now more generic.
|
21
28
|
|
22
|
-
##
|
29
|
+
## 0.16.0
|
23
30
|
|
24
31
|
* capistrano-fiftyfive now requires capistrano >= 3.3.5 and sshkit => 1.6.1
|
25
32
|
* `ask_secretly` has been removed in favor of Capistrano's built-in `ask ..., :echo => false`
|
@@ -27,20 +34,20 @@
|
|
27
34
|
* highline dependency removed
|
28
35
|
* Install libffi-dev so that Ruby 2.2.0 can be compiled
|
29
36
|
|
30
|
-
##
|
37
|
+
## 0.15.2
|
31
38
|
|
32
39
|
* The capistrano-fiftyfive GitHub repository has changed: it is now <https://github.com/mattbrictson/capistrano-fiftyfive>.
|
33
40
|
|
34
|
-
##
|
41
|
+
## 0.15.1
|
35
42
|
|
36
43
|
* Remove `-j4` bundler flag
|
37
44
|
|
38
|
-
##
|
45
|
+
## 0.15.0
|
39
46
|
|
40
47
|
* Dump useful troubleshooting information when a deploy fails.
|
41
48
|
* Nginx/unicorn: fix syntax errors introduced by changes in 0.14.0, ensuring that gzip and far-future expires headers are sent as expected.
|
42
49
|
|
43
|
-
##
|
50
|
+
## 0.14.0
|
44
51
|
|
45
52
|
* The `highline` gem is now a dependency ([#3](https://github.com/mattbrictson/capistrano-fiftyfive/pull/3) from [@ahmozkya](https://github.com/ahmozkya)).
|
46
53
|
* Dotenv: only mask input when prompting for keys containing the words "key", "secret", "token", or "password". Input for other keys is echoed for easier data entry.
|
@@ -48,7 +55,7 @@
|
|
48
55
|
* Nginx/unicorn: tweak reverse-proxy cache settings to prevent cache stampede.
|
49
56
|
* Nginx/unicorn: apply far-future expires cache headers only for assets that have fingerprints.
|
50
57
|
|
51
|
-
##
|
58
|
+
## 0.13.0
|
52
59
|
|
53
60
|
The provisioning tasks now work for a non-root user that has password-less sudo privileges. Assuming a user named `matt` that can sudo without being prompted for a password ([instructions here](http://askubuntu.com/questions/192050/how-to-run-sudo-command-with-no-password)), simply modify `deploy.rb` with:
|
54
61
|
|
@@ -58,30 +65,30 @@ set :fiftyfive_privileged_user, "matt"
|
|
58
65
|
|
59
66
|
Now all provisioning tasks that would normally run as root will instead run as `matt` using `sudo`.
|
60
67
|
|
61
|
-
##
|
68
|
+
## 0.12.0
|
62
69
|
|
63
70
|
* capistrano-fiftyfive's abbreviated format now honors the new `SSHKIT_COLOR` environment variable. Set `SSHKIT_COLOR=1` to force ANSI color even on non-ttys (e.g. Jenkins).
|
64
71
|
* The generated nginx config now enables reverse proxy caching by default.
|
65
72
|
* INFO messages printed by sshkit are now printed to console under the appropriate rake task heading.
|
66
73
|
|
67
|
-
##
|
74
|
+
## 0.11.1
|
68
75
|
|
69
76
|
Fixes errors caused by PostgreSQL password containing shell-unsafe characters. Passwords are now safely hashed with MD5 before being used in the `CREATE USER` command.
|
70
77
|
|
71
|
-
##
|
78
|
+
## 0.11.0
|
72
79
|
|
73
80
|
* INFO log messages are now included in abbreviated output (e.g. upload/download progress).
|
74
81
|
* Add `agree()` method to the DSL, which delegates to `HighLine.new.agree`.
|
75
82
|
* Add `fiftyfive:postgresql:dump`/`restore` tasks.
|
76
83
|
|
77
|
-
##
|
84
|
+
## 0.10.0
|
78
85
|
|
79
86
|
Add support for Ubuntu 14.04 LTS. To provision a 14.04 server, use the new `provision:14_04` task.
|
80
87
|
|
81
|
-
##
|
88
|
+
## 0.9.1
|
82
89
|
|
83
90
|
Flush console output after each line is printed. This allows deployment progress to be monitored in e.g. Jenkins.
|
84
91
|
|
85
|
-
##
|
92
|
+
## 0.9.0
|
86
93
|
|
87
94
|
Initial Rubygems release!
|
@@ -9,9 +9,9 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.author = "Matt Brictson"
|
10
10
|
spec.email = "matt@mattbrictson.com"
|
11
11
|
spec.description = \
|
12
|
-
"
|
13
|
-
"
|
14
|
-
"PostgreSQL,
|
12
|
+
"Production-ready provisioning and deployment recipes for the full "\
|
13
|
+
"Rails 4 stack. Installs and configures Ruby, Nginx, Unicorn, "\
|
14
|
+
"PostgreSQL, dotenv, and more onto Ubuntu 14.04 LTS using Capistrano."
|
15
15
|
spec.summary = "Additional Capistrano 3 recipes"
|
16
16
|
spec.homepage = "https://github.com/mattbrictson/capistrano-fiftyfive"
|
17
17
|
spec.license = "MIT"
|
@@ -92,7 +92,7 @@ namespace :load do
|
|
92
92
|
set :fiftyfive_unicorn_pid, proc{ "#{current_path}/tmp/pids/unicorn.pid" }
|
93
93
|
|
94
94
|
set :bundle_binstubs, false
|
95
|
-
set :bundle_flags,
|
95
|
+
set :bundle_flags, "--deployment --retry=3"
|
96
96
|
set :deploy_to, -> { "/home/deployer/apps/#{fetch(:application)}" }
|
97
97
|
set :keep_releases, 10
|
98
98
|
set :linked_dirs, -> {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-fiftyfive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -66,9 +66,9 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description:
|
70
|
-
|
71
|
-
|
69
|
+
description: Production-ready provisioning and deployment recipes for the full Rails
|
70
|
+
4 stack. Installs and configures Ruby, Nginx, Unicorn, PostgreSQL, dotenv, and more
|
71
|
+
onto Ubuntu 14.04 LTS using Capistrano.
|
72
72
|
email: matt@mattbrictson.com
|
73
73
|
executables: []
|
74
74
|
extensions: []
|