rubyless 0.8.9 → 0.8.10
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/ruby_less/info.rb +1 -1
- data/lib/ruby_less/processor.rb +5 -1
- data/rubyless.gemspec +2 -2
- metadata +4 -4
data/History.txt
CHANGED
data/lib/ruby_less/info.rb
CHANGED
data/lib/ruby_less/processor.rb
CHANGED
@@ -415,7 +415,11 @@ module RubyLess
|
|
415
415
|
unless lit_class = RubyLess::SafeClass.literal_class_for(lit.class)
|
416
416
|
raise RubyLess::SyntaxError.new("#{klass} literal not supported by RubyLess.")
|
417
417
|
end
|
418
|
-
|
418
|
+
if lit_class == Range
|
419
|
+
{:class => lit_class, :literal => lit, :raw => "(#{lit.inspect})"}
|
420
|
+
else
|
421
|
+
{:class => lit_class, :literal => lit}
|
422
|
+
end
|
419
423
|
end
|
420
424
|
|
421
425
|
def args_with_prepend(args, opts)
|
data/rubyless.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rubyless}
|
8
|
-
s.version = "0.8.
|
8
|
+
s.version = "0.8.10"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gaspard Bucher"]
|
12
|
-
s.date = %q{2013-
|
12
|
+
s.date = %q{2013-06-13}
|
13
13
|
s.description = %q{RubyLess is an interpreter for "safe ruby". The idea is to transform some "unsafe" ruby code into safe, type checked ruby, eventually rewriting some variables or methods.}
|
14
14
|
s.email = %q{gaspard@teti.ch}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 43
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 10
|
10
|
+
version: 0.8.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gaspard Bucher
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-06-13 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|