GildedRose-Refactoring-Kata/elixir/lib
Alexander Korling 9eeef2450f Implement a working version of the original code for the kata
Why:
 - The current version isn't implemented properly.

Additional information:
 - This is the result of my local test run (test omitted since
   they're a part of the kata):

   GildedRoseTest
     * test update_quality/1 Aged Brie actually increases in Quality
       the older it gets
     * test Backstage passes Quality increases by 2 when there are
       10 days or less
     * test update_quality/1 the quality of an item is never negative
     * test update_quality/1 degrades the quality when a day passes
     * test Backstage passes Quality increases by 3 when there are 5
       days or less
     * test update_quality/1 when sell date is passed it degrades twice
       as fast
     * test Backstage passes Quality increases by 1 when sell_in is
       larger than 10
     * test update_quality/1 does not change the name
     * test update_quality/1 The Quality of an item is never more than 50
     * test update_quality/1 Sulfuras, being a legendary item, never has
       to be sold or decreases in Quality
     * test Backstage passes Quality drops to 0 after the concert

   11 tests, 0 failures
2016-10-15 16:59:58 +02:00
..
gilded_rose.ex Implement a working version of the original code for the kata 2016-10-15 16:59:58 +02:00
item.ex Add Elixir version 2015-09-18 16:57:35 +01:00