shitceptions 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,6 +56,7 @@ module Shitceptions
56
56
  # @raise [Shitceptions::ShittyEmojiError]
57
57
  # if the given emoji name does not exist
58
58
  def shittify(klass, emoji_name)
59
+ return unless enabled?
59
60
  raise ShittyArgumentError.new(klass) unless klass.kind_of?(Class)
60
61
 
61
62
  emoji = EMOJIS[emoji_name.to_s.downcase.gsub(/[[:space:]]/, '_').to_sym]
@@ -1,3 +1,3 @@
1
1
  module Shitceptions
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shitceptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: