software_challenge_client 19.0.2 → 19.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3232c9c2d1bf49bfe5da0202f023d75349f6e9fa
4
- data.tar.gz: 33b2f5f34e6e13271eeb672f61094368605f7392
3
+ metadata.gz: 31343a4b0ae1acb5120f3308a804addb89721914
4
+ data.tar.gz: 56a8ed34d5df99c604e9cb05fe561983fd4925c5
5
5
  SHA512:
6
- metadata.gz: 0e2bccd74abe8298ba66420f9e77f23b7bd452cb90f9345b49f8c6d71de2ba9a2711abc6085dbe2304b1f1bada7b9d304c6def78d686c01f9272869b239a08ab
7
- data.tar.gz: 8520b548a1e09bd4618eb50394f36d68fd78884128cec70f577a1b5bca9c20b468a4e9e955b963176f6a3dd567e5aa53f3002de922fbac873350c35b5c6dd314
6
+ metadata.gz: 80738ed0b5d77e6ff1c93f461fee352477d2572a3825fdc7b01528cca6c36fc61b729470d69da6764bb7bef71ea732bdf7dc21561679672872d940e9f8d395c5
7
+ data.tar.gz: 6f349e9fd893ac2e2feeab7ca813dcd2bb3bec4005bf6ac93fd4ade073f48f867c6b0a8f3d6307b6d03e0369558ddd92f126878ae2c29f73a8860568b07e69c7
@@ -6,3 +6,5 @@ AllCops:
6
6
  #require: rubocop-rspec
7
7
  Style/AsciiComments:
8
8
  Enabled: false # we use german comments to document relevant methods for the pupils
9
+ Metrics/BlockLength:
10
+ ExcludedMethods: ['describe', 'context'] # RSpec uses a DSL where large blocks are okay, see https://stackoverflow.com/questions/40934345/rubocop-25-line-block-size-and-rspec-tests
@@ -1,3 +1,7 @@
1
+ = 19.0.3
2
+
3
+ - fixed another bug in in Move#perform! (thanks to wollw!)
4
+
1
5
  = 19.0.2
2
6
 
3
7
  - fixed bug in Move#perform! (thanks to wollw!)
@@ -61,8 +61,8 @@ class Move
61
61
  def perform!(gamestate)
62
62
  if GameRuleLogic.valid_move?(self, gamestate.board, gamestate.current_player_color)
63
63
  type = gamestate.board.field(x, y).type
64
- gamestate.board.change_field(x, y, FieldType::EMPTY)
65
64
  target = GameRuleLogic.move_target(self, gamestate.board)
65
+ gamestate.board.change_field(x, y, FieldType::EMPTY)
66
66
  gamestate.board.change_field(target.x, target.y, type)
67
67
  else
68
68
  raise InvalidMoveException.new('Invalid move', self)
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module SoftwareChallengeClient
3
- VERSION = "19.0.2"
3
+ VERSION = "19.0.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: software_challenge_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.0.2
4
+ version: 19.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - 'kwollw '
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2018-12-14 00:00:00.000000000 Z
13
+ date: 2018-12-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typesafe_enum
@@ -314,3 +314,4 @@ specification_version: 4
314
314
  summary: This gem provides functions to build a client for the coding competition
315
315
  Software-Challenge 2017.
316
316
  test_files: []
317
+ has_rdoc: