rubinius-compiler 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubinius/compiler/compiled_file.rb +10 -0
- data/lib/rubinius/compiler/version.rb +1 -1
- data/rubinius-compiler.gemspec +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88bdb00808bc7bbb05baf430787b8b6ba1db40a2
|
4
|
+
data.tar.gz: 0b4305c8e6e47805a24495331e5de262731425b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a4fa98f86f6a53c33f8446077ef1a3d138c45f4789262d379d71c9121b9f3f29bc5593723e0fdce52a7f04af31f7a78a992f781c68d20911abda1b85b7433eb
|
7
|
+
data.tar.gz: f9c09ab593b0ade87108ae31d079f5f673efea61fd0d8b74f3ec9d80bc34ded68684c047786dfc90b2303fbeea123f780fd8ddc10c657004437cec2c18555965
|
@@ -297,6 +297,16 @@ module CodeTools
|
|
297
297
|
str.append " %+.54f %5d" % Math.frexp(val)
|
298
298
|
end
|
299
299
|
str.append "\n"
|
300
|
+
when Rational
|
301
|
+
str = "R\n"
|
302
|
+
str.append marshal(val.numerator)
|
303
|
+
str.append marshal(val.denominator)
|
304
|
+
str
|
305
|
+
when Complex
|
306
|
+
str = "C\n"
|
307
|
+
str.append marshal(val.real)
|
308
|
+
str.append marshal(val.imaginary)
|
309
|
+
str
|
300
310
|
when Rubinius::InstructionSequence
|
301
311
|
str = "i\n#{val.size}\n"
|
302
312
|
val.opcodes.each do |op|
|
data/rubinius-compiler.gemspec
CHANGED
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
|
+
spec.required_ruby_version = ">= 1.9.2"
|
20
|
+
|
19
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
20
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
21
23
|
spec.add_development_dependency "mspec", "~> 1.5"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubinius-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
@@ -231,7 +231,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
231
|
requirements:
|
232
232
|
- - ">="
|
233
233
|
- !ruby/object:Gem::Version
|
234
|
-
version:
|
234
|
+
version: 1.9.2
|
235
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
236
|
requirements:
|
237
237
|
- - ">="
|