random_text 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -16,7 +16,7 @@ Class to make usage of http://vesna.yandex.ru/ and http://lipsum.com/ easier
16
16
 
17
17
  == REQUIREMENTS:
18
18
 
19
- * Activesupport (to work with non latin chars)
19
+ * Ruby :)
20
20
 
21
21
  == INSTALL:
22
22
 
data/VERSION.yml CHANGED
@@ -1 +1 @@
1
- [1, 0, 0]
1
+ [1, 0, 1]
@@ -1,4 +1,4 @@
1
- class RandomText
1
+ module RandomText
2
2
  class Dictionary
3
3
  def initialize(text)
4
4
  @words = RandomStrings.new(text.scan(/\w{3,}/u).
@@ -1,4 +1,4 @@
1
- class RandomText
1
+ module RandomText
2
2
  class RandomStrings < Array
3
3
  def get(count = nil)
4
4
  case count
data/lib/random_text.rb CHANGED
@@ -5,7 +5,7 @@ $:.unshift(File.dirname(__FILE__)) unless
5
5
  require 'random_text/dictionary'
6
6
  require 'random_text/random_strings'
7
7
 
8
- class RandomText
8
+ module RandomText
9
9
  class << self
10
10
  def dictionaries
11
11
  @dictionaries ||= {}
data/random_text.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{random_text}
5
- s.version = "1.0.0"
5
+ s.version = "1.0.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["toy"]
9
- s.date = %q{2009-10-16}
9
+ s.date = %q{2009-11-06}
10
10
  s.description = %q{A library to generate random strings.}
11
11
  s.email = %q{}
12
12
  s.executables = ["lorem", "vesna"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: random_text
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - toy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-16 00:00:00 +04:00
12
+ date: 2009-11-06 00:00:00 +03:00
13
13
  default_executable:
14
14
  dependencies: []
15
15