ohlol-nachos 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/nachos.rb +4 -2
  3. data/nachos.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
@@ -132,8 +132,10 @@ class Nachos::Encryptor
132
132
  begin
133
133
  @encrypted_data = ''
134
134
 
135
- File.open(self.config[:data_store], 'r') do |f|
136
- @encrypted_data = @encrypted_data + f.gets
135
+ f = File.open(self.config[:data_store], 'r')
136
+ f.readlines.each do |line|
137
+ line.chomp!
138
+ @encrypted_data = @encrypted_data + line
137
139
  end
138
140
 
139
141
  @encrypted_data.chomp!
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{nachos}
5
- s.version = "0.3.2"
5
+ s.version = "0.3.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Scott Smith"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ohlol-nachos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Smith