graphql_devise 0.13.4 → 0.13.5

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: c9dba7aa9a87c5c0953373fd59cb4648d066925ddf65220efeed6e3228cc72af
4
- data.tar.gz: d2b5adb287e426bfed8d222301673123740e5495216c5ee1f6fb14e6aeb549f7
3
+ metadata.gz: 005b85ca3899cb7b69c3505680be677fa935f80b3d63480fbf65d7f116775efa
4
+ data.tar.gz: 8473a4ff5404ec543f57c9d95ad2844a039ba691865ca2d8fbea15a197f6d9b7
5
5
  SHA512:
6
- metadata.gz: 588b3fda6584de9db52e2a4b060c7ccd1915200e9711ca5b99046002daa47ecc0182aa4c392057a82883075a199adc89038a1ff7e0586c0b112af913f19cdf97
7
- data.tar.gz: 6c6ffe1608ebc5eb18d1d3d000b2c4dc55ffc8cefd24f58f3078f307d2ebd4b9c8d32b213dadb589861c1c5d00f4d49dd96f97ac41941443ad1b25644b31cd73
6
+ metadata.gz: 1accf0a12781a9b53b0f17f25226c3cd8fb8e31e26e435ce1040a132f83f508e06532c202a3789a90dcb0fd54dd10e72d047c5da1b431bb8d1147c319abc4870
7
+ data.tar.gz: 4d5649f9f7d724cfbd6fc8a06e5acf2e0a3196d5f6ef7e8f4d5a569f39ae9978fc3ab6a956c110a19a7c8783b753e61f40aac9b8dcc77100b52ce14b3f6bff1b
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.13.5](https://github.com/graphql-devise/graphql_devise/tree/v0.13.5) (2020-11-20)
4
+
5
+ [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.13.4...v0.13.5)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Fixes connection\_config deprecation warning [\#135](https://github.com/graphql-devise/graphql_devise/pull/135) ([artplan1](https://github.com/artplan1))
10
+
3
11
  ## [v0.13.4](https://github.com/graphql-devise/graphql_devise/tree/v0.13.4) (2020-08-15)
4
12
 
5
13
  [Full Changelog](https://github.com/graphql-devise/graphql_devise/compare/v0.13.3...v0.13.4)
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # GraphqlDevise
2
- [![Build Status](https://travis-ci.org/graphql-devise/graphql_devise.svg?branch=master)](https://travis-ci.org/graphql-devise/graphql_devise)
2
+ [![Build Status](https://travis-ci.com/graphql-devise/graphql_devise.svg?branch=master)](https://travis-ci.com/graphql-devise/graphql_devise)
3
3
  [![Coverage Status](https://coveralls.io/repos/github/graphql-devise/graphql_devise/badge.svg?branch=master)](https://coveralls.io/github/graphql-devise/graphql_devise?branch=master)
4
4
  [![Gem Version](https://badge.fury.io/rb/graphql_devise.svg)](https://badge.fury.io/rb/graphql_devise)
5
5
 
@@ -47,7 +47,8 @@ GraphQL interface on top of the [Devise Token Auth](https://github.com/lynndylan
47
47
  <!--te-->
48
48
 
49
49
  ## Introduction
50
- Graphql-Devise heavily relies on two gems:
50
+ Graphql-Devise heavily relies on 3 gems:
51
+ - [GraphQL Ruby](https://github.com/rmosolgo/graphql-ruby)
51
52
  - [Devise Token Auth](https://github.com/lynndylanhurley/devise_token_auth) (DTA)
52
53
  - [Devise](https://github.com/heartcombo/devise) (which is a DTA dependency)
53
54
 
@@ -107,7 +108,7 @@ and `api/auth` could be any mount path you would like to use for auth.
107
108
  - Avoid passing the `--mount` option or the gem will try to use an existing schema.
108
109
 
109
110
  #### Mounting Operations in Your Own Schema (> v0.12.0)
110
- To configure the gem to use your own GQL schema use the `--mount` option.
111
+ To configure the gem to use your own GQL schema use the `--mount` option.
111
112
  For instance the executing:
112
113
 
113
114
  ```bash
@@ -90,7 +90,7 @@ module GraphqlDevise
90
90
  end
91
91
 
92
92
  def find_resource(field, value)
93
- if resource_class.try(:connection_config).try(:[], :adapter).try(:include?, 'mysql')
93
+ if resource_class.connection.adapter_name.downcase.include?('mysql')
94
94
  # fix for mysql default case insensitivity
95
95
  resource_class.where("BINARY #{field} = ? AND provider= ?", value, provider).first
96
96
  elsif Gem::Version.new(DeviseTokenAuth::VERSION) < Gem::Version.new('1.1.0')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlDevise
4
- VERSION = '0.13.4'.freeze
4
+ VERSION = '0.13.5'.freeze
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql_devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.4
4
+ version: 0.13.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Celi
8
8
  - David Revelo
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-08-16 00:00:00.000000000 Z
12
+ date: 2020-11-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: devise_token_auth
@@ -476,7 +476,7 @@ licenses:
476
476
  metadata:
477
477
  homepage_uri: https://github.com/graphql-devise/graphql_devise
478
478
  source_code_uri: https://github.com/graphql-devise/graphql_devise
479
- post_install_message:
479
+ post_install_message:
480
480
  rdoc_options: []
481
481
  require_paths:
482
482
  - lib
@@ -491,8 +491,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
491
491
  - !ruby/object:Gem::Version
492
492
  version: '0'
493
493
  requirements: []
494
- rubygems_version: 3.1.4
495
- signing_key:
494
+ rubygems_version: 3.0.8
495
+ signing_key:
496
496
  specification_version: 4
497
497
  summary: GraphQL queries and mutations on top of devise_token_auth
498
498
  test_files: