annyong 0.1 → 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.
- data/README.mkd +6 -1
- data/bin/annyong +1 -1
- data/lib/annyong.rb +9 -1
- metadata +3 -18
data/README.mkd
CHANGED
@@ -2,8 +2,13 @@
|
|
2
2
|
|
3
3
|
Annyong starts a public static Web server in the current directory, allowing people in your local network to browse and download your files.
|
4
4
|
|
5
|
-
|
5
|
+
## Usage
|
6
6
|
|
7
7
|
$ gem install annyong
|
8
8
|
$ cd /path/you/want/to/serve
|
9
9
|
$ annyong
|
10
|
+
|
11
|
+
## Options
|
12
|
+
|
13
|
+
* `--port [PORT]` → the port to use (default: 9292)
|
14
|
+
* `--host [HOST]` → the host to listen on (default: 0.0.0.0)
|
data/bin/annyong
CHANGED
data/lib/annyong.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: annyong
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 9
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
version: "0.1"
|
5
|
+
version: 0.1.1
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- "R\xC3\xA9mi Pr\xC3\xA9vost"
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-04 00:00:00 -04:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,11 +21,6 @@ dependencies:
|
|
25
21
|
requirements:
|
26
22
|
- - ">="
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
hash: 19
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 1
|
32
|
-
- 0
|
33
24
|
version: 1.1.0
|
34
25
|
type: :runtime
|
35
26
|
version_requirements: *id001
|
@@ -63,23 +54,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
54
|
requirements:
|
64
55
|
- - ">="
|
65
56
|
- !ruby/object:Gem::Version
|
66
|
-
hash: 3
|
67
|
-
segments:
|
68
|
-
- 0
|
69
57
|
version: "0"
|
70
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
59
|
none: false
|
72
60
|
requirements:
|
73
61
|
- - ">="
|
74
62
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 3
|
76
|
-
segments:
|
77
|
-
- 0
|
78
63
|
version: "0"
|
79
64
|
requirements: []
|
80
65
|
|
81
66
|
rubyforge_project:
|
82
|
-
rubygems_version: 1.
|
67
|
+
rubygems_version: 1.5.0
|
83
68
|
signing_key:
|
84
69
|
specification_version: 3
|
85
70
|
summary: Start a public static Web server in the current directory.
|