Skip to content

Commit

Permalink
Ready for 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Aronoff committed May 2, 2016
1 parent 6814e34 commit ff7dd80
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,17 @@
+ Add `first_and_rest`, a string equivalent to a function that splits a list
into its head and tail.

## *3.0.1-1* (May 2, 2016)

+ Fix a few typos and copyright dates
+ Fix the string returned by `version()`.

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

[d]: /README.md
---

(c) 2012-2015 Peter Aronoff. BSD 3-Clause license; see [LICENSE.md][l] for
(c) 2012-2016 Peter Aronoff. BSD 3-Clause license; see [LICENSE.md][l] for
details.

[l]: /LICENSE.md
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.0-1`
+ `version() -- 3.0.0`

+ `author() -- Peter Aronoff`

Expand Down
10 changes: 9 additions & 1 deletion doc/changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,19 @@ <h2><em>3.0.0-1</em> (April 24, 2016)</h2>
</ul>


<h2><em>3.0.1-1</em> (May 2, 2016)</h2>

<ul>
<li>Fix a few typos and copyright dates</li>
<li>Fix the string returned by <code>version()</code>.</li>
</ul>


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

<hr />

<p>&copy; 2012-2015 Peter Aronoff. BSD 3-Clause license; see <a href="license.html">the license</a> for
<p>&copy; 2012-2016 Peter Aronoff. BSD 3-Clause license; see <a href="license.html">the license</a> for
details.</p>
</body>
</html>
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.0-1</code></p></li>
<li><p><code>version() -- 3.0.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.0.1-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package = 'split'
version = '3.0.1-1'
source = {
url = 'https://bitbucket.org/telemachus/split/downloads/split-v3.0.1-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.0'
return '3.0.1'
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.0', "version() returns '3.0.0'.")
t.is(split.version(), '3.0.1', "version() returns '3.0.1'.")
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 ff7dd80

Please sign in to comment.