scraper_utils 0.10.2 → 0.11.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: b3eb0cb212c43c54a13ffbd95bc09e0be7f1f371bd4169076ba9f7c2cfc38c19
4
- data.tar.gz: 3ea1460b28059ec868f7d5acd618d435e725c48a1892c5820f31e7450f4aa925
3
+ metadata.gz: 2437b1d72d0a7d4924b4f22d906844fc15eef3448095e04365b210df368a0e80
4
+ data.tar.gz: 860865eff6d101a28bc4c6be564a3cbd1c23ce97c7da258d4baba038c8e4713d
5
5
  SHA512:
6
- metadata.gz: 5da0a39adeff7b05c9adf7c194d921c91395633bcd8057d257a4255f39f7fd03bf006bd627165187842356fca4243fa762e5054ca78295f9dd90dc864261b7f7
7
- data.tar.gz: 4d7bfe3c874e4aa0a730ecae249841e9dabab3171681b007697ea7d7b6702f8c834c85c9a86a36136d2318ebdfb0f6d1e8eceed1cd09271d5384c80ad4419aef
6
+ metadata.gz: 8e226c73b7530ffc0e382a438896ad0f0d9fbbc8acdc6064f4d33874be017b663fa525a1de7428cba0740849dbfae38152566ddb85bae8d71669e9ef995cefff
7
+ data.tar.gz: 7ff0da628481fc403ca849e750b6e880f41cdca4f83ab92476d33f0aa3b42898a23825a2b92dc1618f371c47754e07a4a98fbf70d134c39bbd0e929281abd790
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.1 - 2026-02-13
4
+
5
+ * Output council_reference from log_saved_record as it helps me debug some web query issues
6
+
3
7
  ## 0.10.2 - 2026-02-09
4
8
 
5
9
  * Added `ScraperUtils::MiscUtils.throttle_block` as documented in `docs/misc_utilities.md` for use with HTTParty
@@ -57,7 +57,7 @@ module ScraperUtils
57
57
  def self.log_saved_record(record)
58
58
  authority_label = extract_authority(record)
59
59
  @stats[authority_label][:saved] += 1
60
- ScraperUtils::LogUtils.log "Saving record #{authority_label} - #{record['address']}"
60
+ ScraperUtils::LogUtils.log "Saving record #{authority_label&.empty? ? '' : "for #{authority_label}: "}#{record['council_reference']} - #{record['address']}"
61
61
  end
62
62
  end
63
63
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ScraperUtils
4
- VERSION = "0.10.2"
4
+ VERSION = "0.11.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scraper_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Heggie
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-02-08 00:00:00.000000000 Z
11
+ date: 2026-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
@@ -112,7 +112,7 @@ metadata:
112
112
  allowed_push_host: https://rubygems.org
113
113
  homepage_uri: https://github.com/ianheggie-oaf/scraper_utils
114
114
  source_code_uri: https://github.com/ianheggie-oaf/scraper_utils
115
- documentation_uri: https://rubydoc.info/gems/scraper_utils/0.10.2
115
+ documentation_uri: https://rubydoc.info/gems/scraper_utils/0.11.1
116
116
  changelog_uri: https://github.com/ianheggie-oaf/scraper_utils/blob/main/CHANGELOG.md
117
117
  rubygems_mfa_required: 'true'
118
118
  post_install_message: