anypow 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +15 -1
- data/config.ru +1 -1
- data/lib/anypow.rb +3 -0
- data/lib/anypow/app.rb +6 -0
- data/lib/anypow/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -22,7 +22,21 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
$ cat config.ru
|
24
24
|
require "anypow"
|
25
|
-
|
25
|
+
extend Anypow
|
26
|
+
run_pow "plackup -p $PORT"
|
27
|
+
|
28
|
+
You can also use [foreman](https://github.com/ddollar/foreman) with pow!
|
29
|
+
|
30
|
+
$ cat config.ru
|
31
|
+
require "anypow"
|
32
|
+
extend Anypow
|
33
|
+
run_pow "foreman start -p $PORT"
|
34
|
+
require ::File.expand_path('../config/environment', __FILE__)
|
35
|
+
run Rails.application
|
36
|
+
|
37
|
+
$ cat Procfile
|
38
|
+
web: rackup -p $PORT
|
39
|
+
worker: rake worker:start
|
26
40
|
|
27
41
|
## Contributing
|
28
42
|
|
data/config.ru
CHANGED
data/lib/anypow.rb
CHANGED
data/lib/anypow/app.rb
CHANGED
data/lib/anypow/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anypow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack-proxy
|