marcinbunsch-quick_serve 0.3.1 → 0.3.2
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.rdoc +4 -4
- data/VERSION +1 -1
- data/lib/quick_serve.rb +0 -2
- data/quick_serve.gemspec +1 -1
- metadata +2 -3
data/README.rdoc
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
= quick_serve
|
|
2
2
|
|
|
3
3
|
quick_serve is a super-simple way of serving static files for development. It was made mainly for javascript development, but might have other uses.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
=== General usage
|
|
6
6
|
|
|
7
7
|
Type 'qs' or 'quick_serve'. By default it will use port 5000, but if you run 'qs -p 4000' it will use 4000 (or any other you specify)
|
|
8
8
|
|
|
@@ -14,11 +14,11 @@ Type 'qs' or 'quick_serve'. By default it will use port 5000, but if you run 'qs
|
|
|
14
14
|
* *-q* quit deamon (if present)
|
|
15
15
|
* *-d, --deamon* Run as a deamon process
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
=== Snapshot mode usage
|
|
18
18
|
|
|
19
19
|
When evoked with -s trailed with an url, quick_serve will fetch the url and serve it regardless of the path you call. It's useful for testing js/css as it serves the snapshot from memory, minimizing cpu/memory usage leaving the browser with reloading js/css.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
=== Rails usage
|
|
22
22
|
|
|
23
23
|
quick_serve has a Rails adapter which can be called by adding this in environment.rb:
|
|
24
24
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.2
|
data/lib/quick_serve.rb
CHANGED
data/quick_serve.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: marcinbunsch-quick_serve
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcin Bunsch
|
|
@@ -41,7 +41,6 @@ files:
|
|
|
41
41
|
- quick_serve.gemspec
|
|
42
42
|
has_rdoc: false
|
|
43
43
|
homepage: http://github.com/marcinbunsch/quick_serve
|
|
44
|
-
licenses:
|
|
45
44
|
post_install_message:
|
|
46
45
|
rdoc_options:
|
|
47
46
|
- --charset=UTF-8
|
|
@@ -62,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
61
|
requirements: []
|
|
63
62
|
|
|
64
63
|
rubyforge_project:
|
|
65
|
-
rubygems_version: 1.
|
|
64
|
+
rubygems_version: 1.2.0
|
|
66
65
|
signing_key:
|
|
67
66
|
specification_version: 3
|
|
68
67
|
summary: Super simple web server mainly for javascript development
|