Skip to content

Commit

Permalink
m-i-0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Dec 19, 2014
1 parent 6101510 commit ad3cb8e
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 38 deletions.
36 changes: 36 additions & 0 deletions .travis.yml
@@ -0,0 +1,36 @@
language: perl

perl:
- '5.20'
- '5.18'
- '5.16'
- '5.14'
- '5.12'
- '5.10'
- '5.8'

install:
- cpanm --quiet --notest
Devel::Cover::Report::Coveralls

script:
- true && [ ! -e test/ ] ||
PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine
prove -lv test/
- true && [ ! -e test/ ] || cover

after_success:
- cover -report coveralls

notifications:
irc:
channels:
- irc.perl.org#inline
on_success: change
on_failure: always
skip_join: true

# Hack to not run on tag pushes:
branches:
except:
- /^v?[0-9]+\.[0-9]+/
9 changes: 9 additions & 0 deletions Changes
@@ -1,4 +1,13 @@
---
version: 0.0.4
date: Thu Dec 18 19:19:32 PST 2014
changes:
- Normalize the dist to match others
- Update pod
- Add travis file
- Fix Makefile.PL
- Add MANIFEST.SKIP
---
version: 0.0.3
date: Thu Dec 18 00:11:25 PST 2014
changes:
Expand Down
7 changes: 5 additions & 2 deletions Makefile.PL
@@ -1,9 +1,12 @@
use strict; use warnings; use 5.008001; # use utf8; (currently breaks Module::Install)
use inc::Module::Install;

name 'Alt-Acme-Math-XS-ModuleInstall';
version '0.0.3';
abstract 'Math is HARD (faster!)';
author 'Ingy döt Net <ingy@cpan.org>';
version '0.0.4';
perl_version '5.8.1';
all_from 'lib/Acme/Math/XS.pod';
license 'perl';
inline module => 'Acme::Math::XS';
no_index directory => 'lib/Acme';

Expand Down
30 changes: 0 additions & 30 deletions doc/Acme/Math/XS.swim

This file was deleted.

2 changes: 1 addition & 1 deletion lib/Acme/Math/XS.pm
@@ -1,6 +1,6 @@
use strict; use warnings;
package Acme::Math::XS;
# our $VERSION = '0.0.1';
# our $VERSION = '0.0.4';

use Exporter 'import';
our @EXPORT = qw(
Expand Down
54 changes: 50 additions & 4 deletions lib/Acme/Math/XS.pod
@@ -1,18 +1,17 @@
=pod

=for comment
DO NOT EDIT. This Pod was generated by Swim v0.1.30.
DO NOT EDIT. This Pod was generated by Swim v0.1.31.
See http://github.com/ingydotnet/swim-pm#readme

=encoding utf8

=head1 NAME

Acme::Math::XS - Math is HARD (faster)
Acme::Math::XS - Math is HARD (faster!)

=for html
<a href="https://travis-ci.org/ingydotnet/acme-math-xs-pm"><img src="https://travis-ci.org/ingydotnet/acme-math-xs-pm.png" alt="acme-math-xs-pm"></a>
<a href="https://coveralls.io/r/ingydotnet/acme-math-xs-pm?branch=master"><img src="https://coveralls.io/repos/ingydotnet/acme-math-xs-pm/badge.png" alt="acme-math-xs-pm"></a>

=head1 SYNOPSIS

Expand All @@ -22,7 +21,54 @@ Acme::Math::XS - Math is HARD (faster)

=head1 DESCRIPTION

This is the smallest possible XS module written with Inline::C.
This is a tiny example "XS" module. It was written to show how one would write
the same thing using L<Inline::Module>, L<Inline>, L<Inline::C> and
L<Inline::CPP>.

It has a pure "XS" version and "Alt"(ternate) modules for all the common CPAN
module frameworks.

The source code for all these modules is in one git repository, on separate
branches: <https://github.com/ingydotnet/acme-math-xs-pm>

=head1 SEE

=over

=item L<Acme::Math::XS>

Pure XS version, shipped with L<ExtUtils::MakeMaker>.

=item L<Alt::Acme::Math::XS::EUMM>

L<Inline::Module> (using L<Inline::C>) version shipped with plain old
L<ExtUtils::MakeMaker>.

=item L<Alt::Acme::Math::XS::DistZilla>

L<Inline::Module> version shipped with L<Dist::Zilla> and
L<Dist::Zilla::Plugin::InlineModule>.

=item L<Alt::Acme::Math::XS::ZillaDist>

L<Inline::Module> version shipped with L<Zilla::Dist>.

=item L<Alt::Acme::Math::XS::ModuleBuild>

L<Inline::Module> version shipped with L<Module::Build> and
L<Module::Build::InlineModule>.

=item L<Alt::Acme::Math::XS::ModuleInstall>

L<Inline::Module> version shipped with L<Module::Build> and
L<Module::Build::InlineModule>.

=item L<Alt::Acme::Math::XS::CPP>

L<Inline::Module> (using L<Inline::CPP>) version shipped with
L<ExtUtils::MakeMaker>.

=back

=head1 AUTHORS

Expand Down
2 changes: 1 addition & 1 deletion lib/Alt/Acme/Math/XS/ModuleInstall.pm
@@ -1,2 +1,2 @@
package Alt::Acme::Math::XS::ModuleInstall;
our $VERSION = '0.0.3';
our $VERSION = '0.0.4';

0 comments on commit ad3cb8e

Please sign in to comment.