Skip to content

Commit

Permalink
Release 0.210000
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Jul 27, 2015
1 parent 58fcb08 commit ae7b166
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -11,8 +11,8 @@ before_install:
- echo 'yes' | sudo add-apt-repository ppa:kalakris/cmake
- sudo apt-get update -qq
- sudo apt-get install -qq cmake
- curl -L https://github.com/jgm/cmark/archive/0.18.3.tar.gz | tar xz
- (cd cmark-0.18.3 && make && sudo make install && sudo ldconfig)
- curl -L https://github.com/jgm/cmark/archive/0.21.0.tar.gz | tar xz
- (cd cmark-0.21.0 && make && sudo make install && sudo ldconfig)
- |
helper_dir="$(mktemp -d -t travis-perl-helpers-XXXXXX)"
git clone git://github.com/nwellnhof/travis-perl-helpers "$helper_dir"
Expand Down
5 changes: 5 additions & 0 deletions Changes
@@ -1,5 +1,10 @@
Revision history for Perl module CommonMark

0.210000 2015-07-27
- Require libcmark 0.21.0
- Adjust for libcmark API changes
- Add support for Latex renderer

0.180300 2015-04-02
- Require libcmark 0.18.3
- Add options parameter to markdown_to_html
Expand Down
4 changes: 2 additions & 2 deletions CommonMark.xs
Expand Up @@ -22,8 +22,8 @@
#include <stdlib.h>
#include <cmark.h>

#if CMARK_VERSION < 0x001203
#error libcmark 0.18.3 is required.
#if CMARK_VERSION < 0x001500
#error libcmark 0.21.0 is required.
#endif

#if PERL_VERSION <= 14
Expand Down
11 changes: 5 additions & 6 deletions README.pod
Expand Up @@ -13,17 +13,16 @@ library.
=head2 Installation of libcmark

Please note that the I<libcmark> API isn't stable yet. This version of the
Perl bindings is known to work with versions
L<0.18.3|https://github.com/jgm/cmark/releases/tag/0.18.3> through
L<0.20.0|https://github.com/jgm/cmark/releases/tag/0.20.0>. But
Perl bindings is known to work with version
L<0.21.0|https://github.com/jgm/cmark/releases/tag/0.21.0>. But
there's no guarantee that it can be compiled with later versions.
Also note that upgrading libcmark may require recompilation of the Perl
module. For the time being, the version of the Perl bindings is kept in sync
with the lowest supported I<libcmark> version.

curl -LJO https://github.com/jgm/cmark/archive/0.18.3.tar.gz
tar xzf cmark-0.18.3.tar.gz
cd cmark-0.18.3
curl -LJO https://github.com/jgm/cmark/archive/0.21.0.tar.gz
tar xzf cmark-0.21.0.tar.gz
cd cmark-0.21.0
make [INSTALL_PREFIX=/prefix]
make test
make install
Expand Down
2 changes: 1 addition & 1 deletion dist.ini
@@ -1,6 +1,6 @@
name = CommonMark
abstract = Interface to the CommonMark C library
version = 0.180300
version = 0.210000
author = Nick Wellnhofer <wellnhofer@aevum.de>
license = Perl_5
copyright_holder = Nick Wellnhofer
Expand Down
2 changes: 1 addition & 1 deletion lib/CommonMark.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;

use XSLoader;

our $VERSION = '0.180300';
our $VERSION = '0.210000';
XSLoader::load('CommonMark', $VERSION);

use constant {
Expand Down

0 comments on commit ae7b166

Please sign in to comment.