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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffd897eb6b668f60d4610627fcf7bb456476f31d
4
- data.tar.gz: d639e21894968d79f1696948b8f41d7bbc470932
3
+ metadata.gz: af395799f454e43548f4178ab79587ad4276f2be
4
+ data.tar.gz: a297ed433f6b58783b1e8dcd28e2d65f024d6ba2
5
5
  SHA512:
6
- metadata.gz: 22d68303c1bf01dd10c8910a41f60fca9cad374f3adb7ecf85078239e6fb6a2f7ece4fa65d2347f9680d77c6753e8c88b97b32f60e54b3760b5859fad102b8a5
7
- data.tar.gz: 5365ed52ed3fb991cf7bf6c53e857e25d081c5c322a8e7843b888d5c3f5fd6ebe0fd7189df2ce541957caa10b7bef6ebfa504ad0e064387193a533f2d0c785b9
6
+ metadata.gz: 27f2eea48feaacf5f573e4eae795a091827e5bd3fc4a25abfaca281ca46a7ef43e84b77d29cf2ceaf04be4c86c1c070492f93627afcd64d078c1554384430caf
7
+ data.tar.gz: 13a5935b343753306a143189bae548032b1857d17565b898a9495fa75903b5a477615cc61a3b5c05e9b4997e4dc0afafe50212c9c3ad90666f70fc5097161c61
data/CHANGELOG.md CHANGED
@@ -1,25 +1,32 @@
1
- # capistrano-fiftyfive Changelog
1
+ ## Next release
2
2
 
3
- ## `0.18.0`
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
- ## `0.17.2`
16
+ ## 0.17.2
10
17
 
11
18
  * Default self-signed SSL certificate is now more generic (for real this time).
12
19
 
13
- ## `0.17.1`
20
+ ## 0.17.1
14
21
 
15
22
  * Cosmetic changes to the gemspec.
16
23
 
17
- ## `0.17.0`
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
- ## `0.16.0`
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
- ## `0.15.2`
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
- ## `0.15.1`
41
+ ## 0.15.1
35
42
 
36
43
  * Remove `-j4` bundler flag
37
44
 
38
- ## `0.15.0`
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
- ## `0.14.0`
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
- ## `0.13.0`
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
- ## `0.12.0`
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
- ## `0.11.1`
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
- ## `0.11.0`
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
- ## `0.10.0`
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
- ## `0.9.1`
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
- ## `0.9.0`
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
- "A broad selection of Capistrano 3 tasks used to standardize server "\
13
- "provisioning and Rails deployments. Tailored for Ubuntu 12.04/14.04 LTS, "\
14
- "PostgreSQL, Nginx, Unicorn, rbenv, dotenv, and Rails 3/4."
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"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Fiftyfive
3
- VERSION = "0.18.0"
3
+ VERSION = "0.19.0"
4
4
  end
5
5
  end
@@ -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, '--deployment'
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, -> {
@@ -22,7 +22,7 @@ namespace :fiftyfive do
22
22
  existing_env = if test("[ -f #{shared_dotenv_path} ]")
23
23
  download!(shared_dotenv_path)
24
24
  end
25
- update_dotenv_file(existing_env || "")
25
+ update_dotenv_file(existing_env.is_a?(String) ? existing_env : "")
26
26
  end
27
27
  end
28
28
 
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.18.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-02-20 00:00:00.000000000 Z
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: A broad selection of Capistrano 3 tasks used to standardize server provisioning
70
- and Rails deployments. Tailored for Ubuntu 12.04/14.04 LTS, PostgreSQL, Nginx, Unicorn,
71
- rbenv, dotenv, and Rails 3/4.
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: []