slapp 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
  SHA1:
3
- metadata.gz: 29fe2b2b20adea9975ecdca0699c93d9bbf6bbd1
4
- data.tar.gz: 43b92de25527f8b068c13db839ab547f1a0d8c91
3
+ metadata.gz: 12cf240678eef71d4941741699f6973aadfc43c7
4
+ data.tar.gz: 354ffe9f9def0a4da24a0e7c513e24f37e894cf8
5
5
  SHA512:
6
- metadata.gz: fe8ab6616325cdac027ee83a99ea1d4b401abb77d8028d050b7c4fa3e0468a24390d5ad933b6965bf14c5390382007fef4bf081df8470c7792b5418d1be071d4
7
- data.tar.gz: 24b4f3f382a6a8587d0f228a22faa4008b9802d5dc76083b54a312641af28baffbaa79ad7cae4c8fd4c1de8f637f9576371a687c80e7b5b40907a150999e0e32
6
+ metadata.gz: 4dbd3f742daa4a9fcd51ce6dfcddce07847452e63cd9250cca9bae562f344b0e842c7d03062a76c3d538781be926e87b42561ba5beef597553652bbf1eaf15ae
7
+ data.tar.gz: 5195f1300388305540517eab43cfe39544c205d1b82699bcd47f05e62746a2c34dec09a1c93e544ce00805de2cdc1933bbe7bb5aec82479cb9cd9b4ea43f1a1c
data/lib/slapp/parser.rb CHANGED
@@ -4,7 +4,7 @@ class Slapp::Parser
4
4
  attr_accessor :lines, :contents
5
5
 
6
6
  def initialize(path)
7
- @lines = File.readlines(path)
7
+ @lines = File.readlines(path, :encoding => 'ISO-8859-1')
8
8
  @contents = @lines.join('')
9
9
  end
10
10
 
data/lib/slapp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Slapp
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/spec/parser_spec.rb CHANGED
@@ -2,7 +2,7 @@ require 'slapp/parser'
2
2
 
3
3
  describe Slapp::Parser do
4
4
  before do
5
- @parser = Slapp::Parser.new('spec/support/PACKAGES.TXT')
5
+ @parser = Slapp::Parser.new('spec/support/13.37/slackware/PACKAGES.TXT')
6
6
  end
7
7
 
8
8
  it "parses the total size (uncompressed)" do