ollie beney
|
75fa4869c0
|
found and fixed bug where quality could go above 50 and below 0 when change increment was greater than one
|
2020-11-05 17:03:15 +00:00 |
|
ollie beney
|
24ebe0b7dd
|
created boolean methods for brie and backstage, implemented them in a case statement
|
2020-11-05 16:24:53 +00:00 |
|
ollie beney
|
e2673f0734
|
extracted all product types into their own methods and tested
|
2020-11-05 16:14:49 +00:00 |
|
ollie beney
|
c0ae6e9988
|
extracted quality updates for backstage passes
|
2020-11-05 15:16:09 +00:00 |
|
ollie beney
|
146f686d14
|
removed duplicated conditionals
|
2020-11-05 14:14:54 +00:00 |
|
ollie beney
|
3773a972aa
|
actually fixed special item this time, feature tests also fixed
|
2020-11-05 12:49:20 +00:00 |
|
ollie beney
|
89fb0d8689
|
corrected special_item method and added further test for this.
|
2020-11-05 12:38:18 +00:00 |
|
ollie beney
|
58be55719a
|
extracted #special_item? method and implemented in update quality section
|
2020-11-05 12:30:32 +00:00 |
|
ollie beney
|
7a8792f64f
|
got taken on to zoom call with peer group, unsure whats changed but rspec still passes
|
2020-11-04 18:02:22 +00:00 |
|
ollie beney
|
6c85b130e5
|
changed if statement to inline conditional
|
2020-11-04 17:10:04 +00:00 |
|
ollie beney
|
0ae0723f57
|
changed part of method that changes backstage pass quality to zero to a more logical method
|
2020-11-04 17:07:04 +00:00 |
|
ollie beney
|
626eab9e10
|
updated code to use update_normal_quality method
|
2020-11-04 16:58:25 +00:00 |
|
ollie beney
|
2431b8b11e
|
replaced instances of item != sulfuras with sulfuras? method
|
2020-11-04 16:57:36 +00:00 |
|
ollie beney
|
70040c5144
|
updated spelling of sulfuras
|
2020-11-04 16:55:20 +00:00 |
|
ollie beney
|
bbe5395911
|
added method to check if an item is selfarus
|
2020-11-04 16:51:20 +00:00 |
|
ollie beney
|
27860ced34
|
update_normal_item method updates items without quality allowances if quality > 0
|
2020-11-04 16:39:36 +00:00 |
|
ollie beney
|
2b410aa50b
|
refactor backstage path to use regex, this allows other backstage items to work provided backstage is in their name
|
2020-11-04 15:28:47 +00:00 |
|
ollie beney
|
fb4d5aad4d
|
basic test for ordinary item, made update_quality method into an instance method
|
2020-11-04 14:32:23 +00:00 |
|