ehbrs_ruby_utils 0.24.0 → 0.24.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfcf6985ec0fed6c0b8bc048e937f08ff0fe845343ef90e0fcabe654520d9dd0
4
- data.tar.gz: 271d0ef11cd100b59ce70b8223b328ce1620a06768978113c922811e17269d0f
3
+ metadata.gz: ef922dc8e609ca372c63e29cbfda768e95abc03b24c0fd5b9a5c6d46bf707445
4
+ data.tar.gz: ad3022d2b588614b4471798f751a8edca0800e301ab0f7bd689a22fc684fd59f
5
5
  SHA512:
6
- metadata.gz: 9ec73f7a16b02d4c79e88492f769c546b5a5ba999d88321f1241253c0c3b5d00aa13829743756eaa021b38c4860ec311734e7f9dc30ab9731c7b819f2dbbf01c
7
- data.tar.gz: 06d7d2f909bf35d9db6958dd03db455419c1cf9191073ead3bc6941e98a2ec3ed647de30954ee817be8eed5acb2d698910e8631e65eefa92455707e175f19840
6
+ metadata.gz: f2e2052b2490544bcb9edd3234d082f46489aa76d277889d33cc75ad75e31e9181c1c38deb00b4741723ba396be7c0f2ebbe71931845fd7db4145cfffe60dd00
7
+ data.tar.gz: 4b27d92bade1d8a85151dbd2ce9c101286b75c433327a849fbab1bb275ce47e4c6b06c850616b320480b18ea294b59c76b55199023e80bcb38c7da465d4c54c1
@@ -10,10 +10,10 @@ module EhbrsRubyUtils
10
10
  class Players < ::Aranha::Parsers::Html::ItemList
11
11
  ITEMS_XPATH = '//div[@class = "simple-score-entry"]'
12
12
 
13
- field :rank, :integer, './div[@class = "rank"]'
13
+ field :rank, :integer_optional, './div[@class = "rank"]'
14
14
  field :id, :integer, './div[@class = "name"]/a/@href'
15
15
  field :name, :string, './div[@class = "name"]/a/text()'
16
- field :score, :integer, './div[@class = "score"]'
16
+ field :score, :integer_optional, './div[@class = "score"]'
17
17
 
18
18
  def items_xpath
19
19
  ITEMS_XPATH
@@ -14,7 +14,7 @@ module EhbrsRubyUtils
14
14
  field :table_rank, :integer, './div[@class = "rank"]'
15
15
  field :id, :integer, './div[@class = "name"]/a/@href'
16
16
  field :name, :string, './div[@class = "name"]/a/text()'
17
- field :score, :integer, './div[@class = "score"]'
17
+ field :score, :integer_optional, './div[@class = "score"]'
18
18
  field :win_points, :string, './/*[starts-with(@id, "winpoints_value_")]/text()'
19
19
  field :game_rank, :integer, './/*[@class = "gamerank_value"]/text()'
20
20
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EhbrsRubyUtils
4
- VERSION = '0.24.0'
4
+ VERSION = '0.24.1'
5
5
  end