ws 0.1.0r1 → 0.1.0
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.
- data/README.md +8 -16
- metadata +4 -4
data/README.md
CHANGED
@@ -2,40 +2,32 @@ ws(3) -- Simple Local Web Server
|
|
2
2
|
=============================
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
|
-
:::text
|
6
|
-
ws \[-v | --verbose\] \[-d | --directory DIRECTORY\] \[-p | --port PORT\] \[-h | --help\]
|
7
5
|
|
8
|
-
|
9
|
-
|
10
|
-
To install, make sure you have the latest version of Ruby and RubyGems installed (tested and working on Ruby 1.9.3, RubyGems 1.8.19) and execute `gem install ws`.
|
6
|
+
ws \[-v|--verbose\] \[-d|--directory DIRECTORY\] \[-p|--port PORT\] \[-h|--help\]
|
11
7
|
|
12
8
|
## DESCRIPTION
|
13
9
|
|
14
|
-
|
10
|
+
ws is a simple script which launches a server for testing of static websites.
|
15
11
|
|
16
12
|
## EXAMPLES
|
17
13
|
|
18
14
|
### Launch a server with the current directory as the root
|
19
15
|
|
20
|
-
|
21
|
-
ws
|
16
|
+
ws
|
22
17
|
|
23
18
|
### Launch a server with the current directory as the root, on port 1337
|
24
19
|
|
25
|
-
|
26
|
-
ws -p 1337
|
20
|
+
ws -p 1337
|
27
21
|
|
28
22
|
### Launch a server on port 1337, with the home folder as the root, in verbose mode
|
29
23
|
|
30
|
-
|
31
|
-
ws -d ~ -p 1337 -v
|
24
|
+
ws -d ~ -p 1337 -v
|
32
25
|
|
33
26
|
### Show help
|
34
27
|
|
35
|
-
|
36
|
-
ws -h
|
28
|
+
ws -h
|
37
29
|
|
38
30
|
## Author
|
39
31
|
|
40
|
-
Kenneth Powers
|
41
|
-
|
32
|
+
Kenneth Powers <mail@kenpowers.net>
|
33
|
+
http://bitbucket.org/KenPowers
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kenneth Powers
|
@@ -38,9 +38,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
38
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
|
-
- - ! '
|
41
|
+
- - ! '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
43
|
+
version: '0'
|
44
44
|
requirements: []
|
45
45
|
rubyforge_project:
|
46
46
|
rubygems_version: 1.8.19
|