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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d9b0f920ce2eca5074dff22795fc5e68a97fd86d
4
- data.tar.gz: 4fce499a0bdafa6a1271d5c931931e7cf27e8ced
2
+ SHA256:
3
+ metadata.gz: bdb85ed6c98d191b20dc539d9dd7dbd99332d197bff770452bc682f55cd6d7ab
4
+ data.tar.gz: d67ca17a411bc1c9860e8240d6f1b2df969b05f03f3ad2f5e2008179883acb32
5
5
  SHA512:
6
- metadata.gz: 93807a6a93008a6487d7b2e974870b51fdeeda597e770c45df5ad336b081428d21ad8578f19740242ed377a2de1c81ceb4ad7b3067592808fba9dac5c953482e
7
- data.tar.gz: 1633d2c915160ad522f933fb9d69f5bd3e1770a1f7edd48d0260f3e2207dfd046139fd1ae4d44d6c2827c02841b95cf3651f96289db70acc2f174b4c27bb25e8
6
+ metadata.gz: ea1f5e408652a817d7ba4ca15a73b2744e5c4a89debd4f336c6d5f5f4e5eec5e9c0838e7da64b147911933e27dd5fc8ed53e6e0eec4cb27e3d9d0fb5153d776c
7
+ data.tar.gz: 706717ff7ff1a07a9f07c9c4aec0158998aec144e4f51d6eef0551376e33bad14019ea75036ad25771767808d2e0bfa73e9837c94e396c899052b1c3b82af4b1
@@ -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'
11
- s.date = '2017-10-22'
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', [">= 0.0.1"])
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
@@ -9,7 +9,7 @@ require 'shellwords'
9
9
  require 'yaml'
10
10
 
11
11
  class InteractiveEditor
12
- VERSION = '0.0.11'
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.exists?(current_file.path) ? YAML.load_file(current_file.path) : object
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.11
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: 2017-10-22 00:00:00.000000000 Z
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.1
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.1
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
- rubyforge_project: interactive_editor
62
- rubygems_version: 2.5.1
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: []