No commit activity in last 3 years
No release in over 3 years
Create Manifest.txt
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

Rubygems::Manifest

Build Status

Creates Manifest.txt with the list of files of the current project. The Manifest is created using git ls-files so no files from .gitignore will be there.

This awesome idea of having a Manifest.txt file was stolen from https://github.com/seattlerb/hoe.

Installation

$ gem install rubygems-manifest

Usage

Start a new project:

$ mkdir example ; cd example
$ touch a.txt
$ manifest check
>> Manifest is empty

Save manifest:

$ git add .
$ manifest check
>> Manifest.txt
>> a.txt
>> Manifest saved successfully

Check manifest:

$ touch b.txt
$ git add .
$ manifest check
>> Difference:
>>
>> -b.txt
>>
>> Manifest is invalid

$ manifest save
>> Manifest.txt
>> a.txt
>> b.txt
>> Manifest saved successfully

$ manifest check
>> Manifest.txt
>> a.txt
>> b.txt
>> Manifest is valid

See

$ manifest --help

Example scripting

Run each test separately

$ for i in $(manifest tests); do ruby -Ilib -Itest $i ; done

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request