earthquake 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/earthquake.gemspec +1 -1
- data/lib/earthquake/core.rb +0 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/earthquake.gemspec
CHANGED
data/lib/earthquake/core.rb
CHANGED
@@ -128,7 +128,6 @@ module Earthquake
|
|
128
128
|
history_size = config[:history_size] || 1000
|
129
129
|
File.open(File.join(config[:dir], 'history'), 'w') do |file|
|
130
130
|
lines = Readline::HISTORY.to_a[([Readline::HISTORY.size - history_size, 0].max)..-1]
|
131
|
-
puts lines
|
132
131
|
file.print(lines.join("\n"))
|
133
132
|
end
|
134
133
|
end
|