airbrussh 1.0.0.beta1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/.travis.yml +1 -0
- data/CHANGELOG.md +7 -4
- data/CONTRIBUTING.md +2 -3
- data/LICENSE.txt +1 -1
- data/README.md +1 -9
- data/airbrussh.gemspec +1 -1
- data/bin/test_all.rb +1 -1
- data/lib/airbrussh/command_formatter.rb +5 -5
- data/lib/airbrussh/console.rb +1 -1
- data/lib/airbrussh/console_formatter.rb +1 -1
- data/lib/airbrussh/delegating_formatter.rb +2 -2
- data/lib/airbrussh/version.rb +2 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01eb882bc9f55583a0482ef56741ecb034fa1668
|
4
|
+
data.tar.gz: c146d528c8200f85f0288dc749f5ae78cf536320
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d34d086d3dd901944f36ec67159cd5317f30156b74fc76843a9760b3af7ee93268121c0f055ebd4cc250285a9f729b55d8a97cc25475f4fd9ffe11579719d2ca
|
7
|
+
data.tar.gz: a141d92036bce8c5a3238e331dc29de44e037bb46219348923dc3b42dbd21f9d8aaba4df13e6995afe043e3a83373edc49ae8bc6ff9c6fcb4d03d53bf734bc37
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
# Airbrussh Change Log
|
2
2
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
4
|
-
|
5
|
-
Airbrussh is in a pre-1.0 state. This means that its APIs and behavior are subject to breaking changes without deprecation notices. Until 1.0, version numbers will follow a [Semver][]-ish `0.y.z` format, where `y` is incremented when new features or breaking changes are introduced, and `z` is incremented for lesser changes or bug fixes.
|
3
|
+
All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning][Semver].
|
6
4
|
|
7
5
|
## [Unreleased]
|
8
6
|
|
9
7
|
* Your contribution here!
|
10
8
|
|
9
|
+
## [1.0.0][] (2016-02-27)
|
10
|
+
|
11
|
+
* No changes since 1.0.0.beta1.
|
12
|
+
|
11
13
|
## [1.0.0.beta1][] (2015-12-27)
|
12
14
|
|
13
15
|
* Airbrussh can now be configured with an options Hash passed to the
|
@@ -87,7 +89,8 @@ There are, however, many behind-the-scenes changes and improvements to overall c
|
|
87
89
|
* Initial release
|
88
90
|
|
89
91
|
[Semver]: http://semver.org
|
90
|
-
[Unreleased]: https://github.com/mattbrictson/airbrussh/compare/v1.0.0
|
92
|
+
[Unreleased]: https://github.com/mattbrictson/airbrussh/compare/v1.0.0...HEAD
|
93
|
+
[1.0.0]: https://github.com/mattbrictson/airbrussh/compare/v1.0.0.beta1...v1.0.0
|
91
94
|
[1.0.0.beta1]: https://github.com/mattbrictson/airbrussh/compare/v0.8.0...v1.0.0.beta1
|
92
95
|
[0.8.0]: https://github.com/mattbrictson/airbrussh/compare/v0.7.0...v0.8.0
|
93
96
|
[0.7.0]: https://github.com/mattbrictson/airbrussh/compare/v0.6.0...v0.7.0
|
data/CONTRIBUTING.md
CHANGED
@@ -18,10 +18,9 @@ Have a feature idea, bug fix, or refactoring suggestion? Contributions are welco
|
|
18
18
|
|
19
19
|
Note that Bundler 1.10 is required for development. Run `gem update bundler` to get the latest version.
|
20
20
|
|
21
|
-
After checking out the airbrussh repo, run `bin/setup` to install dependencies.
|
21
|
+
After checking out the airbrussh repo, run `bin/setup` to install dependencies. Run `rake` to execute airbrussh's tests and RuboCop checks.
|
22
22
|
|
23
|
-
|
24
|
-
* `bin/test_all.rb` executes the tests against all versions of SSHKit that airbrussh supports
|
23
|
+
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 [.travis.yml](.travis.yml). To test all the versions locally, there is a `test_all.rb` bin file. This installs the gems and runs the tests for each sshkit version in [.travis.yml](.travis.yml). *Note: this will update your `Gemfile.lock` as each SSHKit gem version is installed. The gem version is restored to the default when the script exits.*
|
25
24
|
|
26
25
|
A Guardfile is also present, so if you'd like to use Guard to do a TDD workflow, then:
|
27
26
|
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -191,15 +191,7 @@ Airbrussh started life as custom logging code within the [capistrano-mb][] colle
|
|
191
191
|
|
192
192
|
## Roadmap
|
193
193
|
|
194
|
-
Airbrussh
|
195
|
-
|
196
|
-
## Development
|
197
|
-
|
198
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
199
|
-
|
200
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
201
|
-
|
202
|
-
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 [.travis.yml](.travis.yml). To test all the versions locally, there is a `test_all.rb` bin file. This installs the gems and runs the tests for each sshkit version in [.travis.yml](.travis.yml). *Note: this will update your `Gemfile.lock` as each SSHKit gem version is installed. The gem version is restored to the default when the script exits.*
|
194
|
+
Airbrussh now has a stable feature set, excellent test coverage, is being used for production deployments, and has reached 1.0.0! Work is [underway](https://github.com/capistrano/capistrano/pull/1541) to integrate Airbrussh with the next Capistrano release. If you have ideas for improvements to Airbrussh, please open a [GitHub issue](https://github.com/mattbrictson/airbrussh/issues/new).
|
203
195
|
|
204
196
|
## Contributing
|
205
197
|
|
data/airbrussh.gemspec
CHANGED
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency "minitest"
|
30
30
|
spec.add_development_dependency "minitest-reporters"
|
31
31
|
spec.add_development_dependency "mocha"
|
32
|
-
spec.add_development_dependency "rubocop", ">= 0.
|
32
|
+
spec.add_development_dependency "rubocop", ">= 0.37.0"
|
33
33
|
end
|
data/bin/test_all.rb
CHANGED
@@ -5,7 +5,7 @@ require "English"
|
|
5
5
|
YAML.load_file(".travis.yml")["env"].each do |sshkit_version|
|
6
6
|
puts "\e[0;34;49m== Running tests against #{sshkit_version} ==\e[0m"
|
7
7
|
output = `#{sshkit_version} bundle update`
|
8
|
-
|
8
|
+
raise "bundle update failed: #{output}" unless $CHILD_STATUS.success?
|
9
9
|
system("#{sshkit_version} bundle exec rake test")
|
10
10
|
end
|
11
11
|
|
@@ -47,11 +47,11 @@ module Airbrussh
|
|
47
47
|
# # => "✘ 01 user@host (see out.log for details) 0.084s"
|
48
48
|
#
|
49
49
|
def exit_message(log_file=nil)
|
50
|
-
if failure?
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
50
|
+
message = if failure?
|
51
|
+
red(failure_message(log_file))
|
52
|
+
else
|
53
|
+
green(success_message)
|
54
|
+
end
|
55
55
|
message << " #{gray(runtime)}"
|
56
56
|
end
|
57
57
|
|
data/lib/airbrussh/console.rb
CHANGED
@@ -11,8 +11,8 @@ module Airbrussh
|
|
11
11
|
FORWARD_METHODS = %w(
|
12
12
|
fatal error warn info debug log
|
13
13
|
log_command_start log_command_data log_command_exit
|
14
|
-
)
|
15
|
-
DUP_AND_FORWARD_METHODS = %w(<< write)
|
14
|
+
).freeze
|
15
|
+
DUP_AND_FORWARD_METHODS = %w(<< write).freeze
|
16
16
|
|
17
17
|
attr_reader :formatters
|
18
18
|
|
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.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sshkit
|
@@ -120,14 +120,14 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: 0.
|
123
|
+
version: 0.37.0
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.
|
130
|
+
version: 0.37.0
|
131
131
|
description: A replacement log formatter for SSHKit that makes Capistrano output much
|
132
132
|
easier on the eyes. Just add Airbrussh to your Capfile and enjoy concise, useful
|
133
133
|
log output that is easy to read.
|
@@ -183,12 +183,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
185
|
requirements:
|
186
|
-
- - "
|
186
|
+
- - ">="
|
187
187
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
188
|
+
version: '0'
|
189
189
|
requirements: []
|
190
190
|
rubyforge_project:
|
191
|
-
rubygems_version: 2.
|
191
|
+
rubygems_version: 2.6.0
|
192
192
|
signing_key:
|
193
193
|
specification_version: 4
|
194
194
|
summary: Airbrussh pretties up your SSHKit and Capistrano output
|