lib/fspath/mac.rb in fspath-mac-3.0.2 vs lib/fspath/mac.rb in fspath-mac-3.1.0
- old
+ new
@@ -1,13 +1,13 @@
require 'fspath'
require 'shellwords'
class FSPath
module Mac
- # Move to trash using finder
+ # Move to trash
def move_to_trash
- with_argv_tell_finder_to 'move (POSIX file (item 1 of argv) as alias) to trash'
+ # actual implementation in extension
end
FINDER_LABEL_COLORS = [nil, :grey, :green, :purple, :blue, :yellow, :red, :orange].freeze
FINDER_LABEL_COLOR_ALIASES = {:gray => :grey}.freeze
@@ -47,6 +47,6 @@
end
include Mac
end
-require 'fspath/mac/finder_label_number'
+require 'fspath/mac/ext'