capistrano-mb 0.35.0 → 0.35.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55e1b70a10d1db09657da35f125e013147707b3b0b880a4e7e59f3671d1af85a
4
- data.tar.gz: 5ef1afea14ef8993d708967112b0d9dba5f72b9b8bdb3db9a0246fd67e5fa029
3
+ metadata.gz: 94dcb2fc1731be708f9cbd31a04f2d30bd2098e88ba88400ffd6e5d83a5bb403
4
+ data.tar.gz: 4008203abe069f11b0e07cb301af39bde44d3da8afb3f09fc1f66648f2ad89bf
5
5
  SHA512:
6
- metadata.gz: f072babfa88923b1b2dd88d63ee7e659d3febd098361621affa8a64f5a96553ebf5dce42c344ba8cba74f596955efedf39b7cf9f5605106e04777de182d87aec
7
- data.tar.gz: e559f0b152dc54c33c517f9b8e0960ae56cbc8e32f920c827a16f86e91be42ce761b47cf5808d20b9ea1f8d3abfb56cbe3c1d4eafabcec8c81187563558b34dc
6
+ metadata.gz: 232a37af52bebf58ab15c399bbc9aca733fc9fe3805871bd872596d6d8acda0fef4b01e989257f0ae5972ab1ff4fef4826b1befc9cbc9f95ded4f695a0c6e92c
7
+ data.tar.gz: 12015ed59ef020ded146f6612b2023a5585d12ee9a310da0704e8249514e5d8f80a3005c0f6c8cf5b9a8381fa016887133534a912679737d8941f44483f494ca
@@ -0,0 +1,9 @@
1
+ workflow "Push" {
2
+ on = "push"
3
+ resolves = ["Draft Release"]
4
+ }
5
+
6
+ action "Draft Release" {
7
+ uses = "toolmantim/release-drafter@v5.1.1"
8
+ secrets = ["GITHUB_TOKEN"]
9
+ }
@@ -0,0 +1,17 @@
1
+ name-template: "$NEXT_PATCH_VERSION"
2
+ tag-template: "v$NEXT_PATCH_VERSION"
3
+ categories:
4
+ - title: "⚠️ Breaking Changes"
5
+ label: "⚠️ Breaking"
6
+ - title: "✨ New Features"
7
+ label: "✨ Feature"
8
+ - title: "🐛 Bug Fixes"
9
+ label: "🐛 Bug Fix"
10
+ - title: "📚 Documentation"
11
+ label: "📚 Docs"
12
+ - title: "🏠 Housekeeping"
13
+ label: "🏠 Housekeeping"
14
+ change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
15
+ no-changes-template: "- No changes"
16
+ template: |
17
+ $CHANGES
@@ -1,256 +1 @@
1
- ## [Unreleased][]
2
-
3
- * Your contribution here!
4
-
5
- ## [0.35.0][] (2018-09-03)
6
-
7
- * Update x-sendfile configuration so that it works with Sidekiq's assets
8
- * Move `dotenv:update` earlier in the deploy process so that new settings can be configured prior to the Rails app loading via `assets:precompile` or `db:migrate`
9
-
10
- ## [0.34.1][] (2018-07-08)
11
-
12
- * [#18](https://github.com/mattbrictson/capistrano-mb/pull/18): Use `tee` to fix a problem where certain provisioning steps would fail for a non-root user
13
-
14
- ## [0.34.0][] (2018-05-20)
15
-
16
- * Ubuntu 18.04 LTS is now supported
17
- * Remove unnecessary steps from `mb:rbenv:modify_bashrc`
18
- * Remove defunct `provision:12_04` and `provision:14_04` tasks
19
-
20
- ## [0.33.0][] (2017-12-29)
21
-
22
- * Remove the deprecated `fiftyfive` compatibility layer
23
- * Drop compatibility with older Ubuntu releases; now only Ubuntu 16.04 is supported via a single `provision` task
24
- * Remove dependencies on `ppa:pitti` and `ppa:chris-lea` for postgres and node.js, respectively; use the official Ubuntu releases instead
25
- * Replace init_d scripts with systemd configs
26
- * Completely remove delayed_job support
27
-
28
- ## [0.32.0][] (2017-05-26)
29
-
30
- * Add [immutable cache-control header](https://code.facebook.com/posts/557147474482256) to further boost performance of static assets
31
- * Prefer IPv4 when fetching apt repo keys
32
-
33
- ## [0.31.0][] (2016-10-14)
34
-
35
- * Ensure `software-properties-common` package is installed during `provision:14_04` so that `apt-add-repository` works.
36
- * Don't echo dotenv values for keys with `pepper` in the name.
37
- * Add `ntp` to the list of packages installed on all server roles.
38
- * Fix "Capistrano tasks may only be invoked once" warning when using `deploy:migrate_and_restart` with Sidekiq.
39
-
40
- ## [0.30.0][] (2016-08-30)
41
-
42
- * Change the hooks such that `mb:crontab` is run at the end of every deployment,
43
- rather than once during provisioning. This means that the crontab will now be
44
- regenerated and installed every time you `cap deploy`.
45
- * Fix a `NoMethodError` when showing certain compatibility warnings [#14](https://github.com/mattbrictson/capistrano-mb/issues/14)
46
-
47
- ## [0.29.0][] (2016-07-19)
48
-
49
- * Add `public/.well-known` to `:linked_dirs` to support Let's Encrypt renewals.
50
- * Fix recipe definition code so that Capistrano's `invoke` is not used
51
- redundantly. This is not a change in behavior, but it does fix a warning that
52
- is printed starting in Capistrano 3.6.0.
53
-
54
- ## [0.28.0][] (2016-05-13)
55
-
56
- * Add `--quiet` to the default `bundle install` flags
57
- * Enable SSH compression by default, now that zlib warning has been fixed in
58
- SSHKit 1.10.0
59
-
60
- ## [0.27.0][] (2016-02-19)
61
-
62
- * Symlink `.bundle` so that every release shares the same `.bundle/config`. This allows `bundle:check` to work, speeding up deployments when the Gemfile hasn't changed.
63
- * Work around a regression in capistrano-bundler so that the Bundler path stays the same. See [capistrano-bundler #79](https://github.com/capistrano/bundler/pull/79).
64
-
65
- ## [0.26.0][] (2016-01-08)
66
-
67
- * Remove `mb:postgresql:tune` task. The [pgtune](https://github.com/gregs1104/pgtune) tool no longer works with the latest versions of PostgresSQL.
68
- * Overhaul the `mb:rbenv:*` tasks.
69
- * Use the official rbenv-installer script
70
- * Install necessary dev packages via `mb:aptitude:install` rather than relying on an external (and outdated) script
71
- * Remove several unused rbenv plugins, keeping only: `ruby-build`, `rbenv-vars`, `rbenv-update`
72
- * Install plugins using our own code, rather than using external script
73
- * No longer install the `psych` gem
74
-
75
- ## [0.25.0][] (2015-10-09)
76
-
77
- * Add `X-Accel-Mapping` and appropriate NGINX configuration so that `send_file` used in a Rails controller is now accelerated using `X-Accel-Redirect`. For security this only works if the file being sent resides in the Rails app directory (e.g. `<rails_root>/tmp` or `<rails_root>/public`). This means `send_file` files will be served by NGINX natively, rather than through Rack.
78
-
79
- ## [0.24.0][] (2015-09-11)
80
-
81
- * Improve README with step-by-step installation instructions.
82
- * Expand the list of cipher suites used in the nginx SSL configuration. ([#7](https://github.com/mattbrictson/capistrano-mb/pull/7))
83
-
84
- ## [0.23.1][] (2015-08-08)
85
-
86
- * Ensure gzip is enable for all assets, not just fingerprinted ones.
87
-
88
- ## [0.23.0][] (2015-07-10)
89
-
90
- This release introduces a `bundler` recipe that automatically installs or upgrades bundler using `gem install bundler` during `cap deploy`. To disable this behavior:
91
-
92
- ```ruby
93
- set :mb_bundler_gem_install_command, nil
94
- ```
95
-
96
- Other changes:
97
-
98
- * No longer assume that the `colorize` gem is available (it may be removed in an upcoming version of SSHKit/capistrano).
99
-
100
- ## [0.22.2][] (2015-06-22)
101
-
102
- * For backwards compatibility with capistrano-fiftyfive, also search `lib/capistrano/fiftyfive/templates` for template files (the preferred location is `lib/capistrano/mb/templates`).
103
-
104
- ## [0.22.1][] (2015-06-22)
105
-
106
- * Remove "capistrano-fiftyfive has been renamed to capistrano-mb" post-install message.
107
-
108
- ## [0.22.0][] (2015-06-22)
109
-
110
- **THIS GEM HAS A NEW NAME! It is now `capistrano-mb`.**
111
-
112
- * All settings now use the `mb_` prefix. E.g. if you are using `set(:fiftyfive_recipies, ...)`, change it to `set(:mb_recipes, ...)`.
113
- * All tasks now use the `mb` namespace. E.g. `cap fiftyfive:crontab` is now `cap mb:crontab`.
114
- * For backwards compatibility, you can still use the `fiftyfive` versions, but a deprecation warning will be printed. This compatibility will be removed in capistrano-mb 1.0.
115
-
116
- ## [0.21.0][] (2015-06-22)
117
-
118
- * Add a post-install message explaining the rename of `capistrano-fiftyfive` to `capistrano-mb`.
119
-
120
- ## [0.20.1][] (2015-05-29)
121
-
122
- * An internal change in Capistrano 3.4.0 caused `fiftyfive:aptitude:install` to fail to install packages. This is now fixed.
123
-
124
- ## [0.20.0][] (2015-05-29)
125
-
126
- * Increase SSL/TLS security of the generated nginx configuration by following the suggestions of [weakdh.org](https://weakdh.org/sysadmin.html).
127
-
128
- ## [0.19.0][] (2015-04-10)
129
-
130
- * 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.
131
- * 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).
132
-
133
- ## [0.18.0][]
134
-
135
- * **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).
136
- * 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.
137
-
138
-
139
- ## [0.17.2][]
140
-
141
- * Default self-signed SSL certificate is now more generic (for real this time).
142
-
143
- ## [0.17.1][]
144
-
145
- * Cosmetic changes to the gemspec.
146
-
147
- ## [0.17.0][]
148
-
149
- * Write a banner message into `capistrano.log` at the start of each cap run, to aid in troubleshooting.
150
- * Default self-signed SSL certificate is now more generic.
151
-
152
- ## [0.16.0][]
153
-
154
- * capistrano-fiftyfive now requires capistrano >= 3.3.5 and sshkit => 1.6.1
155
- * `ask_secretly` has been removed in favor of Capistrano's built-in `ask ..., :echo => false`
156
- * `agree` no longer takes an optional second argument
157
- * highline dependency removed
158
- * Install libffi-dev so that Ruby 2.2.0 can be compiled
159
-
160
- ## [0.15.2][]
161
-
162
- * The capistrano-fiftyfive GitHub repository has changed: it is now <https://github.com/mattbrictson/capistrano-fiftyfive>.
163
-
164
- ## [0.15.1][]
165
-
166
- * Remove `-j4` bundler flag
167
-
168
- ## [0.15.0][]
169
-
170
- * Dump useful troubleshooting information when a deploy fails.
171
- * Nginx/unicorn: fix syntax errors introduced by changes in 0.14.0, ensuring that gzip and far-future expires headers are sent as expected.
172
-
173
- ## [0.14.0][]
174
-
175
- * The `highline` gem is now a dependency ([#3](https://github.com/mattbrictson/capistrano-fiftyfive/pull/3) from [@ahmozkya](https://github.com/ahmozkya)).
176
- * 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.
177
- * Dotenv: update `.env` files in sequence rather than in parallel, to avoid parallel command output clobbering the input prompt.
178
- * Nginx/unicorn: tweak reverse-proxy cache settings to prevent cache stampede.
179
- * Nginx/unicorn: apply far-future expires cache headers only for assets that have fingerprints.
180
-
181
- ## [0.13.0][]
182
-
183
- 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:
184
-
185
- ```ruby
186
- set :fiftyfive_privileged_user, "matt"
187
- ```
188
-
189
- Now all provisioning tasks that would normally run as root will instead run as `matt` using `sudo`.
190
-
191
- ## [0.12.0][]
192
-
193
- * 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).
194
- * The generated nginx config now enables reverse proxy caching by default.
195
- * INFO messages printed by sshkit are now printed to console under the appropriate rake task heading.
196
-
197
- ## [0.11.1][]
198
-
199
- 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.
200
-
201
- ## [0.11.0][]
202
-
203
- * INFO log messages are now included in abbreviated output (e.g. upload/download progress).
204
- * Add `agree()` method to the DSL, which delegates to `HighLine.new.agree`.
205
- * Add `fiftyfive:postgresql:dump`/`restore` tasks.
206
-
207
- ## [0.10.0][]
208
-
209
- Add support for Ubuntu 14.04 LTS. To provision a 14.04 server, use the new `provision:14_04` task.
210
-
211
- ## [0.9.1][]
212
-
213
- Flush console output after each line is printed. This allows deployment progress to be monitored in e.g. Jenkins.
214
-
215
- ## 0.9.0
216
-
217
- Initial Rubygems release!
218
-
219
- [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.35.0...HEAD
220
- [0.35.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.34.1...v0.35.0
221
- [0.34.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.34.0...v0.34.1
222
- [0.34.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.33.0...v0.34.0
223
- [0.33.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.32.0...v0.33.0
224
- [0.32.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.31.0...v0.32.0
225
- [0.31.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.30.0...v0.31.0
226
- [0.30.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.29.0...v0.30.0
227
- [0.29.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.28.0...v0.29.0
228
- [0.28.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.27.0...v0.28.0
229
- [0.27.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.26.0...v0.27.0
230
- [0.26.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.25.0...v0.26.0
231
- [0.25.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.24.0...v0.25.0
232
- [0.24.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.23.1...v0.24.0
233
- [0.23.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.23.0...v0.23.1
234
- [0.23.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.22.2...v0.23.0
235
- [0.22.2]: https://github.com/mattbrictson/capistrano-mb/compare/v0.22.1...v0.22.2
236
- [0.22.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.22.0...v0.22.1
237
- [0.22.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.21.0...v0.22.0
238
- [0.21.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.20.1...v0.21.0
239
- [0.20.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.20.0...v0.20.1
240
- [0.20.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.19.0...v0.20.0
241
- [0.19.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.18.0...v0.19.0
242
- [0.18.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.17.2...v0.18.0
243
- [0.17.2]: https://github.com/mattbrictson/capistrano-mb/compare/v0.17.1...v0.17.2
244
- [0.17.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.17.0...v0.17.1
245
- [0.17.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.16.0...v0.17.0
246
- [0.16.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.15.2...v0.16.0
247
- [0.15.2]: https://github.com/mattbrictson/capistrano-mb/compare/v0.15.1...v0.15.2
248
- [0.15.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.15.0...v0.15.1
249
- [0.15.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.14.0...v0.15.0
250
- [0.14.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.13.0...v0.14.0
251
- [0.13.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.12.0...v0.13.0
252
- [0.12.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.11.1...v0.12.0
253
- [0.11.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.11.0...v0.11.1
254
- [0.11.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.10.0...v0.11.0
255
- [0.10.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.9.1...v0.10.0
256
- [0.9.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.9.0...v0.9.1
1
+ Release notes for this project are kept here: https://github.com/mattbrictson/capistrano-mb/releases
@@ -1,4 +1,4 @@
1
- Copyright (c) 2018 Matt Brictson
1
+ Copyright (c) 2019 Matt Brictson
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -80,7 +80,7 @@ group :development do
80
80
  gem "capistrano-bundler", :require => false
81
81
  gem "capistrano-rails", :require => false
82
82
  gem "capistrano", "~> 3.10", :require => false
83
- gem "capistrano-mb", "~> 0.35.0" :require => false
83
+ gem "capistrano-mb", "~> 0.35.0", :require => false
84
84
  end
85
85
  ```
86
86
 
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  require "bundler/gem_tasks"
2
- require "chandler/tasks"
3
2
 
4
- # Add chandler as a prerequisite for `rake release`
5
- task "release:rubygem_push" => "chandler:push"
3
+ Rake::Task["release"].enhance do
4
+ puts "Don't forget to publish the release on GitHub!"
5
+ system "open https://github.com/mattbrictson/capistrano-mb/releases"
6
+ end
@@ -25,6 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency "sshkit", ">= 1.6.1"
26
26
 
27
27
  spec.add_development_dependency "bundler", "~> 1.3"
28
- spec.add_development_dependency "chandler"
29
28
  spec.add_development_dependency "rake"
30
29
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MB
3
- VERSION = "0.35.0".freeze
3
+ VERSION = "0.35.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-mb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.35.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-03 00:00:00.000000000 Z
11
+ date: 2019-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.3'
55
- - !ruby/object:Gem::Dependency
56
- name: chandler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rake
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -88,6 +74,8 @@ executables: []
88
74
  extensions: []
89
75
  extra_rdoc_files: []
90
76
  files:
77
+ - ".github/main.workflow"
78
+ - ".github/release-drafter.yml"
91
79
  - ".gitignore"
92
80
  - CHANGELOG.md
93
81
  - Gemfile
@@ -153,8 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
141
  - !ruby/object:Gem::Version
154
142
  version: '0'
155
143
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.7.7
144
+ rubygems_version: 3.0.4
158
145
  signing_key:
159
146
  specification_version: 4
160
147
  summary: Deploy Rails apps from scratch on Ubuntu