lib/pry-theme.rb in pry-theme-0.1.1 vs lib/pry-theme.rb in pry-theme-0.1.2

- old
+ new

@@ -1,7 +1,6 @@ require 'pry-theme/version' -require 'pry-theme/uninstaller' require 'pry-theme/helper' require 'pry-theme/palette' require 'pry-theme/term_notation' require 'pry-theme/theme' require 'pry-theme/rgb' @@ -148,15 +147,9 @@ # error ("can't convert nil into String" stuff). TermNotation::EMPTY end rescue NoColorError => e Pry.output.puts "#{e}: wrong color value: `#{color}`. Typo?" - end - - def self.install_gem_hooks - Gem.post_uninstall do |u| - Uninstaller.run(u) if u.spec.name == "pry-theme" - end end def self.find_color(color, palette, &block) if color c = palette.colors.find do |palette_color|