Commit graph

4102 commits

Author SHA1 Message Date
2c8bc035ee Rename test 2017-05-02 17:43:28 +02:00
8eaead5f52 Merge pull request #929 from matthiasbeyer/fix-build-quick
Remove libimagruby
2017-05-02 17:40:55 +02:00
2b2ef72b69 Remove libimagruby
To quick-fix the master branch.
2017-05-02 17:14:48 +02:00
7e3c9467e7 Merge pull request #914 from matthiasbeyer/libimagutil/fix
Remove unused keyword "mut"
2017-04-22 13:44:39 +02:00
f3287cc389 Remove unused keyword "mut" 2017-04-22 12:51:59 +02:00
25a35183dd Merge pull request #921 from matthiasbeyer/libimagentrylink/fix-exists
Fix: Link::exists() must return Result<bool> now
2017-04-22 12:50:49 +02:00
365f9eb237 Fix: Link::exists() must return Result<bool> now 2017-04-22 11:58:14 +02:00
03f17b8a1c Merge pull request #904 from matthiasbeyer/libimagentrylink/annotations
Libimagentrylink/annotations
2017-04-22 11:20:57 +02:00
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