wtf-doc 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/lib/wtf/cli/here.rb +3 -3
- data/lib/wtf/version.rb +1 -1
- data/wtf.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a67ee9b4f3d6ebfdb5eeb9604ea1d18c7edf399
|
4
|
+
data.tar.gz: 1bde6d6ab921c48dc7693a2753e164b170bf0535
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c2716ad647baecf8d9390a13f62aa4e95c67312ca51deb710585cd293edf88fd5481f6bea95d419ac14cbfaf16b734e1125a535cffb278e257f1946a030e9fd
|
7
|
+
data.tar.gz: 755dcc64b2df43e48dcef4aed5b49b3d3f454e8959e5f43ddc8165ebf1b50ccf604e8429d14d520587b310a06737e0b7e499d862613aa6b4834453650c9e560c
|
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
# Wtf
|
1
|
+
# Wtf-doc
|
2
2
|
|
3
|
-
Never run into so many folders that you have no idea what contains what? This is a tool to add a descriptions to Mac OS Folders
|
3
|
+
Never run into so many folders that you have no idea what contains what? This is a tool to add a descriptions to Mac OS Folders.
|
4
|
+
|
5
|
+
This small utility will create a .wtf file containing a txt description of the current folder
|
4
6
|
|
5
7
|
|
6
8
|
## Installation
|
@@ -11,7 +13,9 @@ Iinstall it yourself as:
|
|
11
13
|
|
12
14
|
## Usage
|
13
15
|
|
14
|
-
|
16
|
+
$ wtf # to know that is going on into a folder
|
17
|
+
$ wtf doc -c "some description" # to add the description of the current folder
|
18
|
+
|
15
19
|
|
16
20
|
|
17
21
|
## Contributing
|
data/lib/wtf/cli/here.rb
CHANGED
@@ -10,12 +10,12 @@ module Wtf
|
|
10
10
|
end
|
11
11
|
default_task :here
|
12
12
|
|
13
|
-
desc "doc", "This will write the description of
|
13
|
+
desc "doc", "This will write the description of the current folder.
|
14
14
|
\n\n Usage:
|
15
|
-
\n\n wtf
|
15
|
+
\n\n wtf doc -c 'my documentation'"
|
16
16
|
option :c
|
17
17
|
def doc(*args)
|
18
|
-
content = options[:c] + " " + args.join(" ")
|
18
|
+
content = options[:c] + " " + args.join(" ") if options[:c]
|
19
19
|
Wtf::Core.new.write(content) if options[:c]
|
20
20
|
puts "Folder documentation added:"
|
21
21
|
puts Wtf::Core.new.content
|
data/lib/wtf/version.rb
CHANGED
data/wtf.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["lasslo.net@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Command line utility to add descriptions to folders.}
|
13
|
-
spec.description = %q{
|
13
|
+
spec.description = %q{Run wtf into a folder to know that is inside}
|
14
14
|
spec.homepage = "https://github.com/lorenzosinisi/wtf"
|
15
15
|
|
16
16
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wtf-doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lorenzo Sinisi
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description:
|
83
|
+
description: Run wtf into a folder to know that is inside
|
84
84
|
email:
|
85
85
|
- lasslo.net@gmail.com
|
86
86
|
executables:
|