airbrussh 1.5.1 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/airbrussh/console.rb +1 -1
- data/lib/airbrussh/version.rb +1 -1
- metadata +3 -19
- data/.circleci/config.yml +0 -136
- data/.github/release-drafter.yml +0 -25
- data/.github/workflows/push.yml +0 -12
- data/.gitignore +0 -15
- data/.rubocop.yml +0 -49
- data/CHANGELOG.md +0 -1
- data/CODE_OF_CONDUCT.md +0 -31
- data/CONTRIBUTING.md +0 -31
- data/Gemfile +0 -59
- data/Guardfile +0 -6
- data/Rakefile +0 -21
- data/UPGRADING-CAP-3.5.md +0 -48
- data/airbrussh.gemspec +0 -37
- data/appveyor.yml +0 -11
- data/bin/console +0 -14
- data/bin/setup +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee5403319a549618d51a517002cdf466a898819571db60919226dbbfb4fef48b
|
4
|
+
data.tar.gz: 6ce2490aa30f9a006b55f0172346d5f70607dc27350cec8d5e67634361bcb3a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 965d4b36f1f007ae356a91ed1f6751c7d3d3f06481564ff1c221ca751e5587ffe990ea95be3c0af6baea9864c6333f18fb5c06e20ded2f92c5b7b752db9c1adf
|
7
|
+
data.tar.gz: 0bfd9deaecd3f7beef8a4a8584e398ee9d96e2912e2153cd34e3a4162e9db309da4325a7a7907a01765d0ea8c96b02d7935f089dfd76549c72b52a586644edd1
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Airbrussh
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/airbrussh.svg)](http://badge.fury.io/rb/airbrussh)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://github.com/mattbrictson/airbrussh/actions/workflows/ci.yml/badge.svg)](https://github.com/mattbrictson/airbrussh/actions/workflows/ci.yml)
|
5
5
|
[![Build status](https://ci.appveyor.com/api/projects/status/h052rlq54sne3md6/branch/main?svg=true)](https://ci.appveyor.com/project/mattbrictson/airbrussh/branch/main)
|
6
6
|
[![Code Climate](https://codeclimate.com/github/mattbrictson/airbrussh/badges/gpa.svg)](https://codeclimate.com/github/mattbrictson/airbrussh)
|
7
7
|
[![Coverage Status](https://coveralls.io/repos/mattbrictson/airbrussh/badge.svg?branch=main)](https://coveralls.io/r/mattbrictson/airbrussh?branch=main)
|
data/lib/airbrussh/console.rb
CHANGED
data/lib/airbrussh/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrussh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sshkit
|
@@ -109,24 +109,8 @@ executables: []
|
|
109
109
|
extensions: []
|
110
110
|
extra_rdoc_files: []
|
111
111
|
files:
|
112
|
-
- ".circleci/config.yml"
|
113
|
-
- ".github/release-drafter.yml"
|
114
|
-
- ".github/workflows/push.yml"
|
115
|
-
- ".gitignore"
|
116
|
-
- ".rubocop.yml"
|
117
|
-
- CHANGELOG.md
|
118
|
-
- CODE_OF_CONDUCT.md
|
119
|
-
- CONTRIBUTING.md
|
120
|
-
- Gemfile
|
121
|
-
- Guardfile
|
122
112
|
- LICENSE.txt
|
123
113
|
- README.md
|
124
|
-
- Rakefile
|
125
|
-
- UPGRADING-CAP-3.5.md
|
126
|
-
- airbrussh.gemspec
|
127
|
-
- appveyor.yml
|
128
|
-
- bin/console
|
129
|
-
- bin/setup
|
130
114
|
- lib/airbrussh.rb
|
131
115
|
- lib/airbrussh/capistrano.rb
|
132
116
|
- lib/airbrussh/capistrano/tasks.rb
|
@@ -164,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
148
|
- !ruby/object:Gem::Version
|
165
149
|
version: '0'
|
166
150
|
requirements: []
|
167
|
-
rubygems_version: 3.5.
|
151
|
+
rubygems_version: 3.5.18
|
168
152
|
signing_key:
|
169
153
|
specification_version: 4
|
170
154
|
summary: Airbrussh pretties up your SSHKit and Capistrano output
|
data/.circleci/config.yml
DELETED
@@ -1,136 +0,0 @@
|
|
1
|
-
version: 2.1
|
2
|
-
|
3
|
-
executors:
|
4
|
-
ruby:
|
5
|
-
parameters:
|
6
|
-
version:
|
7
|
-
description: "Ruby version number"
|
8
|
-
default: "3.3"
|
9
|
-
type: string
|
10
|
-
docker:
|
11
|
-
- image: ruby:<< parameters.version >>
|
12
|
-
environment:
|
13
|
-
MT_COMPAT: "1" # Allows old versions of mocha gem to work with minitest
|
14
|
-
|
15
|
-
commands:
|
16
|
-
bundle_install:
|
17
|
-
description: Install Ruby dependencies with Bundler
|
18
|
-
parameters:
|
19
|
-
key:
|
20
|
-
description: "Cache key"
|
21
|
-
default: "3.3"
|
22
|
-
type: string
|
23
|
-
steps:
|
24
|
-
- restore_cache:
|
25
|
-
keys:
|
26
|
-
- bundle-v1-{{ arch }}-<< parameters.key >>
|
27
|
-
- run:
|
28
|
-
name: Install Ruby Dependencies
|
29
|
-
command: |
|
30
|
-
gem install bundler --conservative --no-document || \
|
31
|
-
gem install rubygems-update -v '<3' && update_rubygems && gem install bundler -v '<2' --no-document
|
32
|
-
bundle config --local path vendor/bundle
|
33
|
-
bundle check || (bundle install --jobs=4 --retry=3 && bundle clean)
|
34
|
-
- save_cache:
|
35
|
-
paths:
|
36
|
-
- ./vendor/bundle
|
37
|
-
key: bundle-v1-{{ arch }}-<< parameters.key >>-{{ checksum "Gemfile.lock" }}
|
38
|
-
|
39
|
-
jobs:
|
40
|
-
rubocop:
|
41
|
-
executor:
|
42
|
-
name: ruby
|
43
|
-
version: "2.7"
|
44
|
-
steps:
|
45
|
-
- checkout
|
46
|
-
- bundle_install:
|
47
|
-
key: "2.7"
|
48
|
-
- run: bundle exec rubocop
|
49
|
-
spec:
|
50
|
-
parameters:
|
51
|
-
ruby:
|
52
|
-
description: "Ruby version number"
|
53
|
-
default: "3.3"
|
54
|
-
type: string
|
55
|
-
executor:
|
56
|
-
name: ruby
|
57
|
-
version: << parameters.ruby >>
|
58
|
-
steps:
|
59
|
-
- checkout
|
60
|
-
- run: echo sshkit=master >> $BASH_ENV
|
61
|
-
- bundle_install:
|
62
|
-
key: << parameters.ruby >>
|
63
|
-
- run: bundle exec rake test
|
64
|
-
spec_legacy_ruby:
|
65
|
-
parameters:
|
66
|
-
ruby:
|
67
|
-
description: "Ruby version number"
|
68
|
-
default: "1.9"
|
69
|
-
type: string
|
70
|
-
sshkit:
|
71
|
-
description: "sshkit version number"
|
72
|
-
default: "1.6.1"
|
73
|
-
type: string
|
74
|
-
executor:
|
75
|
-
name: ruby
|
76
|
-
version: << parameters.ruby >>
|
77
|
-
steps:
|
78
|
-
- checkout
|
79
|
-
- run: |
|
80
|
-
echo "export sshkit=<< parameters.sshkit >>" >> $BASH_ENV
|
81
|
-
if [ "<< parameters.ruby >>" == "1.9" ]; then
|
82
|
-
echo "export RUBYOPT=-Ku" >> $BASH_ENV
|
83
|
-
fi
|
84
|
-
- bundle_install:
|
85
|
-
key: << parameters.ruby >>-<< parameters.sshkit >>
|
86
|
-
- run: bundle exec rake test
|
87
|
-
|
88
|
-
workflows:
|
89
|
-
version: 2
|
90
|
-
commit-workflow:
|
91
|
-
jobs:
|
92
|
-
- rubocop
|
93
|
-
- spec:
|
94
|
-
matrix: &matrix
|
95
|
-
parameters:
|
96
|
-
ruby:
|
97
|
-
- "2.4"
|
98
|
-
- "2.5"
|
99
|
-
- "2.6"
|
100
|
-
- "2.7"
|
101
|
-
- "3.0"
|
102
|
-
- "3.1"
|
103
|
-
- "3.2"
|
104
|
-
- "3.3"
|
105
|
-
- spec_legacy_ruby:
|
106
|
-
matrix: &legacy_ruby_matrix
|
107
|
-
parameters:
|
108
|
-
ruby:
|
109
|
-
- "1.9"
|
110
|
-
- "2.0"
|
111
|
-
- "2.1"
|
112
|
-
- "2.2"
|
113
|
-
- "2.3"
|
114
|
-
sshkit:
|
115
|
-
- "1.6.1"
|
116
|
-
- "1.7.1"
|
117
|
-
- master
|
118
|
-
exclude:
|
119
|
-
- ruby: "1.9"
|
120
|
-
sshkit: master
|
121
|
-
cron-workflow:
|
122
|
-
jobs:
|
123
|
-
- rubocop
|
124
|
-
- spec:
|
125
|
-
matrix:
|
126
|
-
<<: *matrix
|
127
|
-
- spec_legacy_ruby:
|
128
|
-
matrix:
|
129
|
-
<<: *legacy_ruby_matrix
|
130
|
-
triggers:
|
131
|
-
- schedule:
|
132
|
-
cron: "0 13 * * 6"
|
133
|
-
filters:
|
134
|
-
branches:
|
135
|
-
only:
|
136
|
-
- main
|
data/.github/release-drafter.yml
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
name-template: "$RESOLVED_VERSION"
|
2
|
-
tag-template: "v$RESOLVED_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
|
-
version-resolver:
|
15
|
-
minor:
|
16
|
-
labels:
|
17
|
-
- "⚠️ Breaking"
|
18
|
-
- "✨ Feature"
|
19
|
-
default: patch
|
20
|
-
change-template: "- $TITLE (#$NUMBER) @$AUTHOR"
|
21
|
-
no-changes-template: "- No changes"
|
22
|
-
template: |
|
23
|
-
$CHANGES
|
24
|
-
|
25
|
-
**Full Changelog:** https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
|
data/.github/workflows/push.yml
DELETED
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
DisplayCopNames: true
|
3
|
-
DisplayStyleGuide: true
|
4
|
-
TargetRubyVersion: 1.9
|
5
|
-
Exclude:
|
6
|
-
- "*.gemspec"
|
7
|
-
- "vendor/**/*"
|
8
|
-
|
9
|
-
Layout/EndOfLine:
|
10
|
-
Enabled: false
|
11
|
-
|
12
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
13
|
-
EnforcedStyle: no_space
|
14
|
-
|
15
|
-
Metrics/AbcSize:
|
16
|
-
Exclude:
|
17
|
-
- "test/**/*"
|
18
|
-
|
19
|
-
Metrics/MethodLength:
|
20
|
-
Exclude:
|
21
|
-
- "test/**/*"
|
22
|
-
|
23
|
-
Metrics/ClassLength:
|
24
|
-
Exclude:
|
25
|
-
- "test/**/*"
|
26
|
-
|
27
|
-
Style/BarePercentLiterals:
|
28
|
-
EnforcedStyle: percent_q
|
29
|
-
|
30
|
-
Style/ClassAndModuleChildren:
|
31
|
-
Enabled: false
|
32
|
-
|
33
|
-
Style/Documentation:
|
34
|
-
Enabled: false
|
35
|
-
|
36
|
-
Style/DoubleNegation:
|
37
|
-
Enabled: false
|
38
|
-
|
39
|
-
Style/Encoding:
|
40
|
-
Enabled: false
|
41
|
-
|
42
|
-
Style/HashSyntax:
|
43
|
-
EnforcedStyle: hash_rockets
|
44
|
-
|
45
|
-
Style/StringLiterals:
|
46
|
-
EnforcedStyle: double_quotes
|
47
|
-
|
48
|
-
Style/TrivialAccessors:
|
49
|
-
AllowPredicates: true
|
data/CHANGELOG.md
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Release notes for this project are kept here: https://github.com/mattbrictson/airbrussh/releases
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, we pledge to respect all
|
4
|
-
people who contribute through reporting issues, posting feature requests,
|
5
|
-
updating documentation, submitting pull requests or patches, and other
|
6
|
-
activities.
|
7
|
-
|
8
|
-
We are committed to making participation in this project a harassment-free
|
9
|
-
experience for everyone, regardless of level of experience, gender, gender
|
10
|
-
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
-
body size, race, ethnicity, age, or religion.
|
12
|
-
|
13
|
-
Examples of unacceptable behavior by participants include the use of sexual
|
14
|
-
language or imagery, derogatory comments or personal attacks, trolling, public
|
15
|
-
or private harassment, insults, or other unprofessional conduct.
|
16
|
-
|
17
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
18
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
19
|
-
that are not aligned to this Code of Conduct. Project maintainers who do not
|
20
|
-
follow the Code of Conduct may be removed from the project team.
|
21
|
-
|
22
|
-
This code of conduct applies both within project spaces and in public spaces
|
23
|
-
when an individual is representing the project or its community.
|
24
|
-
|
25
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
26
|
-
reported by opening an issue or contacting one or more of the project
|
27
|
-
maintainers.
|
28
|
-
|
29
|
-
This Code of Conduct is adapted from the Contributor Covenant
|
30
|
-
(http://contributor-covenant.org), version 1.1.0, available at
|
31
|
-
http://contributor-covenant.org/version/1/1/0/
|
data/CONTRIBUTING.md
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
# Contributing to airbrussh
|
2
|
-
|
3
|
-
Have a feature idea, bug fix, or refactoring suggestion? Contributions are welcome!
|
4
|
-
|
5
|
-
## Pull requests
|
6
|
-
|
7
|
-
1. Check [Issues][] to see if your contribution has already been discussed and/or implemented.
|
8
|
-
2. If not, open an issue to discuss your contribution. I won't accept all changes and do not want to waste your time.
|
9
|
-
3. Once you have the :thumbsup:, fork the repo, make your changes, and open a PR.
|
10
|
-
|
11
|
-
## Coding guidelines
|
12
|
-
|
13
|
-
* This project has a coding style enforced by [RuboCop][]. Use hash rockets and double-quoted strings, and otherwise try to follow the [Ruby style guide][style].
|
14
|
-
* Writing tests is strongly encouraged! This project uses Minitest.
|
15
|
-
|
16
|
-
## Getting started
|
17
|
-
|
18
|
-
Note that Bundler 1.10 is required for development. Run `gem update bundler` to get the latest version.
|
19
|
-
|
20
|
-
After checking out the airbrussh repo, run `bin/setup` to install dependencies. Run `rake` to execute airbrussh's tests and RuboCop checks.
|
21
|
-
|
22
|
-
Airbrussh is designed to work against multiple versions of SSHKit and Ruby. In order to test this, we use the environment variable `sshkit` in order to run the tests against a specific version. The combinations of sshkit and ruby we support are specified in [.circleci/config.yml](.circleci/config.yml).
|
23
|
-
|
24
|
-
A Guardfile is also present, so if you'd like to use Guard to do a TDD workflow, then:
|
25
|
-
|
26
|
-
1. Run `bundle install --with extras` to get the optional guard dependencies
|
27
|
-
2. Run `guard` to monitor the filesystem and automatically run tests as you work
|
28
|
-
|
29
|
-
[Issues]: https://github.com/mattbrictson/airbrussh/issues
|
30
|
-
[RuboCop]: https://github.com/bbatsov/rubocop
|
31
|
-
[style]: https://github.com/bbatsov/ruby-style-guide
|
data/Gemfile
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in airbrussh.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
if RUBY_VERSION == "1.9.3"
|
7
|
-
# These gems need specific version for Ruby 1.9
|
8
|
-
gem "json", "~> 1.8"
|
9
|
-
gem "minitest", "~> 5.11.3"
|
10
|
-
gem "mocha", "~> 1.2"
|
11
|
-
gem "net-ssh", "~> 2.8"
|
12
|
-
gem "rake", "< 12.3"
|
13
|
-
gem "term-ansicolor", "~> 1.3.2"
|
14
|
-
gem "tins", "~> 1.6.0"
|
15
|
-
elsif RUBY_VERSION < "2.6"
|
16
|
-
# These gems need specific versions for Ruby < 2.6
|
17
|
-
gem "minitest", "< 5.16" # rubocop:disable Bundler/DuplicatedGem
|
18
|
-
gem "net-ssh", "< 7" # rubocop:disable Bundler/DuplicatedGem
|
19
|
-
end
|
20
|
-
|
21
|
-
if RUBY_VERSION >= "2.5"
|
22
|
-
# These gems need at least Ruby 2.5
|
23
|
-
gem "coveralls_reborn", "~> 0.24.0"
|
24
|
-
end
|
25
|
-
|
26
|
-
if RUBY_VERSION >= "2.5"
|
27
|
-
# These gems need at least Ruby 2.5
|
28
|
-
gem "rubocop", "0.50.0"
|
29
|
-
|
30
|
-
# Optional development dependencies; requires bundler >= 1.10.
|
31
|
-
# Note that these gems assume a Ruby 2.2 environment. Install them using:
|
32
|
-
#
|
33
|
-
# bundle install --with extras
|
34
|
-
#
|
35
|
-
group :extras, :optional => true do
|
36
|
-
gem "guard", ">= 2.2.2"
|
37
|
-
gem "guard-minitest"
|
38
|
-
gem "rb-fsevent"
|
39
|
-
gem "terminal-notifier-guard"
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
# Needed to make rubocop 0.50.0 work on modern rubies
|
44
|
-
gem "safe_yaml" if RUBY_VERSION >= "3.1"
|
45
|
-
|
46
|
-
if (sshkit_version = ENV["sshkit"])
|
47
|
-
requirement = begin
|
48
|
-
Gem::Dependency.new("sshkit", sshkit_version).requirement
|
49
|
-
rescue ArgumentError
|
50
|
-
user, branch =
|
51
|
-
if sshkit_version.include?("#")
|
52
|
-
sshkit_version.split("#")
|
53
|
-
else
|
54
|
-
["capistrano", sshkit_version]
|
55
|
-
end
|
56
|
-
{ :git => "https://github.com/#{user}/sshkit.git", :branch => branch }
|
57
|
-
end
|
58
|
-
gem "sshkit", requirement
|
59
|
-
end
|
data/Guardfile
DELETED
data/Rakefile
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
|
3
|
-
require "rake/testtask"
|
4
|
-
Rake::TestTask.new(:test) do |t|
|
5
|
-
t.libs << "test"
|
6
|
-
t.libs << "lib"
|
7
|
-
t.test_files = FileList["test/**/*_test.rb"]
|
8
|
-
end
|
9
|
-
|
10
|
-
begin
|
11
|
-
require "rubocop/rake_task"
|
12
|
-
RuboCop::RakeTask.new
|
13
|
-
task :default => [:test, :rubocop]
|
14
|
-
rescue LoadError
|
15
|
-
task :default => :test
|
16
|
-
end
|
17
|
-
|
18
|
-
Rake::Task["release"].enhance do
|
19
|
-
puts "Don't forget to publish the release on GitHub!"
|
20
|
-
system "open https://github.com/mattbrictson/airbrussh/releases"
|
21
|
-
end
|
data/UPGRADING-CAP-3.5.md
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
# Capistrano 3.5 upgrade guide for existing Airbrussh users
|
2
|
-
|
3
|
-
If you have been using Airbrussh with Capistrano, and are upgrading to Capistrano 3.5, then this guide is for you.
|
4
|
-
|
5
|
-
## What changed?
|
6
|
-
|
7
|
-
* Airbrussh is built into Capistrano starting with Capistrano 3.5.0, and is enabled by default.
|
8
|
-
* Capistrano 3.5 initializes Airbrussh with a default configuration that is different than Airbrussh+Capistrano 3.4.0.
|
9
|
-
* In Capistrano 3.5, `set :format_options, ...` is now the preferred mechanism for configuring Airbrussh.
|
10
|
-
|
11
|
-
## How to upgrade
|
12
|
-
|
13
|
-
1. Remove `gem "airbrussh"` from your Gemfile. Airbrussh is now included automatically by Capistrano.
|
14
|
-
2. Likewise, remove `require "capistrano/airbrussh"` from your Capfile. Capistrano now does this internally.
|
15
|
-
3. Remove `Airbrussh.configure do ... end` from your deploy.rb and replace with `set :format_options, ...` (see below).
|
16
|
-
|
17
|
-
## New configuration system
|
18
|
-
|
19
|
-
In Capistrano 3.5, Airbrussh is configured by assigning a configuration Hash to the `:format_options` variable. Here is a comparison of the old and new syntaxes:
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
# Old syntax
|
23
|
-
Airbrussh.configure do |config|
|
24
|
-
config.color = false
|
25
|
-
end
|
26
|
-
|
27
|
-
# New syntax
|
28
|
-
set :format_options, color: false
|
29
|
-
```
|
30
|
-
|
31
|
-
Although the syntax is different, the names of the configuration keys have not changed.
|
32
|
-
|
33
|
-
## New defaults
|
34
|
-
|
35
|
-
Capistrano 3.5.0 changes Airbrussh defaults as follows:
|
36
|
-
|
37
|
-
* `banner: false`
|
38
|
-
* `command_output: true`
|
39
|
-
|
40
|
-
Therefore, after upgrading to Capistrano 3.5.0, you may notice Airbrussh's output has changed and become more verbose. To restore the defaults to what you were used to in older versions, do this:
|
41
|
-
|
42
|
-
```ruby
|
43
|
-
set :format_options, banner: :auto, command_output: false
|
44
|
-
```
|
45
|
-
|
46
|
-
## Trouble?
|
47
|
-
|
48
|
-
If you have any Airbrussh-related trouble with the upgrade, please [open an issue](https://github.com/mattbrictson/airbrussh/issues).
|
data/airbrussh.gemspec
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require "airbrussh/version"
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "airbrussh"
|
8
|
-
spec.version = Airbrussh::VERSION
|
9
|
-
spec.license = "MIT"
|
10
|
-
spec.authors = ["Matt Brictson"]
|
11
|
-
spec.email = ["airbrussh@mattbrictson.com"]
|
12
|
-
spec.summary = "Airbrussh pretties up your SSHKit and Capistrano output"
|
13
|
-
spec.description = "A replacement log formatter for SSHKit that makes "\
|
14
|
-
"Capistrano output much easier on the eyes. Just add "\
|
15
|
-
"Airbrussh to your Capfile and enjoy concise, useful "\
|
16
|
-
"log output that is easy to read."
|
17
|
-
spec.homepage = "https://github.com/mattbrictson/airbrussh"
|
18
|
-
spec.metadata = {
|
19
|
-
"bug_tracker_uri" => "https://github.com/mattbrictson/airbrussh/issues",
|
20
|
-
"changelog_uri" => "https://github.com/mattbrictson/airbrussh/releases",
|
21
|
-
"source_code_uri" => "https://github.com/mattbrictson/airbrussh",
|
22
|
-
"homepage_uri" => "https://github.com/mattbrictson/airbrussh"
|
23
|
-
}
|
24
|
-
|
25
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/|\.(gif|png)$}) }
|
26
|
-
spec.bindir = "exe"
|
27
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
-
spec.require_paths = ["lib"]
|
29
|
-
|
30
|
-
spec.add_dependency "sshkit", [">= 1.6.1", "!= 1.7.0"]
|
31
|
-
|
32
|
-
spec.add_development_dependency "bundler"
|
33
|
-
spec.add_development_dependency "rake", "~> 12.0"
|
34
|
-
spec.add_development_dependency "minitest", "~> 5.10"
|
35
|
-
spec.add_development_dependency "minitest-reporters", "~> 1.1"
|
36
|
-
spec.add_development_dependency "mocha", "~> 2.1"
|
37
|
-
end
|
data/appveyor.yml
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
version: "{build}"
|
2
|
-
skip_tags: true
|
3
|
-
skip_branch_with_pr: true
|
4
|
-
environment:
|
5
|
-
MT_COMPAT: "1" # Allows old versions of mocha gem to work with minitest
|
6
|
-
install:
|
7
|
-
- set PATH=C:\Ruby26-x64\bin;%PATH%
|
8
|
-
- bundle install --retry=3
|
9
|
-
test_script:
|
10
|
-
- bundle exec rake
|
11
|
-
build: off
|
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "airbrussh"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|