airbrussh 1.3.2 → 1.3.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: '03792c145b7480b4fe239dd521fea545b89cfb049ce9c91e52617f5a1f26174d'
4
- data.tar.gz: 8104be7dd231ca5075500be1454635efbda6245adf53a88e8b54c25123dc9dbd
3
+ metadata.gz: 5972d5a25da5b2a294399e61f8c990e114f8db834fd24f06667bc2142306d61e
4
+ data.tar.gz: 5268fc918712c67ab022fe333e209b3a9f80432ee1fb705ec1cc21117ebe3ec3
5
5
  SHA512:
6
- metadata.gz: c0d9499a69b1818818d29e96ce62f4131d0958b157bea34e21601a341b8097cae8b533c6505e567976e28af11098ddb954fbacb747df2fb4ed599d9bce7ad8d3
7
- data.tar.gz: 0f30a4a7a98346ee8966e8856c254eb3a02c8fe88f25305371967ed6138475fcc2046f43f75262a70fd9b536e5c7c0919b7af6a709496006110fa49e46b71f60
6
+ metadata.gz: 93ff3fcacf61eccbdd009c2d2ec2d97663bc40b90ce49afc267b82f9f2f7d7938ad575f2bb3aea018218fda8f0065b6fb6e0c53f8f7cb1ee2fddb14f47554aae
7
+ data.tar.gz: 4e4628098b941a29c8b4e551e49c20c7d353baf7b5e6176e24ccdb17bf91341caca13e20039dd9270b99181dacea1741eab954690dee1791684d4d947db4fc1c
@@ -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
@@ -0,0 +1,12 @@
1
+ on: push
2
+ name: Push
3
+ jobs:
4
+ draftRelease:
5
+ name: Draft Release
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@master
9
+ - name: Draft Release
10
+ uses: toolmantim/release-drafter@v5.2.0
11
+ env:
12
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,6 +1,9 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  cache: bundler
4
+ branches:
5
+ only:
6
+ - master
4
7
  rvm:
5
8
  - 1.9
6
9
  - 2.0
@@ -32,10 +35,6 @@ matrix:
32
35
  # Newer versions of SSHKit don't work with Ruby 1.9
33
36
  - rvm: 1.9
34
37
  env: sshkit="master"
35
- include:
36
- # Run Danger only once, on 2.4.5
37
- - rvm: 2.4.5
38
- script: bundle exec danger
39
38
 
40
39
  before_install:
41
40
  - gem update --system || echo "skipping rubygems upgrade"
