gosh 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/bin/gosh +2 -2
  2. metadata +3 -3
data/bin/gosh CHANGED
@@ -34,8 +34,8 @@ def confirm(script_source)
34
34
  tempfile.write script_source
35
35
  tempfile.close
36
36
 
37
- command = "#{Shellwords.escape(editor)} #{Shellwords.escape(tempfile.path)}"
38
- system(command) or abort("error communicating with #{editor}")
37
+ command = "#{Shellwords.escape(EDITOR)} #{Shellwords.escape(tempfile.path)}"
38
+ system(command) or abort("error communicating with #{EDITOR}")
39
39
 
40
40
  source = IO.read(tempfile.path)
41
41
  source[/\A(.*)^# --- PLACE YOUR ANSWER ABOVE THIS LINE/m, 1].strip
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosh
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sam Stephenson