Project

gig

0.0
Low commit activity in last 3 years
No release in over a year
a rake task to check a gem's consistency with git and the filesystem before building
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0
 Project Readme

gig contains a rake task of the same name to check for consistency of files between git, gemspec, and the filesystem before building.

Usage

In your rakefile, require 'gig' and invoke Gig.make_task, passing gemspec_filename and ignore_files. Globs are useful for ignore_files, and File::FNM_DOTMATCH should be used when globs may contain dotfiles. For example:

require 'gig'

ignore_files = %w(
  .github/**/*
  .gitignore
  .gitmodules
  Gemfile
  Rakefile.rb
  test/**/*
).map { |glob| Dir.glob(glob, File::FNM_DOTMATCH) }.inject([], &:|)
Gig.make_task(gemspec_filename: 'my_gem.gemspec', ignore_files: ignore_files)

License

The gem is available under the terms of the MIT License.