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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6772d0356af50712128cf66783ccd72b45a7af8689adb2384d2e95250f63bdb
4
- data.tar.gz: d42b37d5ef921d8bb7699610a5c50a24d712f977b207605e20453b280d563329
3
+ metadata.gz: 76e0b48e0a05baf7f93639dad8a3a5bd6226d390485a40336712fb79e52c4e71
4
+ data.tar.gz: bd9bc97ffd51fbf668054e72f39cf8953380fce529a27cc4bfe986efc83e2180
5
5
  SHA512:
6
- metadata.gz: 98bc31baeb25c0eb26d3c675280fe4247084c8048a821ea020094a3fd9eec891b0cfdee0d52d28eb692db4acecf9f9c6ebc54961c5ced812f17fdf6450ab6989
7
- data.tar.gz: c50ec05e86712de188842e721dbe7e3052a178a43f4bd2a0989a7debb640b5599d0a5bdb8b8a345a5ba0413ec4e4ce15ecc451220be5e6fc56558c924fc7e55d
6
+ metadata.gz: 4b621f5123c033538e5a6655ab64eeac25f358829ef6ea1731f942da2ae905f8527e028850f5d9a77721eeab99da14acf6a4be8b1b08bf7093e072cd7ad620b0
7
+ data.tar.gz: 6db7e9764af03859536437ee70679ab964d9a72262957a3df1d238353e6e9d6eb7cdfe40705e3805b8e78be8a3194a7f4da300cf27f186a24d7ef34bbff82b34
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1 / 2022-09-23
4
+
5
+ - Fix loading file issue
6
+
3
7
  ## 1.0.0 / 2022-09-22
4
8
 
5
9
  - Added ring type
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- boring_avatar (1.0.0)
4
+ boring_avatar (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -43,7 +43,11 @@ module Util
43
43
  private
44
44
 
45
45
  def color_palettes
46
- @color_palettes ||= JSON.parse(File.read("./color_palettes.json"))
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
@@ -1,3 +1,3 @@
1
1
  module BoringAvatar
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  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.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-22 00:00:00.000000000 Z
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.1.6
64
+ rubygems_version: 3.2.15
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Generate Boring Avatars