boring_avatar 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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/boring_avatar/util.rb +5 -1
- data/lib/boring_avatar/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76e0b48e0a05baf7f93639dad8a3a5bd6226d390485a40336712fb79e52c4e71
|
4
|
+
data.tar.gz: bd9bc97ffd51fbf668054e72f39cf8953380fce529a27cc4bfe986efc83e2180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b621f5123c033538e5a6655ab64eeac25f358829ef6ea1731f942da2ae905f8527e028850f5d9a77721eeab99da14acf6a4be8b1b08bf7093e072cd7ad620b0
|
7
|
+
data.tar.gz: 6db7e9764af03859536437ee70679ab964d9a72262957a3df1d238353e6e9d6eb7cdfe40705e3805b8e78be8a3194a7f4da300cf27f186a24d7ef34bbff82b34
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/boring_avatar/util.rb
CHANGED
@@ -43,7 +43,11 @@ module Util
|
|
43
43
|
private
|
44
44
|
|
45
45
|
def color_palettes
|
46
|
-
@color_palettes ||= JSON.parse(File.read(
|
46
|
+
@color_palettes ||= JSON.parse(File.read(palettes_file))
|
47
|
+
end
|
48
|
+
|
49
|
+
def palettes_file
|
50
|
+
File.dirname(__FILE__) + "/../../color_palettes.json"
|
47
51
|
end
|
48
52
|
end
|
49
53
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boring_avatar
|
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
|
- Olivier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This is a simple Ruby implementation of Boring Avatars library
|
14
14
|
email:
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
rubygems_version: 3.
|
64
|
+
rubygems_version: 3.2.15
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Generate Boring Avatars
|