jsonapi-query_builder 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e613355258e5be273292baacd4b8c8aecba03b29005212749868412857feb678
4
- data.tar.gz: 46f0f548604944cb9572b90c44a9e3ca5f15e1f8a47985cb588135f8cade2794
3
+ metadata.gz: 3f89df14f0f1eed338eb90d946c537cd6230fdbcd6ae964368b00d534660f1a8
4
+ data.tar.gz: dd5d5e405d2d2742d72e2fa3699acf111b4ee73a8a7eab9fd264469fde6affb0
5
5
  SHA512:
6
- metadata.gz: 58546d6561f997295a4505780acb1ad9ff210bd8f1c1390638283d9af62cb1f4d4e89b69e646a902851a1840590b49ce3480ef42f1fff6861a0b7d92f3f27e80
7
- data.tar.gz: 851a87dab11ee9194318f4fc5ea437d842ae561b2d5e10448adf796050cc0abb866a73c16ddde0e4b5f3d9757b583498344137d11ecdeaa793dc101a285af5f7
6
+ metadata.gz: a0b4d6e6cfadf99f3ba968842d5860f663bd34734992757b59cf7c0c9ce0ecae883775c85d6e98f0fc8c394412ae636c712ccba31440a5eb3bd76372ea69cbd0
7
+ data.tar.gz: e884df70fc9c0e51489b8be4256ed1192757781b003dd53e1e9a317a3b340a6de910d05289c8e3b3fa9869680873e6405367d9c4b2c929ab34d8f664eedb69c8
data/.gitignore CHANGED
@@ -9,5 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
- Gemfile.lock
13
12
  *.gem
@@ -0,0 +1,6 @@
1
+ # Change log
2
+
3
+ ## 0.1.8 (2021-01-25)
4
+
5
+ - [#8](https://github.com/infinum/jsonapi-query_builder/pull/8): add support for ruby 3.0
6
+
@@ -0,0 +1,92 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ jsonapi-query_builder (0.1.8)
5
+ activerecord (>= 5)
6
+ pagy (~> 3.5)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (6.1.1)
12
+ activesupport (= 6.1.1)
13
+ activerecord (6.1.1)
14
+ activemodel (= 6.1.1)
15
+ activesupport (= 6.1.1)
16
+ activesupport (6.1.1)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (>= 1.6, < 2)
19
+ minitest (>= 5.1)
20
+ tzinfo (~> 2.0)
21
+ zeitwerk (~> 2.3)
22
+ ast (2.4.1)
23
+ concurrent-ruby (1.1.7)
24
+ diff-lcs (1.4.4)
25
+ i18n (1.8.7)
26
+ concurrent-ruby (~> 1.0)
27
+ lefthook (0.7.2)
28
+ minitest (5.14.3)
29
+ pagy (3.10.0)
30
+ parallel (1.20.1)
31
+ parser (3.0.0.0)
32
+ ast (~> 2.4.1)
33
+ rainbow (3.0.0)
34
+ rake (13.0.3)
35
+ regexp_parser (2.0.3)
36
+ rexml (3.2.4)
37
+ rspec (3.10.0)
38
+ rspec-core (~> 3.10.0)
39
+ rspec-expectations (~> 3.10.0)
40
+ rspec-mocks (~> 3.10.0)
41
+ rspec-core (3.10.1)
42
+ rspec-support (~> 3.10.0)
43
+ rspec-expectations (3.10.1)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.10.0)
46
+ rspec-mocks (3.10.1)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.10.0)
49
+ rspec-support (3.10.1)
50
+ rubocop (1.7.0)
51
+ parallel (~> 1.10)
52
+ parser (>= 2.7.1.5)
53
+ rainbow (>= 2.2.2, < 4.0)
54
+ regexp_parser (>= 1.8, < 3.0)
55
+ rexml
56
+ rubocop-ast (>= 1.2.0, < 2.0)
57
+ ruby-progressbar (~> 1.7)
58
+ unicode-display_width (>= 1.4.0, < 2.0)
59
+ rubocop-ast (1.4.0)
60
+ parser (>= 2.7.1.5)
61
+ rubocop-performance (1.9.2)
62
+ rubocop (>= 0.90.0, < 2.0)
63
+ rubocop-ast (>= 0.4.0)
64
+ rubocop-rspec (2.1.0)
65
+ rubocop (~> 1.0)
66
+ rubocop-ast (>= 1.1.0)
67
+ ruby-progressbar (1.11.0)
68
+ standard (0.11.0)
69
+ rubocop (= 1.7.0)
70
+ rubocop-performance (= 1.9.2)
71
+ standardrb (1.0.0)
72
+ standard
73
+ tzinfo (2.0.4)
74
+ concurrent-ruby (~> 1.0)
75
+ unicode-display_width (1.7.0)
76
+ zeitwerk (2.4.2)
77
+
78
+ PLATFORMS
79
+ ruby
80
+
81
+ DEPENDENCIES
82
+ bundler (~> 2.0)
83
+ jsonapi-query_builder!
84
+ lefthook
85
+ rake (~> 13.0)
86
+ rspec (~> 3.0)
87
+ rubocop-rspec
88
+ standard
89
+ standardrb
90
+
91
+ BUNDLED WITH
92
+ 2.1.4
data/README.md CHANGED
@@ -165,6 +165,9 @@ filters_by :type, TypeFilter, if: :correct_type?
165
165
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can
166
166
  also run `bin/console` for an interactive prompt that will allow you to experiment.
167
167
 
168
+ We're using `standardrb` and `lefthook`. You can install lefthook hooks via `lefthook install`. It will run linters and
169
+ standardrb checks before commits, and a bundle audit + whole spec suite before push.
170
+
168
171
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the
169
172
  version number in `version.rb`, and then run `LEFTHOOK=0 bundle exec rake release`, which will create a git tag for the
170
173
  version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
37
  spec.require_paths = ["lib"]
38
38
 
39
- spec.required_ruby_version = "~> 2.5"
39
+ spec.required_ruby_version = [">= 2.5", "<= 3.0"]
40
40
 
41
41
  spec.add_runtime_dependency "activerecord", ">= 5"
42
42
  spec.add_runtime_dependency "pagy", "~> 3.5"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jsonapi
4
4
  module QueryBuilder
5
- VERSION = "0.1.7"
5
+ VERSION = "0.1.8"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonapi-query_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jure Cindro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-19 00:00:00.000000000 Z
11
+ date: 2021-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -152,6 +152,7 @@ files:
152
152
  - ".ruby-version"
153
153
  - CHANGELOG.md
154
154
  - Gemfile
155
+ - Gemfile.lock
155
156
  - LICENSE.txt
156
157
  - README.md
157
158
  - Rakefile
@@ -182,9 +183,12 @@ require_paths:
182
183
  - lib
183
184
  required_ruby_version: !ruby/object:Gem::Requirement
184
185
  requirements:
185
- - - "~>"
186
+ - - ">="
186
187
  - !ruby/object:Gem::Version
187
188
  version: '2.5'
189
+ - - "<="
190
+ - !ruby/object:Gem::Version
191
+ version: '3.0'
188
192
  required_rubygems_version: !ruby/object:Gem::Requirement
189
193
  requirements:
190
194
  - - ">="