startbrick 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,6 +19,8 @@ to turn into this:
19
19
  [2011-11-01 13:22:01] INFO ruby 1.9.2 (2011-07-09) [i686-linux]
20
20
  [2011-11-01 13:22:01] INFO WEBrick::HTTPServer#start: pid=4012 port=3000
21
21
 
22
+ just so you can manually load the Rails app in your web browser?
23
+
22
24
  **Startbrick** is a thin wrapper gem around Rack::Handler::WEBrick that
23
25
  automatically opens your Rails app in your default web browser when it's ready
24
26
  to accept requests.
@@ -27,7 +29,8 @@ Install the gem with
27
29
 
28
30
  gem install startbrick
29
31
 
30
- Startbrick works with Rails 3.
32
+ Startbrick works with Rails 3. It doesn't work with JRuby because it
33
+ uses `Kernel#fork`.
31
34
 
32
35
  To use startbrick, puts this line in your Gemfile
33
36
 
@@ -37,7 +40,7 @@ and start your Rails app with this command:
37
40
 
38
41
  startbrick
39
42
 
40
- You can add any of the arguments that you can pass to the `rails s`
43
+ You can add any of the flagged arguments that you can pass to the `rails s`
41
44
  command.
42
45
 
43
46
  ## Optional .startbrick script
data/bin/startbrick CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
2
  cmd = "rails s #{ARGV.join(' ').strip} Startbrick"
3
3
  puts cmd
4
- `#{cmd}`
4
+ exec cmd
@@ -1,3 +1,3 @@
1
1
  module Startbrick
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: startbrick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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: 2011-11-02 00:00:00.000000000Z
12
+ date: 2011-11-03 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: WEBrick wrapper
15
15
  email: