Commit graph

6344 commits

Author SHA1 Message Date
5b93f3848c Merge pull request #911 from matthiasbeyer/libimagstore/storeid-exists-interface-result
Redefine return type of StoreId::exists()
2017-04-22 11:20:50 +02:00
6fa281a1a4 Merge pull request #895 from matthiasbeyer/redo-ruby-build-setup
Redo ruby build setup
2017-04-22 11:20:31 +02:00
9396accc28 Merge pull request #916 from matthiasbeyer/superceed-898
Simplify FoldResult implementation
2017-04-22 11:19:56 +02:00
6f6368ed2f Merge pull request #917 from matthiasbeyer/travis-fixes
travis: IRC notifications fixes
2017-04-22 11:19:48 +02:00
63faf06bc2 Merge pull request #918 from matthiasbeyer/fix-warnings
Fix warnings
2017-04-22 11:19:42 +02:00
883c3a5b7a Fix module call path 2017-04-21 21:09:09 +02:00
095b22861d Fix targets for top-level Makefile + libimagruby
* let the "lib" target build the tarball of the ruby gem
* let the "lib-imag-ruby-test" target only test the ruby gem
2017-04-21 21:09:09 +02:00
4e5f265423 Fix Makefile target names and dependencies 2017-04-21 21:09:09 +02:00
20df1bbb03 We need to call bundle before we call rake
Travis did this magically I suppose. I'm not sure though.
2017-04-21 21:09:09 +02:00
1ca1a46cd4 Set up thermite 2017-04-21 21:09:09 +02:00
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