fibonacci_rng 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -10
- data/lib/fibonacci_rng/generator.rb +1 -1
- data/lib/fibonacci_rng/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21f5b3081ee28c32daf5ae90cba9e99cb2d7343b
|
4
|
+
data.tar.gz: bfa73f2a5979e51fb5d05ad7df4d801d1d1e62b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5b763aa1e08b9d14677f1b6bf6e8dee8bac807348f368f27dcd2f8025ac1d8e692c71f66859dfb412269fec312b7ea8b978f9ebbc46a4691833ecd69377d562
|
7
|
+
data.tar.gz: 38b70bbf54128e8af1290ca7b98e43b984e04dba4c2d57e0e8f076511aca1acbd8a27a5ef3452793f81d57f5852cf1c831d7b292f66dc049a0e4b034faef0086
|
data/README.md
CHANGED
@@ -159,17 +159,14 @@ salt_string = salter.hash_string
|
|
159
159
|
|
160
160
|
Each time any of these is run, a different salt string will be generated.
|
161
161
|
|
162
|
-
####
|
162
|
+
#### Methods back in Good Standing
|
163
163
|
|
164
164
|
* bytes - This method would seem to generate an array of random bytes. It does
|
165
|
-
not.
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
generator = FibonacciRng.new
|
171
|
-
random_bytes = Array.new(len) { generator.byte }
|
172
|
-
```
|
165
|
+
not. However, it doesn't matter either. The bytes method was added to improve
|
166
|
+
interoperability with the standard Random class. Thus deprecating it was a
|
167
|
+
mistake. This note serves to announce that the bytes method is not going away.
|
168
|
+
The source code will say it is deprecated until the next code update, but that
|
169
|
+
comment is in error.
|
173
170
|
|
174
171
|
## Theory of Operation
|
175
172
|
|
@@ -248,7 +245,7 @@ this can be accomplished.
|
|
248
245
|
|
249
246
|
#### Plan A
|
250
247
|
|
251
|
-
1. Fork it
|
248
|
+
1. Fork it ( https://github.com/PeterCamilleri/fibonacci_rng/fork )
|
252
249
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
253
250
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
254
251
|
4. Push to the branch (`git push origin my-new-feature`)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fibonacci_rng
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Camilleri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest_visible
|