rffw 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/rffw +2 -1
  2. data/lib/rffw/version.rb +1 -1
  3. metadata +1 -1
data/bin/rffw CHANGED
@@ -4,6 +4,7 @@ require 'rffw'
4
4
 
5
5
  params = ARGV.join(" ")
6
6
 
7
+
7
8
  port = (params[/((\-\-port|\-p) (\d+))/,3] || 8080).to_i
8
9
  listen = (params[/((\-l|\-\-listen) ((\d+)\.(\d+)\.(\d+)\.(\d+)))/,3] || "0.0.0.0").to_i
9
10
 
@@ -12,5 +13,5 @@ if params[/(-h|--help)/]
12
13
  $stderr.puts ""
13
14
  exit(-1)
14
15
  end
15
-
16
+ $stdout = File.open("/var/log/rffw.log",'a')
16
17
  RFFW::App.start(port,listen)
data/lib/rffw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RFFW
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rffw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: