Skip to content

Commit

Permalink
Reversion the module to v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Petherbridge committed Dec 28, 2015
1 parent cffc087 commit 307a7bb
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 8 deletions.
7 changes: 7 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Revision history for Perl extension RiveScript.

2.0.0 Dec 28 2015
- Switch from old-style floating point version number notation to dotted
decimal notation. This bumps the version number to `2.0.0` because the next
dotted-decimal version greater than `1.42` (`v1.420.0`) is `v1.421.0` and
I don't like having that many digits in the version number. This release is
simply a version update; no breaking API changes were introduced.

1.42 Nov 20 2015
- Add configurable `unicode_punctuation` attribute to strip out punctuation
when running in UTF-8 mode.
Expand Down
1 change: 1 addition & 0 deletions META.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ distribution_type: module
requires:
perl: 5.008000
JSON: 0
version: 0.77
recommends:
Clone: 0
build_requires:
Expand Down
13 changes: 7 additions & 6 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
NAME => 'RiveScript',
VERSION_FROM => 'lib/RiveScript.pm', # finds $VERSION
PREREQ_PM => {
NAME => 'RiveScript',
VERSION_FROM => 'lib/RiveScript.pm', # finds $VERSION
PREREQ_PM => {
version => 0.77,
JSON => 0,
}, # e.g., Module::Name => 1.1
EXE_FILES => [ 'bin/rivescript' ],
LICENSE => 'mit',
MIN_PERL_VERSION => '5.8.0',
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/RiveScript.pm', # retrieve abstract from module
AUTHOR => 'Noah Petherbridge <[email protected]>') : ()),
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/RiveScript.pm', # retrieve abstract from module
AUTHOR => 'Noah Petherbridge <[email protected]>') : ()),
);
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,13 @@ defines the standards of RiveScript.
# CHANGES
2.0.0 Dec 28 2015
- Switch from old-style floating point version number notation to dotted
decimal notation. This bumps the version number to `2.0.0` because the next
dotted-decimal version greater than `1.42` (`v1.420.0`) is `v1.421.0` and
I don't like having that many digits in the version number. This release is
simply a version update; no breaking API changes were introduced.

1.42 Nov 20 2015
- Add configurable `unicode_punctuation` attribute to strip out punctuation
when running in UTF-8 mode.
Expand Down
12 changes: 11 additions & 1 deletion lib/RiveScript.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ package RiveScript;
use strict;
use warnings;

our $VERSION = '1.42'; # Version of the Perl RiveScript interpreter.
# Version of the Perl RiveScript interpreter. This must be on a single line!
# See `perldoc version`
use version; our $VERSION = version->declare('v2.0.0');

our $SUPPORT = '2.0'; # Which RS standard we support.
our $basedir = (__FILE__ =~ /^(.+?)\.pm$/i ? $1 : '.');

Expand Down Expand Up @@ -3377,6 +3380,13 @@ L<http://www.rivescript.com/> - The official homepage of RiveScript.
=head1 CHANGES
2.0.0 Dec 28 2015
- Switch from old-style floating point version number notation to dotted
decimal notation. This bumps the version number to `2.0.0` because the next
dotted-decimal version greater than `1.42` (`v1.420.0`) is `v1.421.0` and
I don't like having that many digits in the version number. This release is
simply a version update; no breaking API changes were introduced.
1.42 Nov 20 2015
- Add configurable `unicode_punctuation` attribute to strip out punctuation
when running in UTF-8 mode.
Expand Down
4 changes: 3 additions & 1 deletion lib/RiveScript/WD.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ package RiveScript::WD;
use strict;
use warnings;

our $VERSION = '1.42';
# Version of the Perl RiveScript interpreter. This must be on a single line!
# See `perldoc version`
use version; our $VERSION = version->declare('v2.0.0');

# This is not a real module; it's only a current copy of the RiveScript
# Working Draft. See the latest version at
Expand Down

0 comments on commit 307a7bb

Please sign in to comment.