drbirb 0.2.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +17 -3
- data/lib/drbirb/version.rb +1 -1
- data/lib/drbirbc.rb +3 -2
- metadata +3 -3
data/README.txt
CHANGED
@@ -19,7 +19,7 @@ debugging tool.
|
|
19
19
|
|
20
20
|
== SYNOPSIS:
|
21
21
|
|
22
|
-
Start the server:
|
22
|
+
Start the server on localhost:7777:
|
23
23
|
|
24
24
|
require 'drbirb/loader'
|
25
25
|
|
@@ -27,9 +27,20 @@ Start the server:
|
|
27
27
|
# interpreter from exiting
|
28
28
|
Drbirb.server.thread.join
|
29
29
|
|
30
|
+
Start the server on a custom host/port:
|
31
|
+
|
32
|
+
require 'drbirb/server'
|
33
|
+
irb_host, irb_port = ...
|
34
|
+
server = DRb.start_service "druby://#{irb_host}:#{irb_port}", IRB::RemoteService.new
|
35
|
+
|
36
|
+
# join the thread unless you have some other code that prevents the
|
37
|
+
# interpreter from exiting
|
38
|
+
server.thread.join
|
39
|
+
|
30
40
|
Start the client:
|
31
41
|
|
32
|
-
|
42
|
+
drbirbc
|
43
|
+
drbirbc druby://localhost:7777
|
33
44
|
|
34
45
|
When intalled as a Rails plugin, the server is started automatically
|
35
46
|
for you in the plugin's init.rb.
|
@@ -37,13 +48,16 @@ for you in the plugin's init.rb.
|
|
37
48
|
== INSTALL:
|
38
49
|
|
39
50
|
gem install drbirb
|
51
|
+
|
52
|
+
To use in a Rails app (legacy/plugin):
|
53
|
+
|
40
54
|
script/plugin install http://github.com/nicksieger/drbirb.git
|
41
55
|
|
42
56
|
== LICENSE:
|
43
57
|
|
44
58
|
(The MIT License)
|
45
59
|
|
46
|
-
Copyright (c) 2008-
|
60
|
+
Copyright (c) 2008-2012 Nick Sieger
|
47
61
|
|
48
62
|
Permission is hereby granted, free of charge, to any person obtaining
|
49
63
|
a copy of this software and associated documentation files (the
|
data/lib/drbirb/version.rb
CHANGED
data/lib/drbirbc.rb
CHANGED
metadata
CHANGED
@@ -3,10 +3,10 @@ name: drbirb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
|
+
- 1
|
6
7
|
- 0
|
7
|
-
- 2
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 1.0.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Nick Sieger
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2012-06-27 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|