interactive_editor 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/interactive_editor.gemspec +3 -3
- data/lib/interactive_editor.rb +2 -2
- metadata +10 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bdb85ed6c98d191b20dc539d9dd7dbd99332d197bff770452bc682f55cd6d7ab
|
4
|
+
data.tar.gz: d67ca17a411bc1c9860e8240d6f1b2df969b05f03f3ad2f5e2008179883acb32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea1f5e408652a817d7ba4ca15a73b2744e5c4a89debd4f336c6d5f5f4e5eec5e9c0838e7da64b147911933e27dd5fc8ed53e6e0eec4cb27e3d9d0fb5153d776c
|
7
|
+
data.tar.gz: 706717ff7ff1a07a9f07c9c4aec0158998aec144e4f51d6eef0551376e33bad14019ea75036ad25771767808d2e0bfa73e9837c94e396c899052b1c3b82af4b1
|
data/interactive_editor.gemspec
CHANGED
@@ -7,8 +7,8 @@ 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 = 'interactive_editor'
|
10
|
-
s.version = '0.0.
|
11
|
-
s.date = '
|
10
|
+
s.version = '0.0.12'
|
11
|
+
s.date = '2023-01-02'
|
12
12
|
s.rubyforge_project = 'interactive_editor'
|
13
13
|
|
14
14
|
## Make sure your summary is short. The description may be as long
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.rdoc_options = ["--charset=UTF-8"]
|
29
29
|
s.extra_rdoc_files = %w[README.md LICENSE]
|
30
30
|
|
31
|
-
s.add_dependency('spoon', ["
|
31
|
+
s.add_dependency('spoon', ["~> 0.0.6"])
|
32
32
|
|
33
33
|
## Leave this section as-is. It will be automatically generated from the
|
34
34
|
## contents of your Git repository via the gemspec task. DO NOT REMOVE
|
data/lib/interactive_editor.rb
CHANGED
@@ -9,7 +9,7 @@ require 'shellwords'
|
|
9
9
|
require 'yaml'
|
10
10
|
|
11
11
|
class InteractiveEditor
|
12
|
-
VERSION = '0.0.
|
12
|
+
VERSION = '0.0.12'
|
13
13
|
EDITORS = Hash.new { |h,k| h[k] = InteractiveEditor.new(k) }
|
14
14
|
|
15
15
|
attr_accessor :editor
|
@@ -45,7 +45,7 @@ class InteractiveEditor
|
|
45
45
|
Exec.system(*args)
|
46
46
|
|
47
47
|
if object
|
48
|
-
File.
|
48
|
+
File.exist?(current_file.path) ? YAML.load_file(current_file.path) : object
|
49
49
|
elsif mtime < File.stat(@file.path).mtime
|
50
50
|
execute
|
51
51
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interactive_editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Berkel
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spoon
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.6
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.
|
26
|
+
version: 0.0.6
|
27
27
|
description: Use vim (or any other text editor) from inside irb to quickly test &
|
28
28
|
write new code.
|
29
29
|
email: jan.berkel@gmail.com
|
@@ -42,7 +42,7 @@ homepage: http://github.com/jberkel/interactive_editor
|
|
42
42
|
licenses:
|
43
43
|
- MIT
|
44
44
|
metadata: {}
|
45
|
-
post_install_message:
|
45
|
+
post_install_message:
|
46
46
|
rdoc_options:
|
47
47
|
- "--charset=UTF-8"
|
48
48
|
require_paths:
|
@@ -58,9 +58,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
|
-
|
62
|
-
|
63
|
-
signing_key:
|
61
|
+
rubygems_version: 3.3.7
|
62
|
+
signing_key:
|
64
63
|
specification_version: 2
|
65
64
|
summary: Interactive editing in irb.
|
66
65
|
test_files: []
|