wtf-doc 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 2f3d9f97afd7407dc1763039d4ab2521da30106c
4
- data.tar.gz: f52c72b35bfc7fe456e4c196ebf23117abdf2059
3
+ metadata.gz: 8357a0bf52f36c1655cbdefcfa8eebadda34cb89
4
+ data.tar.gz: 64d8550ceec41e1650a559566ff9801232564b69
5
5
  SHA512:
6
- metadata.gz: 87efb293f0552754bb779f6f5667507d7a86ffc0a413659a215f0a4696be920a60ae5ede31f063d7a285aabf98a188e2621e770ac16872658b21a85753ebfe81
7
- data.tar.gz: 3e8fa2b71c9a351811efd7d36137fbbd01c24406b1ac589df9cffbd5f8ae3bcb56eef456c89462c2e11cd0a422985e168bdfc0f53de4c7ba4657da3f8c135271
6
+ metadata.gz: d8f1f898cea86ebcb4c4410acb5cdc52323f2257f8fcd4e84c9278dbb6a1eaf255c3c38faca1630bdc74ac773cdb7d9847235e3c6c58afaae0c1bc0dfd2c2aca
7
+ data.tar.gz: 1dfd7beaedec77aa76a1594d309d226f3b07e725fa031e969ac9b7ecfe6df1ada38fa83042c89d9bf89873055039d86e0bafd26092f465b88f2d57fadf9d49b2
data/lib/wtf/cli/here.rb CHANGED
@@ -7,7 +7,7 @@ module Wtf
7
7
  desc "here", "This will read you the description of this folder"
8
8
 
9
9
  def here
10
- puts "DOC:" + Wtf::Core.new.content
10
+ puts "DOC ==> " + Wtf::Core.new.content.to_s
11
11
  end
12
12
 
13
13
  default_task :here
@@ -22,8 +22,10 @@ module Wtf
22
22
  content = options[:c] + " " + args.join(" ")
23
23
  Wtf::Core.new.write(content)
24
24
  puts "Folder documentation added:"
25
+ puts "Doc ==> " + Wtf::Core.new.content
26
+ else
27
+ puts "Please provide some text with -c"
25
28
  end
26
- puts "DOC:" + Wtf::Core.new.content
27
29
  end
28
30
 
29
31
  end
data/lib/wtf/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Wtf
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorenzo Sinisi