Sha256: a39d65f63e377788947fcdeece7dbe14fd33acc3242c7c1197071c8bf5abd7ed
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
#!/usr/bin/env ruby require "obst" path = ARGV[0] || '.' gitignore = File.join(path, '.gitignore') File.open(gitignore, 'a+') do |f| f.puts("# Obst\nobst.md") unless f.read =~ /# Obst/ end obst_md = File.join(path, 'obst.md') File.open(obst_md, 'w') do |f| f.puts Obst::Chart::DailyCount.new(C: path).to_s f.puts "\n" f.puts Obst::Chart::DailyChange.new(C: path).to_s f.puts "\n" f.puts Obst::LongTimeNoSee.new(C: path).to_s f.puts "\n" f.puts Obst::TouchedFiles.new(C: path).to_s end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
obst-0.1.7 | exe/obst |