capistrano-precompile-chooser 0.9.2 → 0.9.3

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: '0879872757f63852889fbbb4979b116a54a0b01052a7790a28b8fb0bc3fe788c'
4
- data.tar.gz: 0c512f8404274f1cc5d772b95c20b43cf41b42dae9e3317a4bd15eec83e6831c
3
+ metadata.gz: 51564810b492521687802fbc70fcdd3d15eba7ca4faaf77335c8ee3a3bd04556
4
+ data.tar.gz: 672f46463e849e321a88808a6e7642766f63b02b51c6aef4080bd94153291fda
5
5
  SHA512:
6
- metadata.gz: e38d833ff3e4603da9fbf0110f9f3a93212bfdcee6dc16d02f5ce9f451499884ddb5f302360cb09442fc83170319ecc69710cf407587496ab0ccbe6b128756df
7
- data.tar.gz: 11a46d9a13375e09f3d78747b4f35e63e1de824fe8afbf4f9bcb2050ea2ec70a6d0660c630f684fb7f0dd4e1ab68f194248cc66060220af35a4bb5e214b6a51e
6
+ metadata.gz: 20739885e560c5a32e9220f24458206af598d4b0b26f5432f3afe6e8b32fb23fecdb8a8f31e49644da457c24526f8f5bee31d8754e85bdc3b37ceba100fdb3e6
7
+ data.tar.gz: 9e184cbebfaa963701c500394c9a2b2c01d1284dfaaa1ca62cc3342eaf77f60a2110244417b2b9d91e87bc934c93748bdc8d8ea24c824e66a1a900ea9af55c3c
data/CHANGELOG.md CHANGED
@@ -1,13 +1,16 @@
1
1
  CHANGELOG
2
2
  ---------
3
3
 
