Skip to content

Releases: thutterer/initials

v0.4.3

30 Jun 07:23
Compare
Choose a tag to compare

Fixed:

  • Add missing xmlns="http://www.w3.org/2000/svg" attribute. Thanks @samuelpismel

Shrink ray!

22 Jan 18:14
Compare
Choose a tag to compare

Fixed:

  • Now only files in the lib/ folder are used when building the gem and files like the demo.png are not. This reduces the size of the gem by 90% 🙈

No name? No problem.

14 Jul 11:58
Compare
Choose a tag to compare

Fixed

  • Instead of raising an error, it now shows a question mark on grey background when provided with an empty name.

Shape up!

20 Jun 07:18
Compare
Choose a tag to compare

New

  • Adds an option to define the number of different background colors and makes sure that successive name values (A, B, C, ...) result in successive colors, with colors evenly distributed around the color (hue) wheel, resulting in a nice color palette.
  • Adds an option to set the shape of the initials background. Use :rect or the default :circle.

demo.png

v0.3.0

19 Jun 12:26
Compare
Choose a tag to compare

New

  • Now uses a system font stack which should pick a better font than a plain non-serif alone.
  • Adds an option to limit the initials length, so if you want all your avatars to only have a single letter, you can now set a limit of 1.

Ruby 3.0 compatibility

12 Jun 19:10
Compare
Choose a tag to compare
v0.2.1

Version 0.2.1

Hello World!

12 Jun 18:39
Compare
Choose a tag to compare

This is the first release of Initials. Checkout the README.md for instructions, but basically:

Initials.svg("Morty Smith", size: 64)