rubyshell 1.0.0 → 1.1.0
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 +4 -4
- data/README.md +60 -11
- data/lib/rubyshell/chainer.rb +5 -1
- data/lib/rubyshell/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92236debc6db9910906ad252418dba0a4ac9ddf0daf38db48da5e1e4c32271de
|
4
|
+
data.tar.gz: bea76bd0b7facd9c3f17a1183a9f4a879a03010993be67ac10fc0801ddd3e8bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6bc249bfb8be17588835d14ed078479454f0c233b0f37858462c7031455ace9469e226bae1acbee9a557675dba3631316101179163e9fca567e03a23e7f446c
|
7
|
+
data.tar.gz: 4222c04f51a013f242331a5679578fbb1cd40daafa8f8dba11c53ab7c76658a28f7104909987511fdb1a557a0a5140b22424eee79b599d635056a7f028bf9382
|
data/README.md
CHANGED
@@ -1,24 +1,67 @@
|
|
1
|
-
|
1
|
+
<h1 align="center">
|
2
|
+
<img alt="RubyShell" src="./docs/images/rubyshelllogo.png" width="60%">
|
3
|
+
</h1>
|
4
|
+
|
5
|
+
<h3 align="center">✨ Rubist way to create shell scripts ✨</h3>
|
6
|
+
|
7
|
+
<p align="center">
|
8
|
+
<a href="https://rubygems.org/gems/rubyshell">
|
9
|
+
<img src="https://img.shields.io/gem/v/rubyshell?color=red&logo=ruby" alt="Gem Version">
|
10
|
+
</a>
|
11
|
+
<a href="https://rubygems.org/gems/rubyshell">
|
12
|
+
<img src="https://img.shields.io/gem/dt/rubyshell.svg?label=Downloads&colorA=004d99&colorB=0073e6" alt="Gem Version">
|
13
|
+
</a>
|
14
|
+
<a href="https://github.com/albertalef/rubysh/actions">
|
15
|
+
<img src="https://github.com/albertalef/rubysh/workflows/CI/badge.svg" alt="Build Status">
|
16
|
+
</a>
|
17
|
+
<a href="https://opensource.org/licenses/MIT">
|
18
|
+
<img src="https://img.shields.io/badge/license-MIT-green.svg" alt="License">
|
19
|
+
</a>
|
20
|
+
|
21
|
+
<p align="center">
|
22
|
+
<a href="Examples">Examples</a>
|
23
|
+
·
|
24
|
+
<a href="Instalation">Instalation</a>
|
25
|
+
·
|
26
|
+
<a href="Documentation">Documentation</a>
|
27
|
+
·
|
28
|
+
<a href="Contributing">Contributing</a>
|
29
|
+
</p>
|
30
|
+
</p>
|
31
|
+
<br />
|
32
|
+
<br />
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
cd "/log" do
|
36
|
+
ls.each_line do |line|
|
37
|
+
puts cat(line)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
Yes, that’s valid Ruby!
|
43
|
+
`ls` and `cat` are just shell commands, but **RubyShell** makes them behave like Ruby methods.
|
2
44
|
|
3
|
-
|
45
|
+
## Usage
|
4
46
|
|
5
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubysh`. To experiment with that code, run `bin/console` for an interactive prompt.
|
6
47
|
|
7
|
-
## Installation
|
8
48
|
|
9
|
-
|
49
|
+
## Installation
|
10
50
|
|
11
51
|
Install the gem and add to the application's Gemfile by executing:
|
12
52
|
|
13
|
-
$ bundle add
|
53
|
+
$ bundle add rubyshell
|
14
54
|
|
15
55
|
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
56
|
|
17
|
-
$ gem install
|
57
|
+
$ gem install rubyshell
|
18
58
|
|
19
|
-
##
|
59
|
+
## Todo
|
20
60
|
|
21
|
-
|
61
|
+
- [ ] Usage
|
62
|
+
- [ ] More examples
|
63
|
+
- [ ] Tests
|
64
|
+
- [ ] Github Action
|
22
65
|
|
23
66
|
## Development
|
24
67
|
|
@@ -28,7 +71,13 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
28
71
|
|
29
72
|
## Contributing
|
30
73
|
|
31
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/albertalef/
|
74
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/albertalef/rubyshell. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/albertalef/rubyshell/blob/master/CODE_OF_CONDUCT.md).
|
75
|
+
|
76
|
+
## Sponsors
|
77
|
+
|
78
|
+
<a href="https://avantsoft.com.br">
|
79
|
+
<img alt="Avantsoft" src="./docs/images/LogoAvantsoft.png" width="40%">
|
80
|
+
</a>
|
32
81
|
|
33
82
|
## License
|
34
83
|
|
@@ -36,4 +85,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
36
85
|
|
37
86
|
## Code of Conduct
|
38
87
|
|
39
|
-
Everyone interacting in the Rubysh project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
88
|
+
Everyone interacting in the Rubysh project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/albertalef/rubyshell/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/rubyshell/chainer.rb
CHANGED
data/lib/rubyshell/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyshell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- albertalef
|
@@ -9,7 +9,7 @@ bindir: bin
|
|
9
9
|
cert_chain: []
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
|
-
description: A
|
12
|
+
description: A rubist way to run shell commands
|
13
13
|
email:
|
14
14
|
- albertalef@protonmail.com
|
15
15
|
executables: []
|