Skip to content

Commit

Permalink
Merge branch 'master' into feature/inject_BEGIN
Browse files Browse the repository at this point in the history
Conflicts:
	lib/Method/Signatures.pm
  • Loading branch information
schwern committed Oct 27, 2012
2 parents 9e822a6 + eb00f05 commit 469d017
Show file tree
Hide file tree
Showing 16 changed files with 1,274 additions and 91 deletions.
28 changes: 28 additions & 0 deletions Changes
@@ -1,3 +1,31 @@
20121025.2315_001 Thu Oct 25 23:15:20 PDT 2012
New Features
* can now use `when' to specify default conditions
[github #48]
* can use `//=' as a shortcut for `when undef'
[github #45]
* can now provide `where' constraints in addition to
(or instead of) a type
[github #7]
* can now use `...' to disable further argument checking
[github #49]
* can now specify more than one alternative in type unions
[github #55]
* can now nest parameterized types

Incompatible Changes
* can no longer use both `\' and `:'
(didn't work anyway)

Optimizations
* better signature parsing using PPI
[github #11]

Docs
* documented all new features
* new ASCI-art breakdown of signature syntax
* minor tweaks and corrections

20120523 May 23 16:36:04 PDT 2012
Distribution Fixes
* Fixed META.json
Expand Down
7 changes: 7 additions & 0 deletions MANIFEST
Expand Up @@ -15,10 +15,12 @@ t/array_param.t
t/at_underscore.t
t/attributes.t
t/begin.t
t/block_defaults.t
t/caller.t
t/comments.t
t/debugger.t
t/defaults.t
t/defined_or_defaults.t
t/error_interruption.t
t/error_reporting.t
t/examples/iso_date_example.t
Expand Down Expand Up @@ -76,6 +78,7 @@ t/role_check_mouse.t
t/simple.plx
t/slurpy.t
t/split_proto.t
t/string_defaults.t
t/syntax_errors.t
t/too_many_args.t
t/traits.t
Expand All @@ -85,3 +88,7 @@ t/typeload_moose.t
t/typeload_nomoose.t
t/typeload_notypes.t
t/types.t
t/undef_defaults.t
t/where.t
t/yadayada.t
t/zero_defaults.t
10 changes: 5 additions & 5 deletions META.json
Expand Up @@ -4,7 +4,7 @@
"Michael G Schwern <schwern@pobox.com>"
],
"dynamic_config" : 1,
"generated_by" : "Module::Build version 0.4, CPAN::Meta::Converter version 2.120921",
"generated_by" : "Module::Build version 0.4002, CPAN::Meta::Converter version 2.120921",
"license" : [
"perl_5"
],
Expand Down Expand Up @@ -50,18 +50,18 @@
"provides" : {
"Method::Signatures" : {
"file" : "lib/Method/Signatures.pm",
"version" : "20120523"
"version" : "20121025.2315_001"
},
"Method::Signatures::Modifiers" : {
"file" : "lib/Method/Signatures/Modifiers.pm",
"version" : "20120523"
"version" : "20121025.2315_001"
},
"Method::Signatures::Parser" : {
"file" : "lib/Method/Signatures/Parser.pm",
"version" : 0
}
},
"release_status" : "stable",
"release_status" : "testing",
"resources" : {
"bugtracker" : {
"web" : "http://rt.cpan.org/NoAuth/Bugs.html?Dist=Method-Signatures"
Expand All @@ -73,5 +73,5 @@
"url" : "https://github.com/schwern/method-signatures/tree"
}
},
"version" : "20120523"
"version" : "20121025.2315_001"
}
8 changes: 4 additions & 4 deletions META.yml
Expand Up @@ -11,7 +11,7 @@ build_requires:
configure_requires:
Module::Build: 0.26
dynamic_config: 1
generated_by: 'Module::Build version 0.4, CPAN::Meta::Converter version 2.120921'
generated_by: 'Module::Build version 0.4002, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
Expand All @@ -20,10 +20,10 @@ name: Method-Signatures
provides:
Method::Signatures:
file: lib/Method/Signatures.pm
version: 20120523
version: 20121025.2315_001
Method::Signatures::Modifiers:
file: lib/Method/Signatures/Modifiers.pm
version: 20120523
version: 20121025.2315_001
Method::Signatures::Parser:
file: lib/Method/Signatures/Parser.pm
version: 0
Expand All @@ -45,4 +45,4 @@ resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Method-Signatures
license: http://dev.perl.org/licenses/
repository: https://github.com/schwern/method-signatures/tree
version: 20120523
version: 20121025.2315_001

0 comments on commit 469d017

Please sign in to comment.