trogdoro-el4r 1.0.6 → 1.0.7

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.
@@ -783,6 +783,7 @@ module El4r
783
783
 
784
784
  def el4r_get
785
785
  expr = el4r_recv
786
+ expr.force_encoding("binary") if expr.respond_to? :force_encoding # For ruby 1.9
786
787
  while expr.empty?
787
788
  el4r_debug { "Received callback interrupt."; }
788
789
  el4r_wait_expr
@@ -97,7 +97,6 @@ class RCtool
97
97
 
98
98
  open(@modified_file, "w") {|f|
99
99
  puts "Generating #{@modified_file}..." if @verbose
100
- # old_content = File.read(@target_file)
101
100
  old_content = File.open(@target_file, 'rb') {|f| f.read}
102
101
 
103
102
  bob = beginning_of_block comment_start
@@ -155,7 +155,7 @@
155
155
  )))
156
156
 
157
157
 
158
- (if (string-match "apple" (emacs-version)) ;; If emacs is running on the mac
158
+ (if (string-match "Emacs 2[34].+apple-" (emacs-version)) ;; If emacs 23 or 24 on the Mac, do work-around
159
159
  (defun el4r-recv ()
160
160
  (let ((expr))
161
161
  (while (eq nil (progn (setq expr (el4r-scan-expr-from-ruby)) expr))
metadata CHANGED
@@ -1,9 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trogdoro-el4r
3
3
  version: !ruby/object:Gem::Version
4
- hash:
4
+ hash: 25
5
5
  segments:
6
- version: 1.0.6
6
+ - 1
7
+ - 0
8
+ - 7
9
+ version: 1.0.7
7
10
  platform: ruby
8
11
  authors:
9
12
  - Craig Muth
@@ -13,7 +16,7 @@ autorequire:
13
16
  bindir: bin
14
17
  cert_chain: []
15
18
 
16
- date: 2012-08-17 00:00:00 Z
19
+ date: 2012-08-25 00:00:00 Z
17
20
  dependencies: []
18
21
 
19
22
  description: El4r enables you to write Emacs programs in Ruby(EmacsRuby) as well as in EmacsLisp. It also enables you to unit-test Emacs programs automatically both 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' > el4r-1.0.4.tar.gz tar xzf el4r-1.0.4.tar.gz cd el4r-1.0.4 ruby setup.rb ruby -S el4r-rctool -p ruby -S el4r-rctool -i == How to use See the files below testing/ and doc/.
@@ -285,8 +288,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
285
288
  requirements:
286
289
  - - ">"
287
290
  - !ruby/object:Gem::Version
288
- hash:
291
+ hash: 31
289
292
  segments:
293
+ - 0
294
+ - 0
295
+ - 0
290
296
  version: 0.0.0
291
297
  version:
292
298
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -294,8 +300,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
300
  requirements:
295
301
  - - ">="
296
302
  - !ruby/object:Gem::Version
297
- hash:
303
+ hash: 3
298
304
  segments:
305
+ - 0
299
306
  version: "0"
300
307
  requirements:
301
308
  - none