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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a71839ec326f5f762ebea46f47b74d4fccd94f80961ce24b1753e9a842c39cab
4
- data.tar.gz: eaeaf9f0a5bf5f24780a05dd943277d657b6731a0b21512643deb4980c820af7
3
+ metadata.gz: 5d2ca9ac9b7e3fcdabdd2220dcd873c7b89f66d7c11b45a1b8d185896a88cd31
4
+ data.tar.gz: 06ee75f466f902f8410a69dbea73922ab388b1d5312e70e05659f26b317aea6d
5
5
  SHA512:
6
- metadata.gz: 8f0da4b7681d4680f0b81d2bad79f649304cb7c8a065f50a241f8bc6d00ca3baf2d30a01ca5341b3fa30b5cfdd08817b4254a0d6072c8f4778456d6cb05571a4
7
- data.tar.gz: d953b1120e9cfcf957622a92985546d79916e4b725baaf5705737f289ffad146e189cba24ea1fa1b4b93ddd5e1bd009c9a0c9b3c885f786c4f276500ad13aee6
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
- else
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
@@ -1,3 +1,3 @@
1
1
  module Note
2
- VERSION = "0.0.9".freeze
2
+ VERSION = "0.0.11".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: notenote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoli Makarevich