yEnc 0.0.27 → 0.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/y_enc.rb +7 -4
  2. metadata +1 -1
@@ -2,11 +2,17 @@ require 'zlib'
2
2
 
3
3
  class YEnc
4
4
 
5
+ attr_reader :filepath, :outputpath, :filename, :filesize, :line
6
+
5
7
  def initialize filepath, outputpath
6
8
  @filepath = filepath
7
9
  @outputpath = outputpath
8
10
  end
9
11
 
12
+ def crc32
13
+ @crc32.upcase.strip
14
+ end
15
+
10
16
  def decode
11
17
  if is_yenc?
12
18
  #Continue decoding
@@ -84,7 +90,4 @@ class YEnc
84
90
  @new_file = File.new(@outputpath + @filename, "wb")
85
91
  end
86
92
 
87
- end
88
-
89
- #y = YEnc.new("/Users/scontapay/yenc.txt", "/Users/scontapay/")
90
- #y.decode
93
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yEnc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.27
4
+ version: 0.0.28
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: