dato 0.7.3 → 0.7.4

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: 2db7bdd32377323ced0898556ea20771ae90d3b3ece302ce020c21c99d685ef3
4
- data.tar.gz: 669af6a048649fe3841002882fbb0bdfa3946ba21254f8c11c4cfcc5fb6c3fc5
3
+ metadata.gz: a2b7d95f00890cd03b1a560ac5f6d6a1c8d4ed89affad3a43a46cb4d9d7517a7
4
+ data.tar.gz: f0e4149f20b068b80fda0ada2d78f5d776862ad2bb64f0d3273848455f3b297a
5
5
  SHA512:
6
- metadata.gz: a5097086d93b92922604d95597a175e7b15735c47e70b2b61564c4037ff2ff32e3ac1786572d1a847fc68e1762a9711f19f09e3f86736d800d56d7ce270a0beb
7
- data.tar.gz: 18732a788ef213bb02099ea0e830e16be4c51afe3b481607a75ff1e1b4dca7aa3dcf97070a130800ab8769f6de8d37b398473b337b91c0e82f82738f85337919
6
+ metadata.gz: 8bcce6ad9866c9c8f74516dafb9b7f8a561e539c9dc32996cd35a2cd7c9d779bacbeb639c4a8cb9eacb24d4a46c33ec6d51f407524989af5813f87560429877d
7
+ data.tar.gz: 94011511faf89f6dbce24b3cc07df27626e2067d66301ed866d88d21483852a06def5c305abdd3af6e1ea2d4d08d824810f25ce02415808ec808bda81d1788af
@@ -78,10 +78,7 @@ module Dato
78
78
  .symbolize_keys
79
79
  .fetch(:all_pages, false)
80
80
 
81
- is_paginated_endpoint = link.schema &&
82
- link.schema.properties.key?('page[limit]')
83
-
84
- if is_paginated_endpoint && all_pages
81
+ if all_pages
85
82
  Paginator.new(client, url, query_string).response
86
83
  else
87
84
  client.request(:get, url, query_string)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dato
4
- VERSION = '0.7.3'
4
+ VERSION = '0.7.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-02 00:00:00.000000000 Z
11
+ date: 2019-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler