acrmp/foodcritic — pull request #93 by arangamani (2012-12-15 00:53:18+00:00)
Title: don't look at the function calls on resource attributes

I had a lot of false positives on the rule "FC009: Resource attribute not recognised" It treats all function calls made to the values of attributes as a resource attribute and reports it as a violation.

In the following example, `rand` function call is considered as a resource attribute and reported as a violation.

```ruby
cron "run a command at a random minute" do
user "root"
minute rand(60)
command "/usr/bin/whatever"
end
```

So In the code I've removed looking in `fcal` blocks in the `normal_attributes` function of `api.rb`. The only place to use this function is to check this FC009 rule and I don't see why we should check the function calls here. Correct me if I'm wrong.