0
0
Fork 0
Commit Graph

102 Commits

Author SHA1 Message Date
Stormwind de3f831ac3 Fix rewrite of background color <.< 2015-10-22 12:43:18 +02:00
Stormwind 0f96f9c139 Use new writing of "rmagick" 2015-10-22 12:28:12 +02:00
Stormwind b25e71486a Fix typo 2015-10-22 12:18:34 +02:00
Stormwind b8cb251ef8 Fix some whitespaces and return at EOF 2015-10-22 12:11:16 +02:00
Stormwind 14fbd23852 Add test for Rubella::Output::Image 2015-10-22 12:05:34 +02:00
Stormwind b345adb1d2 Add tests for Rubella::Ouput::ASCII 2015-10-22 10:56:33 +02:00
Stormwind b4e8c2d6dc Add tests for Rubella::Output::Base 2015-10-22 09:20:32 +02:00
Stormwind 962d70e142 Add tests for Rubella::Weighting::PerOverallLoad 2015-10-21 12:57:06 +02:00
Stormwind 3e232b9607 Add tests for Rubella::Weighting::Exponential 2015-10-21 10:52:20 +02:00
Stormwind ad54bc6a7b Add tests for Rubella::Weighting::PerValue 2015-10-21 09:38:59 +02:00
Stormwind 12d5858ff8 Fix division by zero
If the maximum value is zero, the maximum value will be set to one.
This avoids a division by zero.
2015-10-21 09:00:33 +02:00
Stormwind 47aa9c301a Add tests for Rubella::Weighting::PerCount 2015-10-20 12:55:52 +02:00
Stormwind b53d134e2e Add tests for Rubella::Weighting::Base 2015-10-20 11:29:56 +02:00
Stormwind b87dfc273e Add rubella/input/base to spec helper
It's not neccessary to add this, but it makes the tests classes a bit more
visible.
2015-10-20 11:28:10 +02:00
Stormwind 0a43aaa23a Add gemspec 2015-05-05 22:40:48 +02:00
Stormwind b70a9eaade Add Gemfile 2015-05-05 22:11:57 +02:00
Stormwind e35768c450 Add license 2015-05-05 22:05:27 +02:00
Stormwind 46044b843f Add Rubella::Weighting::PerCount
The Rubella::Weighting::PerCount create a field of each given value.
The weighting is based on the maximum value.
So you are able to create i.e. commit per day maps.
2015-05-05 21:45:23 +02:00
Stormwind 496e96be91 Fix little things 2015-05-05 21:42:05 +02:00
Stormwind ba6c12ad89 Remove proove of concept 2015-05-05 21:40:02 +02:00
Stormwind 099801e262 Fix typo 2015-05-05 21:38:09 +02:00
Stormwind a30db71066 Fix bug in weighting
Now 100 counts to the last bucket.
Before it was excluded from being shown...
2015-05-05 21:26:54 +02:00
Stormwind ebd5b88861 Add tests for Rubella::Input::JSON 2015-05-01 22:06:55 +02:00
Stormwind ce6cfb7977 Add tests for Rubella::Input::Base 2015-05-01 12:43:01 +02:00
Stormwind 13397ccfe7 Add tests for Rubella::Storage.data, Rubella::Storage.new 2015-05-01 11:18:56 +02:00
Stormwind 366cd8aa45 Add tests for Rubella::Storage.length= 2015-05-01 10:17:39 +02:00
Stormwind d061bfc1eb Add specs for Rubella::Storage.dataset_length 2015-05-01 08:44:36 +02:00
Stormwind fe290c5871 Moved to spec/spec.opts 2015-05-01 08:28:00 +02:00
Stormwind 06e61a7aa0 Add tests for Storage:each 2015-05-01 08:23:14 +02:00
Stormwind 7d7f01b6d2 Add first test for the Storage 2015-05-01 08:10:36 +02:00
Stormwind d592e315d8 Create test infrastructure 2015-05-01 08:09:40 +02:00
Stormwind b9ecfcf3af Make Storage:dateset_length able to handle non multidimensional arrays 2015-05-01 08:07:40 +02:00
Stormwind c341f10ca9 Remove not needed abstract classes
The constructor classes are not needed for making the library work.
So I removed them.
2015-04-26 19:11:59 +02:00
Stormwind 2f61b479eb Remove static setting of total amount of cores 2015-04-26 19:08:34 +02:00
Stormwind 6916446089 Tidy up not needed variables 2015-04-26 07:30:25 +02:00
Stormwind e14e083901 The output classes now use the new storage interface 2015-04-26 07:16:48 +02:00
Stormwind 4458bc9be3 Add some docs for each 2015-04-26 07:16:27 +02:00
Stormwind 3aa7d60d77 Make storage respond to each 2015-04-26 07:16:05 +02:00
Stormwind 87f2943fba Storage responds to length
Now the storage will return the current length.
And not the set length anymore. But if there are datasets in the storge it
will be as long as the setted length.
It also can return the length of its datasets.
2015-04-26 07:01:18 +02:00
Stormwind f561b2c769 Make interface for weighting input smaller
The input object must now only respond to each and must contain
arrays.
2015-04-25 22:52:20 +02:00
Stormwind 9a013f53fd Make Rubella::Input classes respond to each
Also fix some code convetions
2015-04-25 22:41:05 +02:00
Stormwind 9b4ad30a7e Delete unnecessary methods
The deleted methods does not do what I intended them to do.
So I removed them.
2015-04-25 22:31:03 +02:00
Stormwind 8d7d646f4c Add implementation of Rubella::Weighting::Expotential 2015-04-25 22:28:47 +02:00
Stormwind 6d9eecb5e5 Add implementation of Rubella::Weighting::PerOverallLoad 2015-04-25 22:09:16 +02:00
Stormwind f825743491 Fix for raise ArgumentError 2015-04-25 20:11:05 +02:00
Stormwind 6c0705df3b Fix for raise NotImplementedError 2015-04-25 20:06:20 +02:00
Stormwind 66b2becebd Rework output API
Now you give the data at the creation of the object to render it
later.
So you need to create a new output object for every new set of data.
2015-04-25 17:02:39 +02:00
Stormwind 2bb29d9e8d Prefill Storage with zero values
Only if Storage already has some data.
Disable empty and prefill feature if given lenght is 0.
2015-04-25 16:31:32 +02:00
Stormwind 01c1f97750 Drop entries in storage, if more than new length 2015-04-25 15:48:45 +02:00
Stormwind 26d09a71fd Move Map class to seperate file
The class Map hat now an own file named after the class.
So the rest seems a bit more independent.
2015-03-14 10:54:03 +01:00