Permalink
Browse files

tweak meta stuff

  • Loading branch information...
janlelis committed Aug 18, 2011
1 parent f47e950 commit 439ad6d4f5dc284fc580b7a447a41f7035e10519
Showing with 15 additions and 2 deletions.
  1. +5 −0 .gitignore
  2. +10 −2 rubybuntu-gedit.gemspec
View
@@ -0,0 +1,5 @@
+pkg
+*~
+*.swp
+*.swo
+*.rbc
View
@@ -3,8 +3,8 @@ require 'rubygems' unless defined? Gem
Gem::Specification.new do |s|
s.name = "rubybuntu-gedit"
- s.version = Date.today.strftime("%y.%m.%d")
- s.authors = ["Jan Lelis"]
+ s.version = Time.now.strftime("%y.%m.%d")
+ s.authors = ["Jan Lelis", "Snippets by Christoph Olszowka", "Please see individual files for author and license"]
s.email = "mail@janlelis.de"
s.homepage = "https://github.com/janlelis/rubybuntu-gedit"
s.summary = "Ruby/Web devoloper's gedit"
@@ -13,4 +13,12 @@ Gem::Specification.new do |s|
s.files = Dir.glob(%w|bin/* [A-Z]*.{txt,rdoc} data/**/*|) + %w|Rakefile rubybuntu-gedit.gemspec|
s.executables = Dir['bin/*'].map{|f| File.basename f }
s.license = "GPL"
+
+ len = s.homepage.size
+ s.post_install_message = \
+ (" ┌── " + "info ".ljust(len-2,'%') + "─┐\n" +
+ " J-_-L │ " + s.homepage + "\n" +
+ " ├── " + "usage ".ljust(len-2,'%') + "─┤\n" +
+ "" + "rubybuntu-gedit install".ljust(len,' ') + "\n" +
+ " └─" + ''*len + "─┘").gsub('%', '') # 1.8 workaround
end

0 comments on commit 439ad6d

Please sign in to comment.