mirror of
https://github.com/TangentFoxy/lua-date.git
synced 2025-07-27 18:42:18 +00:00
release 2.2
This commit is contained in:
@@ -10,5 +10,9 @@ charset = utf-8
|
|||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.rockspec]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
[Makefile]
|
[Makefile]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
@@ -21,11 +21,15 @@ ignore = {
|
|||||||
--"6.", -- ignore whitespace warnings
|
--"6.", -- ignore whitespace warnings
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include_files = {
|
||||||
|
"**/*.lua",
|
||||||
|
"*.rockspec",
|
||||||
|
".busted",
|
||||||
|
".luacheckrc",
|
||||||
|
}
|
||||||
|
|
||||||
exclude_files = {
|
exclude_files = {
|
||||||
"here/**",
|
"here/**",
|
||||||
"samples/**",
|
"samples/**",
|
||||||
--"spec/fixtures/invalid-module.lua",
|
|
||||||
--"spec-old-api/fixtures/invalid-module.lua",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -29,6 +29,7 @@ Tests are located in the `spec` directory and can be run using [busted](http://o
|
|||||||
|
|
||||||
## Changes:
|
## Changes:
|
||||||
|
|
||||||
|
- v2.2 add 'centuryflip' to set 2 digit year interpretation [#26](https://github.com/Tieske/date/pull/26)
|
||||||
- v2.1.3 fix rockspec for Lua 5.4
|
- v2.1.3 fix rockspec for Lua 5.4
|
||||||
- v2.1.2 fix scientific notation [#9](https://github.com/Tieske/date/pull/9), now available for Lua 5.3
|
- v2.1.2 fix scientific notation [#9](https://github.com/Tieske/date/pull/9), now available for Lua 5.3
|
||||||
- v2.1.1 fix for '>=' operator [#3](https://github.com/Tieske/date/pull/3), added test suite, added Travis CI, license MIT
|
- v2.1.1 fix for '>=' operator [#3](https://github.com/Tieske/date/pull/3), added test suite, added Travis CI, license MIT
|
||||||
|
@@ -1,31 +0,0 @@
|
|||||||
package = "date"
|
|
||||||
version = "2.1.3-1"
|
|
||||||
|
|
||||||
description = {
|
|
||||||
summary = "Date & Time module for Lua 5.x",
|
|
||||||
detailed = [[
|
|
||||||
Pure Lua Date & Time module for Lua 5.x featuring date and time string
|
|
||||||
parsing, time addition & subtraction, time span calculation, support for
|
|
||||||
ISO 8601 dates, local time support, strftime-like formatting.
|
|
||||||
]],
|
|
||||||
license = "MIT",
|
|
||||||
homepage = "https://github.com/Tieske/date",
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies = {
|
|
||||||
"lua >= 5.0, < 5.5"
|
|
||||||
}
|
|
||||||
|
|
||||||
source = {
|
|
||||||
url = "git://github.com/Tieske/date/",
|
|
||||||
tag = "version_2.1.3",
|
|
||||||
}
|
|
||||||
|
|
||||||
build = {
|
|
||||||
type = "builtin",
|
|
||||||
modules = {
|
|
||||||
date = "src/date.lua"
|
|
||||||
},
|
|
||||||
copy_directories = { "docs" },
|
|
||||||
}
|
|
||||||
|
|
37
date-2.2-1.rockspec
Normal file
37
date-2.2-1.rockspec
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
local package_name = "date"
|
||||||
|
local package_version = "2.2"
|
||||||
|
local rockspec_revision = "1"
|
||||||
|
local github_account_name = "Tieske"
|
||||||
|
local github_repo_name = package_name
|
||||||
|
local git_checkout = package_version == "dev" and "master" or ("version_"..package_version)
|
||||||
|
|
||||||
|
package = package_name
|
||||||
|
version = package_version .. "-" .. rockspec_revision
|
||||||
|
|
||||||
|
source = {
|
||||||
|
url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git",
|
||||||
|
branch = git_checkout
|
||||||
|
}
|
||||||
|
|
||||||
|
description = {
|
||||||
|
summary = "Date & Time module for Lua 5.x",
|
||||||
|
detailed = [[
|
||||||
|
Pure Lua Date & Time module for Lua 5.x featuring date and time string
|
||||||
|
parsing, time addition & subtraction, time span calculation, support for
|
||||||
|
ISO 8601 dates, local time support, strftime-like formatting.
|
||||||
|
]],
|
||||||
|
license = "MIT",
|
||||||
|
homepage = "https://github.com/"..github_account_name.."/"..github_repo_name,
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies = {
|
||||||
|
"lua >= 5.0, < 5.5"
|
||||||
|
}
|
||||||
|
|
||||||
|
build = {
|
||||||
|
type = "builtin",
|
||||||
|
modules = {
|
||||||
|
date = "src/date.lua"
|
||||||
|
},
|
||||||
|
copy_directories = { "docs" },
|
||||||
|
}
|
Reference in New Issue
Block a user