Skip to content

Commit

Permalink
Ready for 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Aronoff committed Jul 21, 2016
1 parent 915baea commit a0e3857
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
+ Fix a few typos and copyright dates
+ Fix the string returned by `version()`.

## *3.1.0-1* (July 21, 2016)

+ Updated to test against Lua 5.3.3

Would you rather view the [documentation][d]?

[d]: /README.md
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ useful, and [many people have written a version for Lua][wiki].
The module provides four informational functions that return strings. They
should be self-explanatory.

+ `version() -- 3.0.1`
+ `version() -- 3.1.0`

+ `author() -- Peter Aronoff`

Expand Down
7 changes: 7 additions & 0 deletions doc/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ <h2><em>3.0.1-1</em> (May 2, 2016)</h2>
</ul>


<h2><em>3.1.0-1</em> (July 21, 2016)</h2>

<ul>
<li>Updated to test against Lua 5.3.3</li>
</ul>


<p>Would you rather view the <a href="index.html">documentation</a>?</p>

<hr />
Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h2>Varia</h2>
should be self-explanatory.</p>

<ul>
<li><p><code>version() -- 3.0.1</code></p></li>
<li><p><code>version() -- 3.1.0</code></p></li>
<li><p><code>author() -- Peter Aronoff</code></p></li>
<li><p><code>url() -- https://bitbucket.org/telemachus/split</code></p></li>
<li><p><code>license() -- BSD 3-Clause</code></p></li>
Expand Down
24 changes: 24 additions & 0 deletions split-3.1.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package = 'split'
version = '3.1.0-1'
source = {
url = 'https://bitbucket.org/telemachus/split/downloads/split-v3.1.0-1.tar.gz',
dir = 'split'
}
description = {
summary = 'String split function and iterator for Lua',
detailed = [[
A string split function and iterator for Lua since the string standard
library doesn't come with one.
]],
homepage = 'https://bitbucket.org/telemachus/split',
license = 'BSD 3-Clause',
maintainer = 'Peter Aronoff <[email protected]>'
}
dependencies = { 'lua >= 5.1' }
build = {
type = 'builtin',
modules = {
split = 'src/split.lua',
},
copy_directories = { 'doc' }
}
2 changes: 1 addition & 1 deletion src/split.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ local first_and_rest = function(str, delimiter)
end

local version = function ()
return '3.0.1'
return '3.1.0'
end

local author = function ()
Expand Down
2 changes: 1 addition & 1 deletion test/test-information-fields.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local t = require 'tapered'
package.path = '../src/?.lua;' .. package.path
local split = require 'split'

t.is(split.version(), '3.0.1', "version() returns '3.0.1'.")
t.is(split.version(), '3.1.0', "version() returns '3.1.0'.")
t.is(split.author(), 'Peter Aronoff', "author() returns 'Peter Aronoff'.")
t.is(split.url(), 'https://bitbucket.org/telemachus/split',
"url() returns 'https://bitbucket.org/telemachus/split'.")
Expand Down

0 comments on commit a0e3857

Please sign in to comment.