monogram 0.9.1 → 0.9.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41c278c31721307b66470cc91a5e2ccfd583d1501fea154a9b4af29aa8ce76b0
4
- data.tar.gz: d8b1ae681f2ceb390cd37f6ea818fab329a1832e4fffa24eb15d23cd4868088f
3
+ metadata.gz: bb349615f9f40e1e9bf2692c94dae8b080084945f022ccaff0d6a2bdc513fa64
4
+ data.tar.gz: 03c8d777941aed1d5d4bd524366b19d8193c7cfa8f23b0f0effaba53137f5eb9
5
5
  SHA512:
6
- metadata.gz: 8e643536245563599a7daff62350bb9416365ba328a29ec34ab4b825cac99e91f71735112a458a7123eb9cdfc621757d32bbc9b3da03cc561390b51eb3c1422e
7
- data.tar.gz: dae67e25f1d1cc310fe4c1cf1ad8bc2646509a55d23ccaf79263aaa6171329616f57a1c5737deddab70fe0f750f5e8c4ea737e9eb8516d625fd2f9c6ff107aef
6
+ metadata.gz: 959487fa4f343e2951322a940d5b20c65f70bda1a7341a91885b716a9d28c7ebea4e5e93aede1da9acdb2cb34eeff1ef1998a382a9fad92c994614bdcc9544b3
7
+ data.tar.gz: ab76d9a27a50eea67c7ec9f34eebb2c117386b6b4978c1388a526e93cf9f2803149dfc72c6a14444bdd318a12d8fffe0d514c76851d5aff34f7faeeb3c819fc7
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Monogram
4
- VERSION = '0.9.1'
4
+ VERSION = '0.9.2'
5
5
  end
data/lib/monogram.rb CHANGED
@@ -74,8 +74,8 @@ class Monogram
74
74
  end
75
75
 
76
76
  def background_for_initials
77
- Random.srand(initials_seed)
78
- index = (rand * config.colours.length).floor
77
+ r = Random.new(initials_seed)
78
+ index = (r.rand * config.colours.length).floor
79
79
  config.colours[index]
80
80
  end
81
81
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monogram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Bearman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-12 00:00:00.000000000 Z
11
+ date: 2023-10-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: