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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab21e44cb35458bdde51809afaf69be64ccd16a8
4
- data.tar.gz: aebcdd5966b420f5c6e2aa12e09f6c24f2fb0202
3
+ metadata.gz: 8870c686d81d4931dfd3c53e8b71041ac5fa4eff
4
+ data.tar.gz: b87a6c46cbcee778119de54eecfe0b31df172c8c
5
5
  SHA512:
6
- metadata.gz: 67ed960a8a0f9fc6fafa1bc14c93be58148147ba48db18bd708727ac5dde5e3d32de1d824b613b6c295ade38fe3bfbb2b6bbbf2021391e4931b788a36f5bc12c
7
- data.tar.gz: 80323007683dd446666cbee36f0bcd16e0fb1370ef8543280eb2b630557787b81598142702f40ae160662d7474e92b4ab7194ab43a8003ed8df74650619c09b0
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.0](https://github.com/acrmp/foodcritic/tree/7.0.0) (2016-07-02)
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
  [![Build Status](https://travis-ci.org/acrmp/foodcritic.svg?branch=master)](https://travis-ci.org/acrmp/foodcritic) [![Gem Version](https://badge.fury.io/rb/foodcritic.svg)](http://badge.fury.io/rb/foodcritic)
4
4
 
5
- Foodcritic is a lint tool for Chef cookbooks. It requires Ruby 2.1.0+.
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
- # Documentation
7
+ ## Basic Usage
8
8
 
9
- <http://foodcritic.io/>
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
- # Building
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
- # Continuous Integration
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
- # Changelog
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
- # Contributing
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'
@@ -1,4 +1,4 @@
1
1
  module FoodCritic
2
2
  # The current version of foodcritic
3
- VERSION = '7.0.0'
3
+ VERSION = '7.0.1'
4
4
  end
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.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-05 00:00:00.000000000 Z
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.0
304
+ summary: foodcritic-7.0.1
305
305
  test_files: []