Permalink
Browse files

A few more checks against incomplete psych installations

  • Loading branch information...
1 parent a9264c4 commit 9868534b1560eb0be1bf7da61971b93ae8ae1f88 @dazuma committed Jun 28, 2012
Showing with 11 additions and 6 deletions.
  1. +1 −1 .gitignore
  2. +5 −0 History.rdoc
  3. +2 −2 README.rdoc
  4. +1 −1 Version
  5. +2 −2 lib/versionomy/value.rb
View
@@ -2,4 +2,4 @@
/pkg/
.DS_Store
*.rbc
-Gemfile.lock
+/Gemfile.lock
View
@@ -1,3 +1,8 @@
+=== 0.4.4 / 2012-06-27
+
+* Tried to be a little more robust against incomplete psych installations.
+* Travis CI integration.
+
=== 0.4.3 / 2012-03-27
* Fixed a few warnings.
View
@@ -115,7 +115,7 @@ provides a schema and formatter/parser matching Gem::Version.
* Ruby 1.8.7 or later, Ruby 1.9.1 or later, JRuby 1.5 or later, or
Rubinius 1.0 or later.
-* blockenspiel 0.4.1 or later.
+* blockenspiel 0.4.3 or later.
=== Installation
@@ -143,7 +143,7 @@ Versionomy is written by Daniel Azuma (http://www.daniel-azuma.com/).
== LICENSE:
-Copyright 2008-2010 Daniel Azuma.
+Copyright 2008-2012 Daniel Azuma.
All rights reserved.
View
@@ -1 +1 @@
-0.4.3
+0.4.4
View
@@ -454,7 +454,7 @@ def marshal_load(data_)
end
- if defined?(::Psych)
+ if defined?(::Psych) && respond_to?(:yaml_tag)
# YAML support through psych
@@ -487,7 +487,7 @@ def encode_with(coder_) # :nodoc:
end
end
- else
+ elsif respond_to?(:yaml_as)
# YAML support through syck

0 comments on commit 9868534

Please sign in to comment.