perfect-random-number-generator 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +8 -6
- data/Gemfile.lock +89 -0
- data/README.md +14 -1
- data/VERSION +1 -1
- data/perfect-random-number-generator.gemspec +70 -0
- data/test/tests.slown +1 -0
- metadata +61 -17
- data/test/helper.rb +0 -18
- data/test/test_perfect-random-number-generator.rb +0 -7
data/Gemfile
CHANGED
@@ -5,9 +5,11 @@ source "http://rubygems.org"
|
|
5
5
|
|
6
6
|
# Add dependencies to develop your gem here.
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
gem "shoulda", ">= 0"
|
9
|
+
gem "bundler", ">= 1.0.0"
|
10
|
+
gem "jeweler", ">= 1.8.4"
|
11
|
+
gem "yard", ">= 0"
|
12
|
+
gem "to-do"
|
13
|
+
gem "rails"
|
14
|
+
gem "ruby"
|
15
|
+
gem "opal"
|
data/Gemfile.lock
CHANGED
@@ -1,26 +1,87 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
+
actionmailer (3.2.10)
|
5
|
+
actionpack (= 3.2.10)
|
6
|
+
mail (~> 2.4.4)
|
7
|
+
actionpack (3.2.10)
|
8
|
+
activemodel (= 3.2.10)
|
9
|
+
activesupport (= 3.2.10)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
journey (~> 1.0.4)
|
13
|
+
rack (~> 1.4.0)
|
14
|
+
rack-cache (~> 1.2)
|
15
|
+
rack-test (~> 0.6.1)
|
16
|
+
sprockets (~> 2.2.1)
|
17
|
+
activemodel (3.2.10)
|
18
|
+
activesupport (= 3.2.10)
|
19
|
+
builder (~> 3.0.0)
|
20
|
+
activerecord (3.2.10)
|
21
|
+
activemodel (= 3.2.10)
|
22
|
+
activesupport (= 3.2.10)
|
23
|
+
arel (~> 3.0.2)
|
24
|
+
tzinfo (~> 0.3.29)
|
25
|
+
activeresource (3.2.10)
|
26
|
+
activemodel (= 3.2.10)
|
27
|
+
activesupport (= 3.2.10)
|
4
28
|
activesupport (3.2.10)
|
5
29
|
i18n (~> 0.6)
|
6
30
|
multi_json (~> 1.0)
|
31
|
+
arel (3.0.2)
|
7
32
|
bourne (1.1.2)
|
8
33
|
mocha (= 0.10.5)
|
34
|
+
builder (3.0.4)
|
35
|
+
colorize (0.5.8)
|
36
|
+
erubis (2.7.0)
|
9
37
|
git (1.2.5)
|
38
|
+
hike (1.2.1)
|
10
39
|
i18n (0.6.1)
|
11
40
|
jeweler (1.8.4)
|
12
41
|
bundler (~> 1.0)
|
13
42
|
git (>= 1.2.5)
|
14
43
|
rake
|
15
44
|
rdoc
|
45
|
+
journey (1.0.4)
|
16
46
|
json (1.7.6)
|
47
|
+
mail (2.4.4)
|
48
|
+
i18n (>= 0.4.0)
|
49
|
+
mime-types (~> 1.16)
|
50
|
+
treetop (~> 1.4.8)
|
17
51
|
metaclass (0.0.1)
|
52
|
+
mime-types (1.19)
|
18
53
|
mocha (0.10.5)
|
19
54
|
metaclass (~> 0.0.1)
|
20
55
|
multi_json (1.5.0)
|
56
|
+
opal (0.3.31)
|
57
|
+
polyglot (0.3.3)
|
58
|
+
rack (1.4.3)
|
59
|
+
rack-cache (1.2)
|
60
|
+
rack (>= 0.4)
|
61
|
+
rack-ssl (1.3.2)
|
62
|
+
rack
|
63
|
+
rack-test (0.6.2)
|
64
|
+
rack (>= 1.0)
|
65
|
+
rails (3.2.10)
|
66
|
+
actionmailer (= 3.2.10)
|
67
|
+
actionpack (= 3.2.10)
|
68
|
+
activerecord (= 3.2.10)
|
69
|
+
activeresource (= 3.2.10)
|
70
|
+
activesupport (= 3.2.10)
|
71
|
+
bundler (~> 1.0)
|
72
|
+
railties (= 3.2.10)
|
73
|
+
railties (3.2.10)
|
74
|
+
actionpack (= 3.2.10)
|
75
|
+
activesupport (= 3.2.10)
|
76
|
+
rack-ssl (~> 1.3.2)
|
77
|
+
rake (>= 0.8.7)
|
78
|
+
rdoc (~> 3.4)
|
79
|
+
thor (>= 0.14.6, < 2.0)
|
21
80
|
rake (10.0.3)
|
22
81
|
rdoc (3.12)
|
23
82
|
json (~> 1.4)
|
83
|
+
ruby (0.1.0)
|
84
|
+
sequel (3.42.0)
|
24
85
|
shoulda (3.3.2)
|
25
86
|
shoulda-context (~> 1.0.1)
|
26
87
|
shoulda-matchers (~> 1.4.1)
|
@@ -28,6 +89,30 @@ GEM
|
|
28
89
|
shoulda-matchers (1.4.2)
|
29
90
|
activesupport (>= 3.0.0)
|
30
91
|
bourne (~> 1.1.2)
|
92
|
+
simplecov (0.7.1)
|
93
|
+
multi_json (~> 1.0)
|
94
|
+
simplecov-html (~> 0.7.1)
|
95
|
+
simplecov-html (0.7.1)
|
96
|
+
sprockets (2.2.2)
|
97
|
+
hike (~> 1.2)
|
98
|
+
multi_json (~> 1.0)
|
99
|
+
rack (~> 1.0)
|
100
|
+
tilt (~> 1.1, != 1.3.0)
|
101
|
+
sqlite3 (1.3.6)
|
102
|
+
thor (0.16.0)
|
103
|
+
tilt (1.3.3)
|
104
|
+
to-do (1.3.1)
|
105
|
+
bundler (>= 1.0.0)
|
106
|
+
colorize
|
107
|
+
jeweler (~> 1.8.4)
|
108
|
+
sequel (>= 3.12)
|
109
|
+
shoulda
|
110
|
+
simplecov
|
111
|
+
sqlite3
|
112
|
+
treetop (1.4.12)
|
113
|
+
polyglot
|
114
|
+
polyglot (>= 0.3.1)
|
115
|
+
tzinfo (0.3.35)
|
31
116
|
yard (0.8.3)
|
32
117
|
|
33
118
|
PLATFORMS
|
@@ -36,5 +121,9 @@ PLATFORMS
|
|
36
121
|
DEPENDENCIES
|
37
122
|
bundler (>= 1.0.0)
|
38
123
|
jeweler (>= 1.8.4)
|
124
|
+
opal
|
125
|
+
rails
|
126
|
+
ruby
|
39
127
|
shoulda
|
128
|
+
to-do
|
40
129
|
yard
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#Perfect Random Number Generator
|
1
|
+
#Perfect Random Number Generator 1.0
|
2
2
|
perfection created by Slown Huffmeister
|
3
3
|
|
4
4
|
##About
|
@@ -7,3 +7,16 @@ GIRL CAN I HAVE YO NUMBA?", I have decided that a random number generator needs
|
|
7
7
|
to be created to give this person my "NUMBA". And, excuse me but random.org is
|
8
8
|
not random enough for me. Don't worry, I, the perfect and great Slown, will
|
9
9
|
create the best random number generator.
|
10
|
+
|
11
|
+
|
12
|
+
##Install
|
13
|
+
gem install perfect-random-number-generator
|
14
|
+
|
15
|
+
|
16
|
+
##Usage
|
17
|
+
|
18
|
+
require 'perfect-random-number-generator'
|
19
|
+
|
20
|
+
To generate a random number
|
21
|
+
|
22
|
+
PerfectRandom::rand
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "perfect-random-number-generator"
|
8
|
+
s.version = "1.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Slown Huffmeister"]
|
12
|
+
s.date = "2013-01-08"
|
13
|
+
s.description = "The best random number generator ever created"
|
14
|
+
s.email = "i4evaSloown@aol.com"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.md"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"LICENSE.txt",
|
24
|
+
"README.md",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"lib/perfect-random-number-generator.rb",
|
28
|
+
"perfect-random-number-generator.gemspec",
|
29
|
+
"test/tests.slown"
|
30
|
+
]
|
31
|
+
s.homepage = "http://github.com/slownhuffmeister/perfect-random-number-generator"
|
32
|
+
s.licenses = ["MIT"]
|
33
|
+
s.require_paths = ["lib"]
|
34
|
+
s.rubygems_version = "1.8.15"
|
35
|
+
s.summary = "The best random number generator ever created"
|
36
|
+
|
37
|
+
if s.respond_to? :specification_version then
|
38
|
+
s.specification_version = 3
|
39
|
+
|
40
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
41
|
+
s.add_runtime_dependency(%q<shoulda>, [">= 0"])
|
42
|
+
s.add_runtime_dependency(%q<bundler>, [">= 1.0.0"])
|
43
|
+
s.add_runtime_dependency(%q<jeweler>, [">= 1.8.4"])
|
44
|
+
s.add_runtime_dependency(%q<yard>, [">= 0"])
|
45
|
+
s.add_runtime_dependency(%q<to-do>, [">= 0"])
|
46
|
+
s.add_runtime_dependency(%q<rails>, [">= 0"])
|
47
|
+
s.add_runtime_dependency(%q<ruby>, [">= 0"])
|
48
|
+
s.add_runtime_dependency(%q<opal>, [">= 0"])
|
49
|
+
else
|
50
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
51
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
52
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
53
|
+
s.add_dependency(%q<yard>, [">= 0"])
|
54
|
+
s.add_dependency(%q<to-do>, [">= 0"])
|
55
|
+
s.add_dependency(%q<rails>, [">= 0"])
|
56
|
+
s.add_dependency(%q<ruby>, [">= 0"])
|
57
|
+
s.add_dependency(%q<opal>, [">= 0"])
|
58
|
+
end
|
59
|
+
else
|
60
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
61
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
62
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
63
|
+
s.add_dependency(%q<yard>, [">= 0"])
|
64
|
+
s.add_dependency(%q<to-do>, [">= 0"])
|
65
|
+
s.add_dependency(%q<rails>, [">= 0"])
|
66
|
+
s.add_dependency(%q<ruby>, [">= 0"])
|
67
|
+
s.add_dependency(%q<opal>, [">= 0"])
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
data/test/tests.slown
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
we don't do tests here
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perfect-random-number-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,52 +9,96 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda
|
16
|
-
requirement: &
|
16
|
+
requirement: &70147102745220 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
|
-
type: :
|
22
|
+
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70147102745220
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70147102744340 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.0
|
33
|
-
type: :
|
33
|
+
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70147102744340
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: jeweler
|
38
|
-
requirement: &
|
38
|
+
requirement: &70147102743600 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 1.8.4
|
44
|
-
type: :
|
44
|
+
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70147102743600
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: yard
|
49
|
-
requirement: &
|
49
|
+
requirement: &70147102742880 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
type: :
|
55
|
+
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70147102742880
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: to-do
|
60
|
+
requirement: &70147102770060 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70147102770060
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rails
|
71
|
+
requirement: &70147102768560 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70147102768560
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: ruby
|
82
|
+
requirement: &70147102766300 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70147102766300
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: opal
|
93
|
+
requirement: &70147102804440 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70147102804440
|
58
102
|
description: The best random number generator ever created
|
59
103
|
email: i4evaSloown@aol.com
|
60
104
|
executables: []
|
@@ -71,8 +115,8 @@ files:
|
|
71
115
|
- Rakefile
|
72
116
|
- VERSION
|
73
117
|
- lib/perfect-random-number-generator.rb
|
74
|
-
-
|
75
|
-
- test/
|
118
|
+
- perfect-random-number-generator.gemspec
|
119
|
+
- test/tests.slown
|
76
120
|
homepage: http://github.com/slownhuffmeister/perfect-random-number-generator
|
77
121
|
licenses:
|
78
122
|
- MIT
|
@@ -88,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
88
132
|
version: '0'
|
89
133
|
segments:
|
90
134
|
- 0
|
91
|
-
hash:
|
135
|
+
hash: -808740247068360127
|
92
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
137
|
none: false
|
94
138
|
requirements:
|
data/test/helper.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'test/unit'
|
11
|
-
require 'shoulda'
|
12
|
-
|
13
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
-
require 'perfect-random-number-generator'
|
16
|
-
|
17
|
-
class Test::Unit::TestCase
|
18
|
-
end
|