Skip to content

Commit

Permalink
description fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Szmielew committed May 12, 2011
1 parent aacba73 commit 44bc9e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions guided_randomness.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,8 @@ Gem::Specification.new do |s|
s.email = ["p.szmielew@roflcopter.pl"]
s.homepage = ""
s.summary = %q{Simple gem for Ruby which extends Array class, and gave possibility to pick element from it at random, however with certain probability (probability is given for each element).}
s.description = %q{
Usage:
require 'guided_randomness'
[1,2,3].get_rand([0.5, 0.3, 0.2])
or
require 'guided_randomness'
[1,2,3].get_rand([4,12,9])
}

s.description = %q{Simple gem for Ruby which extends Array class, and gave possibility to pick element from it at random, however with certain probability (probability is given for each element). Adds the get_rand function to array class, which take array of chances as arguments (for example [1,2,3].get_rand([3,4,5]))}
s.rubyforge_project = "guided_randomness"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
Expand Down
2 changes: 1 addition & 1 deletion lib/guided_randomness/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GuidedRandomness
VERSION = "0.1.1"
VERSION = "0.1.2"
end

0 comments on commit 44bc9e1

Please sign in to comment.