andrewtimberlake-interactive_editor 0.0.5.1 → 0.0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/interactive_editor.gemspec +1 -1
- data/lib/interactive_editor.rb +2 -2
- metadata +3 -3
data/interactive_editor.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
## If your rubyforge_project name is different, then edit it and comment out
|
8
8
|
## the sub! line in the Rakefile
|
9
9
|
s.name = 'andrewtimberlake-interactive_editor'
|
10
|
-
s.version = '0.0.5.
|
10
|
+
s.version = '0.0.5.2'
|
11
11
|
s.date = '2010-11-29'
|
12
12
|
s.rubyforge_project = 'interactive_editor'
|
13
13
|
|
data/lib/interactive_editor.rb
CHANGED
@@ -7,7 +7,7 @@ require 'fileutils'
|
|
7
7
|
require 'tempfile'
|
8
8
|
|
9
9
|
class InteractiveEditor
|
10
|
-
VERSION = '0.0.5.
|
10
|
+
VERSION = '0.0.5.2'
|
11
11
|
|
12
12
|
def self.config
|
13
13
|
@@config ||= {}
|
@@ -25,7 +25,7 @@ class InteractiveEditor
|
|
25
25
|
File.new(file)
|
26
26
|
else
|
27
27
|
(@file && File.exist?(@file.path)) ? @file : if InteractiveEditor.config[:save]
|
28
|
-
File.open(File.join(InteractiveEditor.config[:save_path] || ENV['HOME'], "irb_#{Time.now.strftime('%Y%m%d%H%
|
28
|
+
File.open(File.join(InteractiveEditor.config[:save_path] || ENV['HOME'], "irb_#{Time.now.strftime('%Y%m%d%H%M')}.rb"), 'wb')
|
29
29
|
else
|
30
30
|
Tempfile.new(["irb_tempfile", ".rb"])
|
31
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: andrewtimberlake-interactive_editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 95
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 5
|
10
|
-
-
|
11
|
-
version: 0.0.5.
|
10
|
+
- 2
|
11
|
+
version: 0.0.5.2
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Jan Berkel
|