monogram 0.9.2 → 1.0.0

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: bb349615f9f40e1e9bf2692c94dae8b080084945f022ccaff0d6a2bdc513fa64
4
- data.tar.gz: 03c8d777941aed1d5d4bd524366b19d8193c7cfa8f23b0f0effaba53137f5eb9
3
+ metadata.gz: baf32bc8998a9fc5b2b961c26a069b35d9ae95b45cf7d08f288d8bb9d926f7fb
4
+ data.tar.gz: 4e2eca82064bdd040189929246e401ca7711a50999d7bee38d5e431fbd8a5dbb
5
5
  SHA512:
6
- metadata.gz: 959487fa4f343e2951322a940d5b20c65f70bda1a7341a91885b716a9d28c7ebea4e5e93aede1da9acdb2cb34eeff1ef1998a382a9fad92c994614bdcc9544b3
7
- data.tar.gz: ab76d9a27a50eea67c7ec9f34eebb2c117386b6b4978c1388a526e93cf9f2803149dfc72c6a14444bdd318a12d8fffe0d514c76851d5aff34f7faeeb3c819fc7
6
+ metadata.gz: 796a261b52dfb17353f4da852f30ea0d6282d4830cebd409e6bbd9f4e9e6acbd2c60122985b0d7cdd1a69102bc9b19ce94c3b3ae1a8da67665cca63f96128283
7
+ data.tar.gz: 5b44a7e670aa91e5f73f64afb429d182c7c69c10bd39b4da63c3cb1a930231c1c7054d6f3109191cd26e9d3f6f8b438f6c7e5a57ecc8b6033b1a559f565ed1b3
@@ -4,7 +4,7 @@ class Monogram
4
4
  class Config
5
5
  COLOURS = %w[#B91C1C #B45309 #047857 #1D4ED8 #6D28D9].freeze
6
6
  UPPERCASE = true
7
- SHAPE = Avatar::SQUARE
7
+ SHAPE = Avatar::CIRCLE
8
8
 
9
9
  attr_accessor :colours, :uppercase, :shape
10
10
  alias colors= colours=
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Monogram
4
- VERSION = '0.9.2'
4
+ VERSION = '1.0.0'
5
5
  end
data/lib/monogram.rb CHANGED
@@ -87,14 +87,3 @@ class Monogram
87
87
  @shape ||= config.shape
88
88
  end
89
89
  end
90
-
91
- def Object.const_missing(name)
92
- if name == :Supertramp
93
- warn '[DEPRECIATION WARNING] The Supertramp constant is deprecated and will be removed in version 1.0. '\
94
- 'Please use Monogram instead.'
95
-
96
- Monogram
97
- else
98
- super
99
- end
100
- end
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.2
4
+ version: 1.0.0
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-10-03 00:00:00.000000000 Z
11
+ date: 2023-12-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: