Sha256: a0102a5815311359aa3b9c36aca64b27c65c825598a5308e827b490e81b84bca

Contents?: true

Size: 1.2 KB

Versions: 7

Compression:

Stored size: 1.2 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.9', '>= 0.9.01'
  s.add_runtime_dependency 'rubytext', '~> 0.1', '>= 0.1.20'

  s.add_development_dependency 'minitest', '~> 5.10', '>= 5.10.0'

  # Files...
  main = Find.find("bin").to_a + 
         Find.find("lib").to_a
  data = Find.find("data").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 + data + 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

7 entries across 7 versions & 1 rubygems

Version Path
runeblog-0.3.08 ./runeblog.gemspec
runeblog-0.3.07 ./runeblog.gemspec
runeblog-0.3.06 ./runeblog.gemspec
runeblog-0.3.05 ./runeblog.gemspec
runeblog-0.3.04 ./runeblog.gemspec
runeblog-0.3.03 ./runeblog.gemspec
runeblog-0.3.02 ./runeblog.gemspec