paint.gemspec in paint-0.8.7 vs paint.gemspec in paint-0.9.0

- old
+ new

@@ -10,22 +10,13 @@ s.homepage = "https://github.com/janlelis/paint" s.summary = "Terminal painter!" s.description = "Terminal painter / no string extensions / 256 color support / effect support / define custom shortcuts / basic usage: Paint['string', :red, :bright]" s.required_ruby_version = '>= 1.8.7' s.files = Dir.glob(%w[{lib,test,spec}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c}]) + %w{Rakefile paint.gemspec} - s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"] + s.extra_rdoc_files = ["README.rdoc", "MIT-LICENSE.txt"] s.license = 'MIT' - s.add_development_dependency 'rspec' - s.add_development_dependency 'rspec-core' + + s.add_development_dependency 'rspec', '>= 3' s.add_development_dependency 'rake' s.add_development_dependency 'rainbow', '1.1.4' s.add_development_dependency 'term-ansicolor' - - len = s.homepage.size - s.post_install_message = \ - (" ┌── " + "info ".ljust(len-2,'%') + "─┐\n" + - " J-_-L │ " + s.homepage + " │\n" + - " ├── " + "usage ".ljust(len-2,'%') + "─┤\n" + - " │ " + "require 'paint'".ljust(len,' ') + " │\n" + - " │ " + "puts Paint['J-_-L', :red] # \e[31mJ-_-L\e[0m".ljust(len,' ') + " │\n" + - " └─" + '─'*len + "─┘").gsub('%', '─') # 1.8 workaround end