Commit graph

4434 commits

Author SHA1 Message Date
14a6124704 Remove self scripted tests 2017-04-21 21:09:09 +02:00
5eb174d1c1 Ignore thermite output 2017-04-21 21:09:09 +02:00
e290d4fa98 Add Makefile setup for building libimagruby + thermite bundling 2017-04-21 21:09:09 +02:00
b35e942df6 Add new dependencies 2017-04-21 21:09:09 +02:00
cecdd09d51 Pass StoreId iterator here 2017-04-21 21:09:02 +02:00
f225aec9da Add Link::get_store_id() helper function 2017-04-21 21:08:56 +02:00
6b821f7b28 Add wrapper for Link::to_str() -> StoreId::to_str() 2017-04-21 21:08:56 +02:00
c550325711 Add Link::exists() -> StoreId::exists() wrapper 2017-04-21 21:08:56 +02:00
633f999d54 Add new trait function to add annotated links
With this new trait function, one can add annotated links to the
entries.

There's no support yet for removing these links.
2017-04-21 21:08:56 +02:00
8de5bf93be Add support for new link type in return-value parsing 2017-04-21 21:08:56 +02:00
21d758d635 Add with_base() wrapper for tests 2017-04-21 21:08:56 +02:00
87ee509dc0 Prepare for annotations implementation
This patch changes the `libimagentrylink` internals to use a

    enum { Id(StoreId), Annotated(StoreId, String) }

as Link type.

In this patch, changes were made to be able to compile the code, but
tests might fail and other crates might fail as well.
2017-04-21 21:08:56 +02:00
0525f998c8 Fix usage of StoreId::exists() -> raise Error if error occurs 2017-04-21 21:08:45 +02:00
c2838cca3b Fix StoreId::exists() usage 2017-04-21 21:08:45 +02:00
111943e0eb Fix StoreId::exists() call with try!() 2017-04-21 21:08:45 +02:00
d3af023166 Redefine return type of StoreId::exists() 2017-04-21 21:08:45 +02:00
Matthew Piziak
9fa115500d Simplify FoldResult implementation
- Add tests for FoldResult
- Make documentation more explicit
- Assert failure accumulator in test

Submitted-by: Matthew Piziak <matthew.piziak@gmail.com>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2017-04-21 21:08:38 +02:00
337d657411 Fix indentation 2017-04-21 21:08:34 +02:00
97f5c94ca2 Allow unused variables in libimagruby 2017-04-21 21:08:03 +02:00
58a5153e5f Remove unused import 2017-04-21 21:08:03 +02:00
fb0ba1d8bc Remove unused variable 2017-04-21 21:08:03 +02:00
e615ec040f Merge pull request #915 from matthiasbeyer/add-libruby-travis-dep
Add libruby travis dependency
2017-04-21 21:07:39 +02:00
15029fc3e6 Disable duplicated stable rust check, check ruby 2.4.0 against rust 1.13 as well 2017-04-21 20:43:25 +02:00
2e6d867971 Disable rust beta testing on travis so libimagruby finds the libruby dependency 2017-04-21 20:42:01 +02:00
7a83a0dbd2 Setup travis to do matrix builds with ruby for libimagruby 2017-04-21 18:48:46 +02:00
94db98cfc6 Add libruby travis dependency 2017-04-21 18:21:23 +02:00
5d4ef8ed7f Merge pull request #910 from matthiasbeyer/libimagstore/non-consuming-update
Libimagstore/non consuming update
2017-03-08 15:30:19 +01:00
89b08d77aa Fix: Make appropriate variables mutable here 2017-03-08 12:47:40 +01:00
1c43abb0b0 Fix for new Store::update() interface 2017-03-08 12:47:40 +01:00
3a0166ba7c Merge pull request #912 from matthiasbeyer/libimagruby/error-types
Libimagruby/error types
2017-03-08 12:45:16 +01:00
a14d10fd47 Replace uses of RuntimeError with own error types 2017-03-07 17:47:56 +01:00
c4bd98a48f Merge pull request #913 from mario-kr/makefile_use_workspaces
Makefile use workspaces
2017-03-06 13:46:13 +01:00
Mario Krehl
3e544f1a9e Change README.md because of changed Makefile semantics 2017-03-02 21:21:22 +01:00
Mario Krehl
019e12b048 Change make check-outdated because it works with workspaces now 2017-03-02 21:10:34 +01:00
Mario Krehl
e98715589a Change make clean because it works with workspaces now 2017-03-02 21:10:25 +01:00
Mario Krehl
4ff88dca6e Change make update because it works with workspaces now 2017-03-02 21:10:14 +01:00
2f745193bf Add check whether classes exist 2017-02-27 15:34:37 +01:00
79aec8bf38 Add Ruby error types 2017-02-27 15:13:07 +01:00
85cb954b9f Merge pull request #909 from matthiasbeyer/less-fold-more-defresult
Less fold more defresult
2017-02-27 12:50:14 +01:00
c8faf5a6a9 Use ::fold_defresult() instead of ::fold() 2017-02-27 12:32:49 +01:00
a53547e08a Change Store::update() to be non-consuming 2017-02-26 19:54:40 +01:00
84bcdc68b7 Merge pull request #905 from matthiasbeyer/libimagnote/note-doesnt-need-to-be-tagable
Remove Tagable implementation for Note
2017-02-23 15:21:53 +01:00
a0f581b342 Merge pull request #908 from matthiasbeyer/libimagentryedit/dont-impl-for-fle
We dont need to impl this for FileLockEntry here
2017-02-23 15:21:45 +01:00
ef07c2cba9 Merge pull request #897 from matthiasbeyer/libimagstore/verify-panic
Libimagstore/verify panic
2017-02-23 14:42:39 +01:00
f3af9e0ac4 Merge pull request #907 from matthiasbeyer/clap-bump
Make clap version more specific
2017-02-23 14:41:45 +01:00
8a942ef4a9 Remove Tagable implementation for Note 2017-02-23 14:41:20 +01:00
e33e5d287b Merge pull request #801 from matthiasbeyer/libimagannotation/init
libimagannotation: init
2017-02-23 14:29:44 +01:00
eaeff58081 We dont need to impl this for FileLockEntry here 2017-02-23 14:28:47 +01:00
8967854c94 Make clap version more specific 2017-02-23 14:22:53 +01:00
5034540595 Add annotation entry fetcher module 2017-02-23 14:12:19 +01:00