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: 53,079 of 180,534
Downloads: 17,645
Daily
Ranking: 57,074 of 180,529
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
13,966 | 118,152 | builderator |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,085,680,397 | bundler |
5,815 | 694,039 | thor-scmversion |
Owners
# | Gravatar | Handle |
---|---|---|
1 | jmanero |