penctl-ruby 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -30,9 +30,23 @@ If you want it as plugin, just do:
30
30
 
31
31
  == Basic Usage
32
32
 
33
- Let's say you started a pen balancer on some machine with some command
33
+ First you have to load the gem. In a Rails project, just do:
34
+
35
+ $ c
36
+ Loading development environment (Rails x.y.z)
37
+ >> require 'rubygems'
38
+ >> require 'pen_balancer'
39
+
40
+ If you're not in a rails project, you have to add some more path info
41
+ (this path will not work for you, if you have rubygems.rb somewhere else):
42
+
43
+ $ irb
44
+ >> require '/opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb'
45
+ >> require 'pen_balancer'
46
+
47
+ Let's say you started a pen balancer on some server with some command
34
48
  like `pen -C 192.168.0.1:12000 192.168.0.1:12001`. You can then create a
35
- PenBalancer object to talk to a pen balancer running on a remote machine:
49
+ PenBalancer object to talk to a pen balancer running on a remote machine.
36
50
 
37
51
  >> pen = PenBalancer.new '192.168.0.1:12000'
38
52
  => #<PenBalancer:0x11eb74c @pen="192.168.0.1:12000">
@@ -193,5 +207,5 @@ my name is jannis.
193
207
 
194
208
  penctl-ruby
195
209
  License: MIT
196
- Version: 0.1
210
+ Version: 0.1.2
197
211
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/penctl-ruby.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{penctl-ruby}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jannis Hermanns"]
12
- s.date = %q{2009-09-29}
12
+ s.date = %q{2009-12-02}
13
13
  s.description = %q{With penctl-ruby you can add and remove servers to a pen server list and to change settings without the need to restart the pen balancer.}
14
14
  s.email = %q{jannis@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.homepage = %q{http://github.com/jayniz/penctl-ruby}
33
33
  s.rdoc_options = ["--charset=UTF-8"]
34
34
  s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.4}
35
+ s.rubygems_version = %q{1.3.5}
36
36
  s.summary = %q{Ruby implementation of penctl}
37
37
  s.test_files = [
38
38
  "spec/lib/pen_balancer_spec.rb",
data/rails/init.rb CHANGED
@@ -1,2 +1,2 @@
1
- require 'lib/pen_balancer'
2
- require 'lib/penctl'
1
+ require 'pen_balancer'
2
+ require 'penctl'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: penctl-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-29 00:00:00 +02:00
12
+ date: 2009-12-02 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  requirements: []
59
59
 
60
60
  rubyforge_project:
61
- rubygems_version: 1.3.4
61
+ rubygems_version: 1.3.5
62
62
  signing_key:
63
63
  specification_version: 3
64
64
  summary: Ruby implementation of penctl