aws/aws-sdk-ruby — pull request #190 by mferrier (2013-03-09 15:36:44+00:00)
Title: CORSRuleCollection delete_if can delete all rules

If CORSRuleCollection#delete_if matched all the rules, you'd get:

```
ArgumentError - expected one or more rules:
(gem) aws-sdk-1.8.3.1/lib/aws/s3/cors_rule_collection.rb:101:in `set'
```
So if all the rules are deleted, call #clear instead.