lp 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -3
- data/lib/lp/version.rb +1 -1
- metadata +1 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 187bf719640c1454057cf2ab4f318d0b46d4bb188ef71c3fa7bc3f3140b0fc07
|
4
|
+
data.tar.gz: 959e606dff56f76dcb3bc8413261135d8a29299abf06a160cd240cb8571120eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c84b668a49e0c74c6575734c87b26be43e39cd024f44f0c1d5fa68bc4c5d5ddff574f68eb17ea16cd06e7e4ee907b8b1c051eadece9ee8cae5b5c148df99cb50
|
7
|
+
data.tar.gz: f68d73096dd2f749e0be45a0664a2ef378516723ef3917082a99936ec28371877265c0528af6aa44b74993947c31e80c82173ae14038f1cd8ea65cf06522e6e2
|
data/README.md
CHANGED
@@ -1,9 +1,15 @@
|
|
1
|
-
Lovely
|
1
|
+
Lovely Print
|
2
2
|
==================================================
|
3
3
|
|
4
4
|
---
|
5
5
|
|
6
|
-
|
6
|
+
Because Awesome is Annoying, and Pretty is Not.
|
7
|
+
|
8
|
+
This is the tinyest gem possible. It lets you print anything as YAML with:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
lp your_object
|
12
|
+
```
|
7
13
|
|
8
14
|
---
|
9
15
|
|
@@ -17,8 +23,25 @@ Installation
|
|
17
23
|
Usage
|
18
24
|
--------------------------------------------------
|
19
25
|
|
20
|
-
```
|
26
|
+
```ruby
|
21
27
|
require 'lp'
|
22
28
|
|
29
|
+
anything = { ace: 'ventura', like: ['a', 'glove'] }
|
23
30
|
lp anything
|
31
|
+
# =>
|
32
|
+
# ---
|
33
|
+
# :ace: ventura
|
34
|
+
# :like:
|
35
|
+
# - a
|
36
|
+
# - glove
|
24
37
|
```
|
38
|
+
|
39
|
+
|
40
|
+
Why?...
|
41
|
+
--------------------------------------------------
|
42
|
+
|
43
|
+
- `p` is messy
|
44
|
+
- `pp` is messy
|
45
|
+
- `ap` is colorful and messy
|
46
|
+
- why not
|
47
|
+
|
data/lib/lp/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
@@ -10,20 +10,6 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2018-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: mister_bin
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0.2'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0.2'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rspec
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|