org_tp 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.org +22 -16
- data/examples/0100_basic.rb +0 -1
- data/lib/org_tp/core_ext.rb +0 -1
- data/lib/org_tp/version.rb +1 -1
- data/spec/core_ext_spec.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: 55ad5c7b849bd6713f24c7deedc1185baf203fa2b2cbabae1314c5badb6898cb
|
4
|
+
data.tar.gz: df72693b036ac225936893cd6621a95191a84e84e5c793987213f64e1fb1dbd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b07ceaf240a1434231742547f8c46cc28e7e45d12ffcbaf316b9d64d2d154d2356aaf7109d460545cd526e58a4970a514a6fd29fe9b085d90648fc73fb95577e
|
7
|
+
data.tar.gz: d9cad0f0a8639e2bad5f64192d017451f286daef85ba0f1a1c07b35057eebaec6450082863df816ad752f0127b7f372da85abfac36446c669b07895126f1e192
|
data/README.org
CHANGED
@@ -1,7 +1,27 @@
|
|
1
|
+
[[https://badge.fury.io/rb/org_tp][https://badge.fury.io/rb/org_tp.svg]]
|
2
|
+
[[https://travis-ci.org/akicho8/org_tp][https://travis-ci.org/akicho8/org_tp.svg?branch=master]]
|
3
|
+
[[https://codeclimate.com/github/akicho8/org_tp/maintainability][https://api.codeclimate.com/v1/badges/3af6a246ec61ddafd45d/maintainability]]
|
4
|
+
|
1
5
|
* OrgTp
|
2
6
|
|
3
7
|
OrgTp shows text table like emacs org-table for easy reading.
|
4
8
|
|
9
|
+
#+BEGIN_SRC ruby
|
10
|
+
tp Object.constants.grep(/RUBY_/).map { |e| [e, Object.const_get(e)] }.to_h
|
11
|
+
|
12
|
+
# >> |---------------------+------------------------------------------------------------|
|
13
|
+
# >> | RUBY_VERSION | 2.5.0 |
|
14
|
+
# >> | RUBY_RELEASE_DATE | 2017-12-25 |
|
15
|
+
# >> | RUBY_PLATFORM | x86_64-darwin16 |
|
16
|
+
# >> | RUBY_PATCHLEVEL | 0 |
|
17
|
+
# >> | RUBY_DESCRIPTION | ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16] |
|
18
|
+
# >> | RUBY_ENGINE | ruby |
|
19
|
+
# >> | RUBY_REVISION | 61468 |
|
20
|
+
# >> | RUBY_ENGINE_VERSION | 2.5.0 |
|
21
|
+
# >> | RUBY_COPYRIGHT | ruby - Copyright (C) 1993-2017 Yukihiro Matsumoto |
|
22
|
+
# >> |---------------------+------------------------------------------------------------|
|
23
|
+
#+END_SRC
|
24
|
+
|
5
25
|
** Installation
|
6
26
|
|
7
27
|
Install as a standalone gem
|
@@ -121,23 +141,9 @@ tp ActiveRecord::Base.connection.select_all('SELECT * FROM users')
|
|
121
141
|
|
122
142
|
** Various alias
|
123
143
|
|
124
|
-
*
|
125
|
-
|
126
|
-
#+BEGIN_SRC ruby
|
127
|
-
pt :ok
|
128
|
-
# >> |----|
|
129
|
-
# >> | ok |
|
130
|
-
# >> |----|
|
131
|
-
#+END_SRC
|
132
|
-
|
133
|
-
#+BEGIN_SRC ruby
|
134
|
-
tp :ok
|
135
|
-
# >> |----|
|
136
|
-
# >> | ok |
|
137
|
-
# >> |----|
|
138
|
-
#+END_SRC
|
144
|
+
*tt* are alias of *tp*
|
139
145
|
|
140
|
-
#+BEGIN_SRC ruby
|
146
|
+
#+BEGIN_SRC ruby
|
141
147
|
tt :ok
|
142
148
|
# >> |----|
|
143
149
|
# >> | ok |
|
data/examples/0100_basic.rb
CHANGED
data/lib/org_tp/core_ext.rb
CHANGED
data/lib/org_tp/version.rb
CHANGED
data/spec/core_ext_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: org_tp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akicho8
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|