forward-proxy 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3687a0d3afbcb7693bc263f07a0cd08b64c137df
4
- data.tar.gz: 2c5b3b5b9b1b7f4267f2dcebe704d2d528e6192c
3
+ metadata.gz: 3f624058897845408afede390c49b3048ee7a74f
4
+ data.tar.gz: d2a90df621baefdecc61bba48a44bfdee2180766
5
5
  SHA512:
6
- metadata.gz: 64c42b4c1b2d82cfcb23bb4a1119473eb6ec2ec4a4a2b817b58e71eb2c9722208bc944f3b571edc6005c27696eb08786915b933f6adec28cb3f8d892ae8a4f89
7
- data.tar.gz: b29d444e69dc042152505ae321e7be6ef903840f611775c1044fa895a6ba26c0a97a9fca99973803cb8ca88f6f846f2286106b8b942e00a308273ee3884903d1
6
+ metadata.gz: 76d5bffc4db996cdc9578baa97cef6e13eb519cc065a0856cf83724470b27beaf6819b66aaddaf10bc21b1053b269635623ed5b4e9e0f13dff561bc044c7313d
7
+ data.tar.gz: e085eba75e664a72575920750045ef62334cc0e3c64c72daddc5db5bf571656fb395790c6cb5d0a32bd3b3320fdeb2e0ce50705d59e3a2da0844628ae9b37148
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.3
4
+
5
+ - Refine CLI help text.
6
+
3
7
  ## 0.1.2
4
8
 
5
9
  - Wrap ThreadPool in ForwardProxy module.
data/README.md CHANGED
@@ -37,9 +37,9 @@ forward-proxy
37
37
  ```
38
38
  Usage: forward-proxy [options]
39
39
  -p, --port=PORT Bind to specified port. Default: 9292
40
- -b, --binding=BINDING Bind to the specified IP. Default: 127.0.0.1
40
+ -b, --binding=BINDING Bind to the specified ip. Default: 127.0.0.1
41
41
  -t, --threads=THREADS Specify the number of client threads. Default: 32
42
- -h, --help Prints this help
42
+ -h, --help Prints this help.
43
43
  ```
44
44
 
45
45
  ### Library
@@ -11,7 +11,7 @@ OptionParser.new do |parser|
11
11
  options[:bind_port] = bind_port
12
12
  end
13
13
 
14
- parser.on("-bBINDING", "--binding=BINDING", String, "Bind to the specified IP. Default: 127.0.0.1") do |bind_address|
14
+ parser.on("-bBINDING", "--binding=BINDING", String, "Bind to the specified ip. Default: 127.0.0.1") do |bind_address|
15
15
  options[:bind_address] = bind_address
16
16
  end
17
17
 
@@ -19,7 +19,7 @@ OptionParser.new do |parser|
19
19
  options[:threads] = threads
20
20
  end
21
21
 
22
- parser.on("-h", "--help", "Prints this help") do
22
+ parser.on("-h", "--help", "Prints this help.") do
23
23
  puts parser
24
24
  exit
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module ForwardProxy
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forward-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Moriarty