buff-shell_out 1.0.0 → 1.1.0

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
  SHA1:
3
- metadata.gz: d719dbc121a2a529a1e7eb75e5280d45b48594f9
4
- data.tar.gz: 2706db7e47109cc852c2063bd452e29e0a2ab9bd
3
+ metadata.gz: d632aabb83fba4eabfaa06e5d72f111932c1c9e9
4
+ data.tar.gz: 23d8bb4e501fb4d46c19ba9fc737852c49a7da0a
5
5
  SHA512:
6
- metadata.gz: d18b24313d6a878700601b49c030a91763934a857a517391c372514ab558a71dd71639afd87306b51c4d7da3d460180faf20506b0bb2e9101234fbdc46d981c1
7
- data.tar.gz: d7598fa2583b3df990da0a783d7e0f5ee20b5c25816cd421a62ad382710c09b1d0ca81ec35214d06271e72cc255a26763d7ef775061af7764c01cf495e8b8411
6
+ metadata.gz: c9f9c71da72e0225cd0b55e5f8d7f26db4c95bc930b7d84feff29e1bbc1f6851443a839d863126f96ebf84dcff0683b73192acea16f98eaf6f1e65d08562c710
7
+ data.tar.gz: 0ce6b314c6f53e2c08ab73aac9f06758dce264218de89199476da0db098ef294caeee3e81deba162c421667e2c4f019499036ba7bd08114928c2dcdc7e8bb345
@@ -4,21 +4,29 @@
4
4
 
5
5
  ### Install prerequisites
6
6
 
7
- Install the latest version of [Bundler](http://gembundler.com)
7
+ Install the latest version of [Bundler](http://bundler.io/)
8
8
 
9
- $ gem install bundler
9
+ ```shell
10
+ $ gem install bundler
11
+ ```
10
12
 
11
13
  Clone the project
12
14
 
13
- $ git clone git://github.com/berkshelf/buff-shell_out.git
15
+ ```shell
16
+ $ git clone git://github.com/berkshelf/buff-shell_out.git
17
+ ```
14
18
 
15
19
  and run:
16
20
 
17
- $ cd buff-shell_out
18
- $ bundle install
21
+ ```shell
22
+ $ cd buff-shell_out
23
+ $ bundle install
24
+ ```
19
25
 
20
26
  Bundler will install all gems and their dependencies required for testing and developing.
21
27
 
22
28
  ### Running unit (RSpec) tests
23
29
 
24
- $ bundle exec guard start
30
+ ```shell
31
+ $ bundle exec guard start
32
+ ```
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Buff::ShellOut
2
- [![Gem Version](https://badge.fury.io/rb/buff-shell_out.svg)](http://badge.fury.io/rb/buff-shell_out)
3
- [![Build Status](https://travis-ci.org/berkshelf/buff-shell_out.svg?branch=master)](https://travis-ci.org/berkshelf/buff-shell_out)
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/buff-shell_out.svg)](http://badge.fury.io/rb/buff-shell_out) [![Build Status](https://travis-ci.org/berkshelf/buff-shell_out.svg?branch=master)](https://travis-ci.org/berkshelf/buff-shell_out)
4
4
 
5
5
  Buff up your code with a mixin for issuing shell commands and collecting the output
6
6
 
@@ -8,37 +8,47 @@ Buff up your code with a mixin for issuing shell commands and collecting the out
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- gem 'buff-shell_out'
11
+ ```ruby
12
+ gem 'buff-shell_out'
13
+ ```
12
14
 
13
15
  And then execute:
14
16
 
15
- $ bundle
17
+ ```shell
18
+ $ bundle
19
+ ```
16
20
 
17
21
  Or install it yourself as:
18
22
 
19
- $ gem install buff-shell_out
23
+ ```shell
24
+ $ gem install buff-shell_out
25
+ ```
20
26
 
21
27
  ## Usage
22
28
 
23
- Using it as a mixin
29
+ Using it as a mixin:
24
30
 
25
- require 'buff/shell_out'
31
+ ```ruby
32
+ require 'buff/shell_out'
26
33
 
27
- class PowerUp
28
- include Buff::ShellOut
29
- end
34
+ class PowerUp
35
+ include Buff::ShellOut
36
+ end
30
37
 
31
- power_up = PowerUp.new
32
- power_up.shell_out("ls") #=> <#Buff::ShellOut::Response @exitstatus=0, @stdout="...", @stderr="...">
38
+ power_up = PowerUp.new
39
+ power_up.shell_out("ls") #=> <#Buff::ShellOut::Response @exitstatus=0, @stdout="...", @stderr="...">
40
+ ```
33
41
 
34
- Using it as a module
42
+ Using it as a module:
35
43
 
36
- require 'buff/shell_out'
44
+ ```ruby
45
+ require 'buff/shell_out'
37
46
 
38
- Buff::ShellOut.shell_out("ls") #=> <#Buff::ShellOut::Response @exitstatus=0, @stdout="...", @stderr="...">
47
+ Buff::ShellOut.shell_out("ls") #=> <#Buff::ShellOut::Response @exitstatus=0, @stdout="...", @stderr="...">
48
+ ```
39
49
 
40
50
  # Authors and Contributors
41
51
 
42
- * Jamie Winsor (<jamie@vialstudios.com>)
52
+ - Jamie Winsor ([jamie@vialstudios.com](mailto:jamie@vialstudios.com))
43
53
 
44
- Thank you to all of our [Contributors](https://github.com/RiotGames/buff-shell_out/graphs/contributors), testers, and users.
54
+ Thank you to all of our [Contributors](https://github.com/berkshelf/buff-shell_out/graphs/contributors), testers, and users.
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["jamie@vialstudios.com"]
11
11
  spec.description = %q{A mixin for issuing shell commands and collecting the output}
12
12
  spec.summary = %q{Buff up your code with a mixin for issuing shell commands and collecting the output}
13
- spec.homepage = "https://github.com/RiotGames/buff-shell_out"
13
+ spec.homepage = "https://github.com/berkshelf/buff-shell_out"
14
14
  spec.license = "Apache 2.0"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
  spec.required_ruby_version = ">= 2.2.0"
21
21
 
22
- spec.add_dependency "buff-ruby_engine", "~> 0.1.0"
22
+ spec.add_dependency "buff-ruby_engine", "~> 1.0"
23
23
 
24
24
  spec.add_development_dependency "thor", "~> 0.19.1"
25
25
  spec.add_development_dependency "bundler", "~> 1.3"
@@ -1,5 +1,5 @@
1
1
  module Buff
2
2
  module ShellOut
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buff-shell_out
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamie Winsor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-05 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: buff-ruby_engine
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.0
19
+ version: '1.0'
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
- version: 0.1.0
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -173,7 +173,7 @@ files:
173
173
  - spec/buff/shell_out/response_spec.rb
174
174
  - spec/buff/shell_out_spec.rb
175
175
  - spec/spec_helper.rb
176
- homepage: https://github.com/RiotGames/buff-shell_out
176
+ homepage: https://github.com/berkshelf/buff-shell_out
177
177
  licenses:
178
178
  - Apache 2.0
179
179
  metadata: {}
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  version: '0'
194
194
  requirements: []
195
195
  rubyforge_project:
196
- rubygems_version: 2.4.8
196
+ rubygems_version: 2.6.6
197
197
  signing_key:
198
198
  specification_version: 4
199
199
  summary: Buff up your code with a mixin for issuing shell commands and collecting