浏览代码

Handle AUTHOR and COPYRIGHT pod in weaver.ini

gempesaw 11 年之前
父节点
当前提交
2752642586

+ 8 - 5
dist.ini

@@ -1,13 +1,10 @@
 name = Selenium-Remote-Driver
 version = 0.18
-author = Luke Closs <cpan@5thplane.com>
-author = Daniel Gempesaw <gempesaw@gmail.com>
 author = Aditya Ivaturi <ivaturi@gmail.com>
+author = Daniel Gempesaw <gempesaw@gmail.com>
+author = Luke Closs <cpan@5thplane.com>
 author = Mark Stosberg <mark@stosberg.com>
 
-license = Apache_2_0
-copyright_holder = Daniel Gempesaw
-
 [TravisYML]
 build_branch = cpan
 
@@ -32,6 +29,12 @@ include_dotfiles = 1
 [MetaYAML]
 [PkgVersion]
 
+; license and copyright are handled in weaver.ini
+; [License]
+license = Apache_2_0
+copyright_holder = Daniel Gempesaw
+copyright_year = 2014
+
 [ContributorsFromGit]
 [PodWeaver]
 

+ 0 - 20
lib/Selenium/Remote/Commands.pm

@@ -350,23 +350,3 @@ L<http://github.com/gempesaw/Selenium-Remote-Driver/issues>.
 =head1 CURRENT MAINTAINER
 
 Daniel Gempesaw C<< <gempesaw@gmail.com> >>
-
-=head1 AUTHOR
-
-Perl Bindings for Selenium Remote Driver by Aditya Ivaturi C<< <ivaturi@gmail.com> >>
-
-=head1 LICENSE
-
-Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.

+ 0 - 47
lib/Selenium/Remote/Driver.pm

@@ -2083,50 +2083,3 @@ L<https://github.com/gempesaw/Selenium-Remote-Driver/wiki>.
 
 The Selenium issue tracking system is available online at
 L<http://github.com/gempesaw/Selenium-Remote-Driver/issues>.
-
-=head1 AUTHOR
-
-Perl Bindings for Selenium Remote Driver by Aditya Ivaturi C<< <ivaturi@gmail.com> >>
-
-=head1 ACKNOWLEDGEMENTS
-
-The following people have contributed to this module. (Thanks!)
-
-=over 4
-
-=item * Gordon Child
-
-=item * Daniel Gempesaw
-
-=item * Charles Howes
-
-=item * Tom Hukins
-
-=item * Phil Kania
-
-=item * Allen Lew
-
-=item * Phil Mitchell
-
-=item * Emmanuel Peroumalnaik
-
-=item * Mark Stosberg
-
-=back
-
-=head1 LICENSE
-
-Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
-Copyright (c) 2014      Daniel Gempesaw
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.

+ 0 - 20
lib/Selenium/Remote/ErrorHandler.pm

@@ -151,23 +151,3 @@ L<http://github.com/gempesaw/Selenium-Remote-Driver/issues>.
 =head1 CURRENT MAINTAINER
 
 Daniel Gempesaw C<< <gempesaw@gmail.com> >>
-
-=head1 AUTHOR
-
-Perl Bindings for Remote Driver by Aditya Ivaturi C<< <ivaturi@gmail.com> >>
-
-=head1 LICENSE
-
-Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.

+ 0 - 20
lib/Selenium/Remote/RemoteConnection.pm

@@ -166,23 +166,3 @@ L<http://github.com/gempesaw/Selenium-Remote-Driver/issues>.
 =head1 CURRENT MAINTAINER
 
 Daniel Gempesaw C<< <gempesaw@gmail.com> >>
-
-=head1 AUTHOR
-
-Perl Bindings for Selenium Remote Driver by Aditya Ivaturi C<< <ivaturi@gmail.com> >>
-
-=head1 LICENSE
-
-Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.

+ 0 - 22
lib/Selenium/Remote/WebElement.pm

@@ -458,25 +458,3 @@ L<http://github.com/gempesaw/Selenium-Remote-Driver/issues>.
 =head1 CURRENT MAINTAINER
 
 Daniel Gempesaw C<< <gempesaw@gmail.com> >>
-
-=head1 AUTHOR
-
-Perl Bindings for Selenium Remote Driver by Aditya Ivaturi C<< <ivaturi@gmail.com> >>
-
-=head1 LICENSE
-
-Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-480:    hit eof while in pod documentation (no =cut seen)
-        this can cause trouble with some pod utilities

+ 43 - 1
weaver.ini

@@ -1,6 +1,48 @@
-[@Default]
+[@CorePrep]
 
+[-SingleEncoding]
+
+[Name]
+[Version]
+
+[Region  / prelude]
+
+[Generic / SYNOPSIS]
+[Generic / DESCRIPTION]
+[Generic / OVERVIEW]
+
+[Collect / ATTRIBUTES]
+command = attr
+
+[Collect / METHODS]
+command = method
+
+[Collect / FUNCTIONS]
+command = func
+
+[Leftovers]
+
+[Region  / postlude]
+
+[Authors]
 [Contributors]
+[GenerateSection / COPYRIGHT AND LICENSE]
+text = Copyright (c) 2010-2011 Aditya Ivaturi, Gordon Child
+text =
+text = Copyright (c) 2014 Daniel Gempesaw
+text =
+text = Licensed under the Apache License, Version 2.0 (the "License");
+text = you may not use this file except in compliance with the License.
+text = You may obtain a copy of the License at
+text =
+text =      http://www.apache.org/licenses/LICENSE-2.0
+text =
+text = Unless required by applicable law or agreed to in writing, software
+text = distributed under the License is distributed on an "AS IS" BASIS,
+text = WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+text = See the License for the specific language governing permissions and
+text = limitations under the License.
+
 
 [-Transformer]
 transformer = List