notenote 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/note/cli.rb +4 -2
- data/lib/note/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d2ca9ac9b7e3fcdabdd2220dcd873c7b89f66d7c11b45a1b8d185896a88cd31
|
4
|
+
data.tar.gz: 06ee75f466f902f8410a69dbea73922ab388b1d5312e70e05659f26b317aea6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd59e18ea0114467337e2ecd78073f13cb5ab064e949d607f0a72c70c1e1143031bf046f18020acffbfca69188b2ee6720ebaa736e56494483693d716bc6e9f9
|
7
|
+
data.tar.gz: bacd3fded636daea0f74957a4e8015c589e34c48b722d8a0632c9bc8022119f250c8b8c047de26e1a322edffaef4dc7085ccf1a35cd1997cf1e194195f4f371d
|
data/lib/note/cli.rb
CHANGED
@@ -75,7 +75,7 @@ module Note
|
|
75
75
|
push_notes(force: true)
|
76
76
|
|
77
77
|
0
|
78
|
-
|
78
|
+
elsif args.size == 0
|
79
79
|
notes_folder = notenote_config["notes_folder"]
|
80
80
|
|
81
81
|
today_folder = File.join(notes_folder, formatted_todays_date)
|
@@ -88,6 +88,8 @@ module Note
|
|
88
88
|
end
|
89
89
|
|
90
90
|
0
|
91
|
+
else
|
92
|
+
puts "Hm, looks like there's no such command. 🤔"
|
91
93
|
end
|
92
94
|
end
|
93
95
|
|
@@ -140,7 +142,7 @@ module Note
|
|
140
142
|
else
|
141
143
|
File.open(note_file, "w") do |file|
|
142
144
|
file.puts unindent <<-TEXT
|
143
|
-
# #{note_name}
|
145
|
+
# #{note_name.capitalize}
|
144
146
|
|
145
147
|
|
146
148
|
TEXT
|
data/lib/note/version.rb
CHANGED