my_precious 0.2.1 → 0.2.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: dea782367a57a0e807099bf2eeb607fbb2f9c8ec86543a32eff54b9922357558
4
- data.tar.gz: 37e93e35f2b66f4488d8425eae01486754c1ed330a4c3b9cf5aa5603e599bf66
3
+ metadata.gz: 6b42fe512e4f4eec4197af4eefff8830bc51313594214edd0c9347feb3bf2171
4
+ data.tar.gz: 91f29e4bc6c48fd5ae30c3d9435c9dcb56c26d7ab677e4088bda66c23ba5610d
5
5
  SHA512:
6
- metadata.gz: 46ee3935305e54029251a2fda9e81356675d88e9fe3dffafadea51368a76126d420cefdc0f37c5ad86fdf471970f479d8d12806bff620f76146b082ab6232b54
7
- data.tar.gz: c3f2911ea732dc91adf5b3accdf8d68af1466d8970fa096e47308edf20d04835638355c12c79a80613d14ffe058588ab8a03fee636a2b8f77b2daf31115b9825
6
+ metadata.gz: 2652dc971032d06a596da90cb8f4aa3c836a7789f348fc52e371c9be2a2562b5de9c516832020f3a609c531684e92a683dc9e2e474b0b773ce3f25f99a00eb0e
7
+ data.tar.gz: 49309db60d4699835dab7ab3b308198d2ebf5b7b3691229d48fd2c4684c123f5694d079bf343cf19e93c9aa8b6155c7146120a199deccf05886f86c0f2b83008
@@ -7,13 +7,13 @@ module MyPrecious
7
7
  # Your code goes here...
8
8
  class CLI < Thor
9
9
 
10
- desc 'bring_forth FILE', 'creates a .precious FILE where users can write their LOTR code'
10
+ desc 'forge file_name', 'creates a .precious file where users can write their LOTR code'
11
11
  def forge(file_name)
12
12
  file = File.open(file_name + '.precious', 'w')
13
13
  puts "You have succesfully forged #{file_name}.precious"
14
14
  end
15
15
 
16
- desc 'parse FILE', 'parse a .precious FILE and output the result'
16
+ desc 'bring_forth read file and writer file', 'parse a .precious read file and outputs the result to the writer file'
17
17
  def bring_forth(reader_file_name, writer_file_name)
18
18
  exts_are_valid = check_reader_and_writer_exts(reader_file_name, writer_file_name)
19
19
  if exts_are_valid
@@ -24,6 +24,7 @@ module MyPrecious
24
24
  end
25
25
  end
26
26
 
27
+ desc 'destroy file name', 'if a .precious file already exists, it will be destroyed'
27
28
  def destroy(file_name)
28
29
  if File.exist?(file_name)
29
30
  File.delete(file_name)
@@ -1,3 +1,3 @@
1
1
  module MyPrecious
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_precious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - jessicabettsftw