Categories: None [Edit]
ignorefile
# Ignorefile
Compile a set of ignore statements from files and code.
## Usage
```ruby
reqire 'ignorefile'
cookbook_files = Dir.glob('**/{*,.*}')
ignore = IgnoreFile.new('.gitignore', 'chefignore', ['.git/*'])
ignore.apply!(cookbook_files)
```
## Thanks
This gem is based upon Seth Vargo's [buff-ignore](https://github.com/sethvargo/buff-ignore).
Total
Ranking: 56,271 of 186,698
Downloads: 18,171
Daily
Ranking: 89,132 of 186,685
Downloads: 3
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
14,894 | 126,534 | builderator |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,900,560,356 | bundler |
6,513 | 704,945 | thor-scmversion |
Owners
# | Gravatar | Handle |
---|---|---|
1 | jmanero |