trogdoro-el4r 1.0.7 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/el4r-instance +2 -1
- data/data/emacs/site-lisp/el4r.el +2 -2
- metadata +28 -37
data/bin/el4r-instance
CHANGED
@@ -844,7 +844,8 @@ module El4r
|
|
844
844
|
# When an Exception is raised, write a stacktrace message to the log.
|
845
845
|
def el4r_ruby_eval(source)
|
846
846
|
begin
|
847
|
-
instance_eval(source)
|
847
|
+
# instance_eval(source)
|
848
|
+
instance_eval(source, "/tmp/el4r") # Passing fake path makes it show all the way up the stack for some reason
|
848
849
|
rescue Exception
|
849
850
|
el4r_debug { "Error in evaluating '#{source}': #{ErrorUtils.stacktrace_message($!)}"; }
|
850
851
|
raise
|
@@ -23,9 +23,9 @@
|
|
23
23
|
(error "Sorry, el4r requires (X)Emacs21 or later, because it uses weak hash."))
|
24
24
|
|
25
25
|
(put 'el4r-ruby-error
|
26
|
-
'error-conditions
|
26
|
+
'error-conditions
|
27
27
|
'(error el4r-ruby-error))
|
28
|
-
(put 'el4r-ruby-error 'error-message "Error raised in Ruby")
|
28
|
+
(put 'el4r-ruby-error 'error-message "Error raised in Ruby. Maybe try typing alt-l or option-l to reload.")
|
29
29
|
|
30
30
|
(defvar el4r-ruby-program "ruby"
|
31
31
|
"The name of Ruby binary.")
|
metadata
CHANGED
@@ -1,33 +1,30 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: trogdoro-el4r
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.9
|
5
5
|
segments:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 7
|
9
|
-
version: 1.0.7
|
6
|
+
hash:
|
10
7
|
platform: ruby
|
11
|
-
authors:
|
8
|
+
authors:
|
12
9
|
- Craig Muth
|
13
10
|
- Caleb Clausen
|
14
11
|
- rubikitch
|
15
12
|
autorequire:
|
16
13
|
bindir: bin
|
17
14
|
cert_chain: []
|
18
|
-
|
19
|
-
date: 2012-08-25 00:00:00 Z
|
15
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
20
16
|
dependencies: []
|
21
|
-
|
22
|
-
|
17
|
+
description: El4r enables you to write Emacs programs in Ruby(EmacsRuby) as well as
|
18
|
+
in EmacsLisp. It also enables you to unit-test Emacs programs automatically both
|
19
|
+
in EmacsLisp and in EmacsRuby. == How to install ruby -ropen-uri -e 'URI("http://www.rubyist.net/~rubikitch/archive/el4r-1.0.4.tar.gz").read.display'
|
20
|
+
> el4r-1.0.4.tar.gz tar xzf el4r-1.0.4.tar.gz cd el4r-1.0.4 ruby setup.rb ruby
|
21
|
+
-S el4r-rctool -p ruby -S el4r-rctool -i == How to use See the files below testing/
|
22
|
+
and doc/.
|
23
23
|
email:
|
24
24
|
executables: []
|
25
|
-
|
26
25
|
extensions: []
|
27
|
-
|
28
26
|
extra_rdoc_files: []
|
29
|
-
|
30
|
-
files:
|
27
|
+
files:
|
31
28
|
- BUGS
|
32
29
|
- Changes
|
33
30
|
- bin/el4r-instance
|
@@ -277,34 +274,29 @@ files:
|
|
277
274
|
- testing/test.rb
|
278
275
|
- testing/utf8.txt
|
279
276
|
homepage:
|
280
|
-
licenses:
|
277
|
+
licenses:
|
281
278
|
- GNU GPL v2 or later
|
282
279
|
post_install_message:
|
283
280
|
rdoc_options: []
|
284
|
-
|
285
|
-
require_paths:
|
281
|
+
require_paths:
|
286
282
|
- lib
|
287
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
288
|
-
requirements:
|
289
|
-
- -
|
290
|
-
- !ruby/object:Gem::Version
|
291
|
-
hash: 31
|
292
|
-
segments:
|
293
|
-
- 0
|
294
|
-
- 0
|
295
|
-
- 0
|
283
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
284
|
+
requirements:
|
285
|
+
- - ! '>'
|
286
|
+
- !ruby/object:Gem::Version
|
296
287
|
version: 0.0.0
|
288
|
+
segments:
|
289
|
+
hash:
|
297
290
|
version:
|
298
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
291
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
299
292
|
none: false
|
300
|
-
requirements:
|
301
|
-
- -
|
302
|
-
- !ruby/object:Gem::Version
|
303
|
-
|
293
|
+
requirements:
|
294
|
+
- - ! '>='
|
295
|
+
- !ruby/object:Gem::Version
|
296
|
+
version: '0'
|
304
297
|
segments:
|
305
|
-
|
306
|
-
|
307
|
-
requirements:
|
298
|
+
hash:
|
299
|
+
requirements:
|
308
300
|
- none
|
309
301
|
rubyforge_project:
|
310
302
|
rubygems_version: 1.8.24
|
@@ -312,4 +304,3 @@ signing_key:
|
|
312
304
|
specification_version: 1
|
313
305
|
summary: EmacsRuby engine - EmacsLisp for Ruby
|
314
306
|
test_files: []
|
315
|
-
|