mirror of
https://github.com/vbatts/persistent-shell-history.git
synced 2024-11-24 08:25:40 +00:00
gemifying this show.
This commit is contained in:
parent
0a6878e75d
commit
ac1de21224
7 changed files with 53 additions and 0 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
*~
|
||||
*.gem
|
||||
.bundle
|
||||
Gemfile.lock
|
||||
pkg/*
|
4
Gemfile
Normal file
4
Gemfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
source "http://rubygems.org"
|
||||
|
||||
# Specify your gem's dependencies in persistent-shel-history.gemspec
|
||||
gemspec
|
4
Rakefile
Normal file
4
Rakefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
require 'bundler/gem_tasks'
|
||||
|
||||
task :default => :build
|
||||
|
9
lib/persistent-shell-history.rb
Normal file
9
lib/persistent-shell-history.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
require "persistent-shell-history/version"
|
||||
|
||||
module Persistent
|
||||
module Shell
|
||||
module History
|
||||
# Your code goes here...
|
||||
end
|
||||
end
|
||||
end
|
7
lib/persistent-shell-history/version.rb
Normal file
7
lib/persistent-shell-history/version.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
module Persistent
|
||||
module Shell
|
||||
module History
|
||||
VERSION = "0.0.1"
|
||||
end
|
||||
end
|
||||
end
|
24
persistent-shell-history.gemspec
Normal file
24
persistent-shell-history.gemspec
Normal file
|
@ -0,0 +1,24 @@
|
|||
# -*- 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::History::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.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
|
Loading…
Reference in a new issue