Commit graph

5113 commits

Author SHA1 Message Date
878162f263 Merge pull request #926 from matthiasbeyer/libimagstore/store-id-tests
libimagstore: StoreId tests
2017-05-03 17:47:02 +02:00
585b5ffad6 dependency: toml: 0.2.* -> 0.4.* 2017-05-03 17:46:37 +02:00
ab99675562 Add tests for StoreId 2017-05-03 17:09:21 +02:00
525491e21f Update some things in the CONTRIBUTING guidelines 2017-05-03 10:49:38 +02:00
1c0c9ff378 Update some README things 2017-05-03 10:49:37 +02:00
9650f46e23 Version strings: 0.2.0 -> 0.3.0 2017-05-03 10:48:26 +02:00
c74c26ccd1 Merge pull request #924 from matthiasbeyer/fix-readme-links
Fix readme links
2017-05-02 22:02:16 +02:00
241f975253 Merge pull request #927 from matthiasbeyer/libimagentryedit/remove-unused-imports
Remove unused imports
2017-05-02 22:02:07 +02:00
974cc38d05 Make imag-pim.org links https 2017-05-02 17:43:39 +02:00
8680220f9d Fix blog link 2017-05-02 17:43:39 +02:00
ccc5f890f5 Remove unused imports 2017-05-02 17:43:33 +02:00
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