capistrano-rails 1.6.2 → 1.7.0

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: ebebb5039f1e35f8896281d75067e2c47b1074c00be05f15d0ee5b35c3b23b1f
4
- data.tar.gz: 74ff2d75adbad972666ddd1ba1506cf83d6e252f3f05a9741a7d4b6a4b47d553
3
+ metadata.gz: 88249a7760356e03f576fb7b75d5f2b1d432ad7581abd3bbf6eaad879dda4514
4
+ data.tar.gz: 0051d965f93808796d9e6930ec93ebe83cfe7a2c3d5fb80c5294acc25ed66dcf
5
5
  SHA512:
6
- metadata.gz: bcfd13b714ad1be19b37ee1d785b574533bdf895bfc1ebe5e849dd4b896869284becbc8cd2675f7861c16c8de49260bc1efec16e6bc7ae46f88256b1224b8485
7
- data.tar.gz: 6c3c3c35bd3747d89b7182c0021ce591f03db621a39c2d6823f32126be0a0c03038b4c473a282d6e9e841a208e9997c60aa44c084e0333f5a22f911e352dbe4d
6
+ metadata.gz: 6455b23cb5569fd2146935597edcd3a34026ab95025153cdfca86da946996601e720ec4b919b544961d6f03989c2683cb53f2a98ed882cdea57fb98b53a49b7e
7
+ data.tar.gz: ac5990e110ed164965a82db2f8d35ca76bc8d6e55423b3229b96caa9e5490697e76084a67350f18827e61f90d793cce27322fb47caf9ea955c0bca9ab0b57adb
data/README.md CHANGED
@@ -74,7 +74,7 @@ set :assets_roles, [:web, :app]
74
74
  # This should match config.assets.prefix in your rails config/application.rb
75
75
  set :assets_prefix, 'prepackaged-assets'
76
76
 
77
- # Defaults to ["/path/to/release_path/public/#{fetch(:assets_prefix)}/.sprockets-manifest*", "/path/to/release_path/public/#{fetch(:assets_prefix)}/manifest*.*"]
77
+ # Defaults to ["/path/to/release_path/public/#{fetch(:assets_prefix)}/.sprockets-manifest*", "/path/to/release_path/public/#{fetch(:assets_prefix)}/manifest*.*", "/path/to/release_path/public/#{fetch(:assets_prefix)}/.manifest.json"]
78
78
  # This should match config.assets.manifest in your rails config/application.rb
79
79
  set :assets_manifests, ['app/assets/config/manifest.js']
80
80
 
@@ -126,7 +126,7 @@ append :linked_files, "config/master.key"
126
126
  namespace :deploy do
127
127
  namespace :check do
128
128
  before :linked_files, :set_master_key do
129
- on roles(:app), in: :sequence, wait: 10 do
129
+ on roles(:app) do
130
130
  unless test("[ -f #{shared_path}/config/master.key ]")
131
131
  upload! 'config/master.key', "#{shared_path}/config/master.key"
132
132
  end
@@ -4,7 +4,7 @@ $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.6.2'
7
+ gem.version = '1.7.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}
@@ -136,9 +136,10 @@ namespace :load do
136
136
  set :assets_roles, fetch(:assets_roles, [:web])
137
137
  set :assets_prefix, fetch(:assets_prefix, 'assets')
138
138
  set :assets_manifests, -> {
139
- %w[.sprockets-manifest* manifest*.*].map do |pattern|
139
+ %w[.sprockets-manifest* manifest*.* .manifest.json].map do |pattern|
140
140
  release_path.join("public", fetch(:assets_prefix), pattern)
141
141
  end
142
142
  }
143
+ set :keep_assets, nil
143
144
  end
144
145
  end
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Clements
8
8
  - Lee Hambley
9
9
  - Kir Shatrov
10
- autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2022-02-20 00:00:00.000000000 Z
12
+ date: 2024-12-30 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: capistrano
@@ -94,7 +93,6 @@ licenses:
94
93
  - MIT
95
94
  metadata:
96
95
  changelog_uri: https://github.com/capistrano/rails/releases
97
- post_install_message:
98
96
  rdoc_options: []
99
97
  require_paths:
100
98
  - lib
@@ -109,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
107
  - !ruby/object:Gem::Version
110
108
  version: '0'
111
109
  requirements: []
112
- rubygems_version: 3.3.7
113
- signing_key:
110
+ rubygems_version: 3.6.2
114
111
  specification_version: 4
115
112
  summary: Rails specific Capistrano tasks
116
113
  test_files: []