Commit Graph

730 Commits

Author SHA1 Message Date
Dante Panella
a016db7317 The following changes were made to the code:
The code was refactored to use more descriptive variable names.
The logic for handling each type of item was consolidated into separate
blocks of code.
The code was made more efficient by reducing the number of times the
Math.min() method was called.
The code was made more readable by adding comments to explain the logic.

This unit test tests the following behaviors of the GildedRose class:

The quality of an Aged Brie item increases over time.
The quality of a Backstage passes to a TAFKAL80ETC concert item
increases over time, then zeroes out.
The quality of a normal item decreases over time.
2023-07-24 21:42:09 -03:00
Emily Bache
ec373f2795
Merge pull request #457 from YehezkelShB/patch-1
Update README.md for master->main rename
2023-07-17 10:37:00 +02:00
Yehezkel Bernat
295cd382d5 Update README.md for master->main rename
Some links still refer to the renamed branch `master` and requires redirection to `main`

Update them to point directly to `main`. While at it, update link to file to use `blob` instead of `tree` for a similar reason
2023-07-14 09:52:51 +00:00
Emily Bache
c03808272e
Merge pull request #455 from add1ed/janet
add janet version
2023-07-14 06:57:56 +02:00
add1ed
4f43ddb78f updated tests and added README, based on review feedback. 2023-07-13 11:01:41 +01:00
add1ed
42d6bce336 add janet version 2023-07-11 11:54:23 +01:00
Emily Bache
d0d6fdb93c
Update catch2 version in CMakeLists.txt 2023-06-20 09:14:54 +02:00
Emily Bache
12540176cb
Merge pull request #446 from Andriamanitra/main
Make Julia compatible with texttests
2023-06-13 08:18:53 +02:00
Andriamanitra
e6445f1782 make julia compatible with texttests 2023-06-12 16:41:55 +03:00
Emily Bache
a674623c1c
Merge pull request #445 from shelling21/main
CPP: Updated googletest to v1.12.1 & Catch2 to v3.3.2
2023-06-09 14:29:30 +02:00
Stef Helling
578041f86c Merge branch 'main' of github.com:shelling21/GildedRose-Refactoring-Kata 2023-06-09 14:22:24 +02:00
Stef Helling
ddf8581e48 Updated googletest to release-1.12.1 and catch2 to v3.3.2 2023-06-09 14:21:43 +02:00
Emily Bache
34a1fba37b
Merge pull request #438 from FSMaxB/worse-rust
Make rust loop worse to make it closer to the original
2023-05-22 15:34:22 +02:00
Max Bruckner
103ef4a00f Make rust loop worse to make it closer to the original 2023-05-21 10:36:45 +02:00
Emily Bache
5a4e92199b
Merge pull request #402 from claresudbery/csharp-approval-fixes
Csharp approval fixes
2023-04-11 13:35:32 +02:00
Clare Sudbery
8d30f5efce Remove approved.txt, for consistency with rest of repo 2023-04-10 11:40:45 +01:00
Clare Sudbery
8d0e82c2a6 Add default valid approved.txt to csharpcore 2023-04-08 14:55:45 +01:00
Clare Sudbery
588dbed420 Add approval test to csharpcore 2023-04-08 14:55:23 +01:00
Clare Sudbery
8dee58f73d Ignore received.txt 2023-04-08 14:54:20 +01:00
Clare Sudbery
416b299856 Add Nuget packages needed for approval tests 2023-04-08 14:35:31 +01:00
Clare Sudbery
11569e0c0f Test 31 days instead of 2 2023-04-08 14:21:07 +01:00
Emily Bache
227729512d
Merge pull request #417 from dmcg/master
Update versions in Kotlin variant, and use List rather than Array
2023-02-28 07:46:43 +01:00
Duncan McGregor
bce30ba386 Use List in place of Array 2023-02-27 22:32:10 +00:00
Duncan McGregor
054a7e18a4 Upgrade Kotlin to 1.8.10 and JUnit to 5.9.2 2023-02-27 22:30:45 +00:00
Emily Bache
2d115146eb
Merge pull request #415 from Gnuk/add-vitest
Add vitest inside TypeScript
2023-02-22 13:05:43 +01:00
Anthony Rey
95a5db2080 Add vitest inside TypeScript 2023-02-22 11:33:47 +01:00
Emily Bache
820e796fd8
Merge pull request #405 from nitsanavni/add-ci
add ci - start with jq
2023-02-08 08:30:44 +01:00
Nitsan Avni
8ee93709a5 jq ci: compare to 30 days texttest stdout 2023-02-07 17:13:45 +00:00
Nitsan Avni
e7545c322e back to green, rename job 2023-02-07 17:12:18 +00:00
Nitsan Avni
6f17a85b91 intentionally fail the ci 2023-02-07 17:12:18 +00:00
Nitsan Avni
714d60b092 ci: test texttest result 2023-02-07 17:12:18 +00:00
Nitsan Avni
f982992850 diff action 2023-02-07 17:12:18 +00:00
Nitsan Avni
6527ea8bc3 add jq.yml workflow 2023-02-07 17:12:18 +00:00
Emily Bache
0fa2c2e623
Merge pull request #404 from nitsanavni/jq
add jq translation
2023-02-07 16:10:27 +01:00
Nitsan Avni
9a2736d267 use foreach for extra indentation 2023-02-07 08:35:39 +00:00
Nitsan Avni
9abe955027 add jq translation 2023-02-06 22:41:03 +00:00
Clare Sudbery
bacb1d9394 Add initial source of truth for C# approvals 2023-02-01 16:05:11 +00:00
Clare Sudbery
7700d349c3 Comment out C# texttest config by default 2023-02-01 16:03:04 +00:00
Clare Sudbery
f8a87ce507 Fix texttest config to work for csharp 2023-02-01 16:01:52 +00:00
emily
100fb3620a remove dead better code hub 2023-01-16 08:19:13 +01:00
emily
d7b0cefc1a remove BetterCode Hub, since it's no longer working. Improve info on TextTest. 2023-01-16 08:17:49 +01:00
Emily Bache
54cf2e5da8
Merge pull request #396 from JasonMoon95/patch-1
Update GildedRoseRequirements_kr.md
2023-01-13 14:44:04 +01:00
Seungje Mun
58ec0e4bee
Update GildedRoseRequirements_kr.md
10days or less can be translated to "10일 부터는".
2023-01-12 14:08:50 +09:00
Emily Bache
c6040ed788
Merge pull request #393 from Pen-y-Fan/php8
Bump to PHP 8.0+
2023-01-09 08:41:09 +01:00
Pen-y-Fan
081c69b864 Bump to PHP 8.0+
PHP 7.4 was end of life November 2022, it's time to bump to PHP 8 standard 🎉

- updated starting code to PHP 8 standard
- upgraded tooling (code quality, static analysis) to the latest versions
- tested with PHP 8.0, 8.1 and 8.2
   - the fixture is working
   - the example test is failing, as expected
   - code quality is as expected
   - static analysis is ok
2023-01-07 17:19:35 +00:00
Emily Bache
f7a3312e6b
Merge pull request #389 from hdeweirdt/main
Fix link to original description of the kata
2023-01-03 11:02:54 +01:00
Harm De Weirdt
415a394523
Fix link to original description of the kata 2022-12-28 15:58:43 +01:00
Emily Bache
7397b893f9
Merge pull request #385 from adericbourg/fix-blog-article-link
Fix "Why Most Solutions to Gilded Rose Miss The Bigger Picture" article link
2022-12-07 13:15:44 +01:00
emily
054da34a92 update .net version 2022-12-07 08:23:51 +01:00
Alban Dericbourg
e56289edfd
Fix "Why Most Solutions to Gilded Rose Miss The Bigger Picture" article link
Signed-off-by: Alban Dericbourg <alban.dericbourg@blablacar.com>
2022-12-06 15:56:34 +01:00