summaryrefslogtreecommitdiff
path: root/ext/psych
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych')
-rw-r--r--ext/psych/lib/psych.rb2
-rw-r--r--ext/psych/psych.gemspec4
-rw-r--r--ext/psych/psych_emitter.c2
-rw-r--r--ext/psych/psych_parser.c2
4 files changed, 7 insertions, 3 deletions
diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb
index 2179d70786..1933437ac8 100644
--- a/ext/psych/lib/psych.rb
+++ b/ext/psych/lib/psych.rb
@@ -217,7 +217,7 @@ require 'psych/class_loader'
module Psych
# The version is Psych you're using
- VERSION = '2.0.7'
+ VERSION = '2.0.8'
# The version of libyaml Psych is using
LIBYAML_VERSION = Psych.libyaml_version.join '.'
diff --git a/ext/psych/psych.gemspec b/ext/psych/psych.gemspec
index 7f06d03771..648eb794f4 100644
--- a/ext/psych/psych.gemspec
+++ b/ext/psych/psych.gemspec
@@ -2,12 +2,12 @@
Gem::Specification.new do |s|
s.name = "psych"
- s.version = "2.0.7"
+ s.version = "2.0.8"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Aaron Patterson"]
- s.date = "2014-12-01"
+ s.date = "2014-12-05"
s.description = "Psych is a YAML parser and emitter. Psych leverages libyaml[http://pyyaml.org/wiki/LibYAML]\nfor its YAML parsing and emitting capabilities. In addition to wrapping\nlibyaml, Psych also knows how to serialize and de-serialize most Ruby objects\nto and from the YAML format."
s.email = ["aaron@tenderlovemaking.com"]
s.extensions = ["ext/psych/extconf.rb"]
diff --git a/ext/psych/psych_emitter.c b/ext/psych/psych_emitter.c
index 3fc8170f6a..4ba238102b 100644
--- a/ext/psych/psych_emitter.c
+++ b/ext/psych/psych_emitter.c
@@ -42,7 +42,9 @@ static const rb_data_type_t psych_emitter_type = {
"Psych/emitter",
{0, dealloc, 0,},
0, 0,
+#ifdef RUBY_TYPED_FREE_IMMEDIATELY
RUBY_TYPED_FREE_IMMEDIATELY,
+#endif
};
static VALUE allocate(VALUE klass)
diff --git a/ext/psych/psych_parser.c b/ext/psych/psych_parser.c
index 6b72195625..faae460dd0 100644
--- a/ext/psych/psych_parser.c
+++ b/ext/psych/psych_parser.c
@@ -62,7 +62,9 @@ static const rb_data_type_t psych_parser_type = {
"Psych/parser",
{0, dealloc, 0,},
0, 0,
+#ifdef RUBY_TYPED_FREE_IMMEDIATELY
RUBY_TYPED_FREE_IMMEDIATELY,
+#endif
};
static VALUE allocate(VALUE klass)