productive 0.5.9 → 0.5.10

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: 2e21c1d50498a69a1b1cbb2ab66e3d04265385dc
4
- data.tar.gz: 70f350850b8729f0cb43e41d5ca6809106f77822
3
+ metadata.gz: 162e0cd76005cfc7584d703d761d142eb74ad779
4
+ data.tar.gz: d970134e0e73742da531ce2b418b91c811ce9cc3
5
5
  SHA512:
6
- metadata.gz: 2ffcf65d3ff7e08ee3e5ae16f4942837541208882d7a70acd92f6a028419a4f2d95111404db45a630e44145053022161c9ba8cd615951cbd7cfaaf56e6a8a546
7
- data.tar.gz: 81f8a6b574dbcdb863518f9cca331aca3e07d0c43df7c40543f036d75d74ff2b26a5950d3d2b7818a37ca06dcf31520a22d01a935e84c13882ad2f333f4e7927
6
+ metadata.gz: e9a30911d1b3a95f3260c55882c7026ed990ff4fb54cd086197c5ba87a9cd42b0df6bb9f3905afa62ce8eccba236c55db906ff35d14da6beab2782738c8af909
7
+ data.tar.gz: d021f8cceb15f8bf330b421aedf821b6b861997a7f718026e99bff3dc6fc3822039384bae4016c4c89ec31e12c3aff0aec9cc2531eff5c22d17ca140f649699b
@@ -6,8 +6,8 @@ class JsonApiPaginator
6
6
  def initialize(result_set, data)
7
7
  @params = params_for_uri(result_set.uri)
8
8
  @result_set = result_set
9
- @links = data['links']
10
- @meta = data['meta']
9
+ @links = data['links'] || {}
10
+ @meta = data['meta'] || {}
11
11
  end
12
12
 
13
13
  def next
@@ -1,3 +1,3 @@
1
1
  module Productive
2
- VERSION = '0.5.9'.freeze
2
+ VERSION = '0.5.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: productive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josip Bišćan