pokapoka 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pokapoka/version.rb +1 -1
- data/lib/pokapoka.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1b52260b87c00b07212341f4e6813f39ac5cdad
|
4
|
+
data.tar.gz: 67a539c53533512c223fb3a4c394c1980428447a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daef2ff15f2d979a824d241d8fa88044a70ce880284214d65fdb4439b20808d0a3c9c1ec197b698e5d182feda82f1e598ff0da1f96d7f7f803e0209904e286cd
|
7
|
+
data.tar.gz: 8bc6412d647e26a486df15eea2aa74bae62881e55cba34e5fb5e789c86755916c43e042bd222572b25d58c5eeed6e70b250c01a33e5c817ddf976e3e983fd3f8
|
data/lib/pokapoka/version.rb
CHANGED
data/lib/pokapoka.rb
CHANGED
@@ -14,7 +14,7 @@ module Pokapoka
|
|
14
14
|
</html>'
|
15
15
|
|
16
16
|
app = Proc.new do |env|
|
17
|
-
path = env["
|
17
|
+
path = env["PATH_INFO"].sub("/", "").strip
|
18
18
|
path = path == "" ? "README.md" : path
|
19
19
|
|
20
20
|
path = File.join(Dir.pwd, path)
|
@@ -29,7 +29,6 @@ module Pokapoka
|
|
29
29
|
|
30
30
|
def self.run!
|
31
31
|
Thread.new do
|
32
|
-
sleep 2
|
33
32
|
Launchy.open("http://localhost:9999")
|
34
33
|
end
|
35
34
|
|