termichunk 0.0.1
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 +7 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +23 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/ruby.yml +33 -0
- data/.gitignore +5 -0
- data/.rspec +2 -0
- data/.travis.yml +16 -0
- data/CODE_OF_CONDUCT.md +76 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +22 -0
- data/README.md +61 -0
- data/Rakefile +5 -0
- data/lib/termichunk.rb +7 -0
- data/lib/termichunk/report.rb +48 -0
- data/lib/termichunk/version.rb +4 -0
- data/spec/report_spec.rb +106 -0
- data/spec/spec_helper.rb +11 -0
- data/termichunk.gemspec +28 -0
- metadata +147 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3ad131750d4441fca0c07991e20172f31c4e8913
|
4
|
+
data.tar.gz: a8483fbdd3bb0ac4e1b4d1ee82831b012cf7ae6c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9b169c877a4180c690d16dc661d710cf8362b4abecbbb9db47da9ccd4c24d83c64ddae769e97435e07f1811865b11ce5055bfe6d9bbfe36dc3e1cae71115b3bb
|
7
|
+
data.tar.gz: 59b24ace38179967425d6e0415b3741b102f342bcea9ed4f54315e3d4e7b515c974348293f145f69bd7b8607f6da1e5b746f8d90afc5f239db8b8f2b382f2513
|
@@ -0,0 +1,23 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: kevinstuffandthings
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Describe the bug**
|
11
|
+
A clear and concise description of what the bug is.
|
12
|
+
|
13
|
+
**To Reproduce**
|
14
|
+
Steps to reproduce the behavior.
|
15
|
+
|
16
|
+
**Expected behavior**
|
17
|
+
A clear and concise description of what you expected to happen.
|
18
|
+
|
19
|
+
**Logs**
|
20
|
+
If applicable, add code/outputs to help explain your problem.
|
21
|
+
|
22
|
+
**Additional context**
|
23
|
+
Add any other context about the problem here.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
name: Feature request
|
3
|
+
about: Suggest an idea for this project
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: kevinstuffandthings
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
12
|
+
|
13
|
+
**Describe the solution you'd like**
|
14
|
+
A clear and concise description of what you want to happen.
|
15
|
+
|
16
|
+
**Describe alternatives you've considered**
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
18
|
+
|
19
|
+
**Additional context**
|
20
|
+
Add any other context or screenshots about the feature request here.
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ master ]
|
13
|
+
pull_request:
|
14
|
+
branches: [ master ]
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
test:
|
18
|
+
|
19
|
+
runs-on: ubuntu-latest
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
- name: Set up Ruby
|
24
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
25
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
26
|
+
# uses: ruby/setup-ruby@v1
|
27
|
+
uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
|
28
|
+
with:
|
29
|
+
ruby-version: 2.6
|
30
|
+
- name: Install dependencies
|
31
|
+
run: bundle install
|
32
|
+
- name: Run tests
|
33
|
+
run: bundle exec rspec
|
data/.rspec
ADDED
data/.travis.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 2.4
|
4
|
+
- 2.5
|
5
|
+
- 2.6
|
6
|
+
script:
|
7
|
+
- bundle exec rspec
|
8
|
+
deploy:
|
9
|
+
provider: rubygems
|
10
|
+
api_key:
|
11
|
+
secure: jUWa2Jx0HRVv7Dl0zYPTskHQ+RJGy2TUcBWOjyFbBUbeDKiRh8J/NnbMuCOvmL94htSaFk5lcs6k74Itu6jW12+KyT98OAnOardFPFuI0cHHhIMEhF6ms8EhyOCZ0vvR9zav11gfNzyF716qO09DQSDuoKWWNdhrYj8a5paLdbHuRqQiw3YUmnjVQ/v9SPYaZ7ziXC4X4tBxQhK2ujNsNfztSVrpYb6pnsXnt+hFQOnskzi0+er4854iymykeyNVgB71KgivrE3T55ZTXPPglshsZQE7M7FlYA5L3bwzR7SlA202yFYHB3hUN3obwO3BjO4OiAdKQnSosBHaXI13ZvCOz02AfEJhwoxkBXw1/2CvSQ12QQPVgqkpxWY03h+URk+gGHCV+JaqZPCV9excmVWg/IOQou0IJ6h84VFViyVc2aFVN2AIdoaG3NsppbV3j4VuLG6J2VVpNmUzN3pGgi5YSjVq9Hp+huXZFfWpnUgAxc680hKgcFajE3JNANG+NbNEeoDmITvZyV5kvJklgUKPsl2wNk+wY/GGrSBgNOVlyXqTWLZb/8Z/cSrN5DEc6D5BIS/SG95wlCRT8jUqbyEPjT+H77TH2ySfwWZzblLqbIxaLiZr3hX16oMdUx7Cya5LKLFgQBpU6cFUxvZX7SqHwjk1vnuG592Kxd9GkX4=
|
12
|
+
gem: termichunk
|
13
|
+
on:
|
14
|
+
tags: true
|
15
|
+
repo: kevinstuffandthings/termichunk
|
16
|
+
skip_cleanup: 'true'
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
9
|
+
level of experience, education, socio-economic status, nationality, personal
|
10
|
+
appearance, race, religion, or sexual identity and orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at kevinstuffandthings@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
72
|
+
|
73
|
+
[homepage]: https://www.contributor-covenant.org
|
74
|
+
|
75
|
+
For answers to common questions about this code of conduct, see
|
76
|
+
https://www.contributor-covenant.org/faq
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Kevin McDonald
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# TermiChunk [](https://travis-ci.com/kevinstuffandthings/termichunk) [](https://badge.fury.io/rb/termichunk)
|
2
|
+
|
3
|
+
Take large chunks of text that might otherwise run together, and organize them neatly within your terminal output.
|
4
|
+
|
5
|
+
Originally developed for [Simulmedia](https://simulmedia.com).
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
# update with the version of your choice
|
12
|
+
gem 'termichunk'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
```bash
|
18
|
+
$ bundle install
|
19
|
+
```
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
```bash
|
24
|
+
$ gem install termichunk
|
25
|
+
```
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
Create reports. Nest them within each other. Bring sanity to your outputs.
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
report = TermiChunk::Report.new(title: 'My Report')
|
32
|
+
report << 'Line one goes in here'
|
33
|
+
report << 'Another line here!'
|
34
|
+
puts report
|
35
|
+
|
36
|
+
┌─[ My Report ]──────────
|
37
|
+
│ Line one goes in here
|
38
|
+
│ Another line here!
|
39
|
+
└─[ My Report ]──────────
|
40
|
+
|
41
|
+
puts(TermiChunk::Report.new(title: 'AMAZING', padding: 1) do |parent|
|
42
|
+
parent << 'I can write some stuff here'
|
43
|
+
parent << report
|
44
|
+
end)
|
45
|
+
|
46
|
+
┌─[ AMAZING ]────────────────────
|
47
|
+
│
|
48
|
+
│ I can write some stuff here
|
49
|
+
│
|
50
|
+
│ ┌─[ My Report ]──────────
|
51
|
+
│ │ Line one goes in here
|
52
|
+
│ │ Another line here!
|
53
|
+
│ └─[ My Report ]──────────
|
54
|
+
│
|
55
|
+
│
|
56
|
+
└─[ AMAZING ]────────────────────
|
57
|
+
```
|
58
|
+
|
59
|
+
# Problems?
|
60
|
+
Please submit an [issue](https://github.com/kevinstuffandthings/termichunk/issues).
|
61
|
+
We'll figure out how to get you up and running with TermiChunk as smoothly as possible.
|
data/Rakefile
ADDED
data/lib/termichunk.rb
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
module TermiChunk
|
3
|
+
class Report
|
4
|
+
X = '─'
|
5
|
+
Y = '│'
|
6
|
+
TL = '┌'
|
7
|
+
BL = '└'
|
8
|
+
|
9
|
+
attr_reader :title, :padding, :rows
|
10
|
+
|
11
|
+
def initialize(title:, padding: nil)
|
12
|
+
@title = title
|
13
|
+
@padding = padding || 0
|
14
|
+
@rows = []
|
15
|
+
yield self if block_given?
|
16
|
+
end
|
17
|
+
|
18
|
+
def <<(item)
|
19
|
+
lines = item.to_s.lines
|
20
|
+
if item.is_a?(self.class) && padding.nonzero?
|
21
|
+
buffer = padding.times.map { "\n" }
|
22
|
+
lines = [*buffer, *lines, *buffer]
|
23
|
+
end
|
24
|
+
lines.each { |l| rows << l }
|
25
|
+
end
|
26
|
+
|
27
|
+
def to_s
|
28
|
+
y = padding.times.map { Y }
|
29
|
+
[titlebar(TL), *y, body, *y, titlebar(BL)].compact.join("\n")
|
30
|
+
end
|
31
|
+
|
32
|
+
private
|
33
|
+
|
34
|
+
def body
|
35
|
+
rows.map { |l| "#{Y} #{' ' * padding}#{l.chomp}" }.join("\n")
|
36
|
+
end
|
37
|
+
|
38
|
+
def titlebar(corner)
|
39
|
+
heading = "#{corner}#{X}[ #{title} ]"
|
40
|
+
heading += (X * (width + 2 + (padding * 2) - heading.length))
|
41
|
+
heading
|
42
|
+
end
|
43
|
+
|
44
|
+
def width
|
45
|
+
[rows.map(&:length).max + 2, title.length + 6].max
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/spec/report_spec.rb
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
module TermiChunk
|
2
|
+
describe Report do
|
3
|
+
let(:subject) { described_class.new(title: 'Some Report') }
|
4
|
+
let(:result) { subject.to_s + "\n" }
|
5
|
+
|
6
|
+
it 'can make a narrow report' do
|
7
|
+
subject << 'Line 1'
|
8
|
+
subject << 'Line 2'
|
9
|
+
expect(result).to eq <<~EOF
|
10
|
+
┌─[ Some Report ]──
|
11
|
+
│ Line 1
|
12
|
+
│ Line 2
|
13
|
+
└─[ Some Report ]──
|
14
|
+
EOF
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'can make a wide report' do
|
18
|
+
subject << 'Line 1 has a whole lot of stuff in it'
|
19
|
+
subject << 'Line 2 has a pretty good amount, too'
|
20
|
+
expect(result).to eq <<~EOF
|
21
|
+
┌─[ Some Report ]────────────────────────
|
22
|
+
│ Line 1 has a whole lot of stuff in it
|
23
|
+
│ Line 2 has a pretty good amount, too
|
24
|
+
└─[ Some Report ]────────────────────────
|
25
|
+
EOF
|
26
|
+
end
|
27
|
+
|
28
|
+
it 'can make a report that has a report' do
|
29
|
+
subject << "Line 1a\nLine 1b\n"
|
30
|
+
subject << described_class.new(title: 'Sub-report') { |r| r << "Whoa!\nThis is down in there" }
|
31
|
+
expect(result).to eq <<~EOF
|
32
|
+
┌─[ Some Report ]─────────────
|
33
|
+
│ Line 1a
|
34
|
+
│ Line 1b
|
35
|
+
│ ┌─[ Sub-report ]─────────
|
36
|
+
│ │ Whoa!
|
37
|
+
│ │ This is down in there
|
38
|
+
│ └─[ Sub-report ]─────────
|
39
|
+
└─[ Some Report ]─────────────
|
40
|
+
EOF
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'padding' do
|
44
|
+
let(:contents) { "Line 1 has some stuff in it\nLine 2 has less" }
|
45
|
+
let(:subject) { described_class.new(title: 'Some Report', padding: padding) { |r| r << contents } }
|
46
|
+
|
47
|
+
context '1' do
|
48
|
+
let(:padding) { 1 }
|
49
|
+
|
50
|
+
it 'can make a report with some padding' do
|
51
|
+
expect(result).to eq <<~EOF
|
52
|
+
┌─[ Some Report ]─────────────────
|
53
|
+
│
|
54
|
+
│ Line 1 has some stuff in it
|
55
|
+
│ Line 2 has less
|
56
|
+
│
|
57
|
+
└─[ Some Report ]─────────────────
|
58
|
+
EOF
|
59
|
+
end
|
60
|
+
|
61
|
+
it 'will vertically pad around a sub-report' do
|
62
|
+
subject << described_class.new(title: 'Sub-report', padding: 2) { |r| r << "Whoa!\nThis is down in there" }
|
63
|
+
subject << 'Yeah'
|
64
|
+
expect(result).to eq <<~EOF
|
65
|
+
┌─[ Some Report ]───────────────────
|
66
|
+
│
|
67
|
+
│ Line 1 has some stuff in it
|
68
|
+
│ Line 2 has less
|
69
|
+
│
|
70
|
+
│ ┌─[ Sub-report ]─────────────
|
71
|
+
│ │
|
72
|
+
│ │
|
73
|
+
│ │ Whoa!
|
74
|
+
│ │ This is down in there
|
75
|
+
│ │
|
76
|
+
│ │
|
77
|
+
│ └─[ Sub-report ]─────────────
|
78
|
+
│
|
79
|
+
│ Yeah
|
80
|
+
│
|
81
|
+
└─[ Some Report ]───────────────────
|
82
|
+
EOF
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
context '3' do
|
87
|
+
let(:padding) { 3 }
|
88
|
+
|
89
|
+
it 'can make a report with some padding' do
|
90
|
+
expect(result).to eq <<~EOF
|
91
|
+
┌─[ Some Report ]─────────────────────
|
92
|
+
│
|
93
|
+
│
|
94
|
+
│
|
95
|
+
│ Line 1 has some stuff in it
|
96
|
+
│ Line 2 has less
|
97
|
+
│
|
98
|
+
│
|
99
|
+
│
|
100
|
+
└─[ Some Report ]─────────────────────
|
101
|
+
EOF
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'termichunk'
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.expect_with :rspec do |expectations|
|
5
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
6
|
+
end
|
7
|
+
|
8
|
+
config.mock_with :rspec do |mocks|
|
9
|
+
mocks.verify_partial_doubles = true
|
10
|
+
end
|
11
|
+
end
|
data/termichunk.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# coding: utf-8
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'termichunk/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "termichunk"
|
9
|
+
spec.version = TermiChunk::VERSION
|
10
|
+
spec.authors = ["Kevin McDonald"]
|
11
|
+
spec.email = ["kevinstuffandthings@gmail.com"]
|
12
|
+
spec.summary = %q{Organize chunks of text within terminals}
|
13
|
+
spec.description = spec.summary
|
14
|
+
spec.homepage = "https://github.com/kevinstuffandthings/termichunk"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0")
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler"
|
23
|
+
spec.add_development_dependency "pry"
|
24
|
+
spec.add_development_dependency "pry-byebug"
|
25
|
+
spec.add_development_dependency "rack-test"
|
26
|
+
spec.add_development_dependency "rake"
|
27
|
+
spec.add_development_dependency "rspec"
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,147 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: termichunk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kevin McDonald
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-08-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pry
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pry-byebug
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rack-test
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Organize chunks of text within terminals
|
98
|
+
email:
|
99
|
+
- kevinstuffandthings@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
105
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
106
|
+
- ".github/workflows/ruby.yml"
|
107
|
+
- ".gitignore"
|
108
|
+
- ".rspec"
|
109
|
+
- ".travis.yml"
|
110
|
+
- CODE_OF_CONDUCT.md
|
111
|
+
- Gemfile
|
112
|
+
- LICENSE.txt
|
113
|
+
- README.md
|
114
|
+
- Rakefile
|
115
|
+
- lib/termichunk.rb
|
116
|
+
- lib/termichunk/report.rb
|
117
|
+
- lib/termichunk/version.rb
|
118
|
+
- spec/report_spec.rb
|
119
|
+
- spec/spec_helper.rb
|
120
|
+
- termichunk.gemspec
|
121
|
+
homepage: https://github.com/kevinstuffandthings/termichunk
|
122
|
+
licenses:
|
123
|
+
- MIT
|
124
|
+
metadata: {}
|
125
|
+
post_install_message:
|
126
|
+
rdoc_options: []
|
127
|
+
require_paths:
|
128
|
+
- lib
|
129
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
requirements: []
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 2.6.14
|
142
|
+
signing_key:
|
143
|
+
specification_version: 4
|
144
|
+
summary: Organize chunks of text within terminals
|
145
|
+
test_files:
|
146
|
+
- spec/report_spec.rb
|
147
|
+
- spec/spec_helper.rb
|