@@ -1,169 +1 @@
1
- # Airbrussh Change Log
2
-
3
- All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning][Semver].
4
-
5
- ## [Unreleased]
6
-
7
- * Your contribution here!
8
-
9
- ## [1.3.2][] (2019-06-15)
10
-
11
- * [#121](https://github.com/mattbrictson/airbrussh/pull/121): Gracefully handle SSH output that has invalid UTF-8 encoding instead of raising an exception - [@mattbrictson](https://github.com/mattbrictson)
12
-
13
- ## [1.3.1][] (2018-11-04)
14
-
15
- * Packaging changes to reduce gem size
16
- * RuboCop and Travis improvements
17
- * No user-facing changes
18
-
19
- ## [1.3.0][] (2017-06-16)
20
-
21
- * [#109](https://github.com/mattbrictson/airbrussh/pull/109): Add configurable task prefix - [@gondalez](https://github.com/gondalez)
22
-
23
- ## [1.2.0][] (2017-04-14)
24
-
25
- * [#95](https://github.com/mattbrictson/airbrussh/pull/95): colorize LogMessage label on WARN level and above - [@klyonrad](https://github.com/klyonrad)
26
- * [#106](https://github.com/mattbrictson/airbrussh/pull/106): Remove the `log_file` parameter from the `CommandFormatter#exit_message` method; it was unused - [@mattbrictson](https://github.com/mattbrictson)
27
-
28
- ## [1.1.2][] (2017-01-02)
29
-
30
- * Add Ruby 2.4.0 to testing matrix and fix Ruby 2.4 deprecation warnings
31
-
32
- ## [1.1.1][] (2016-09-09)
33
-
34
- * When a Capistrano deploy fails and the error log is dumped to the console,
35
- Airbrussh no longer truncates the error output. This ensures that important
36
- troubleshooting information is not lost.
37
- [#91](https://github.com/mattbrictson/airbrussh/issues/91)
38
-
39
- ## [1.1.0][] (2016-07-26)
40
-
41
- * Use default color for info messages.
42
- When using the `gray` color on some implementation of the `solarized`
43
- theme the text is not visible. The `solarized` theme is popular and
44
- bugs have been reported about missed error messages, so this patch
45
- switches these messages to the default color.
46
- (see [#84](https://github.com/mattbrictson/airbrussh/issues/84))
47
-
48
- ## [1.0.2][] (2016-05-13)
49
-
50
- * Fix a crash that can happen in certain multi-server deployments when
51
- Capistrano's `invoke` is used to switch Rake tasks in the middle of SSHKit
52
- execution ([#78](https://github.com/mattbrictson/airbrussh/issues/78),
53
- [#80](https://github.com/mattbrictson/airbrussh/pull/80))
54
-
55
- ## [1.0.1][] (2016-03-21)
56
-
57
- * Fix support for fake TTYs reporting a 0 width console like Ruby's PTY library [#76](https://github.com/mattbrictson/airbrussh/pull/76)
58
-
59
- ## [1.0.0][] (2016-02-27)
60
-
61
- * No changes since 1.0.0.beta1.
62
-
63
- ## [1.0.0.beta1][] (2015-12-27)
64
-
65
- Breaking Changes:
66
-
67
- * None
68
-
69
- Added:
70
-
71
- * Airbrussh can now be configured with an options Hash passed to the
72
- `Airbrussh::Formatter` constructor. This is in order to standardize how all
73
- SSHKit formatters are configured
74
- (see [SSHKit #308](https://github.com/capistrano/sshkit/pull/308)).
75
-
76
- ## [0.8.0][] (2015-11-20)
77
-
78
- * Airbrussh now displays the correct user@host output in the following edge-cases:
79
- * Inside an SSHKit `as(:user => "...")` block
80
- * When a user is specified using `set :ssh_options, :user => "..."` ([see #65](https://github.com/mattbrictson/airbrussh/issues/65))
81
-
82
- ## [0.7.0][] (2015-08-08)
83
-
84
- Fixes:
85
-
86
- * Handle truncation of raw/non-UTF8 output without crashing ([#57](https://github.com/mattbrictson/airbrussh/issues/57))
87
-
88
- Other changes:
89
-
90
- * Re-implement the "tail log on deploy failure" feature in pure Ruby ([#59](https://github.com/mattbrictson/airbrussh/issues/59))
91
- * Code of contact added to the project
92
- * Tests now run on Windows ([#55](https://github.com/mattbrictson/airbrussh/issues/55))
93
-
94
- ## [0.6.0][] (2015-07-10)
95
-
96
- This is another release with mostly behind-the-scenes changes. If you notice any differences in Airbrussh's behavior in this version, [please report an issue](https://github.com/mattbrictson/airbrussh/issues).
97
-
98
- Other changes:
99
-
100
- * Bundler 1.10 is now required to build and test airbrussh (this doesn't affect users of airbrussh at all).
101
- * If the directory containing the log file doesn't exist, Airbrussh will now attempt to create it using `FileUtils.mkdir_p` ([#30](https://github.com/mattbrictson/airbrussh/issues/30))
102
- * By default Airbrussh now always prints `Using airbrussh format.` when it starts up. In previous versions, a bug caused this message to sometimes not be shown. To change or disable this message, set the `banner` configuration option as explained in the README.
103
-
104
- ## [0.5.1][] (2015-06-24)
105
-
106
- * Fix `NameError: uninitialized constant Airbrussh::SimpleDelegator`
107
-
108
- ## [0.5.0][] (2015-06-24)
109
-
110
- There are no changes to the actual behavior and feature set of Airbrussh in this release.
111
-
112
- There are, however, many behind-the-scenes changes and improvements to overall code quality. This release also adds support for upcoming versions of SSHKit.
113
-
114
- * Added Rubocop enforcement to Travis
115
- * Added Code Climate and Coveralls checks (see badges in the README)
116
- * Airbrussh now has good test coverage, and is tested by Travis against a matrix of Ruby and SSHKit versions ([@robd](https://github.com/robd))
117
- * Changes to support the new SSHKit formatter API, as introduced in [SSHKit #257](https://github.com/capistrano/sshkit/pull/257) ([@robd](https://github.com/robd))
118
- * `Airbrussh.reset` has been removed
119
- * Airbrussh now has its own ANSI color code; it no longer relies on a third-party gem (i.e. `colorize`)
120
-
121
- ## [0.4.1][] (2015-05-06)
122
-
123
- * Fix `Marshal.dump` warnings by removing `deep_copy` workaround that it is no longer needed for the latest SSHKit ([#10](https://github.com/mattbrictson/airbrussh/issues/10)).
124
-
125
- ## [0.4.0][] (2015-05-03)
126
-
127
- * Changes to ensure compatibility with the upcoming version of SSHKit ([ec3122b](https://github.com/mattbrictson/airbrussh/commit/ec3122b101de53f2304723da842d5c8b6f70f4f3)).
128
- * Explicitly specify UTF-8 encoding for source files, for Ruby 1.9.3 compatibility ([#9](https://github.com/mattbrictson/airbrussh/issues/9)).
129
-
130
- ## [0.3.0][] (2015-03-28)
131
-
132
- * New `config.banner` option allows startup message to be disabled or changed (suggestion from [@justindowning](https://github.com/justindowning))
133
- * New `config.command_output` option gives full control of whether airbrussh shows or hides the stderr and stdout data received from remote commands; see the usage section of the README for further explanation (suggestion from [@carlesso](https://github.com/carlesso))
134
-
135
- ## [0.2.1][] (2015-03-02)
136
-
137
- * Un-pin SSHKit dependency now that SSHKit 1.7.1 has been released.
138
-
139
- ## [0.2.0][] (2015-03-02)
140
-
141
- * Pin SSHKit dependency at `~> 1.6.1` to avoid a [bug in 1.7.0](https://github.com/capistrano/sshkit/issues/226) that causes command exit statuses to be omitted from the log.
142
-
143
- ## 0.0.1 (2015-02-19)
144
-
145
- * Initial release
146
-
147
- [Semver]: http://semver.org
148
- [Unreleased]: https://github.com/mattbrictson/airbrussh/compare/v1.3.2...HEAD
149
- [1.3.2]: https://github.com/mattbrictson/airbrussh/compare/v1.3.1...v1.3.2
150
- [1.3.1]: https://github.com/mattbrictson/airbrussh/compare/v1.3.0...v1.3.1
151
- [1.3.0]: https://github.com/mattbrictson/airbrussh/compare/v1.2.0...v1.3.0
152
- [1.2.0]: https://github.com/mattbrictson/airbrussh/compare/v1.1.2...v1.2.0
153
- [1.1.2]: https://github.com/mattbrictson/airbrussh/compare/v1.1.1...v1.1.2
154
- [1.1.1]: https://github.com/mattbrictson/airbrussh/compare/v1.1.0...v1.1.1
155
- [1.1.0]: https://github.com/mattbrictson/airbrussh/compare/v1.0.2...v1.1.0
156
- [1.0.2]: https://github.com/mattbrictson/airbrussh/compare/v1.0.1...v1.0.2
157
- [1.0.1]: https://github.com/mattbrictson/airbrussh/compare/v1.0.0...v1.0.1
158
- [1.0.0]: https://github.com/mattbrictson/airbrussh/compare/v1.0.0.beta1...v1.0.0
159
- [1.0.0.beta1]: https://github.com/mattbrictson/airbrussh/compare/v0.8.0...v1.0.0.beta1
160
- [0.8.0]: https://github.com/mattbrictson/airbrussh/compare/v0.7.0...v0.8.0
161
- [0.7.0]: https://github.com/mattbrictson/airbrussh/compare/v0.6.0...v0.7.0
162
- [0.6.0]: https://github.com/mattbrictson/airbrussh/compare/v0.5.1...v0.6.0
163
- [0.5.1]: https://github.com/mattbrictson/airbrussh/compare/v0.5.0...v0.5.1
164
- [0.5.0]: https://github.com/mattbrictson/airbrussh/compare/v0.4.1...v0.5.0
165
- [0.4.1]: https://github.com/mattbrictson/airbrussh/compare/v0.4.0...v0.4.1
166
- [0.4.0]: https://github.com/mattbrictson/airbrussh/compare/v0.3.0...v0.4.0
167
- [0.3.0]: https://github.com/mattbrictson/airbrussh/compare/v0.2.1...v0.3.0
168
- [0.2.1]: https://github.com/mattbrictson/airbrussh/compare/v0.2.0...v0.2.1
169
- [0.2.0]: https://github.com/mattbrictson/airbrussh/compare/v0.0.1...v0.2.0
1
+ Release notes for this project are kept here: https://github.com/mattbrictson/airbrussh/releases
@@ -7,7 +7,6 @@ Have a feature idea, bug fix, or refactoring suggestion? Contributions are welco
7
7
  1. Check [Issues][] to see if your contribution has already been discussed and/or implemented.
8
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
9
  3. Once you have the :thumbsup:, fork the repo, make your changes, and open a PR.
10
- 4. Don't forget to add your contribution and credit yourself in `CHANGELOG.md`!
11
10
 
12
11
  ## Coding guidelines
13
12
 
data/Gemfile CHANGED
@@ -15,7 +15,6 @@ end
15
15
  if RUBY_VERSION >= "2.1"
16
16
  # These gems need at least Ruby 2.1
17
17
  gem "coveralls", "~> 0.8.15"
18
- gem "danger", "~> 4.3"
19
18
  gem "rubocop", "0.50.0"
20
19
 
21
20
  # Optional development dependencies; requires bundler >= 1.10.
@@ -24,7 +23,6 @@ if RUBY_VERSION >= "2.1"
24
23
  # bundle install --with extras
25
24
  #
26
25
  group :extras, :optional => true do
27
- gem "chandler"
28
26
  gem "guard", ">= 2.2.2"
29
27
  gem "guard-minitest"
30
28
  gem "rb-fsevent"
data/Rakefile CHANGED
@@ -15,9 +15,7 @@ rescue LoadError
15
15
  task :default => :test
16
16
  end
17
17
 
18
- # rubocop:disable Lint/HandleExceptions
19
- begin
20
- require "chandler/tasks"
21
- rescue LoadError
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"
22
21
  end
23
- task "release:rubygem_push" => "chandler:push" if defined?(Chandler)
@@ -2,6 +2,8 @@ version: '{build}'
2
2
 
3
3
  skip_tags: true
4
4
 
5
+ skip_branch_with_pr: true
6
+
5
7
  environment:
6
8
  matrix:
7
9
  - ruby_version: "23"
@@ -1,5 +1,3 @@
1
- require "rake"
2
-
3
1
  module Airbrussh
4
2
  module Rake
5
3
  # Maintains information about what Rake task is currently being invoked,
@@ -53,6 +51,7 @@ module Airbrussh
53
51
  attr_accessor :current_task_name
54
52
 
55
53
  def install_monkey_patch
54
+ require "rake"
56
55
  return if ::Rake::Task.instance_methods.include?(:_airbrussh_execute)
57
56
 
58
57
  ::Rake::Task.class_exec do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Airbrussh
4
- VERSION = "1.3.2".freeze
4
+ VERSION = "1.3.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.3.2
4
+ version: 1.3.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: 2019-06-15 00:00:00.000000000 Z
11
+ date: 2019-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sshkit
@@ -109,13 +109,14 @@ executables: []
109
109
  extensions: []
110
110
  extra_rdoc_files: []
111
111
  files:
112
+ - ".github/release-drafter.yml"
113
+ - ".github/workflows/push.yml"
112
114
  - ".gitignore"
113
115
  - ".rubocop.yml"
114
116
  - ".travis.yml"
115
117
  - CHANGELOG.md
116
118
  - CODE_OF_CONDUCT.md
117
119
  - CONTRIBUTING.md
118
- - Dangerfile
119
120
  - Gemfile
120
121
  - Guardfile
121
122
  - LICENSE.txt
@@ -160,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
161
  - !ruby/object:Gem::Version
161
162
  version: '0'
162
163
  requirements: []
163
- rubygems_version: 3.0.3
164
+ rubygems_version: 3.0.6
164
165
  signing_key:
165
166
  specification_version: 4
166
167
  summary: Airbrussh pretties up your SSHKit and Capistrano output
data/Dangerfile DELETED
@@ -1 +0,0 @@
1
- danger.import_dangerfile(:github => "capistrano/danger")