ahl_scraper 0.4.0 → 0.4.1

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: 1f42dd5e6d96639ecdac35f8379c64af4071b81baaf3c3b54b8936bc5f8914df
4
- data.tar.gz: b76e71cd02f95bc334eb84df86e4cf433fef6566bf3e2f176f741d9728aee7e3
3
+ metadata.gz: 14251aa8b45f25a2e17cd81ec980492cafd43d273acc747b23be0705157692ba
4
+ data.tar.gz: b0e0c792f40c95bfca1acb22d1f3141a98378de9944c9e968bedd5563c699e81
5
5
  SHA512:
6
- metadata.gz: d81f9eaf408dc34229ed6a28d708747a561ad064a75f547e4204ab33d6dbb93087dc0666847379aff5f6de0ef9b469db4e0c2943f5abc50523a300ce0f33d335
7
- data.tar.gz: 1b84e15ea9401d816813921daa5f036006706916fa5b2c93eeedc23675b9e06cf26b063b8f7127620755214c7ec2b011e698c1130cfedb680573612ddf6b1c03
6
+ metadata.gz: ea24f10e0ea3ecca0a11447dc834383cc8ea78d83d332f0bf546b9b10b2cc0167d59af6fa85f060c090cd6ca0dc4dd69ba43477b51ff7be15f56c18747b4d509
7
+ data.tar.gz: f364029d5e56a792a489b64c31ed1979ae8f9e0bda332b3c33b8f7e7dd36412e54a09b5da55abd48f905a225e8ae52fd408f6abb5c76b94f3ff69af64ea90f6b
data/.DS_Store ADDED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.4.1
4
+
5
+ ### Games
6
+
7
+ - When a game has `Unofficial Final` status set it to have status `finished`
8
+
3
9
  ## 0.3.8
4
10
 
5
11
  ### Players
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ahl_scraper (0.3.9)
4
+ ahl_scraper (0.4.1)
5
5
  json (~> 2.5.1)
6
6
  nokogiri (~> 1.14.0)
7
7
  rake (~> 13.0.0)
Binary file
@@ -352,7 +352,7 @@ module AhlScraper
352
352
 
353
353
  # return "forfeited" if game is a forfeit, need to figure this out if it happens
354
354
 
355
- return "finished" if @raw_data.dig(:details, :final) == "1"
355
+ return "finished" if @raw_data.dig(:details, :final) == "1" || @raw_data.dig(:details, :status) == "Unofficial Final"
356
356
 
357
357
  return "in_progress" if @raw_data.dig(:details, :started) == "1"
358
358
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AhlScraper
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahl_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jefftcraig
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-21 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -185,6 +185,7 @@ executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
+ - ".DS_Store"
188
189
  - ".github/workflows/ci.yml"
189
190
  - ".gitignore"
190
191
  - ".rspec"
@@ -201,6 +202,7 @@ files:
201
202
  - LICENSE.txt
202
203
  - README.md
203
204
  - Rakefile
205
+ - ahl_scraper-0.4.0.gem
204
206
  - ahl_scraper.gemspec
205
207
  - bin/console
206
208
  - bin/setup
@@ -293,7 +295,7 @@ metadata:
293
295
  homepage_uri: https://github.com/notnotjeff/ahl_scraper
294
296
  source_code_uri: https://github.com/notnotjeff/ahl_scraper
295
297
  changelog_uri: https://github.com/notnotjeff/ahl_scraper
296
- post_install_message:
298
+ post_install_message:
297
299
  rdoc_options: []
298
300
  require_paths:
299
301
  - lib
@@ -309,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
309
311
  version: '0'
310
312
  requirements: []
311
313
  rubygems_version: 3.1.6
312
- signing_key:
314
+ signing_key:
313
315
  specification_version: 4
314
316
  summary: Scrape data from the AHL website
315
317
  test_files: []