crunchbase4 0.2.5 → 0.2.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5364cb9aabb82ee80de4b80201a09d64e6f5734b09387f61645a0b46baf28c6
4
- data.tar.gz: 2a7dcd16421ee17bda69bdaca71c4dbd5c0fa744af83f7de846e9ec70d9ba5ba
3
+ metadata.gz: b2e94aa6bd2ebe2d92291b2566572e4436e65c9562ee8425d26b50917e926f2f
4
+ data.tar.gz: e44770e8b5d92ecbc2a9deda44007d51aaf63038ffaf2127b1e58852b07b5d95
5
5
  SHA512:
6
- metadata.gz: c9b72b41e01a1eea4b5826d54203a5f780bc2a5cd598c4a9a12d27b887740800e5d4b96458511cc8882710476125ed326615cc2feabc557163164e9b099e9448
7
- data.tar.gz: 7ffb3c67fc3f604c3e360032ce6d9beca8616c9a827fea484fb5a6aa236bcf45b5862dce2aaf589558ec589fe2fbabc9480874422d3634842bfed9a535237be9
6
+ metadata.gz: 2d808d02e7619ffaba3990f79d989974361d6233d6fdebd8260cfc6eaed68bf34477d761a919defa0346e5aad9b1b1b9810752316d879a3fcc1cbeb599faea0d
7
+ data.tar.gz: 66dbd1d99bb4c0c052a511264e2e424f26ff09ff4d1d7bc3a9abb57748561a5c13c99823677843555fafd9ad24f0c41fc518fb0223aebc3a63d06f249984d0ba
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- crunchbase4 (0.2.5)
4
+ crunchbase4 (0.2.6)
5
5
  faraday
6
6
  faraday_curl
7
7
  faraday_middleware
@@ -27,7 +27,13 @@ module Crunchbase
27
27
  # after_id should be the uuid of the last item in the current page. May not be provided simultaneously with before_id.
28
28
  def query_parameters(args)
29
29
  order_field_ids = args[:order_field_ids] || ['updated_at']
30
- order_conditions = order_field_ids.map { |field_id| { 'field_id' => field_id, 'sort' => (args[:sort] || 'desc'), 'nulls' => 'last' } }
30
+ order_conditions = order_field_ids.map do |field_id|
31
+ {
32
+ 'field_id' => field_id,
33
+ 'sort' => (args[:sort] || 'desc'),
34
+ 'nulls' => 'last'
35
+ }
36
+ end
31
37
 
32
38
  params = {
33
39
  'field_ids' => default_field_ids + (args[:field_ids] || []).uniq,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Crunchbase
4
- VERSION = '0.2.5'
4
+ VERSION = '0.2.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crunchbase4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Encore Shao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-25 00:00:00.000000000 Z
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday