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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18144acf30d164920c60d87cf73263c1945b0a6f
4
- data.tar.gz: 1a1a41bea9fcaf88b6137421b76880a154c14a02
3
+ metadata.gz: 3a67ee9b4f3d6ebfdb5eeb9604ea1d18c7edf399
4
+ data.tar.gz: 1bde6d6ab921c48dc7693a2753e164b170bf0535
5
5
  SHA512:
6
- metadata.gz: ad8366a8fc63074cc7425342ae2307aca7ceb69bc6b819f7da09ef361a38c373d49d10d4a58fbf8eb1f023cd34731348f299e765b6b4fe73b4674cc4f1240445
7
- data.tar.gz: 1e9371509d7a33c90fd0baa44982875a68d85993e4df4ef0a49cffd4568446755eb14a158192c68ae7d435d4e3a69e8f711696de46adfb1194bb0d2f5c661c96
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
- TODO: instructions
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 this folder.
13
+ desc "doc", "This will write the description of the current folder.
14
14
  \n\n Usage:
15
- \n\n wtf document -c 'my documentation'"
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
@@ -1,3 +1,3 @@
1
1
  module Wtf
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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{Command line utility to add descriptions to folders}
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.0
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: Command line utility to add descriptions to folders
83
+ description: Run wtf into a folder to know that is inside
84
84
  email:
85
85
  - lasslo.net@gmail.com
86
86
  executables: