table_format 0.0.3 → 0.0.4
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/lib/table_format/core_ext.rb +1 -1
- data/lib/table_format/version.rb +1 -1
- data/spec/core_ext_spec.rb +8 -0
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b43cf8ff87491505feda5008ef0f697d8e59a5f1333b2216070e4574c99c0608
|
|
4
|
+
data.tar.gz: d3cc57d297912be0e27dd1ce4f37e57d0f7b0cf2061d92c79d7f5a5b5365c8e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c992fe248e17f712cb9fa39d9867de3249109663f40a6bcd19e6be5d511db130927ff9ff24d28ff83337d7551fe48f3bb5db8f6fa74d98300160f648f6bf2e9
|
|
7
|
+
data.tar.gz: ab84ce1367a7f6e01b89950d877747616697faef9dabc8ee65189ec8cb953d02892e5a9e0aae1f9d70764b1f84e1bb7322f55c0d2f557cb4497759cae4a8dee8
|
data/lib/table_format/version.rb
CHANGED
data/spec/core_ext_spec.rb
CHANGED
|
@@ -17,4 +17,12 @@ describe TableFormat do
|
|
|
17
17
|
v = Object.new
|
|
18
18
|
quietly { tp v }.should == v
|
|
19
19
|
end
|
|
20
|
+
|
|
21
|
+
it 'tp with options' do
|
|
22
|
+
capture(:stdout) { tp({id: 123}, truncate: 1) }.should == <<~EOT
|
|
23
|
+
|------+------|
|
|
24
|
+
| i... | 1... |
|
|
25
|
+
|------+------|
|
|
26
|
+
EOT
|
|
27
|
+
end
|
|
20
28
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: table_format
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- akicho8
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -145,8 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
145
145
|
- !ruby/object:Gem::Version
|
|
146
146
|
version: '0'
|
|
147
147
|
requirements: []
|
|
148
|
-
|
|
149
|
-
rubygems_version: 2.7.6
|
|
148
|
+
rubygems_version: 3.0.3
|
|
150
149
|
signing_key:
|
|
151
150
|
specification_version: 4
|
|
152
151
|
summary: TableFormat shows text table like emacs org-table for easy reading.
|