emonti-rbkb 0.6.9 → 0.6.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -1
- data/README.rdoc +1 -1
- data/Rakefile +1 -1
- data/lib/rbkb/extends.rb +1 -1
- data/rbkb.gemspec +4 -4
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
+
== 0.6.9.1 / 2009-09-08
|
2
|
+
* fixed a typo in random_string()
|
3
|
+
|
1
4
|
== 0.6.9 / 2009-09-01
|
2
5
|
* Enhancements
|
3
6
|
* telson and feed now support -s/--source address:port using TCP with
|
4
7
|
bind_connect via eventmachine
|
5
|
-
* random_string and random_alphanum
|
8
|
+
* random_string and random_alphanum helper methods added
|
6
9
|
* Bug-Fix
|
7
10
|
* Plug's PeerList.find_peers was returning nil resulting in problems for
|
8
11
|
blit -l amongst other things.
|
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
data/lib/rbkb/extends.rb
CHANGED
@@ -19,7 +19,7 @@ end
|
|
19
19
|
# Generates a random string of 'size' bytes (8 by default)
|
20
20
|
def random_string(size = 8)
|
21
21
|
chars = (0..255).map {|c| c.chr }
|
22
|
-
(1..size).collect {|a|
|
22
|
+
(1..size).collect {|a| chars[rand(chars.size)]}
|
23
23
|
end
|
24
24
|
|
25
25
|
# Simple syntactic sugar to pass any object to a block
|
data/rbkb.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{rbkb}
|
5
|
-
s.version = "0.6.9"
|
5
|
+
s.version = "0.6.9.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Eric Monti"]
|
@@ -25,14 +25,14 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.specification_version = 3
|
26
26
|
|
27
27
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
-
s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.
|
28
|
+
s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.8"])
|
29
29
|
s.add_development_dependency(%q<bones>, [">= 2.5.1"])
|
30
30
|
else
|
31
|
-
s.add_dependency(%q<eventmachine>, [">= 0.12.
|
31
|
+
s.add_dependency(%q<eventmachine>, [">= 0.12.8"])
|
32
32
|
s.add_dependency(%q<bones>, [">= 2.5.1"])
|
33
33
|
end
|
34
34
|
else
|
35
|
-
s.add_dependency(%q<eventmachine>, [">= 0.12.
|
35
|
+
s.add_dependency(%q<eventmachine>, [">= 0.12.8"])
|
36
36
|
s.add_dependency(%q<bones>, [">= 2.5.1"])
|
37
37
|
end
|
38
38
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emonti-rbkb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.9
|
4
|
+
version: 0.6.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Monti
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.12.
|
23
|
+
version: 0.12.8
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bones
|