lp 0.0.1 → 0.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +26 -3
  3. data/lib/lp/version.rb +1 -1
  4. metadata +1 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4252c68d3dd18d184d698de75765faeab8f7e5a04c7fa5fe9ca223a02534cdd4
4
- data.tar.gz: 75061ee766eae11a1347e88aa870e7da11f3f1def7afa62b03a488c97f926af7
3
+ metadata.gz: 187bf719640c1454057cf2ab4f318d0b46d4bb188ef71c3fa7bc3f3140b0fc07
4
+ data.tar.gz: 959e606dff56f76dcb3bc8413261135d8a29299abf06a160cd240cb8571120eb
5
5
  SHA512:
6
- metadata.gz: d06aa0dde7b50c26b5c385002aab00ff0ecd902e93a2cc16b0fd2247c42be056b62a17dce4a123945112964bdae3f5b456d3caca15cdd6d245b8f084a042ca43
7
- data.tar.gz: 63dac54b5ba9f5e7ce29b59b74ed19cc5aeee741492fac2eb834b75c14562b5be1672f4412723382fa3600509af525e47b97c0c5e7fb1ac5f8dd9b5ae2a84f43
6
+ metadata.gz: c84b668a49e0c74c6575734c87b26be43e39cd024f44f0c1d5fa68bc4c5d5ddff574f68eb17ea16cd06e7e4ee907b8b1c051eadece9ee8cae5b5c148df99cb50
7
+ data.tar.gz: f68d73096dd2f749e0be45a0664a2ef378516723ef3917082a99936ec28371877265c0528af6aa44b74993947c31e80c82173ae14038f1cd8ea65cf06522e6e2
data/README.md CHANGED
@@ -1,9 +1,15 @@
1
- Lovely print
1
+ Lovely Print
2
2
  ==================================================
3
3
 
4
4
  ---
5
5
 
6
- The tinyest gem possible. Print anything as YAML with `lp your_object`.
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
+
@@ -1,3 +1,3 @@
1
1
  module LP
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
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.1
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