airbrussh 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c42df7a7dc9037977d93573237dfce75fd41b90a7059497dfe5ae5c3dc4b2ac
4
- data.tar.gz: f0c08606f8a2d806cf228a411dc1dfe8e9d8c9f84cd3e0f0373412922cf68a23
3
+ metadata.gz: ee5403319a549618d51a517002cdf466a898819571db60919226dbbfb4fef48b
4
+ data.tar.gz: 6ce2490aa30f9a006b55f0172346d5f70607dc27350cec8d5e67634361bcb3a6
5
5
  SHA512:
6
- metadata.gz: 385c487958e7c5338c018b7d83a7b091b4e040106ce8accc681cb93e6940e6b3921079dc1effff133b78884219b19f00bee22d649672242642c005d126c116c0
7
- data.tar.gz: ad0d23aaf30f121d74ef1c15daf2343ed5c1246cd58c58ec8cc4657f079f59de48c122f622f3f09069af9ce8b30ae9e3f13d19d3f729e77dcef2aa49672b2385
6
+ metadata.gz: 965d4b36f1f007ae356a91ed1f6751c7d3d3f06481564ff1c221ca751e5587ffe990ea95be3c0af6baea9864c6333f18fb5c06e20ded2f92c5b7b752db9c1adf
7
+ data.tar.gz: 0bfd9deaecd3f7beef8a4a8584e398ee9d96e2912e2153cd34e3a4162e9db309da4325a7a7907a01765d0ea8c96b02d7935f089dfd76549c72b52a586644edd1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Airbrussh
4
- VERSION = "1.5.2".freeze
4
+ VERSION = "1.5.3".freeze
5
5
  end
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.2
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-04-12 00:00:00.000000000 Z
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
- - ".github/release-drafter.yml"
113
- - ".github/workflows/ci.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.8
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
@@ -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
@@ -1,79 +0,0 @@
1
- name: CI
2
- on:
3
- pull_request:
4
- push:
5
- branches:
6
- - main
7
- jobs:
8
- rubocop:
9
- name: "RuboCop"
10
- runs-on: ubuntu-latest
11
- steps:
12
- - uses: actions/checkout@v4
13
- - uses: ruby/setup-ruby@v1
14
- with:
15
- ruby-version: "2.7"
16
- bundler-cache: true
17
- - run: bundle exec rubocop
18
- test:
19
- name: "Test / Ruby ${{ matrix.ruby }}"
20
- runs-on: ubuntu-latest
21
- strategy:
22
- matrix:
23
- ruby: ["2.4", "2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
24
- env:
25
- sshkit: "master"
26
- steps:
27
- - uses: actions/checkout@v4
28
- - uses: ruby/setup-ruby@v1
29
- with:
30
- ruby-version: ${{ matrix.ruby }}
31
- bundler-cache: true
32
- - run: bundle exec rake test
33
- test_legacy_ruby_19:
34
- name: "Test / Ruby 1.9 / SSHKit ${{ matrix.sshkit }}"
35
- runs-on: ubuntu-20.04
36
- strategy:
37
- matrix:
38
- sshkit: ["1.6.1", "1.7.1"]
39
- env:
40
- sshkit: ${{ matrix.sshkit }}
41
- RUBYOPT: "-Ku"
42
- steps:
43
- - uses: actions/checkout@v4
44
- - uses: ruby/setup-ruby@v1
45
- with:
46
- ruby-version: "1.9"
47
- rubygems: "2.6.9"
48
- bundler: "1.17.3"
49
- bundler-cache: true
50
- - run: bundle exec rake test
51
- test_legacy_ruby:
52
- name: "Test / Ruby ${{ matrix.ruby }} / SSHKit ${{ matrix.sshkit }}"
53
- runs-on: ubuntu-20.04
54
- strategy:
55
- matrix:
56
- ruby: ["2.0", "2.0", "2.1", "2.2", "2.3"]
57
- sshkit: ["1.6.1", "1.7.1", "master"]
58
- env:
59
- sshkit: ${{ matrix.sshkit }}
60
- steps:
61
- - uses: actions/checkout@v4
62
- - uses: ruby/setup-ruby@v1
63
- with:
64
- ruby-version: ${{ matrix.ruby }}
65
- bundler: "1.17.3"
66
- bundler-cache: true
67
- - run: bundle exec rake test
68
- spec_all:
69
- name: "Test / Ruby (All)"
70
- runs-on: ubuntu-latest
71
- needs: [test, test_legacy_ruby, test_legacy_ruby_19]
72
- if: always()
73
- steps:
74
- - name: All tests ok
75
- if: ${{ !(contains(needs.*.result, 'failure')) }}
76
- run: exit 0
77
- - name: Some tests failed
78
- if: ${{ contains(needs.*.result, 'failure') }}
79
- run: exit 1
@@ -1,12 +0,0 @@
1
- name: Release Drafter
2
- on:
3
- push:
4
- branches:
5
- - main
6
- jobs:
7
- update_release_draft:
8
- runs-on: ubuntu-latest
9
- steps:
10
- - uses: release-drafter/release-drafter@v5
11
- env:
12
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
data/.gitignore DELETED
@@ -1,15 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /log/
8
- /pkg/
9
- /spec/reports/
10
- /tmp/
11
- *.bundle
12
- *.so
13
- *.o
14
- *.a
15
- mkmf.log
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 [.github/workflows/ci.yml](.github/workflows/ci.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
@@ -1,6 +0,0 @@
1
- guard :minitest do
2
- # with Minitest::Unit
3
- watch(%r{^test/(.*)\/?(.*)_test\.rb$})
4
- watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
5
- watch(%r{^test/minitest_helper\.rb$}) { "test" }
6
- end
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
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here