diff --git a/META.info b/META.info index 5f9fb78..637ffe6 100644 --- a/META.info +++ b/META.info @@ -2,7 +2,7 @@ "provides" : { "JSON::Class" : "lib/JSON/Class.pm" }, - "version" : "0.0.4", + "version" : "0.0.5", "test-depends" : [ "Test" ], diff --git a/lib/JSON/Class.pm b/lib/JSON/Class.pm index f9d3b57..90c60e7 100644 --- a/lib/JSON/Class.pm +++ b/lib/JSON/Class.pm @@ -74,13 +74,13 @@ though.) =end pod use JSON::Unmarshal; -use JSON::Marshal; +use JSON::Marshal:ver(v0.0.6..*); sub EXPORT { { '&trait_mod:' => &trait_mod: } } -role JSON::Class:ver<0.0.4>:auth { +role JSON::Class:ver<0.0.5>:auth { method from-json(Str $json) returns JSON::Class {