rouge-lang 0.0.13 → 0.0.14

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
2
  SHA1:
3
- metadata.gz: 4135ab3ea483fab099f234e7a50e2f6f32d8b737
4
- data.tar.gz: d27e165eefe1e7688642443d5c5cf9844b4ef232
3
+ metadata.gz: 823e12474a0d12aed822f77f9da8d9306a2c7ee9
4
+ data.tar.gz: 70eca77008e31e4b50fa7fd2202bf76ecd75a139
5
5
  SHA512:
6
- metadata.gz: 62cf08d2c73f501b8d0a51a6a912d63c4ad56ab40c1e43aa4fb5b63c92c1e3f23dd8f55a8d81f0eaca8cfd12d1e0b2b8c40362d732c4f60677899efb37b270de
7
- data.tar.gz: eb15e0480b8613ddf941533b265433d3ecdf5f3a78a244abbb8cc170d9ed18b752770887b43882f114c0544468e5e93d963769d375ce8abdb980ad7a4c3c30eb
6
+ metadata.gz: 1976df597a89d27c63046220237ef40eec6b0125c06464ea6be67f7830dc0b24bde2352e5ab0d93534fc781abefd4d17c364231ceeec8dcf1345dd7ea14ea84d
7
+ data.tar.gz: 2fd2557b35aca137ac9cd6b9fee02c31d31a5de03087d0f28a38fbfd62a8e055488236f7b0a5cec4a71e832f20006f0da36e0f81e50b5e79c866fd163df048e1
@@ -263,7 +263,7 @@ class << Rouge::Builtins
263
263
  when :require
264
264
  params.each do |param|
265
265
  if param.is_a? Rouge::Symbol
266
- Object.send.require param.name.to_s
266
+ Object.send :require, param.name.to_s
267
267
  elsif param.is_a? Array and
268
268
  param.length == 3 and
269
269
  param[0].is_a? Rouge::Symbol and
data/lib/rouge/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Rouge
4
- VERSION = "0.0.13"
4
+ VERSION = "0.0.14"
5
5
  end
6
6
 
7
7
  # vim: set sw=2 et cc=80:
@@ -306,13 +306,11 @@ describe Rouge::Builtins do
306
306
 
307
307
  describe ":require" do
308
308
  it "should support the option" do
309
- pending do
310
- Kernel.should_receive(:require).with("blah")
311
- context.readeval(<<-ROUGE)
312
- (ns user.spec2
313
- (:require blah))
314
- ROUGE
315
- end
309
+ Object.should_receive(:require).with("blah")
310
+ context.readeval(<<-ROUGE)
311
+ (ns user.spec2
312
+ (:require blah))
313
+ ROUGE
316
314
  end
317
315
 
318
316
  it "should support it with :as" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rouge-lang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arlen Christian Mart Cuss