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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8dd9fd0e49db22c941646e4853543e677fb23114
4
- data.tar.gz: a4c1802c05c7db3f7eed86823149defbdcb54c42
3
+ metadata.gz: 88bdb00808bc7bbb05baf430787b8b6ba1db40a2
4
+ data.tar.gz: 0b4305c8e6e47805a24495331e5de262731425b9
5
5
  SHA512:
6
- metadata.gz: 04322de0c555568a219143b19c0d4e202dc5ab975c7cc066242f28e925097eab8afaabb79d676ceaa5fd45bcab311210f75eb4409dcc8ae1d669a466cd5aca11
7
- data.tar.gz: d0f84e7cca7a0c0835028ad44d14febc074f687816888a47d3dc3ffa37510f8f13749b02da5d20904ea162123695ff87443460d5718f1e78f030b55c4de989c6
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|
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  class Compiler
3
- VERSION = "2.2.0"
3
+ VERSION = "2.2.1"
4
4
  end
5
5
  end
@@ -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.0
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: '0'
234
+ version: 1.9.2
235
235
  required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  requirements:
237
237
  - - ">="