Sha256: d6110e0f3974bb75ce5c0ebcf01378206d4c55c29bd46f587b5a76261a0834e1

Contents?: true

Size: 1.03 KB

Versions: 7

Compression:

Stored size: 1.03 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.93'
  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]

# system("tar zcvf empty_view.tgz empty_view")

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

spec

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
runeblog-0.2.24 ./runeblog.gemspec
runeblog-0.2.23 ./runeblog.gemspec
runeblog-0.2.22 ./runeblog.gemspec
runeblog-0.2.18 ./runeblog.gemspec
runeblog-0.2.17 ./runeblog.gemspec
runeblog-0.2.16 ./runeblog.gemspec
runeblog-0.2.15 ./runeblog.gemspec