Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Commit

Permalink
Remove 'size' as a required attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Oct 16, 2013
1 parent 3b2592f commit 07c8e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@

# Require attributes
attribute :path, kind_of: String, name_attribute: true
attribute :size, kind_of: Fixnum, required: true
attribute :size, kind_of: Fixnum
attribute :persist, kind_of: [TrueClass, FalseClass], default: false

0 comments on commit 07c8e3a

Please sign in to comment.