Sha256: f2097832d2f1aa5bffa8f8f8f7a107c5444d6407ae52053b011e0b0124bd59bd

Contents?: true

Size: 1.1 KB

Versions: 5

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.87'
  s.add_runtime_dependency 'rubytext', '~> 0.1', '>= 0.1.16'

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

  Dir.chdir("data") do 
    system("tar zcvf standard.tgz standard/ >/dev/null 2>&1")
  end

  std_theme = ["data/standard.tgz"]

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

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

spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
runeblog-0.1.82 ./runeblog.gemspec
runeblog-0.1.81 ./runeblog.gemspec
runeblog-0.1.80 ./runeblog.gemspec
runeblog-0.1.79 ./runeblog.gemspec
runeblog-0.1.78 ./runeblog.gemspec