capistrano-rails 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/release-drafter.yml +17 -0
- data/.github/workflows/push.yml +14 -0
- data/CHANGELOG.md +1 -100
- data/Dangerfile +1 -1
- data/README.md +4 -1
- data/Rakefile +5 -0
- data/capistrano-rails.gemspec +3 -3
- data/lib/capistrano/tasks/migrations.rake +2 -1
- metadata +17 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf5fe872b93d5cc6d75a75eb8073a25641b7d7bbb634eddb0feb535f35f4920f
|
4
|
+
data.tar.gz: f830510ee60ff110c8f388a00c5274976feb9cafc29cbcce2f2bafd5dbcce88f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9112045c5ed9155ea46d66bf90abc8b88b28d8673b9a13af088e84335f0fe6cfc17e85f37d2969ab0453500dc76825bb22e6243c7401eeebf628e9501bd1b81c
|
7
|
+
data.tar.gz: cefd7a9cb603abccf1fad9c52d7cc2e09440770b888b8d9f2bafb2a83df55fff7257e1bed28c82fca33532a09b6bd57903e3668289a6d51b17345c961659627c
|
@@ -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
|
data/CHANGELOG.md
CHANGED
@@ -1,100 +1 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
* Your contribution here!
|
4
|
-
|
5
|
-
# [1.5.0][] (May 15 2020)
|
6
|
-
|
7
|
-
* Handle restore of multiple asset manifests on rollback ([#226](https://github.com/capistrano/rails/pull/226))
|
8
|
-
|
9
|
-
# [1.4.0][] (Jun 2 2018)
|
10
|
-
|
11
|
-
* Added option ':assets_manifests' to support custom manifest file path ([#216](https://github.com/capistrano/rails/pull/216))
|
12
|
-
|
13
|
-
# [1.3.1][] (Nov 21 2017)
|
14
|
-
|
15
|
-
This release simply adds the MIT license to the capistrano-rails gemspec. There are no code changes. See [#205](https://github.com/capistrano/rails/issues/205).
|
16
|
-
|
17
|
-
# [1.3.0][] (Jun 9 2017)
|
18
|
-
|
19
|
-
* rails_assets_groups config option to set RAILS_GROUPS (https://github.com/capistrano/rails/pull/135)
|
20
|
-
|
21
|
-
# [1.2.3][] (Mar 4 2017)
|
22
|
-
|
23
|
-
* [#200](https://github.com/capistrano/rails/pull/200): Don't link public/assets if public is already linked - [@mattbrictson](https://github.com/mattbrictson)
|
24
|
-
|
25
|
-
# [1.2.2][] (Jan 10 2017)
|
26
|
-
|
27
|
-
* Restored compatibility with older versions of Rake (< 11.0.0), introduced in previous change. (@toupeira)
|
28
|
-
|
29
|
-
# [1.2.1][] (Dec 23 2016)
|
30
|
-
|
31
|
-
* Diff db directory recursively
|
32
|
-
* Avoid warning while running migrations on multiple servers (#189)
|
33
|
-
|
34
|
-
# [1.2.0][] (Oct 25 2016)
|
35
|
-
|
36
|
-
* Diff entire db directory when determining if migrations are needed
|
37
|
-
|
38
|
-
# 1.1.8 (Sep 13 2016)
|
39
|
-
|
40
|
-
* Handle arrays passed into `normalize_asset_timestamps` correctly (#184)
|
41
|
-
|
42
|
-
# 1.1.7 (Jun 10 2016)
|
43
|
-
|
44
|
-
* call `Array#uniq` in `deploy:set_linked_dirs` task to remove duplicated :linked_dirs
|
45
|
-
* Add `migration_servers` configuration (#168)
|
46
|
-
|
47
|
-
# 1.1.6 (Jan 19 2016)
|
48
|
-
|
49
|
-
* Add `rake assets:clobber` task from Rails (#149)
|
50
|
-
* Make `assets:clean` capable with zsh (#150)
|
51
|
-
* Split `deploy:migrate` to allow for finer hook-control (#148)
|
52
|
-
* Fix for parsing ls output in detect_manifest_path (#133)
|
53
|
-
|
54
|
-
# 1.1.5 (Oct 15 2015)
|
55
|
-
|
56
|
-
* Disable `deploy:cleanup_assets` by default due to undesirable behavior in Rails 3. Use `set :keep_assets, 2` to explicitly enable this feature for Rails 4.
|
57
|
-
|
58
|
-
# 1.1.4 (Oct 10 2015)
|
59
|
-
|
60
|
-
* Fixing bug with normalize_assets typo #138
|
61
|
-
* Cleanup assets after:updated (#136)
|
62
|
-
* Fixed linked_dirs containing default value of assets_prefix (#125)
|
63
|
-
|
64
|
-
# 1.1.3 (Apr 18 2015)
|
65
|
-
|
66
|
-
* Fixed no_release behaviour (https://github.com/capistrano/rails/pull/95)
|
67
|
-
* Allow assets manifest backup with folder "manifests" (https://github.com/capistrano/rails/pull/92)
|
68
|
-
* Handle Sprocket 3 manifest filename
|
69
|
-
|
70
|
-
# 1.1.2 (Sep 1 2014)
|
71
|
-
|
72
|
-
* rails_env is set before deploy (https://github.com/capistrano/rails/pull/66)
|
73
|
-
* with `conditionally_migrate` option enabled you can skip `db:migrate` if there were no new migrations (https://github.com/capistrano/rails/pull/71)
|
74
|
-
* Allow early overriding of assets_* parameters (https://github.com/capistrano/rails/pull/73)
|
75
|
-
|
76
|
-
# 1.1.1
|
77
|
-
|
78
|
-
* New `asset_roles` options: https://github.com/capistrano/rails/pull/30
|
79
|
-
* normalized task spelling: 'deploy:normalise_assets' is now 'deploy:normalize_assets'
|
80
|
-
* depend on capistrano 3.1 to support multiple role arguments
|
81
|
-
|
82
|
-
# 1.1.0
|
83
|
-
|
84
|
-
* set rails_env even if capistrano-rails was required partly
|
85
|
-
* depend on capistrano-bundler
|
86
|
-
* require bundler with capistrano-rails/all
|
87
|
-
|
88
|
-
# 1.0.0
|
89
|
-
|
90
|
-
Initial release
|
91
|
-
|
92
|
-
[master]: https://github.com/capistrano/rails/compare/v1.5.0...HEAD
|
93
|
-
[1.5.0]: https://github.com/capistrano/rails/compare/v1.4.0...v1.5.0
|
94
|
-
[1.4.0]: https://github.com/capistrano/rails/compare/v1.3.1...v1.4.0
|
95
|
-
[1.3.1]: https://github.com/capistrano/rails/compare/v1.3.0...v1.3.1
|
96
|
-
[1.3.0]: https://github.com/capistrano/rails/compare/v1.2.3...v1.3.0
|
97
|
-
[1.2.3]: https://github.com/capistrano/rails/compare/v1.2.2...v1.2.3
|
98
|
-
[1.2.2]: https://github.com/capistrano/rails/compare/v1.2.1...v1.2.2
|
99
|
-
[1.2.1]: https://github.com/capistrano/rails/compare/v1.2.0...v1.2.1
|
100
|
-
[1.2.0]: https://github.com/capistrano/rails/compare/v1.1.8...v1.2.0
|
1
|
+
Release notes for this project are kept here: https://github.com/capistrano/rails/releases
|
data/Dangerfile
CHANGED
@@ -1 +1 @@
|
|
1
|
-
danger.import_dangerfile(github: "capistrano/danger")
|
1
|
+
danger.import_dangerfile(github: "capistrano/danger", branch: "no-changelog")
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Add these Capistrano gems to your application's Gemfile using `require: false`:
|
|
12
12
|
```ruby
|
13
13
|
group :development do
|
14
14
|
gem "capistrano", "~> 3.10", require: false
|
15
|
-
gem "capistrano-rails", "~> 1.
|
15
|
+
gem "capistrano-rails", "~> 1.6", require: false
|
16
16
|
end
|
17
17
|
```
|
18
18
|
|
@@ -60,6 +60,9 @@ set :migration_role, :db
|
|
60
60
|
# Defaults to the primary :db server
|
61
61
|
set :migration_servers, -> { primary(fetch(:migration_role)) }
|
62
62
|
|
63
|
+
# Defaults to `db:migrate`
|
64
|
+
set :migration_command, 'db:migrate'
|
65
|
+
|
63
66
|
# Defaults to false
|
64
67
|
# Skip migration if files in db/migrate were not modified
|
65
68
|
set :conditionally_migrate, true
|
data/Rakefile
CHANGED
data/capistrano-rails.gemspec
CHANGED
@@ -4,14 +4,14 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "capistrano-rails"
|
7
|
-
gem.version = '1.
|
7
|
+
gem.version = '1.6.0'
|
8
8
|
gem.authors = ["Tom Clements", "Lee Hambley", "Kir Shatrov"]
|
9
9
|
gem.email = ["seenmyfate@gmail.com", "lee.hambley@gmail.com", "shatrov@me.com"]
|
10
10
|
gem.description = %q{Rails specific Capistrano tasks}
|
11
11
|
gem.summary = %q{Rails specific Capistrano tasks}
|
12
12
|
gem.homepage = "https://github.com/capistrano/rails"
|
13
13
|
gem.metadata = {
|
14
|
-
"changelog_uri" => "https://github.com/capistrano/rails/
|
14
|
+
"changelog_uri" => "https://github.com/capistrano/rails/releases"
|
15
15
|
}
|
16
16
|
|
17
17
|
gem.licenses = ["MIT"]
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.require_paths = ["lib"]
|
22
22
|
|
23
23
|
gem.add_dependency 'capistrano', '~> 3.1'
|
24
|
-
gem.add_dependency 'capistrano-bundler', '
|
24
|
+
gem.add_dependency 'capistrano-bundler', '>= 1.1', '< 3'
|
25
25
|
|
26
26
|
gem.add_development_dependency 'danger'
|
27
27
|
end
|
@@ -22,7 +22,7 @@ namespace :deploy do
|
|
22
22
|
on fetch(:migration_servers) do
|
23
23
|
within release_path do
|
24
24
|
with rails_env: fetch(:rails_env) do
|
25
|
-
execute :rake,
|
25
|
+
execute :rake, fetch(:migration_command)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -36,5 +36,6 @@ namespace :load do
|
|
36
36
|
set :conditionally_migrate, fetch(:conditionally_migrate, false)
|
37
37
|
set :migration_role, fetch(:migration_role, :db)
|
38
38
|
set :migration_servers, -> { primary(fetch(:migration_role)) }
|
39
|
+
set :migration_command, -> { fetch(:migration_command, 'db:migrate') }
|
39
40
|
end
|
40
41
|
end
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Clements
|
8
8
|
- Lee Hambley
|
9
9
|
- Kir Shatrov
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-07-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capistrano
|
@@ -30,16 +30,22 @@ dependencies:
|
|
30
30
|
name: capistrano-bundler
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - "
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '1.1'
|
36
|
+
- - "<"
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '3'
|
36
39
|
type: :runtime
|
37
40
|
prerelease: false
|
38
41
|
version_requirements: !ruby/object:Gem::Requirement
|
39
42
|
requirements:
|
40
|
-
- - "
|
43
|
+
- - ">="
|
41
44
|
- !ruby/object:Gem::Version
|
42
45
|
version: '1.1'
|
46
|
+
- - "<"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '3'
|
43
49
|
- !ruby/object:Gem::Dependency
|
44
50
|
name: danger
|
45
51
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,6 +71,8 @@ extra_rdoc_files: []
|
|
65
71
|
files:
|
66
72
|
- ".github/issue_template.md"
|
67
73
|
- ".github/pull_request_template.md"
|
74
|
+
- ".github/release-drafter.yml"
|
75
|
+
- ".github/workflows/push.yml"
|
68
76
|
- ".gitignore"
|
69
77
|
- ".travis.yml"
|
70
78
|
- CHANGELOG.md
|
@@ -85,8 +93,8 @@ homepage: https://github.com/capistrano/rails
|
|
85
93
|
licenses:
|
86
94
|
- MIT
|
87
95
|
metadata:
|
88
|
-
changelog_uri: https://github.com/capistrano/rails/
|
89
|
-
post_install_message:
|
96
|
+
changelog_uri: https://github.com/capistrano/rails/releases
|
97
|
+
post_install_message:
|
90
98
|
rdoc_options: []
|
91
99
|
require_paths:
|
92
100
|
- lib
|
@@ -101,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
109
|
- !ruby/object:Gem::Version
|
102
110
|
version: '0'
|
103
111
|
requirements: []
|
104
|
-
rubygems_version: 3.1.
|
105
|
-
signing_key:
|
112
|
+
rubygems_version: 3.1.4
|
113
|
+
signing_key:
|
106
114
|
specification_version: 4
|
107
115
|
summary: Rails specific Capistrano tasks
|
108
116
|
test_files: []
|