operto 0.4.0 → 0.4.2
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/CHANGELOG.md +8 -0
- data/lib/operto/config.rb +1 -1
- data/lib/operto/tasks/shared.rb +4 -1
- data/lib/operto/version.rb +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: 20ef2492fcbf7d5ddb9d5db1687cf2e72f4040f5f7c19edf2f37867fb1e2a133
|
|
4
|
+
data.tar.gz: 60233c43ef47983998b9d21f497e6125d5785854ee08ded4500ec351afa9aae3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e18466d232753eded5b693f4e6a9b702b0d310a30996a449759bb76c5ebbbb9e7c3fce574d48f6781eb98174af0dfb81cb8570956160197817d604f49d696634
|
|
7
|
+
data.tar.gz: 64761ffc3b404961f9851017e1e712431419dd290953055222e4d96213958605c08c3c7802a036267bea9e886004d45cc39f3168d435759aaacb05ac91bfd4b3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.2 - 2026-10-20
|
|
4
|
+
|
|
5
|
+
- The default `base_url` is now `https://apiv1.teams.operto.com/`, the new Operto Teams Partner API host. Paths there have no `/api/v1` prefix, so a host that sets its own `base_url` must drop it too.
|
|
6
|
+
|
|
7
|
+
## 0.4.1 - 2026-10-14
|
|
8
|
+
|
|
9
|
+
- `Tasks::Index`, `Tasks::Show`, `Tasks::Create` and `Tasks::Update` read an out-of-range start or due time (such as `100:100`) as the date with no time instead of failing with `ArgumentError`.
|
|
10
|
+
|
|
3
11
|
## 0.4.0 - 2026-10-12
|
|
4
12
|
|
|
5
13
|
- When Operto rejects the access token (a `401` or an `auth_token_expired` response), the client clears the token store, renews the token and replays the request once.
|
data/lib/operto/config.rb
CHANGED
data/lib/operto/tasks/shared.rb
CHANGED
|
@@ -73,8 +73,11 @@ module Operto
|
|
|
73
73
|
def task_time(date, time)
|
|
74
74
|
return if date.blank?
|
|
75
75
|
|
|
76
|
+
day = Time.zone.parse(date.to_s)
|
|
76
77
|
hour, minute = time.to_s.split(':')
|
|
77
|
-
|
|
78
|
+
day.change(hour: hour.to_i, min: minute.to_i)
|
|
79
|
+
rescue ::ArgumentError
|
|
80
|
+
day
|
|
78
81
|
end
|
|
79
82
|
|
|
80
83
|
def extract_staff(staff)
|
data/lib/operto/version.rb
CHANGED