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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81ce6b1b9a38e36705d32d7e2bcce456d222b3555ebb3c0227c4b8cb23c2c3e6
4
- data.tar.gz: 3e610639ef54a96a2229b21f75b8af54107d4cdcaae68691f6b4cc0636797fc7
3
+ metadata.gz: 43ead734039a1e722f69f510a7c0b9597af3b8340902f539f04ec9bce19a9368
4
+ data.tar.gz: 0c49dfc97a5d1b10039ce26b3a441fc61e9d83964930aac3b8d0ace856111ff3
5
5
  SHA512:
6
- metadata.gz: 2575d2563feb3bad1a0317b96ae8029525d2df88a825d47633d0e314293653aa4f7ffb97a3e44a759926d56849e547261cbd5459c9c409796e84fc8f44d099ef
7
- data.tar.gz: a420379f9b119d8562fe329e61741e6cc40955eb314719507751a420bc28328662c51d91177f6c4885f664fe97049b9d2a76c6e8d01e9285983bebbffb6b3426
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.5)
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.0)
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
@@ -3,5 +3,5 @@
3
3
  # Command-line and gem client for Asana (unofficial)
4
4
  module Checkoff
5
5
  # Version of library
6
- VERSION = '0.44.5'
6
+ VERSION = '0.44.6'
7
7
  end
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.5
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-07-22 00:00:00.000000000 Z
11
+ date: 2023-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport