checkoff 0.44.5 → 0.44.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/checkoff/internal/search_url/simple_param_converter.rb +7 -1
- data/lib/checkoff/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43ead734039a1e722f69f510a7c0b9597af3b8340902f539f04ec9bce19a9368
|
4
|
+
data.tar.gz: 0c49dfc97a5d1b10039ce26b3a441fc61e9d83964930aac3b8d0ace856111ff3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '081cf0167a2983dbda34d3e6b2a00b948c073d98044fc9fef211640078344fbc34a54ad3b5a1b6c9863e50fe468baf63e769496ec7790462c04029b55059dace'
|
7
|
+
data.tar.gz: 13d392146de29ef790980ea24ffc0d8511fbc5ffe05e7d9ba6c8c8dda880ad06b0b96014b565b8a5d355c71eaa1a302219749096d0bff20af1971f198d637034
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,7 @@ GIT
|
|
12
12
|
PATH
|
13
13
|
remote: .
|
14
14
|
specs:
|
15
|
-
checkoff (0.44.
|
15
|
+
checkoff (0.44.6)
|
16
16
|
activesupport
|
17
17
|
asana (> 0.10.0)
|
18
18
|
cache_method
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
faraday_middleware-multi_json (0.0.6)
|
73
73
|
faraday_middleware
|
74
74
|
multi_json
|
75
|
-
gli (2.21.
|
75
|
+
gli (2.21.1)
|
76
76
|
hashdiff (1.0.1)
|
77
77
|
i18n (1.14.1)
|
78
78
|
concurrent-ruby (~> 1.0)
|
@@ -171,9 +171,15 @@ module Checkoff
|
|
171
171
|
|
172
172
|
# @return [Hash<String, String>] the converted params
|
173
173
|
def convert
|
174
|
-
simple_url_params.to_a.flat_map do |key, values|
|
174
|
+
out = simple_url_params.to_a.flat_map do |key, values|
|
175
175
|
convert_arg(key, values).each_slice(2).to_a
|
176
176
|
end.to_h
|
177
|
+
unless out.include? 'sort_by'
|
178
|
+
# keep results consistent between calls; API using default
|
179
|
+
# sort_by does not seem to be.
|
180
|
+
out['sort_by'] = 'created_at'
|
181
|
+
end
|
182
|
+
out
|
177
183
|
end
|
178
184
|
|
179
185
|
private
|
data/lib/checkoff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkoff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.44.
|
4
|
+
version: 0.44.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|