0.0
The project is in a healthy, maintained state
A code manifest
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

>= 4.0.0
 Project Readme

CodeManifest

Simple manifest to fetch file by globs and generate digest.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add code_manifest

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install code_manifest

Usage

Put a .code_manifest.yml config file under your project root, for example:

ruby:
  - app/**/*.rb
js:
  - frontend/**/*.js

Then use it with:

require 'code_manifest'

# Returns an `Array` of filepaths
CodeManifest[:ruby].files
CodeManifest[:js].files

# Returns a digest based on all files specified under same namespace
CodeManifest[:ruby].digest
CodeManifest[:js].digest

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rubyatscale/code_manifest.