1
0
Fork 0
mirror of https://github.com/vbatts/persistent-shell-history.git synced 2024-11-21 15:15:40 +00:00
persistent-shell-history/persistent-shell-history.gemspec
Vincent Batts 3617b25466 BIG TIME CHANGES.
Using Marshal, instead of YAML. Reduces my library of +28,000 commands
from 168Mb to 2.1Mb. Also reduces the run time from 4.5 minutes to
5secs.

Included a check for whether the existing [old] format is used, and
migrate it to the new version.
2012-09-21 13:17:38 -04:00

25 lines
869 B
Ruby

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "persistent-shell-history/version"
Gem::Specification.new do |s|
s.name = "persistent-shell-history"
s.version = Persistent::Shell::VERSION
s.authors = ["Vincent Batts"]
s.email = ["vbatts@hashbangbash.com"]
s.homepage = ""
s.summary = %q{bash shell history collection}
s.description = %q{
This is a quick job, to have a local database, to collect _all_ commands
from ~/.bash_history
See README for other implementation helpers.
}
s.rubyforge_project = "persistent-shell-history"
s.add_dependency("json")
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
end