delorean_lang 0.0.42 → 0.0.43

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.
data/.gitignore CHANGED
@@ -17,4 +17,6 @@ test/version_tmp
17
17
  tmp
18
18
  *~
19
19
  *.komodoproject
20
- .rvmrc
20
+ .rvmrc
21
+ .ruby-version
22
+ .ruby-gemset
@@ -161,6 +161,9 @@ module Delorean
161
161
  length: [[Array, String]],
162
162
  flatten: [Array, [Fixnum, nil]],
163
163
  slice: [Array, Fixnum, Fixnum],
164
+ member?: [Array, [Fixnum, String]],
165
+ compact: [Array],
166
+ split: [String, String],
164
167
  }
165
168
 
166
169
  def RUBY(_e, method, *args)
@@ -183,7 +186,7 @@ module Delorean
183
186
  end
184
187
  }
185
188
 
186
- raise "bad argument #{args[i]} at position #{i} to method #{method}" unless ok
189
+ raise "bad arg #{i} to method #{method}: #{args[i]}/#{args[i].class}" unless ok
187
190
  }
188
191
 
189
192
  args[0].send(msg, *args[1, args.length])
@@ -1,3 +1,3 @@
1
1
  module Delorean
2
- VERSION = "0.0.42"
2
+ VERSION = "0.0.43"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delorean_lang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.42
4
+ version: 0.0.43
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-06 00:00:00.000000000 Z
12
+ date: 2013-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: treetop