supcom2_replay_parser 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: 9bfda5dd83e97db2ea6db211fc1d2e86293337d0bc3697859e9ce1478e23ae9c
4
- data.tar.gz: a6273fb8f51c069e4bd0a7ab1712cc83c98b30628bf02b018d3cd7d74c227d83
3
+ metadata.gz: bd00424d20f5dd51cd1bd0c6be4b81ce112be83ff4c23a12dc056495e7ade01b
4
+ data.tar.gz: b6f1c18ec1e3bae58b3b064be3554f1cd39340a7cb45a86e9d5d182b0837bddb
5
5
  SHA512:
6
- metadata.gz: fa55ef1a2247f29b9250e5fd667a6a047d041e21557c6e52adfe55cb83eb27c238237193ee3755e4f9676a83004782105523647a568da6a082e25ff8af169b6b
7
- data.tar.gz: 4276c6dc862ebef33abe1288c2ab94a7d90c82b6fcfdd5872204e3d908008528aa38e76eddf39c75800b0649714ea167d66b1a720e04462b330d43803eaf3417
6
+ metadata.gz: 1210921f3e577cd0ddd4a4190eca5708d1a84af10dd19efc4b59228f90e5166c3f124d3b412b440a1c70db76f641cc97806f45d996dc4daa68e2ffd4a35f061d
7
+ data.tar.gz: 1bfdafd4893ad3a7591cd7947bc8b606631a9c4d97918fd2b457989e9d6bd8280a17c96543333d0a9382afd8edf43f74d154f5dc781e1abeae1e6bbfbef9ddc4
data/README.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  Gem for parsing replays of Supreme Commander 2. It returns all info about players, map and game options from replay
4
4
 
5
+ ___
6
+ #####Parsing Game options
7
+ FogOfWar
8
+ NoRushOption
9
+ TeamSpawn
10
+ Victory
11
+
12
+ #####Parsing players info
13
+ Nickname
14
+ Player Color
15
+ Faction
16
+ Team
5
17
  ## Installation
6
18
 
7
19
  Add this line to your application's Gemfile:
@@ -26,18 +38,17 @@ replay_info = SupCom2ReplayParser.call(file_path)
26
38
  pp replay_info
27
39
 
28
40
  ###
29
- {:game_version=>"Supreme Commander v1.26",
30
- :replay_version=>"Replay v1.9",
31
- :players_info=>
32
- [{:nickname=>"lvl0 <| m.o.b", :color=>:orange, :faction=>:cybran, :team=>1},
33
- {:nickname=>"HUECTRUM", :color=>:white, :faction=>:uef, :team=>2}],
34
- :game_options=>
35
- {"FogOfWar"=>"explored",
36
- "NoRushOption"=>"Off",
37
- "AllowObservers"=>"",
38
- "TeamSpawn"=>"fixed",
39
- "Victory"=>"demoralization",
40
- "map"=>"[2] Spring Duel"}}
41
+ #{:game_version=>"Supreme Commander v1.26",
42
+ # :replay_version=>"Replay v1.9",
43
+ # :players_info=>
44
+ # [{:nickname=>"lvl0 <| m.o.b", :color=>:orange, :faction=>:cybran, :team=>1},
45
+ # {:nickname=>"HUECTRUM", :color=>:white, :faction=>:uef, :team=>2}],
46
+ # :game_options=>
47
+ # {"FogOfWar"=>"explored",
48
+ # "NoRushOption"=>"Off",
49
+ # "TeamSpawn"=>"fixed",
50
+ # "Victory"=>"demoralization",
51
+ # "map"=>"[2] Spring Duel"}}
41
52
  ###
42
53
  ```
43
54
 
@@ -3,7 +3,6 @@ module SupCom2ReplayParser
3
3
  FIELDS = %w[
4
4
  FogOfWar
5
5
  NoRushOption
6
- AllowObservers
7
6
  TeamSpawn
8
7
  Victory
9
8
  ].freeze
@@ -1,3 +1,3 @@
1
1
  module Supcom2ReplayParser
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: supcom2_replay_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SupDex