graphiti 1.0.rc.10 → 1.0.rc.11

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: 5e7e1bd6105f9bf95c5ba1a627045076ab9eb829
4
- data.tar.gz: 935d68b3b664e3afaa2c7d2894a55d1bab25fff8
3
+ metadata.gz: c3082ebcc3ad0db7bcfab339e6080af0a753f165
4
+ data.tar.gz: 496130887cdc37b7a3c9f824c4d8272a3b8efd4c
5
5
  SHA512:
6
- metadata.gz: 683b046c667a6321edc27c3b5622d5c63f36cc72facd81adb056c8d49a0a8caf51120996efe22966f32f18e4edb6c699fd234cdb8a81153e9ee10967d5da2c14
7
- data.tar.gz: 84a831d72e7f826c74668d717e24fbcf520dbe702b2f783a0838100a2b8d9f0b192c88363a94fe7f65a443a3f6cf0e453b23d087b6bbfa90ed9eed83de37bf64
6
+ metadata.gz: 31209973f0a21e5c7bdf057996b241ed4de51583579e875508541cfb681a0011947c5482ea9b77f6c46eb574386004c54eead5adf8863b4577f7becdffcabf50
7
+ data.tar.gz: 5e29511ca4d7b9f775086d6b75f5b6ca69c503a6f8a1b13c4368b63bb2fe1a76eb76c5403274c30cc3fa86d16b2cfcb1b3c9cee15440595f6bf3f06d8696c428
@@ -13,6 +13,7 @@ module Graphiti
13
13
  attr_accessor :schema_path
14
14
  attr_accessor :links_on_demand
15
15
  attr_accessor :pagination_links_on_demand
16
+ attr_accessor :pagination_links
16
17
  attr_accessor :typecast_reads
17
18
  attr_accessor :debug
18
19
  attr_accessor :debug_models
@@ -25,6 +26,7 @@ module Graphiti
25
26
  @respond_to = [:json, :jsonapi, :xml]
26
27
  @links_on_demand = false
27
28
  @pagination_links_on_demand = false
29
+ @pagination_links = false
28
30
  @typecast_reads = true
29
31
  self.debug = ENV.fetch('GRAPHITI_DEBUG', true)
30
32
  self.debug_models = ENV.fetch('GRAPHITI_DEBUG_MODELS', false)
@@ -34,7 +34,7 @@ module Graphiti
34
34
  if Graphiti.config.pagination_links_on_demand
35
35
  [true, 'true'].include?(@params[:pagination_links])
36
36
  else
37
- true
37
+ Graphiti.config.pagination_links
38
38
  end
39
39
  end
40
40
 
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.0.rc.10"
2
+ VERSION = "1.0.rc.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.rc.10
4
+ version: 1.0.rc.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond