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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f03953106f52e62ec7bb58449139116588bca2f00641b045859e58e479add67
4
- data.tar.gz: acf500dc9a993edb404895aedfc9c4ffa2e344e9c1cb52a6a67eb8792dc4f544
3
+ metadata.gz: f7beaa567d38f50b6d092970ac1233d05546f8fd6915efe19797f8056b542635
4
+ data.tar.gz: cf00fd2813cd4768ffc8fcead75835b82d8878a247cd20a7a185121ba024986e
5
5
  SHA512:
6
- metadata.gz: 70595316797c0bebd9219a6963c428cdc8b64e67f4a454581687244fed1508de28d1f31afa3f222c95f67407b02ce430be86485d2c7e03b5f89da79a0ffdfca9
7
- data.tar.gz: 72fa8598faab1410700d2b7624ed0745850a2092d498355ce4f65b23fdd7dd2d6565296fc90919a7eb24c237ab5da6978c982eebad247f088529d26b4bdaef73
6
+ metadata.gz: 32dab882c60e677d2fac7e90da6ee1361d9b52f7eef3f877c2025975a09a7d4a50e3f1a87168afa9c5551fb9d880bf870cc0e7a7897054dfb86eda544d085104
7
+ data.tar.gz: baa9ce459ea5a447658ce47139b2b80c05896f3e3a5f3cec06d1a43e032dc81ab6e29a3db1fa46d3d0b8f5c1aed825b9726bbc54037a1a048b1b202f89bce975
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my_precious (0.1.6)
4
+ my_precious (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module MyPrecious
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/my_precious.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'thor'
2
- require "my_precious/version"
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 input_file_name
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
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.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - jessicabettsftw