lib/rubygems/comparator/dir_utils.rb in gem-compare-1.1.0 vs lib/rubygems/comparator/dir_utils.rb in gem-compare-1.2.0
- old
+ new
@@ -17,14 +17,10 @@
def self.files_same_first_line?(file1, file2)
file_first_line(file1) == file_first_line(file2)
end
- def self.file_permissions(file)
- sprintf("%o", File.stat(file).mode)
- end
-
def self.gem_bin_file?(file)
file =~ /(\A|.*\/)bin\/.*/
end
##
@@ -48,6 +44,6 @@
dirs.delete_if{ |d| d =~ /#{dir}\/.+/ }
end
dirs
end
end
-end
\ No newline at end of file
+end