airbrussh 0.0.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +17 -18
- data/README.md +7 -2
- data/airbrussh.gemspec +5 -5
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/demo.gif +0 -0
- data/lib/airbrussh/formatter.rb +0 -2
- data/lib/airbrussh/version.rb +1 -1
- metadata +10 -12
- data/test/minitest_helper.rb +0 -11
- data/test/test_airbrussh.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 571ffc817717abab7b7aa3d6ce859977638e06f9
|
4
|
+
data.tar.gz: 92a2bf4c3a242e4c6e8ca59bcc7ad1384b640d9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8519da5eb8359c738c2b7d333d00b3abc683c1471e06b423b6a33cbb7ea09cfaf0b0daddc4addd1d6a5f91894c1e462d236d4d27b2deac9fb778d22d2937f2e
|
7
|
+
data.tar.gz: 19c6e9e7b29e1deee143603a7cc138d2f7652f335dc110abb5da0f3385885ef36573854eabf611fedfd957b498855efda27d31cf8b1e5b113068e87df867107c
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,22 +1,21 @@
|
|
1
|
-
|
1
|
+
The MIT License (MIT)
|
2
2
|
|
3
|
-
|
3
|
+
Copyright (c) 2015 Matt Brictson
|
4
4
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
the following conditions:
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
12
11
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
15
14
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
OF
|
22
|
-
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -77,7 +77,7 @@ If you are using SSHKit directly, you can use Airbrussh without the Capistrano m
|
|
77
77
|
|
78
78
|
```ruby
|
79
79
|
require "airbrussh"
|
80
|
-
SSHKit.config.output = Airbrussh::Formatter.new
|
80
|
+
SSHKit.config.output = Airbrussh::Formatter.new($stdout)
|
81
81
|
```
|
82
82
|
|
83
83
|
When Capistrano is not present, Airbrussh uses a slightly different default configuration:
|
@@ -101,10 +101,15 @@ Airbrussh needs work! The first priority is to add tests. Once good test coverag
|
|
101
101
|
|
102
102
|
If you have ideas for other improvements, please contribute!
|
103
103
|
|
104
|
+
## Development
|
105
|
+
|
106
|
+
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.
|
107
|
+
|
108
|
+
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).
|
104
109
|
|
105
110
|
## Contributing
|
106
111
|
|
107
|
-
1. Fork it ( https://github.com/
|
112
|
+
1. Fork it ( https://github.com/mattbrictson/airbrussh/fork )
|
108
113
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
109
114
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
110
115
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/airbrussh.gemspec
CHANGED
@@ -16,14 +16,14 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.homepage = "https://github.com/mattbrictson/airbrussh"
|
17
17
|
spec.license = "MIT"
|
18
18
|
|
19
|
-
spec.files = `git ls-files -z`.split("\x0")
|
20
|
-
spec.
|
21
|
-
spec.
|
19
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
spec.bindir = "exe"
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.add_dependency "sshkit", "
|
24
|
+
spec.add_dependency "sshkit", "~> 1.6.1"
|
25
25
|
|
26
|
-
spec.add_development_dependency "bundler", "~> 1.
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.8"
|
27
27
|
spec.add_development_dependency "rake", "~> 10.0"
|
28
28
|
spec.add_development_dependency "minitest"
|
29
29
|
spec.add_development_dependency "minitest-reporters"
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
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
ADDED
data/demo.gif
CHANGED
Binary file
|
data/lib/airbrussh/formatter.rb
CHANGED
data/lib/airbrussh/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrussh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02
|
11
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sshkit
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.6.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.6.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.8'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -97,6 +97,8 @@ files:
|
|
97
97
|
- README.md
|
98
98
|
- Rakefile
|
99
99
|
- airbrussh.gemspec
|
100
|
+
- bin/console
|
101
|
+
- bin/setup
|
100
102
|
- demo.gif
|
101
103
|
- lib/airbrussh.rb
|
102
104
|
- lib/airbrussh/capistrano.rb
|
@@ -105,8 +107,6 @@ files:
|
|
105
107
|
- lib/airbrussh/formatter.rb
|
106
108
|
- lib/airbrussh/version.rb
|
107
109
|
- lib/sshkit/formatter/airbrussh.rb
|
108
|
-
- test/minitest_helper.rb
|
109
|
-
- test/test_airbrussh.rb
|
110
110
|
homepage: https://github.com/mattbrictson/airbrussh
|
111
111
|
licenses:
|
112
112
|
- MIT
|
@@ -131,6 +131,4 @@ rubygems_version: 2.4.6
|
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Airbrussh pretties up your SSHKit and Capistrano output
|
134
|
-
test_files:
|
135
|
-
- test/minitest_helper.rb
|
136
|
-
- test/test_airbrussh.rb
|
134
|
+
test_files: []
|
data/test/minitest_helper.rb
DELETED
data/test/test_airbrussh.rb
DELETED