random_util 0.0.3 → 0.0.4

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8b646b4358cc9390437f08caf07fbdecd831e495
4
+ data.tar.gz: c1078d2e8f6ab4a0fab4a86fac6fc5ad6708fdfa
5
+ SHA512:
6
+ metadata.gz: 38a2f6279cdb5dabcadc5deaf6734bc04c9d5d054024fa1258320005367b5e09074dc950bd1488a80df86898215689dfd7aade223945e628497d5a381790fa7c
7
+ data.tar.gz: 1186866e966c71ba50005f58ed89eca6fa12509812654889222f1b4dad2798d7a0202fb17f103d539cb8ce28abfae36acf2086e4a025da12d7f07e980f1a9b54
@@ -1,3 +1,3 @@
1
1
  module RandomUtil
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/random_util.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require "random_util/version"
2
2
 
3
3
  module RandomUtil
4
- ALPHABETS = ('a'..'z').map{|s| s} + ('A'..'Z').map{|s| s}
4
+ ALPHABETS = ('a'..'z').to_a + ('A'..'Z').to_a
5
5
  NUMBERS = (0..9).map{|n| n}
6
6
 
7
7
  def self.alphabets(counts)
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: random_util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - prinum101
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-25 00:00:00.000000000 Z
11
+ date: 2014-01-14 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: This is useful for creating random characters
15
14
  email:
@@ -28,26 +27,25 @@ files:
28
27
  - random_util.gemspec
29
28
  homepage: https://github.com/prinum/RandomUtil
30
29
  licenses: []
30
+ metadata: {}
31
31
  post_install_message:
32
32
  rdoc_options: []
33
33
  require_paths:
34
34
  - lib
35
35
  required_ruby_version: !ruby/object:Gem::Requirement
36
- none: false
37
36
  requirements:
38
- - - ! '>='
37
+ - - '>='
39
38
  - !ruby/object:Gem::Version
40
39
  version: '0'
41
40
  required_rubygems_version: !ruby/object:Gem::Requirement
42
- none: false
43
41
  requirements:
44
- - - ! '>='
42
+ - - '>='
45
43
  - !ruby/object:Gem::Version
46
44
  version: '0'
47
45
  requirements: []
48
46
  rubyforge_project:
49
- rubygems_version: 1.8.24
47
+ rubygems_version: 2.0.3
50
48
  signing_key:
51
- specification_version: 3
49
+ specification_version: 4
52
50
  summary: This is useful for creating random characters
53
51
  test_files: []