opscode-cookbooks/apt — pull request #77 by zuazo (2014-06-29 16:04:38+00:00)
Title: Avoid cloning resource attributes

Multiple resource inside `::default` recipe has the same name. Some resources seem to be unnecessarily duplicated.

```
[2014-06-29T07:10:05+00:00] WARN: Cloning resource attributes for execute[apt-get-update] from prior resource (CHEF-3694)
[2014-06-29T07:10:05+00:00] WARN: Previous execute[apt-get-update]: /var/chef/cache/cookbooks/apt/recipes/default.rb:29:in `from_file'
[2014-06-29T07:10:05+00:00] WARN: Current execute[apt-get-update]: /var/chef/cache/cookbooks/apt/recipes/default.rb:38:in `from_file'
```

This PR tries to fix that.

I also updated:
* RuboCop `~> 0.23`: fixes *uninitialized constant Rubocop*.
* ChefSpec `~> 4.0`: fixes *uninitialized constant RSpec::Matchers::BuiltIn::RaiseError::MatchAliases*.