rrokkam
2ebbc987fb
Make Item::new take Into<String> as a name
...
This clears a lot of Rust-specific String boilerplate, so it's not
necessary to type String::from("foo") every time we want an item
with name "foo". It also makes the code look more similar to the C#
version of the code.
I am leaving the public struct members in because those are more
similar to the matching code in the other languages' implementations.
2020-07-19 13:51:27 -07:00
rrokkam
c88bdfd53e
Implement Display for Item
...
This is a more idiomatic way of printing the contents of an object
than reaching into its innards. It is also more 1-1 with the original
C# code, which overrides toString for Item.
2020-07-19 13:51:27 -07:00
rrokkam
f21ed2ae13
Make main.rs clippy-clean
2020-07-19 13:51:23 -07:00
rrokkam
b9372efe6f
Use 2018-edition field init shorthand
2020-07-19 13:50:50 -07:00
rrokkam
972e00541a
Move gildedrose/mod.rs -> gildedrose.rs
...
Avoiding putting simple one-file modules in their own folder.
2020-07-19 13:49:13 -07:00
rrokkam
87f3e536a4
Risky: Move tests into mod.rs
...
Usual Rust practice is to put tests in the same file they are testing.
I don't see any magic in the texttests that would require tests and code
to be in separate files, but I am not entirely sure, so I added the
risky tag.
2020-07-19 13:47:02 -07:00
rrokkam
2a53bf5db5
Delete imports that are already in the prelude
...
`Vec` and `String` are in the prelude, so qualifying them with
`vec::Vec` and `string::String` is unnecessary.
2020-07-19 13:45:35 -07:00
rrokkam
a699803ce7
cargo fmt
...
Standard Rust formatting practice
2020-07-19 13:45:01 -07:00
dependabot[bot]
c5543783cb
Bump lodash from 4.17.15 to 4.17.19 in /js-jest
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 13:03:07 +00:00
emily
fbe24e35b5
starting test should fail at the start
2020-06-08 13:58:55 +02:00
emily
e1fdd00962
starting position should include item printer
2020-06-05 15:36:03 +02:00
emily
3ee479a731
new cpp version with just catch2 and approvals. Builds faster than the version in the cpp folder
2020-06-05 15:24:28 +02:00
Emily Bache
59fa896633
Merge pull request #157 from LarsEckart/master
...
update gradle wrapper & junit5 dependency
2020-06-04 09:52:49 +02:00
Lars Eckart
0f729f3192
update gradle wrapper & junit5 dependency
2020-06-04 10:22:28 +03:00
Emily Bache
82a0083ead
Merge pull request #143 from fpellet/plpgsql_pgtap
...
[plpgsql] Merge pgunit and pgtap
2020-06-04 08:00:21 +02:00
emily
35d2cef888
use TEXTTEST_HOME instead of TEXTTEST_CHECKOUT since it is now set to current working directory in latest texttest version
2020-05-07 15:33:04 +02:00
emily
02d4c1db4a
make texttest easier to use
2020-05-07 15:31:00 +02:00
emily
5d4b4ab839
improve docs for texttest
2020-05-07 15:17:55 +02:00
emily
3c3d60414f
added ruby gitignore
2020-05-07 08:44:42 +02:00
Emily Bache
d0c9d06c1c
added cpp version to texttest config
2020-05-06 09:22:16 +00:00
Emily Bache
7598ff7848
added texttests fixture to cpp version
2020-05-06 09:21:24 +00:00
EC2 Default User
950b70eb2d
configure for ec2 instance
2020-05-06 07:41:49 +00:00
emily
3226b2c545
update with new cyber-dojo links
2020-04-22 20:34:50 +02:00
Emily Bache
b104d7e343
Merge pull request #153 from hucarv/master
...
Add a text test fixture for javascript projects
2020-04-08 10:01:24 +02:00
Humberto Menezes
a9ddd7f2c0
Add a text test fixture for javascript projects
2020-04-07 06:46:41 -03:00
Emily Bache
29be55f986
Merge pull request #152 from AJHealey/master
...
Update Scala versions
2020-04-06 21:00:21 +02:00
Adrian Healey
c0b6069c09
Update ScalaTest version to 3.1.1
2020-04-05 13:17:19 +02:00
Adrian Healey
516e639b62
Update Scala version to 2.13.1
2020-04-04 19:50:09 +02:00
Adrian Healey
66b0e8d0d3
Update SBT version to 1.3.9
2020-04-04 19:49:14 +02:00
Emily Bache
214e49591f
Merge pull request #149 from emilybache/dependabot/npm_and_yarn/js-jest/acorn-5.7.4
...
Bump acorn from 5.7.3 to 5.7.4 in /js-jest
2020-03-16 16:49:11 +01:00
dependabot[bot]
7e6346407d
Bump acorn from 5.7.3 to 5.7.4 in /js-jest
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-03-16 13:50:18 +00:00
Emily Bache
c709b8bab5
added comments for how to add coverage
2020-02-04 14:42:29 +01:00
fpellet
a344a7d866
typo
2020-01-23 19:53:15 +01:00
Emily Bache
6bd9e8e389
Merge pull request #144 from Naomi-Dennis/elm
...
Add elm version of Gilded Rose
2020-01-23 13:07:56 +01:00
Naomi Dennis
50205f4d4a
Remove License
2020-01-22 12:46:01 -05:00
Naomi Dennis
b5aae0b116
Add readme
2020-01-22 11:07:40 -05:00
Naomi Dennis
c81514d1f3
Remove unneccessary files
2020-01-22 11:00:57 -05:00
Naomi Dennis
f21956544f
Add gitignore
2020-01-22 10:59:11 -05:00
Naomi Dennis
070169c89a
Add elm folder
2020-01-22 10:57:36 -05:00
Emily Bache
1cd3ba5e2c
Merge pull request #142 from rhatherall/delphi-port
...
Add Delphi port
2020-01-20 13:01:23 +01:00
Richard Hatherall
eae8b2eb54
Add .res files to .gitignore
2020-01-20 11:54:27 +00:00
Richard Hatherall
21a7c980ea
Remove .res files
2020-01-20 11:53:45 +00:00
fpellet
2d1130e690
Add builded docker images
2020-01-19 21:56:20 +01:00
fpellet
c438d457ac
Add docker compose command on pgtap
2020-01-19 21:55:52 +01:00
fpellet
6383ae05bb
Remove update_quality of install to improve docker build cache
2020-01-19 21:55:27 +01:00
fpellet
a57022e13c
merge readme files
2020-01-19 21:35:26 +01:00
fpellet
a2c1d7140b
Add test sample on pgtap
2020-01-19 20:26:21 +01:00
fpellet
f669f07812
remove duplicate structure
2020-01-19 20:01:09 +01:00
fpellet
2e4255f35e
add pgtap on docker
2020-01-19 19:59:27 +01:00
fpellet
c619c0235d
move docker files to root
2020-01-19 19:56:22 +01:00