rrandom 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rrandom.rb +4 -6
- data/lib/rrandom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1affa54440a0ecba9b1c30f9573200b7e0bcb97d6980d2f78389672d1e9c1952
|
4
|
+
data.tar.gz: 3d6354b4356e0df8c368632d62ff82e8284fb1ebea9e067fd7ec9606191ec9d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a5130ce23b64bee5257414cfcf4433b0e822aadde3ee44b90b1ed0ea6a5d3eb41efdf8bdd8bdbd99c89583f2ca42afe0944694f12266a3d1b729d0cfe24759c
|
7
|
+
data.tar.gz: 94eb2f39b3f86bb4df769ca42d583b303efe51caa42d2af6b0734e25487dbc81a16a5187ffdd10e57749d4e020288ff4e3cbd9f2e7decfe69c250603d71e85a5
|
data/lib/rrandom.rb
CHANGED
@@ -33,12 +33,10 @@ class RRandom
|
|
33
33
|
attr_accessor :loader
|
34
34
|
end
|
35
35
|
|
36
|
-
def initialize(
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
def use_random_domain?
|
41
|
-
@use_random_domain
|
36
|
+
def initialize(**options)
|
37
|
+
options.each do |key, value|
|
38
|
+
instance_variable_set(:"@#{key}", value)
|
39
|
+
end
|
42
40
|
end
|
43
41
|
|
44
42
|
def gender
|
data/lib/rrandom/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rrandom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Nicklas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|