snowreports 0.6.0 → 0.6.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: 161d3d4e6cd4f1b7316045f17a8b2f9a80f608a50dce5791b18187e6f16a81b4
4
- data.tar.gz: edcb5767ef7d39d24a3feda491588bd7d5d6772f43b194ba5ed6dd050b072301
3
+ metadata.gz: c113da4f4f221d6b60ed1572c2bd37f6e010974caa24b058a2d25df735bd66b9
4
+ data.tar.gz: a25ed256c09657aa98080aafccc7b9ee2ba775aaf01110ad624667e331fc7c37
5
5
  SHA512:
6
- metadata.gz: '091774a074dc2abc4f6e76c923c1498aacbdc458bd3e70436f2023a5f7415a3ff4412459e378904cadd00a7c8968eba8b99f6e73460c3fcea3f8bf2e436fc98c'
7
- data.tar.gz: 5de91c3a4802288ad0bf768c15740d5f7ce8ae4998d15fab2d6833903556915797dc89665b736dd6ee339766aaef2ed82cc06d878fe9ecd4e624d3d6b996ae1e
6
+ metadata.gz: 0ae49881be86362d0faddeb2f49dff1e866471df0b1c45aef23263361c4ded2f76617c7091f14071b6a4ddd8f45166c2f28213830f4c6af05b8ae92dbe53983a
7
+ data.tar.gz: 305dbca983867230ae626dfd7fc4b12bea8a560edca39f317e36406169231427747580152fa0cd279bb2feeca197fb9b52b39968d90687af0d3fecbd8e5340c6
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ snowreports*.gem
@@ -14,7 +14,7 @@ module Snowreports
14
14
  snowreports_field_id = parsed.xpath("//skiarea/id").text
15
15
  snowreports_field_name = parsed.xpath("//skiarea/name").text
16
16
  information = parsed.xpath("//information").text
17
- snow_min = parsed.xpath("//snow/mindepth").text
17
+ snow_min = parsed.xpath("//snow/mindepth").text || parsed.xpath("//fields/field[@name='snow-base-lower']").text
18
18
  snow_base = parsed.xpath("//snow/base").text
19
19
  mountain_status = parsed.xpath("//skiarea/status/label").text
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Snowreports
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snowreports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Davey
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-27 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday