lib/Checked/Demand/Mods/File_Addresses.rb in Checked-0.1.3 vs lib/Checked/Demand/Mods/File_Addresses.rb in Checked-0.1.4
- old
+ new
@@ -9,10 +9,10 @@
end
def hostname!
string!
not_empty!
- contain_only! %r![\dA-Za-z_-]!
+ matches_only! %r![\dA-Za-z_-]!
end
def not_dir!
string!
not_empty!