4
- - Unreleased
5
- * Nothing Yet
4
+ - Unreleased - [View Diff](https://github.com/westonganger/capistrano-precompile-chooser/compare/v0.9.3...master)
5
+ * Nothing yet
6
6
 
7
- - **0.9.2** - October 9, 2020
7
+ - **0.9.3** - Oct 21, 2024 - [View Diff](https://github.com/westonganger/capistrano-precompile-chooser/compare/v0.9.2...v0.9.3)
8
+ * Replace all usages of `Dir.exists?` with `Dir.exist?` for Ruby 3.2+ compatibility
9
+
10
+ - **0.9.2** - October 9, 2020 - [View Diff](https://github.com/westonganger/capistrano-precompile-chooser/compare/v0.9.1...v0.9.2)
8
11
  * Fix where ENV['PRECOMPILE_MODE'] was not working
9
12
 
10
- - **0.9.1** - August 19, 2020
13
+ - **0.9.1** - August 19, 2020 - [View Diff](https://github.com/westonganger/capistrano-precompile-chooser/compare/v0.9.1...v0.9.0)
11
14
  * Refractor plugin into `Capistrano::Plugin` format
12
15
 
13
16
  - **0.9.0** - August 19, 2020
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # Capistrano Precompile Chooser
2
2
 
3
3
  <a href="https://badge.fury.io/rb/capistrano-precompile-chooser" target="_blank"><img height="21" style='border:0px;height:21px;' border='0' src="https://badge.fury.io/rb/capistrano-precompile-chooser.svg" alt="Gem Version"></a>
4
- <a href='https://travis-ci.org/westonganger/capistrano-precompile-chooser' target='_blank'><img height='21' style='border:0px;height:21px;' src='https://travis-ci.org/westonganger/capistrano-precompile-chooser.svg?branch=master' border='0' alt='Build Status'></a>
5
- <a href='https://rubygems.org/gems/capistrano-precompile-chooser' target='_blank'><img height='21' style='border:0px;height:21px;' src='https://ruby-gem-downloads-badge.herokuapp.com/capistrano-precompile-chooser?label=rubygems&type=total&total_label=downloads&color=brightgreen' border='0' alt='RubyGems Downloads' /></a>
4
+ <a href='https://rubygems.org/gems/capistrano-precompile-chooser' target='_blank'><img height='21' style='border:0px;height:21px;' src='https://img.shields.io/gem/dt/capistrano-precompile-chooser?color=brightgreen&label=Rubygems%20Downloads' border='0' alt='RubyGems Downloads' /></a>
6
5
  <a href='https://ko-fi.com/A5071NK' target='_blank'><img height='22' style='border:0px;height:22px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=a' border='0' alt='Buy Me a Coffee'></a>
7
6
 
8
7
  Capistrano plugin to precompile your Rails assets locally, remotely, or not at all provided with a very convenient default terminal prompt.
@@ -73,7 +72,7 @@ ENV['PRECOMPILE_MODE'] = 'local'
73
72
  require 'capistrano/precompile_chooser'
74
73
  ```
75
74
 
76
- ## Configuration Options,
75
+ ## Configuration Options,
77
76
 
78
77
  ```ruby
79
78
  ### For Local Precompile Only
@@ -86,7 +85,3 @@ set :assets_role, "web"
86
85
  # Credits
87
86
 
88
87
  Created & Maintained by [Weston Ganger](https://westonganger.com) - [@westonganger](https://github.com/westonganger)
89
-
90
- For any consulting or contract work please contact me via my company website: [Solid Foundation Web Development](https://solidfoundationwebdev.com)
91
-
92
- [![Solid Foundation Web Development Logo](https://solidfoundationwebdev.com/logo-sm.png)](https://solidfoundationwebdev.com)
@@ -34,10 +34,10 @@ namespace :deploy do
34
34
  remote_shell = %(-e "ssh -p #{server.port}") if server.port
35
35
 
36
36
  commands = []
37
- commands << "#{fetch(:rsync_cmd)} #{remote_shell} ./#{fetch(:assets_dir)}/ #{server.user}@#{server.hostname}:#{release_path}/#{fetch(:assets_dir)}/" if Dir.exists?(fetch(:assets_dir))
38
- commands << "#{fetch(:rsync_cmd)} #{remote_shell} ./#{fetch(:packs_dir)}/ #{server.user}@#{server.hostname}:#{release_path}/#{fetch(:packs_dir)}/" if Dir.exists?(fetch(:packs_dir))
37
+ commands << "#{fetch(:rsync_cmd)} #{remote_shell} ./#{fetch(:assets_dir)}/ #{server.user}@#{server.hostname}:#{release_path}/#{fetch(:assets_dir)}/" if Dir.exist?(fetch(:assets_dir))
38
+ commands << "#{fetch(:rsync_cmd)} #{remote_shell} ./#{fetch(:packs_dir)}/ #{server.user}@#{server.hostname}:#{release_path}/#{fetch(:packs_dir)}/" if Dir.exist?(fetch(:packs_dir))
39
39
 
40
- commands.each do |command|
40
+ commands.each do |command|
41
41
  if dry_run?
42
42
  SSHKit.config.output.info command
43
43
  else
@@ -2,6 +2,6 @@ require "capistrano/plugin"
2
2
 
3
3
  module Capistrano
4
4
  class PrecompileChooser < Capistrano::Plugin
5
- VERSION = "0.9.2"
5
+ VERSION = "0.9.3".freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-precompile-chooser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Weston Ganger
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-09 00:00:00.000000000 Z
11
+ date: 2024-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -95,11 +95,10 @@ files:
95
95
  - lib/capistrano/precompile_chooser/local_precompile.rake
96
96
  - lib/capistrano/precompile_chooser/version.rb
97
97
  - lib/capistrano_precompile_chooser.rb
98
- - spec/spec_helper.rb
99
98
  homepage: https://github.com/westonganger/capistrano-precompile-chooser
100
99
  licenses: []
101
100
  metadata: {}
102
- post_install_message:
101
+ post_install_message:
103
102
  rdoc_options: []
104
103
  require_paths:
105
104
  - lib
@@ -114,10 +113,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
113
  - !ruby/object:Gem::Version
115
114
  version: '0'
116
115
  requirements: []
117
- rubygems_version: 3.1.2
118
- signing_key:
116
+ rubygems_version: 3.4.22
117
+ signing_key:
119
118
  specification_version: 4
120
119
  summary: Capistrano plugin to precompile your Rails assets locally, remotely, or not
121
120
  at all provided with a very convenient default terminal prompt.
122
- test_files:
123
- - spec/spec_helper.rb
121
+ test_files: []
data/spec/spec_helper.rb DELETED
@@ -1,14 +0,0 @@
1
- require 'rake'
2
- require 'rspec'
3
- require "capistrano/all"
4
- require "capistrano/precompile_chooser"
5
- require 'capistrano-spec'
6
-
7
- RSpec.configure do |config|
8
- config.include Capistrano::Spec::Matchers
9
- config.include Capistrano::Spec::Helpers
10
-
11
- config.expect_with(:rspec) do |c|
12
- c.syntax = [:should, :expect]
13
- end
14
- end