serve-this 0.0.7 → 0.0.8

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 CHANGED
@@ -9,9 +9,9 @@ Example
9
9
 
10
10
  $ serve-this
11
11
  *****
12
- serving ~/some/directory on port 9292
12
+ serving ~/some/directory on port 1337
13
13
 
14
- $ serve-this --rackup
14
+ $ serve-this --rackup ++++
15
15
  *****
16
16
  creating a Gemfile and config.ru
17
17
  this directory is now a rack app!
@@ -32,7 +32,7 @@ Push it to Heroku!
32
32
 
33
33
  run ServeThis.from(Dir.pwd)
34
34
 
35
- Note
36
- ====
35
+ Notes
36
+ =====
37
37
 
38
- this doesnt work yet!
38
+ ++++ this doesnt work yet!
@@ -1,10 +1,14 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'serve-this'
4
- app = ServeThis.from(Dir.pwd)
4
+ root = Dir.pwd
5
+ app = ServeThis.from(root)
5
6
 
6
7
  require 'rack'
7
8
 
8
- puts "serve-this - http://localhost:1337"
9
+ puts "*****"
10
+ puts "serving #{root} on port 1337"
11
+ puts "http://localhost:1337"
12
+ puts "*****"
9
13
  server = Rack::Server.start(:app => app, :Port => 1337)
10
14
 
@@ -1,3 +1,3 @@
1
1
  module ServeThis
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serve-this
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matthew Rudy Jacobs