graphql-filters 1.0.1 → 1.0.2

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: 1ea0487a315eba7379064803399873439f3c0f8d4f4834a036018d393b85338a
4
- data.tar.gz: 0c304de0494022456ea6cd65b893390c0b57ea6033852c8b676af92d7d5f1ad2
3
+ metadata.gz: 9344189bc4ae82f67f66db0a205d932500cdf8f318588e6129a64bd2374fbbac
4
+ data.tar.gz: d9e10df965526be218a0459234e7f79bb7626859d5f29af61ed1502559444ae5
5
5
  SHA512:
6
- metadata.gz: 77cdc50f80b142628f1b66ba80ac6db8c5d9f86f477f5ec9ebff3ede53b0ad3bba58cb850774c7f9573e964a172aef35f532dc3880efa73631fed897222dd6ce
7
- data.tar.gz: bed2892de9d4ce4c7c5a3e0c5c121624eac2a56d1870e879b45048af57e07a36acc34771936056e806baf629b2b4132149e059ab427d9c70931cd52ecbaaa4a7
6
+ metadata.gz: f51fe336718070181df965eaab2c072cba21bd596d50c3faff28c342fdfe193996f8f3599d7a53c9940bedd8e327f5098d3abccc28b19c5e2ac8376b4d0aebca
7
+ data.tar.gz: 987109d5d12d53ebce9d9811f6d392a23bd23104443098ac56e9a19e428c2e725110845b120bd6d81e65a0b3cff104cbf7c25648af63a211fe4704beb7f0b573
data/CHANGELOG.md CHANGED
@@ -1,12 +1,18 @@
1
1
  # Changelog
2
2
 
3
- [//]: # (
3
+ <!--[//]: # (
4
4
  ## <Release number> <Date YYYY-MM-DD>
5
5
  ### Breaking changes
6
6
  ### Deprecations
7
7
  ### New features
8
8
  ### Bug fixes
9
- )
9
+ )-->
10
+
11
+ ## 1.0.2 2023-07-24
12
+
13
+ ### Bug fixes
14
+
15
+ - Fixed constant false conditions
10
16
 
11
17
  ## 1.0.1 2023-03-15
12
18
 
@@ -19,7 +19,7 @@ module GraphQL
19
19
  if value
20
20
  scope.all
21
21
  else
22
- scope.where false
22
+ scope.none
23
23
  end
24
24
  }
25
25
  }
@@ -17,7 +17,7 @@ module GraphQL
17
17
  if value
18
18
  scope.all
19
19
  else
20
- scope.where false
20
+ scope.none
21
21
  end
22
22
  }
23
23
  }
@@ -26,7 +26,7 @@ module GraphQL
26
26
  if value
27
27
  scope.all
28
28
  else
29
- scope.where false
29
+ scope.none
30
30
  end
31
31
  }
32
32
  }
@@ -1,5 +1,5 @@
1
1
  module GraphQL
2
2
  module Filters
3
- VERSION = '1.0.1'
3
+ VERSION = '1.0.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-filters
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moku S.r.l.
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-03-15 00:00:00.000000000 Z
12
+ date: 2023-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -64,7 +64,6 @@ files:
64
64
  - ".rubocop.yml"
65
65
  - CHANGELOG.md
66
66
  - Gemfile
67
- - Gemfile.lock
68
67
  - LICENSE
69
68
  - README.md
70
69
  - Rakefile
@@ -103,7 +102,7 @@ licenses:
103
102
  metadata:
104
103
  homepage_uri: https://github.com/moku-io/graphql-filters
105
104
  source_code_uri: https://github.com/moku-io/graphql-filters
106
- changelog_uri: https://github.com/moku-io/graphql-filters
105
+ changelog_uri: https://github.com/moku-io/graphql-filters/blob/master/CHANGELOG.md
107
106
  post_install_message:
108
107
  rdoc_options: []
109
108
  require_paths:
@@ -119,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
118
  - !ruby/object:Gem::Version
120
119
  version: '0'
121
120
  requirements: []
122
- rubygems_version: 3.3.3
121
+ rubygems_version: 3.4.6
123
122
  signing_key:
124
123
  specification_version: 4
125
124
  summary: Provide a fully typed interface to filter lists in a GraphQL API.
data/Gemfile.lock DELETED
@@ -1,77 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- graphql-filters (1.0.1)
5
- activerecord (~> 7.0.0)
6
- activesupport (~> 7.0.0)
7
- graphql (~> 2.0.0)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activemodel (7.0.4.2)
13
- activesupport (= 7.0.4.2)
14
- activerecord (7.0.4.2)
15
- activemodel (= 7.0.4.2)
16
- activesupport (= 7.0.4.2)
17
- activesupport (7.0.4.2)
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
- i18n (>= 1.6, < 2)
20
- minitest (>= 5.1)
21
- tzinfo (~> 2.0)
22
- ast (2.4.2)
23
- concurrent-ruby (1.2.2)
24
- diff-lcs (1.5.0)
25
- graphql (2.0.17)
26
- i18n (1.12.0)
27
- concurrent-ruby (~> 1.0)
28
- json (2.6.3)
29
- minitest (5.18.0)
30
- parallel (1.22.1)
31
- parser (3.2.0.0)
32
- ast (~> 2.4.1)
33
- rainbow (3.1.1)
34
- rake (13.0.6)
35
- regexp_parser (2.6.2)
36
- rexml (3.2.5)
37
- rspec (3.12.0)
38
- rspec-core (~> 3.12.0)
39
- rspec-expectations (~> 3.12.0)
40
- rspec-mocks (~> 3.12.0)
41
- rspec-core (3.12.0)
42
- rspec-support (~> 3.12.0)
43
- rspec-expectations (3.12.2)
44
- diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.12.0)
46
- rspec-mocks (3.12.3)
47
- diff-lcs (>= 1.2.0, < 2.0)
48
- rspec-support (~> 3.12.0)
49
- rspec-support (3.12.0)
50
- rubocop (1.44.1)
51
- json (~> 2.3)
52
- parallel (~> 1.10)
53
- parser (>= 3.2.0.0)
54
- rainbow (>= 2.2.2, < 4.0)
55
- regexp_parser (>= 1.8, < 3.0)
56
- rexml (>= 3.2.5, < 4.0)
57
- rubocop-ast (>= 1.24.1, < 2.0)
58
- ruby-progressbar (~> 1.7)
59
- unicode-display_width (>= 2.4.0, < 3.0)
60
- rubocop-ast (1.24.1)
61
- parser (>= 3.1.1.0)
62
- ruby-progressbar (1.11.0)
63
- tzinfo (2.0.6)
64
- concurrent-ruby (~> 1.0)
65
- unicode-display_width (2.4.2)
66
-
67
- PLATFORMS
68
- arm64-darwin-22
69
-
70
- DEPENDENCIES
71
- graphql-filters!
72
- rake (~> 13.0)
73
- rspec (~> 3.0)
74
- rubocop (~> 1.21)
75
-
76
- BUNDLED WITH
77
- 2.3.9