anchor.diff:  %% @doc Gets the boss_db options
   boss_db_opts(RebarConf) ->
       rebar_config:get(RebarConf, boss_db_opts, []).
  +
  +%% @doc Gets the value for coverage_enabled from the rebar config
  +coverage_enabled(RebarConf) ->
  +    rebar_config:get(RebarConf, cover_enabled, false).
   
   %% @doc A pre-compile hook to compile boss_db models
   pre_compile_helper(RebarConf, BossDbOpts, TargetDir) ->
  
positive.code:             rebar_base_compiler:ok_tuple(RebarConfig, Source, Ws);
          {error, Es, Ws} ->
              rebar_base_compiler:error_tuple(RebarConfig, Source,
                                              Es, Ws, RecordCompilerOpts)
      end.
  
negative.code:     BossDbOpts = boss_db_opts(RebarConf),
      pre_compile_helper(RebarConf, BossDbOpts, option(out_dir, BossDbOpts)).
  
  %% @doc A pre-eunit hook to compile boss_db models before eunit.
  %% It also copies model's .erl files to the .eunit directory if
  %% coverage is needed.
  pre_eunit(RebarConf, _AppFile) ->
      BossDbOpts = boss_db_opts(RebarConf),
      pre_compile_helper(RebarConf, BossDbOpts, ".eunit"),
      case coverage_modifications_needed(RebarConf, BossDbOpts) of
          true ->
              ModelDir = option(model_dir, BossDbOpts),
              eunit_coverage_helper(ModelDir);
          false ->
              ok
      end.
  
  %% --------------------------------------------------------------------
  %% Internal functions
  