my_precious 0.1.6 → 0.1.7
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/my_precious/version.rb +1 -1
- data/lib/my_precious.rb +3 -2
- 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: f7beaa567d38f50b6d092970ac1233d05546f8fd6915efe19797f8056b542635
|
|
4
|
+
data.tar.gz: cf00fd2813cd4768ffc8fcead75835b82d8878a247cd20a7a185121ba024986e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32dab882c60e677d2fac7e90da6ee1361d9b52f7eef3f877c2025975a09a7d4a50e3f1a87168afa9c5551fb9d880bf870cc0e7a7897054dfb86eda544d085104
|
|
7
|
+
data.tar.gz: baa9ce459ea5a447658ce47139b2b80c05896f3e3a5f3cec06d1a43e032dc81ab6e29a3db1fa46d3d0b8f5c1aed825b9726bbc54037a1a048b1b202f89bce975
|
data/Gemfile.lock
CHANGED
data/lib/my_precious/version.rb
CHANGED
data/lib/my_precious.rb
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
require 'thor'
|
|
2
|
-
require
|
|
2
|
+
require 'my_precious/version'
|
|
3
|
+
require 'parser.rb'
|
|
3
4
|
|
|
4
5
|
module MyPrecious
|
|
5
6
|
class Error < StandardError; end
|
|
@@ -14,7 +15,7 @@ module MyPrecious
|
|
|
14
15
|
|
|
15
16
|
desc 'parse FILE', 'parse a .precious FILE and output the result'
|
|
16
17
|
def parse input_file_name, output_file_name
|
|
17
|
-
file = File.open
|
|
18
|
+
file = File.open(input_file_name, 'r')
|
|
18
19
|
Parser.parse_file file, output_file_name
|
|
19
20
|
puts "You have successfully transcribed tome.rb"
|
|
20
21
|
file.close
|