Sha256: 57023a0eeb71ced91a96d14a81306a5888697fee070d3270b4eb6dd1bec23ac4

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 KB

Contents

require 'date'
require 'find'

$LOAD_PATH << "lib"

require "runeblog_version"

Gem.post_install do |spec|
  Dir.chdir(RuneBlog::Path)
  system("livetext -i liveblog.rb")
end

spec = Gem::Specification.new do |s|
  system("rm -f *.gem")
  s.name        = 'runeblog'
  s.version     = RuneBlog::VERSION
  s.date        = Date.today.strftime("%Y-%m-%d")
  s.summary     = "A command-line blogging system"
  s.description = "A blog system based on Ruby and Livetext"
  s.authors     = ["Hal Fulton"]
  s.email       = 'rubyhacker@gmail.com'
  s.executables << "blog"
  s.add_runtime_dependency 'livetext', '~> 0.8', '>= 0.8.94'
  s.add_runtime_dependency 'rubytext', '~> 0.1', '>= 0.1.16'

  # Files...
  main = Find.find("bin").to_a + 
         Find.find("lib").to_a
  test = Find.find("test").to_a
  misc = %w[./README.lt3 ./README.md ./runeblog.gemspec]
  empty_view = Find.find("empty_view").to_a


  s.files       =  main + misc + test + empty_view
  s.homepage    = 'https://github.com/Hal9000/runeblog'
  s.license     = "Ruby"
  s.post_install_message = "\n  Success! Run 'blog' command and type h for help.\n "
end

spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
runeblog-0.2.59 ./runeblog.gemspec
runeblog-0.2.58 ./runeblog.gemspec
runeblog-0.2.57 ./runeblog.gemspec
runeblog-0.2.56 ./runeblog.gemspec