osx_trash 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59bc158d56aa22c35b5a8165576e294bf7a9c9a5f26e3748b3ff5db59d290899
4
- data.tar.gz: 8db783982be116ffd9ff93508892f48c4d43327680c6d0efff0e1bba50e153ec
3
+ metadata.gz: 8501af5d273f1de26ecec13db2ba014bb84cab7c6bd047d7aec0a8bd5a96c448
4
+ data.tar.gz: 4005c7728efc409de68d0b776ad5bdee75ce5cc40ce22b9c8b32947efe74cd83
5
5
  SHA512:
6
- metadata.gz: a53dbfe1d7872d995da87806887e48b469f33f124145d4a58bb39ae6756a4bf7a6709d388257c641ff08a880b19295c5fe6f440fb706eb0fd32634b6ddc3496d
7
- data.tar.gz: 969e1d579eb625534ba8969620bf6ba6625396fbfe23d18abce7cdd8603f8a7f413a8d04fe1902b2d53ea366bb13002c923f5f9c88e4df5af8f88a91980032b3
6
+ metadata.gz: a083704c42833e5adc4c650d74b675f6bbfeb65016ad2683f90d793cdba24881952e25c7b407a1c56c35552cf49ce63a8073e295bc58d2d3c2fa4848dfdaf52b
7
+ data.tar.gz: 6910cf8f556d142d3835b66d464efd3d409c48c5cd327544c1121f693e5d7db85e494081d28da2dc9bfef031dea4cea4ec59bbb04f226e7f16409873ec75bd52
data/README.md CHANGED
@@ -11,10 +11,23 @@ This gem relies on Applescript (`osax`), which all Apple computers should have.
11
11
  ## Usage
12
12
 
13
13
  ```
14
+ require 'osx_trash'
14
15
  OSX.trash file:path_to_file_list
15
16
  ```
16
17
 
17
- When running locally, `send_to_trash` may move files that are in a watched folder, such as by Dropbox or Google Filestream. These programs may raise a Finder dialog to confirm moving them. You will have to click "OK" for each one. This may cause problems on remote / headless systems. Please file an issue with bug report, or a PR. Thanks.
18
+ When running the gem locally, `send_to_trash` may move files that are in a watched folder, such as by Dropbox or Google Filestream. These programs may raise a Finder dialog to confirm moving them. You will have to click "OK" for each one. This may cause problems on remote / headless systems. Please file an issue with bug report, or a PR. Thanks.
19
+
20
+ You can also call from the CLI:
21
+
22
+ ```
23
+ gem install osx_trash
24
+
25
+ trash /path/to/a/file.jpg
26
+
27
+ trash_all /path/to/file-with-list-of-paths.txt
28
+ ```
29
+
30
+ I think that `zsh` may interfere with recognizing bin paths of installed gems. If you have this issue, or a fix, please open an Issue on the repo. Thanks.
18
31
 
19
32
 
20
33
  ## Development
@@ -1,3 +1,3 @@
1
1
  module OsxTrash
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
data/osx_trash.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["zak@newalexandria.org"]
11
11
 
12
12
  spec.summary = %q{Ruby class and CLI app for moving files to the OSX Trash}
13
- spec.description = %q{The OSX Trash gem will take a filepath containing paths to files that should be moved to the OSX trash. The list can be a little noisy, with things that will go away with `strip`. When instantiatin the class, you can pass a hash of file: with the pathname, or paths: with an array. }
13
+ spec.description = %q{The OSX Trash gem will take a filepath containing paths to files that should be moved to the OSX trash. The list can be a little noisy, with things that will go away with `strip`. When instantiating the class, you can pass a hash of file: with the pathname, or paths: with an array of paths. }
14
14
  spec.homepage = "https://github.com/NewAlexandria/osx_trash"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osx_trash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachary Jones
@@ -40,8 +40,8 @@ dependencies:
40
40
  version: '10.0'
41
41
  description: 'The OSX Trash gem will take a filepath containing paths to files that
42
42
  should be moved to the OSX trash. The list can be a little noisy, with things that
43
- will go away with `strip`. When instantiatin the class, you can pass a hash of file:
44
- with the pathname, or paths: with an array. '
43
+ will go away with `strip`. When instantiating the class, you can pass a hash of
44
+ file: with the pathname, or paths: with an array of paths. '
45
45
  email:
46
46
  - zak@newalexandria.org
47
47
  executables: []