rexe 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/exe/rexe +7 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f28a8f0593a9ba5033d80d5f6be579a3f6bea8b590769576830017c0e2c937e5
4
- data.tar.gz: 564ed18f9d4b5976e5e34ed5cb6f14ffb249e2971fc2973b78ccd474b14fe3cd
3
+ metadata.gz: e722054c78d64b4423f008c6c4e24e9d47b16fa4e07450f28d5a835246cd9810
4
+ data.tar.gz: 4624fe6eacd8e6052b78a9410c2ac7ad9a527ffbd0977225cf0b91de41f90184
5
5
  SHA512:
6
- metadata.gz: 80288862464f30164044d0da18944bb5b28b6f8a3dc434a030b351b670be84f088be8d09e7e4f694c452fdf85e06469e4d9d96a5a629b30cd06694dfb6af9aa2
7
- data.tar.gz: 353a94f6442280feb8e2a69123415651a9cfc21d9bf1e4fae3d50721f96abdf9b95863382b381bb906834132d4e641d4de7938ef3cc60c7fb88e75135cc1be96
6
+ metadata.gz: 80f48114e7ff0e47fa6551e30b42aa0bc7326984bb68b5fec588d4cb4d2b1f0c246bc710aa709e9214dbcb52c18e0c9cae39bf89fec4f67c9a3e8fe44ea96621
7
+ data.tar.gz: 64a01dcfa2daf21325f42203c4e74a090e6650aefb8bf6fec453f6c36b1a7f0e6ba38c05cd6a4f260cc4c4cb6ac7bac55ad3a6832ee00b927ea7a749d2ecc756
@@ -1,5 +1,11 @@
1
1
  ## rexe -- Ruby Command Line Executor
2
2
 
3
+
4
+ ### v0.8.1
5
+
6
+ * Fix and improve help text.
7
+
8
+
3
9
  ### v0.8.0
4
10
 
5
11
  * Add no-op mode to suppress execution of code (useful with -v).
data/exe/rexe CHANGED
@@ -9,7 +9,7 @@ require 'shellwords'
9
9
 
10
10
  class Rexe < Struct.new(:input_mode, :loads, :requires, :verbose, :noop)
11
11
 
12
- VERSION = '0.8.0'
12
+ VERSION = '0.8.1'
13
13
 
14
14
  def initialize
15
15
  clear_options
@@ -29,7 +29,7 @@ class Rexe < Struct.new(:input_mode, :loads, :requires, :verbose, :noop)
29
29
  def help_text
30
30
  <<~HEREDOC
31
31
 
32
- rexe -- Ruby Command Line Filter/Executor -- v#{VERSION} -- https://github.com/keithrbennett/rexe
32
+ rexe -- Ruby Command Line Executor/Filter -- v#{VERSION} -- https://github.com/keithrbennett/rexe
33
33
 
34
34
  Executes Ruby code on the command line, optionally taking standard input and writing to standard output.
35
35
 
@@ -38,14 +38,14 @@ class Rexe < Struct.new(:input_mode, :loads, :requires, :verbose, :noop)
38
38
  -c --clear_options Clear all previous command line options specified up to now
39
39
  -h, --help Print help and exit
40
40
  -l, --load RUBY_FILE(S) Ruby file(s) to load, comma separated, or ! to clear
41
- -m, --mode MODE Mode with which to handle input (i.e. what `self` will be in the code):
42
- -ms for each line to be handled separately as a string
41
+ -m, --mode MODE Mode with which to handle input (i.e. what `self` will be in your code):
42
+ -ms for each line to be handled as a separate string
43
43
  -me for an enumerator of lines (least memory consumption for big data)
44
44
  -mb for 1 big string (all lines combined into single multiline string)
45
45
  -mn don't do special handling of input; self is not the input (default)
46
- -n', --[no-]noop Do not execute the code (useful with -v)
46
+ -n, --[no-]noop Do not execute the code (useful with -v); see note (1) below
47
47
  -r, --require REQUIRES Gems and built-in libraries to require, comma separated, or ! to clear
48
- -v, --[no-]verbose verbose mode (logs to stderr); to disable, short options: -v n, -v false
48
+ -v, --[no-]verbose verbose mode (logs to stderr); see note (1) below
49
49
 
50
50
  If there is an .rexerc file in your home directory, it will be run as Ruby code
51
51
  before processing the input.
@@ -53,7 +53,7 @@ class Rexe < Struct.new(:input_mode, :loads, :requires, :verbose, :noop)
53
53
  If there is a REXE_OPTIONS environment variable, its content will be prepended to the command line
54
54
  so that you can specify options implicitly (e.g. `export REXE_OPTIONS="-r awesome_print,yaml"`)
55
55
 
56
- For boolean verbose and noop options, the following are valid:
56
+ (1) For boolean verbose and noop options, the following are valid:
57
57
  -v no, -v yes, -v false, -v true, -v n, -v y, -v +, but not -v -
58
58
 
59
59
  HEREDOC
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Bennett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-04 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler