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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f11a6962746dfa2bd6fe51220f6b4b0ff8922438
4
- data.tar.gz: 810931512ae7fee91cc42b37708429628f6875bb
3
+ metadata.gz: d1b52260b87c00b07212341f4e6813f39ac5cdad
4
+ data.tar.gz: 67a539c53533512c223fb3a4c394c1980428447a
5
5
  SHA512:
6
- metadata.gz: 688da02e5d021a20ca16f874d79508962573bbf2ddeaae887dc091533e0ee27d6f7a65acce6c7928db1cbb88554a063789cdf6da91cdc0c72af31d053a667071
7
- data.tar.gz: 295e892e9100a9d8d136e624d31357501ad238acbfdce03e68a7a0dcc08f978a51ca668fe5719f24a7c8231aaa2414bde7cc7cc945a5d2eb46db6063b38d43c0
6
+ metadata.gz: daef2ff15f2d979a824d241d8fa88044a70ce880284214d65fdb4439b20808d0a3c9c1ec197b698e5d182feda82f1e598ff0da1f96d7f7f803e0209904e286cd
7
+ data.tar.gz: 8bc6412d647e26a486df15eea2aa74bae62881e55cba34e5fb5e789c86755916c43e042bd222572b25d58c5eeed6e70b250c01a33e5c817ddf976e3e983fd3f8
@@ -1,3 +1,3 @@
1
1
  module Pokapoka
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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["REQUEST_URI"].sub("/", "").strip
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pokapoka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tymon Tobolski