Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tweak meta stuff

  • Loading branch information...
commit 439ad6d4f5dc284fc580b7a447a41f7035e10519 1 parent f47e950
@janlelis authored
Showing with 15 additions and 2 deletions.
  1. +5 −0 .gitignore
  2. +10 −2 rubybuntu-gedit.gemspec
View
5 .gitignore
@@ -0,0 +1,5 @@
+pkg
+*~
+*.swp
+*.swo
+*.rbc
View
12 rubybuntu-gedit.gemspec
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.