Skip to content

Commit

Permalink
Merge pull request #344 from elmundio87/windows-file-version
Browse files Browse the repository at this point in the history
Check the Windows metadata version of a file
  • Loading branch information
mizzy committed Feb 5, 2014
2 parents b9a640c + 7bd48a6 commit f76e496
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/serverspec/type/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ def content
end
@content
end

def version?(version)
backend.check_file_version(@name, version)
end
end
end
end

0 comments on commit f76e496

Please sign in to comment.