ppcli 0.1.0 → 0.1.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -4
  3. data/exe/pp +1 -1
  4. data/lib/ppcli/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12f5daf99ec61338fcc57ef226520e9a65f55a75
4
- data.tar.gz: 819eb67ff54731b3ddb8179972e18d746b7f7a1a
3
+ metadata.gz: 1d30bb5f4bad9622b47b44d4b4fdcdded29f66b3
4
+ data.tar.gz: 477b8c469be495585593ebc20d2d3cee497594f3
5
5
  SHA512:
6
- metadata.gz: 645a90a9a0893aaa4aa01cbe7b92435904893e3af3f6d98cda247679c2de98ff0c1589d40a28efd1c0d0c0b7d38fc653c75bfadd0f364e1894f0279f18accb3f
7
- data.tar.gz: f688dbac48c9d0a6667389678bee28443760d458b65d7e6fdcb73711fbf92a52cdf13d823155e5a8c94fc41ad2bfdc3fd84a3513eaa72be29e22e5e149cc479e
6
+ metadata.gz: 95016cf5d1d844722a0ff5d94a8818465d41317efac2e52cc31de24f624e304875c434cdec93996154f83f9865e348ce867662ffed70ff53ae2b8222f2d3f10f
7
+ data.tar.gz: 86e09a1818089c612703687668e5c18538f1848f8d4151db8757396c1316d932e40d1dc9410e26ee031f57f3000c2662ca8b738aac2798d4d331ad7fcdf672e4
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
- # Ppcli
1
+ # PPCLI
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/ppcli`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ `pp something` in Terminal.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
5
 
7
6
  ## Installation
8
7
 
@@ -22,7 +21,23 @@ Or install it yourself as:
22
21
 
23
22
  ## Usage
24
23
 
25
- TODO: Write usage instructions here
24
+ Basic usage:
25
+
26
+ ```bash
27
+ $ pp '1 + 1'
28
+ 2
29
+ ```
30
+
31
+ Advanced usage:
32
+
33
+ ppcli requires standard library automatically(see [https://github.com/pocke/equire](https://github.com/pocke/equire) ).
34
+
35
+ ```bash
36
+ $ pp 'Ripper.lex("Hello world!")'
37
+ [[[1, 0], :on_const, "Hello"],
38
+ [[1, 5], :on_sp, " "],
39
+ [[1, 6], :on_ident, "world!"]]
40
+ ```
26
41
 
27
42
  ## Development
28
43
 
data/exe/pp CHANGED
@@ -1,7 +1,7 @@
1
1
  #!ruby
2
2
 
3
- require 'pp'
4
3
  require 'equire'
4
+ require 'pp'
5
5
 
6
6
  r = false
7
7
  requires = []
@@ -1,3 +1,3 @@
1
1
  module Ppcli
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ppcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masataka Pocke Kuwabara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-30 00:00:00.000000000 Z
11
+ date: 2017-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler