diff --git a/README.md b/README.md index f8808550..631d0168 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,18 @@ a test-centered build manager for unit testing C code. Getting Started =============== -If you're using Ceedling, there is no need to install CMock. It will handle it for you. -For everyone else, the simplest way is to grab it off github. You can also download it -as a zip if you prefer. The Github method looks something like this: +Your first step is to get yourself a copy of CMock. There are a number of ways to do this: + +1. If you're using Ceedling, there is no need to install CMock. It will handle it for you. + +2. The simplest way is to grab it off github. The Github method looks something like this: > git clone --recursive https://github.com/throwtheswitch/cmock.git +3. You can also grab the `zip` file from github. If you do this, you'll also need to grab yourself a +copy of Unity and CException, because github unfortunately doesn't bake dependencies into the zip +files. + Contributing to this Project ============================ @@ -41,7 +47,7 @@ API Documentation * Not sure what you're doing? * [View docs/CMock_Summary.md](docs/CMock_Summary.md) -* Interested in our MIT-style license? +* Interested in our MIT license? * [View docs/license.txt](LICENSE.txt) * Are there examples? * They are all in [/examples](examples/) diff --git a/lib/cmock_config.rb b/lib/cmock_config.rb index c811090d..f8c88f90 100644 --- a/lib/cmock_config.rb +++ b/lib/cmock_config.rb @@ -88,6 +88,9 @@ def initialize(options = nil) options[:plugins].compact! options[:plugins].map!(&:to_sym) + + raise 'The :ignore plugin is required to disable :fail_on_unexpected_calls' if (!options[:plugins].include? :ignore) && (!options[:fail_on_unexpected_calls]) + @options = options treat_as_map = standard_treat_as_map # .clone