fibonacci_rng 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/fibonacci_rng.gemspec +1 -0
- data/lib/fibonacci_rng/version.rb +1 -1
- data/tests/fibinacci_rng_tests.rb +5 -13
- metadata +30 -16
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
OTYyYzk0OWI4OWYzOGYyZGY3MjQ2YzVkOTZiZWQyNmU5Mjk4ZjY0Zg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 23271d0dc1c22f357e9a6f80b9b2ea3437d085f8
|
4
|
+
data.tar.gz: 4d8285af029c793e6e9146d73d58d18bac70e43d
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
NzZlNWU4YWNiZWEyYjY4ODczYzdlMDI4MWRjZDYyODU1ZWIyNzIxZmRhYjUz
|
11
|
-
OWUyNTdiYmY2OTk3ZmU3ZDdkY2NkNjk3NjcyZTllNzEzZTNiNGI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OWJlMzcyYjBiYWYzMWRkNzU0MzBhMTE3OGUzM2Y0NDlhOTVkNDI0ZjcxZTI2
|
14
|
-
OGU5ZjQ5N2NhMTQ3ZDk1MDk4MjcwMWZlYmI3MWJkMDQ2NmQ0ZWQyZGUwYTYy
|
15
|
-
MGU1YTdmYjJlZThlN2JlMjM0NjQxYjQ0ZjAzMmMwODJkMjBmY2U=
|
6
|
+
metadata.gz: 704d5ede09b0cbb603c17bc5b5b017cf82f66767b73a5c3d9548b2e7a79b6da17460213dcbaa9d4b9a0aed2c61bf2b5e2bf88b9dd718f4b08d8464be47222975
|
7
|
+
data.tar.gz: 6523421fa314649fdbe373b19798320221581275ab4e418b2c957159c75285451569000eadac14acada8f781d35577b174370766577a5dee255306f845d5de9d
|
data/fibonacci_rng.gemspec
CHANGED
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.required_ruby_version = '>= 1.9.3'
|
25
25
|
|
26
|
+
spec.add_development_dependency 'minitest_visible', ">= 0.1.0"
|
26
27
|
spec.add_development_dependency "bundler", "~> 1.3"
|
27
28
|
spec.add_development_dependency "rake"
|
28
29
|
spec.add_development_dependency 'reek', "~> 1.3.8"
|
@@ -1,23 +1,15 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
3
|
require_relative '../lib/fibonacci_rng'
|
4
|
+
gem 'minitest'
|
4
5
|
require 'minitest/autorun'
|
6
|
+
require 'minitest_visible'
|
5
7
|
|
6
8
|
#Test the monkey patches applied to the Object class.
|
7
|
-
class CoreTester <
|
9
|
+
class CoreTester < Minitest::Test
|
8
10
|
|
9
|
-
#
|
10
|
-
|
11
|
-
$do_this_only_one_time = "" unless defined? $do_this_only_one_time
|
12
|
-
|
13
|
-
if $do_this_only_one_time != __FILE__
|
14
|
-
puts
|
15
|
-
puts "Running test file: #{File.split(__FILE__)[1]}"
|
16
|
-
$do_this_only_one_time = __FILE__
|
17
|
-
end
|
18
|
-
|
19
|
-
super(*all)
|
20
|
-
end
|
11
|
+
#Track mini-test progress.
|
12
|
+
include MinitestVisible
|
21
13
|
|
22
14
|
def test_that_it_creates_dice_rolls
|
23
15
|
prng = FibonacciRng.new
|
metadata
CHANGED
@@ -1,83 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fibonacci_rng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Camilleri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: minitest_visible
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.1.0
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.1.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
|
-
- - ~>
|
31
|
+
- - "~>"
|
18
32
|
- !ruby/object:Gem::Version
|
19
33
|
version: '1.3'
|
20
34
|
type: :development
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
|
-
- - ~>
|
38
|
+
- - "~>"
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: '1.3'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rake
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- -
|
45
|
+
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
47
|
version: '0'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- -
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: reek
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - ~>
|
59
|
+
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: 1.3.8
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - ~>
|
66
|
+
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: 1.3.8
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: minitest
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- - ~>
|
73
|
+
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: 4.7.5
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- - ~>
|
80
|
+
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: 4.7.5
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: rdoc
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- - ~>
|
87
|
+
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
89
|
version: 4.0.1
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- - ~>
|
94
|
+
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: 4.0.1
|
83
97
|
description: A Fibonacci inspired pseudo random number generator. Just try and prove
|
@@ -88,7 +102,7 @@ executables: []
|
|
88
102
|
extensions: []
|
89
103
|
extra_rdoc_files: []
|
90
104
|
files:
|
91
|
-
- .gitignore
|
105
|
+
- ".gitignore"
|
92
106
|
- Gemfile
|
93
107
|
- LICENSE.txt
|
94
108
|
- README.md
|
@@ -113,17 +127,17 @@ require_paths:
|
|
113
127
|
- lib
|
114
128
|
required_ruby_version: !ruby/object:Gem::Requirement
|
115
129
|
requirements:
|
116
|
-
- -
|
130
|
+
- - ">="
|
117
131
|
- !ruby/object:Gem::Version
|
118
132
|
version: 1.9.3
|
119
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
134
|
requirements:
|
121
|
-
- -
|
135
|
+
- - ">="
|
122
136
|
- !ruby/object:Gem::Version
|
123
137
|
version: '0'
|
124
138
|
requirements: []
|
125
139
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.2.2
|
127
141
|
signing_key:
|
128
142
|
specification_version: 4
|
129
143
|
summary: A Fibonacci inspired pseudo random number generator.
|