simple_note_parser 0.1.0 → 0.1.1

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: 5579e486ec6aa019af93b40189887cf9a73283abd4cb6428c0fb084417b0ab53
4
- data.tar.gz: fcf8bb176f8d4bb830e97c95a6110d400c39a0b4d9b017e1100833ce024f3661
3
+ metadata.gz: a2a27700911dfb910597fdd50cc9300f7c6c7e9d40f4358448fe01605cb70236
4
+ data.tar.gz: c66bb1c43764526fc10bd44fdb22f27d94fa536d9924f24bd3c75050ffc05086
5
5
  SHA512:
6
- metadata.gz: dbeaa7b2b31b0197865bb5e3710933d6871b2423517763611d06af45df0be7b699d6a5e5ca7df10dd2c618f2740286ce79b19edcd87bcca144dfaaa14167423f
7
- data.tar.gz: 7c2ec7b318765aac4b4d5287c18e77621e39ce019e5d65cc1ffbdac05aa103453e51c0b75697af6a996a8769af044b21a3d8385edb4283cc503f3a900aefe6aa
6
+ metadata.gz: b0cc5c0c650e606a298e07dad84da91a3e90e1fbf9280cd8b83c15cd7b8d1f159b74acbfe1d8b46469461253a2de472af9a0030d1b9ccfd272cc3839fc41aec7
7
+ data.tar.gz: bb0aadad4cb8e4248aa1273b676f548d8c1812464e90b8383f8e60e78db93c18608370d2bf3a85a76a38114c2341b80c5bca69ea874154725268896ba562771c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_note_parser (0.1.0)
4
+ simple_note_parser (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -24,16 +24,25 @@ Or install it yourself as:
24
24
  1. Unzip the file.
25
25
  1. Open a new terminal window and change directories by navigating into the unzipped directory.
26
26
  1. Run `gem install simple_note_parser`
27
- 1. Run `bin/console`. When the prompt opens, run the following:
27
+ 1. Run `irb` to start a new Ruby session. Once the prompt starts, run the following:
28
28
 
29
- ```ruby
30
- @notes = SimpleNoteParser.new
29
+ ```console
30
+ > require "simple_note_parser"
31
+ => true
32
+ > @notes = SimpleNoteParser.new
33
+ => #<SimpleNoteParser:0x00007fef45892768 @file="./source/notes.json", @destination="./organized-by-tag">
31
34
  @notes.import
35
+ => ...
32
36
  ```
33
37
 
34
- This will create a directory called `organized-by-tag` in the current directory containing directories based on each note's tag.
38
+ This will create a directory called `organized-by-tag` in the current directory which will contain additional directories based on each note's tag.
39
+
40
+ 1. Optionally run `@notes.clean` to recursively remove the `organized-by-tag` directory.
35
41
 
36
- 1. Optionally run `@notes.import` to recursively remove the `organized-by-tag` directory.
42
+ ```console
43
+ > @notes.clean
44
+ => ["./organized-by-tag"]
45
+ ```
37
46
 
38
47
  ## Development
39
48
 
@@ -1,3 +1,3 @@
1
1
  class SimpleNoteParser
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_note_parser
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
  - Steve Polito