note_taker 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: c920d293e39282f7518864751291d0178d4dcf2f8fb31e24f2ea8b473f9c7bad
4
- data.tar.gz: 713a93b2e268549d06ace68e02c9b1332fed5a90b77e1f6606ca78bb26c4cfe1
3
+ metadata.gz: ba00479c6eccdb1c8a92b61d1ad22e9e60a459c02eb774bbf79e23208f53f1b1
4
+ data.tar.gz: 249f83834dddf625ecc1b3a1e3a2b836ad9bacee4a8a2236baa32046334d9b6f
5
5
  SHA512:
6
- metadata.gz: 96000bbfecb3a4b7feb22069780706172af92223a1c69dcb795d190d2723122e19844fb0a96dc67d08008b4692e80ba5d30f08fd3c9a6c71f18b5631db256273
7
- data.tar.gz: 808f60ec1c0fc659ec9acc914235cf7e5da0d86385451cff7f987090f3d4b53bd4d953d6d9a7bb66ce77539202d70944843793669e01344b433edff7c7b0d575
6
+ metadata.gz: 4308ce39ff4ca8bbd3214d5fa287740ee888e35c53c34a58b2d13b1630d90b5ec7cad407f2167a62e55619f0bd3799b013fd93c543e4d09328883e784c99a7f6
7
+ data.tar.gz: 5248090a56241f5ae4b8874d6c3c858c5b1fe0a78026ec724a4225002dcc1e9fd9510e039e4e3e4f4f069384dd0ea3ccb0772c30c588508eb5a4bf0337914852
@@ -29,7 +29,7 @@ class Note
29
29
  end
30
30
 
31
31
  def dir
32
- NoteApplication.config['general']['directory']
32
+ NoteTaker.config['general']['directory']
33
33
  end
34
34
 
35
35
  def prompt
@@ -52,12 +52,12 @@ class Note
52
52
  def view
53
53
  catch(:note_quit) do
54
54
  loop do
55
- NoteApplication.header unless NoteApplication.inline?
55
+ NoteTaker.header unless NoteTaker.inline?
56
56
  parsed = TTY::Markdown.parse_file(file_path)
57
- NoteApplication.options[:inline] ? puts(parsed) : prompt.puts(parsed)
57
+ NoteTaker.options[:inline] ? puts(parsed) : prompt.puts(parsed)
58
58
  prompt.puts("\n")
59
59
 
60
- break if NoteApplication.inline?
60
+ break if NoteTaker.inline?
61
61
 
62
62
  note_menu
63
63
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NoteTaker
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: note_taker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Venables