tempest_time 1.0.1 → 1.0.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a99a1a52ca91a23c97e908053d2be56a2fe863e2
|
4
|
+
data.tar.gz: 2cd28a4e3415535b539cc8cdb46489eb0d3b8494
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9df724e128f987e6fea3579309f6324ede97b20dbf53bc7de36a3fc94bd417f8fb319c8fa92e8bbc27b3608ad1f5124a34489c376347c7aaa5e7939d97ebe44
|
7
|
+
data.tar.gz: 1181a0d4c41cbcc46ff3af4984c943213fa719f60154a6241d9294377f918ac596a02bb609a2a679ccec6b0854edf34a76a1c5a50def86ba30c662e91908ba12
|
@@ -8,7 +8,7 @@ module TempoAPI
|
|
8
8
|
class ListWorklogs < TempoAPI::Request
|
9
9
|
attr_reader :start_date, :end_date
|
10
10
|
|
11
|
-
def initialize(start_date, end_date
|
11
|
+
def initialize(start_date, end_date: nil, requested_user: nil)
|
12
12
|
super
|
13
13
|
@start_date = start_date
|
14
14
|
@end_date = end_date || start_date
|
@@ -26,7 +26,7 @@ module TempestTime
|
|
26
26
|
private
|
27
27
|
|
28
28
|
def delete_worklog(worklog)
|
29
|
-
with_success_fail_spinner("Deleting worklog #{worklog}..."
|
29
|
+
with_success_fail_spinner("Deleting worklog #{worklog}...") do
|
30
30
|
TempoAPI::Requests::DeleteWorklog.new(worklog).send_request
|
31
31
|
end
|
32
32
|
end
|
data/lib/tempest_time/version.rb
CHANGED