foodcritic 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/README.md +18 -11
- data/Rakefile +15 -1
- data/lib/foodcritic/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8870c686d81d4931dfd3c53e8b71041ac5fa4eff
|
|
4
|
+
data.tar.gz: b87a6c46cbcee778119de54eecfe0b31df172c8c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c5a3d7e4132e33d26b26a1a4587ed4f58fa2398cef8bbe11502545428ab07a3970b33278f71928ad3c72abc3a580e8a05c0b9191dca68d6a21c7e057090526a4
|
|
7
|
+
data.tar.gz: 76beec5bca78c173b6f0b1cfb7e0908e5fe5c6e4f5f448d8c85f0e5471661771a1da23c54f064dec074b401965994b20bbff9951386f06bf3b769748c9ddda8f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
# FoodCritic Changelog:
|
|
2
2
|
|
|
3
|
-
## [7.0.
|
|
3
|
+
## [7.0.1](https://github.com/acrmp/foodcritic/tree/7.0.1) (2016-07-06)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/acrmp/foodcritic/compare/v7.0.0...7.0.1)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Move the changelog task into the rakefile [#470](https://github.com/acrmp/foodcritic/pull/470) ([tas50](https://github.com/tas50))
|
|
10
|
+
- Readme improvements [#468](https://github.com/acrmp/foodcritic/pull/468) ([tas50](https://github.com/tas50))
|
|
11
|
+
|
|
12
|
+
## [7.0.0](https://github.com/acrmp/foodcritic/tree/7.0.0) (2016-07-05)
|
|
4
13
|
|
|
5
14
|
[Full Changelog](https://github.com/acrmp/foodcritic/compare/v6.3.0...7.0.0)
|
|
6
15
|
|
data/README.md
CHANGED
|
@@ -2,31 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://travis-ci.org/acrmp/foodcritic) [](http://badge.fury.io/rb/foodcritic)
|
|
4
4
|
|
|
5
|
-
Foodcritic is a
|
|
5
|
+
Foodcritic is a code linting tool for writing better and safer Chef cookbooks that runs both as a command line tool and as a Rake task. Out of the box Foodcritic contains over 50 cookbook rules, and plugin system for writing your own rules.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Basic Usage
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
```shell
|
|
10
|
+
$ gem install foodcritic
|
|
11
|
+
$ foodcritic my_cookbook_dir
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Documentation
|
|
15
|
+
|
|
16
|
+
The Foodcritic site at <http://foodcritic.io/> contains documentation for each of the rules as well as documentation on the API for writing your own rules.
|
|
17
|
+
|
|
18
|
+
## Requirements
|
|
10
19
|
|
|
11
|
-
|
|
20
|
+
- Ruby 2.1+
|
|
21
|
+
|
|
22
|
+
## Building Foodcritic
|
|
12
23
|
|
|
13
24
|
```
|
|
14
25
|
$ bundle install
|
|
15
26
|
$ bundle exec rake
|
|
16
27
|
```
|
|
17
28
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
[Foodcritic on Travis CI](http://travis-ci.org/acrmp/foodcritic)
|
|
21
|
-
|
|
22
|
-
# License
|
|
29
|
+
## License
|
|
23
30
|
|
|
24
31
|
MIT - see the accompanying [LICENSE](https://github.com/acrmp/foodcritic/blob/master/LICENSE) file for details.
|
|
25
32
|
|
|
26
|
-
|
|
33
|
+
## Changelog
|
|
27
34
|
|
|
28
35
|
To see what has changed in recent versions see the [CHANGELOG](https://github.com/acrmp/foodcritic/blob/master/CHANGELOG.md). Foodcritic follows the [Rubygems Semantic Versioning Policy](http://guides.rubygems.org/patterns/#semantic-versioning).
|
|
29
36
|
|
|
30
|
-
|
|
37
|
+
## Contributing
|
|
31
38
|
|
|
32
39
|
Additional rules and bug fixes are welcome! Please fork and submit a pull request on an individual branch per change.
|
data/Rakefile
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
require "foodcritic/version"
|
|
2
2
|
require 'bundler'
|
|
3
3
|
require 'rake/testtask'
|
|
4
|
-
require_relative "tasks/changelog"
|
|
5
4
|
|
|
6
5
|
task :default => [:man, :install, :test, :features]
|
|
7
6
|
|
|
@@ -43,6 +42,21 @@ rescue LoadError
|
|
|
43
42
|
puts "rubocop is not available. gem install rubocop to get rake rubocop to work"
|
|
44
43
|
end
|
|
45
44
|
|
|
45
|
+
begin
|
|
46
|
+
require "github_changelog_generator/task"
|
|
47
|
+
|
|
48
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
49
|
+
config.header = "# FoodCritic Changelog:"
|
|
50
|
+
config.future_release = FoodCritic::VERSION
|
|
51
|
+
config.enhancement_labels = "enhancement,Enhancement,Enhancements,New Feature,Feature".split(",")
|
|
52
|
+
config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(",")
|
|
53
|
+
config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog,Question,Discussion".split(",")
|
|
54
|
+
#config.issues = false
|
|
55
|
+
end
|
|
56
|
+
rescue LoadError
|
|
57
|
+
puts "github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs"
|
|
58
|
+
end
|
|
59
|
+
|
|
46
60
|
desc 'Build the manpage'
|
|
47
61
|
task(:man) do
|
|
48
62
|
sh 'ronn -w --roff man/*.ronn'
|
data/lib/foodcritic/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foodcritic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.0.
|
|
4
|
+
version: 7.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Crump
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-07-
|
|
11
|
+
date: 2016-07-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber-core
|
|
@@ -301,5 +301,5 @@ rubyforge_project:
|
|
|
301
301
|
rubygems_version: 2.6.6
|
|
302
302
|
signing_key:
|
|
303
303
|
specification_version: 4
|
|
304
|
-
summary: foodcritic-7.0.
|
|
304
|
+
summary: foodcritic-7.0.1
|
|
305
305
|
test_files: []
|