graphiti 1.5.0 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/graphiti/adapters/abstract.rb +1 -1
- data/lib/graphiti/adapters/active_record.rb +2 -0
- data/lib/graphiti/sideload/polymorphic_belongs_to.rb +1 -1
- data/lib/graphiti/version.rb +1 -1
- data/package.json +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c25ef983bb86cc817c3356590667bcfe2065ea195b6004a0803f9ce771c4288
|
4
|
+
data.tar.gz: 9215c114b5d98645104bb56fb8b554ce7cb9def5ce4902deca3a3680cfec7c83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2cebcf9995f633281f34a511e86ea11eb0bf72423839fbe0f0796ab65ad3e3d67e29880c55987cb2f3e0d8027e19a0b0ea070cd518a29320b3031bca51a5c50
|
7
|
+
data.tar.gz: 579ed54aa1cc674244431c2e52f1f24e7e832923de473329c7f0286c9be2982185d60357743f248f8ac831414a7151138a0eb85106af05441788a88628ca6839
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
graphiti changelog
|
2
2
|
|
3
|
+
## [1.5.2](https://github.com/graphiti-api/graphiti/compare/v1.5.1...v1.5.2) (2024-03-18)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* Enum should allow the conventionally case-sensitive operators ([#434](https://github.com/graphiti-api/graphiti/issues/434)) ([56d34fd](https://github.com/graphiti-api/graphiti/commit/56d34fd4801bc32c13d64aca880b82b717b2ab81))
|
9
|
+
|
10
|
+
## [1.5.1](https://github.com/graphiti-api/graphiti/compare/v1.5.0...v1.5.1) (2024-03-18)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* polymorphic `on` expects a symbol ([#433](https://github.com/graphiti-api/graphiti/issues/433)) ([4e58702](https://github.com/graphiti-api/graphiti/commit/4e587021265323bd0b170b57e9c7aecaa7f826d7))
|
16
|
+
|
3
17
|
# [1.5.0](https://github.com/graphiti-api/graphiti/compare/v1.4.0...v1.5.0) (2024-03-18)
|
4
18
|
|
5
19
|
|
@@ -26,6 +26,7 @@ module Graphiti
|
|
26
26
|
alias_method :filter_boolean_eq, :filter_eq
|
27
27
|
alias_method :filter_uuid_eq, :filter_eq
|
28
28
|
alias_method :filter_enum_eq, :filter_eq
|
29
|
+
alias_method :filter_enum_eql, :filter_eq
|
29
30
|
|
30
31
|
def filter_not_eq(scope, attribute, value)
|
31
32
|
scope.where.not(attribute => value)
|
@@ -37,6 +38,7 @@ module Graphiti
|
|
37
38
|
alias_method :filter_boolean_not_eq, :filter_not_eq
|
38
39
|
alias_method :filter_uuid_not_eq, :filter_not_eq
|
39
40
|
alias_method :filter_enum_not_eq, :filter_not_eq
|
41
|
+
alias_method :filter_enum_not_eql, :filter_not_eq
|
40
42
|
|
41
43
|
def filter_string_eq(scope, attribute, value, is_not: false)
|
42
44
|
column = column_for(scope, attribute)
|
data/lib/graphiti/version.rb
CHANGED
data/package.json
CHANGED
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphiti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2024-03-18 00:00:00.000000000 Z
|
@@ -204,7 +204,7 @@ dependencies:
|
|
204
204
|
- - '='
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: 1.0.beta.4
|
207
|
-
description:
|
207
|
+
description:
|
208
208
|
email:
|
209
209
|
- richmolj@gmail.com
|
210
210
|
executables:
|
@@ -345,7 +345,7 @@ homepage: https://github.com/graphiti-api/graphiti
|
|
345
345
|
licenses:
|
346
346
|
- MIT
|
347
347
|
metadata: {}
|
348
|
-
post_install_message:
|
348
|
+
post_install_message:
|
349
349
|
rdoc_options: []
|
350
350
|
require_paths:
|
351
351
|
- lib
|
@@ -360,8 +360,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
360
360
|
- !ruby/object:Gem::Version
|
361
361
|
version: '0'
|
362
362
|
requirements: []
|
363
|
-
rubygems_version: 3.3.
|
364
|
-
signing_key:
|
363
|
+
rubygems_version: 3.3.26
|
364
|
+
signing_key:
|
365
365
|
specification_version: 4
|
366
366
|
summary: Easily build jsonapi.org-compatible APIs
|
367
367
|
test_files: []
|