rubysl-yaml 2.0.2 → 2.0.3

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: eddb1ce849f97bb8466749997cb48da2694865df
4
- data.tar.gz: a358e904827aebd8cd42aa73682b1994365c13b5
3
+ metadata.gz: 0b68987d7729345c500efae17f75f809ae6a69a1
4
+ data.tar.gz: e5c3bc92aa6aeba07378d146f75beca84eacc513
5
5
  SHA512:
6
- metadata.gz: 1c3484f99f8327daef17d66954a268c294d5f9866778c3c23fd7bb228486b4628cab7ad1dbbe0b13015fe7ccc98af4d4e3921a1817dfdb3c1b388179e56acb0d
7
- data.tar.gz: 7e2d227090786bc30bc78287bc07ea5140f9a7016c98bbca5de143cef7a5d268510220f37d916cbc0ca544af5482dfc613eeed8771b7cdcad8621e79d7e3f1d9
6
+ metadata.gz: 39f4e14090399594608d87d6824c0ef62ae326a3e7fb5bd4441b8799d502d15a62d971480264e9865a52d5a40a4093a597a84362425a619564b458f083d47997
7
+ data.tar.gz: 36e673c1262b0a08150b23f845a6786841e893ff693a6deb9708801342e9cd8c3c0c790ad529f48f4993cbbd15c297f0114adc7b531c1c9bf05b85c4e19188e1
@@ -518,7 +518,7 @@ yaml_org_handler( SyckNode *n, VALUE *ref )
518
518
  /*
519
519
  * Load Date module
520
520
  */
521
- rb_require( "date" );
521
+ rb_funcall(rb_syck, rb_intern("require_date"), 0);
522
522
  cDate = rb_const_get( rb_cObject, rb_intern("Date") );
523
523
  }
524
524
 
@@ -1,5 +1,5 @@
1
1
  module RubySL
2
2
  module YAML
3
- VERSION = "2.0.2"
3
+ VERSION = "2.0.3"
4
4
  end
5
5
  end
@@ -445,6 +445,13 @@ module Syck
445
445
  # nothing
446
446
  end
447
447
  end
448
+
449
+ #--
450
+ # For Rubinius, replaces 'rb_require("data")' because that is hard-coded
451
+ # to use Kernel.require, so RubyGems #require override isn't invoked.
452
+ def self.require_data
453
+ require "date"
454
+ end
448
455
  end
449
456
 
450
457
  module Kernel
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysl-yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-04 00:00:00.000000000 Z
11
+ date: 2013-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler