Sha256: 393b973752af4461d783be68f87afb2556638af77c9912ac675ad76586ad274b

Contents?: true

Size: 995 Bytes

Versions: 3

Compression:

Stored size: 995 Bytes

Contents

require 'date'
require 'find'

$LOAD_PATH << "lib"

require "runeblog_version"

Gem.post_install do |spec|
  Dir.chdir(RuneBlog::Path)
p Dir.pwd
  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.64'
  s.add_runtime_dependency 'rubytext', '~> 0.1', '>= 0.1.14'

  # Files...
  main = Find.find("bin").to_a + 
         Find.find("lib").to_a

  misc = %w[./README.lt3 ./README.md ./runeblog.gemspec]
  test = Find.find("test").to_a

  s.files       =  main + misc + test
  s.homepage    = 'https://github.com/Hal9000/runeblog'
  s.license     = "Ruby"
end

spec

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
runeblog-0.1.57 ./runeblog.gemspec
runeblog-0.1.56 ./runeblog.gemspec
runeblog-0.1.55 ./runeblog.gemspec