truenorth 0.1.2 → 0.1.3
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 +4 -4
- data/lib/truenorth/client.rb +3 -2
- data/lib/truenorth/version.rb +1 -1
- data/truenorth.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0ee83a05ef3a22b7999efef252ce29ce52ba068981c1721d88fc21261f1eaf3d
|
|
4
|
+
data.tar.gz: b0d33e82c57e05316dffcc5d594af9534910607a4ef9a5f92b60794e12c1fac8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14d8712a564c367e18a82a2be9e08f6fc048fc9500828d0d546cf7dbee8cfea95983d95daf0e7e95d41b8d3fd0debc41c1eaabfc39456ffe8cfb36d3669b548e
|
|
7
|
+
data.tar.gz: 435cf30e94d69a0dd635a62f91d724d482c32123a61f7d0924cbf00fb204124ef8f922be29083483b50228f1cec7d9d9ab3f72d8d5f5f49c3afab9ac5e964a01
|
data/lib/truenorth/client.rb
CHANGED
|
@@ -349,8 +349,9 @@ module Truenorth
|
|
|
349
349
|
cell1 = text_parts[1]
|
|
350
350
|
|
|
351
351
|
# Extract activity/event type and details
|
|
352
|
-
# Format: "Activities (Court 2 | Squash)" or "Events (Event Name | Category)"
|
|
353
|
-
|
|
352
|
+
# Format: "Activities (Court 2 | Squash)" or "Events (Event Name (time) | Category)"
|
|
353
|
+
# Use a greedy match that stops before the date pattern
|
|
354
|
+
activity_match = cell1.match(/(Activities|Events)\s+\((.+?)\)\s*\d{2}\/\d{2}\/\d{4}/)
|
|
354
355
|
activity = nil
|
|
355
356
|
court = nil
|
|
356
357
|
|
data/lib/truenorth/version.rb
CHANGED
data/truenorth.gemspec
CHANGED