Key Iterator & 1.0 compatibility#19
Conversation
Iterate over a database with String keys with: for key in keys(cursor, String)
|
You should target 0.7/1.0 and drop compatibility with lower versions. |
wildart
left a comment
There was a problem hiding this comment.
Drop support of older Julia versions
| using Base.Test | ||
| using Compat | ||
| using Compat.Test | ||
| push!(LOAD_PATH, joinpath(dirname(@__FILE__), "../src")) |
There was a problem hiding this comment.
No need to modify LOAD_PATH.
| @@ -1,2 +1,3 @@ | |||
| julia 0.6 | |||
| BinDeps | |||
| Compat | |||
There was a problem hiding this comment.
Drop Compat & target 0.7+
| isdefined(:Docile) && eval(:(@document)) | ||
| using Compat | ||
|
|
||
| if VERSION < v"0.7" |
There was a problem hiding this comment.
Remove any code incompatible with 0.7 in all files.
Codecov Report
@@ Coverage Diff @@
## master #19 +/- ##
========================================
Coverage ? 97.4%
========================================
Files ? 5
Lines ? 154
Branches ? 0
========================================
Hits ? 150
Misses ? 4
Partials ? 0
Continue to review full report at Codecov.
|
|
Finally figured out Travis/Pkg3 enough to get tests to pass |
|
I set |
|
Fixes #7 |
|
Thanks! |
Builds on top of #18 with minor additional 0.7 compatibility fixes
Adds an iterator type over LMDB keys and a
keysmethod to return one. To iterate overIntkeys andFloat64values,