gql_serializer 3.0.0 → 3.0.1

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: 0e27739d5858d27d3fb4612bc5b97a6a1d7e4eaea9f666ced6a81e51753e5af5
4
- data.tar.gz: 5fcc7087d793cf6cfa0392df2beaf49059911a3f0fd19e27fddb260e8230344b
3
+ metadata.gz: b04f7b52a385c2deb726e1449dec990107e7030c2cd9dd3bee7df90e82a23369
4
+ data.tar.gz: 61119b12d003535f652e2e7bded7318c4d6ffcfc9478a9f68f17b19675a528f9
5
5
  SHA512:
6
- metadata.gz: 4fd5a3325d8364905a41dc53f30eb7ffb9927d8fb41fb2d47e162b874f2fd06d350e8d6c0c78c62a7457a8917118cae296aca71a5688074d6e73a179cabecd90
7
- data.tar.gz: dc9ac05c8db44c7e0edb0a7c558fceb2e1363362196391071fc77846502b4633ac8042cc73dd8e011168d595e08fd71aaee830bab69ae2a90e140886e4543cbb
6
+ metadata.gz: 63eb3361a7d64b0c41ed45296e2db79a1447386665101bd1b0757734c97702475320923a0356afc8c379ca4c93459a21fcf0158aedbe08e2167bedb0baae3ba7
7
+ data.tar.gz: f4e88b31cfc4496aab946670f507c853b6a3a1fd102efd0aaab9842ddfae51ae30e494cc15253ff1a3f47f87af13e0fd6227f4859efb0bc422245056a2b6d477
@@ -1,33 +1,39 @@
1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
- # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
- # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
-
8
- name: Ruby
9
-
10
- on:
11
- push:
12
- branches: [ master ]
13
- pull_request:
14
- branches: [ master ]
15
-
16
- jobs:
17
- test:
18
-
19
- runs-on: ubuntu-latest
20
-
21
- steps:
22
- - uses: actions/checkout@v2
23
- - name: Set up Ruby
24
- # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
25
- # change this to (see https://github.com/ruby/setup-ruby#versioning):
26
- # uses: ruby/setup-ruby@v1
27
- uses: ruby/setup-ruby@21351ecc0a7c196081abca5dc55b08f085efe09a
28
- with:
29
- ruby-version: 2.7
30
- - name: Install dependencies
31
- run: bundle install
32
- - name: Run tests
33
- run: rspec
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: [ "master" ]
13
+ pull_request:
14
+ branches: [ "master" ]
15
+
16
+ permissions:
17
+ contents: read
18
+
19
+ jobs:
20
+ test:
21
+
22
+ runs-on: ubuntu-latest
23
+ strategy:
24
+ matrix:
25
+ ruby-version: ['3.2.2']
26
+
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+ - name: Set up Ruby
30
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
31
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
32
+ # uses: ruby/setup-ruby@v1
33
+ uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
34
+ with:
35
+ ruby-version: ${{ matrix.ruby-version }}
36
+ - name: Bundle install
37
+ run: bundle install
38
+ - name: Run tests
39
+ run: bundle exec rake
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gql_serializer (3.0.0.pre.rc)
5
- activerecord (>= 7.0, < 8.1)
4
+ gql_serializer (3.0.1)
5
+ activerecord (>= 7.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -169,6 +169,10 @@ end
169
169
 
170
170
  The options for `case` are: `NONE_CASE, CAMEL_CASE, SNAKE_CASE`.
171
171
 
172
+ ## Compatibility
173
+
174
+ The current version of this gem has been tested on Rails version up to 8.0, but likely works with newer versions as well.
175
+
172
176
  ## Development
173
177
 
174
178
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency "pry", "~> 0.15"
33
33
  spec.add_development_dependency "sqlite3", "~> 2.7"
34
34
 
35
- spec.add_runtime_dependency "activerecord", ">= 7.0", "< 8.1"
35
+ spec.add_runtime_dependency "activerecord", ">= 7.0"
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module GqlSerializer
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gql_serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Scullion
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-15 00:00:00.000000000 Z
11
+ date: 2025-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -73,9 +73,6 @@ dependencies:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '7.0'
76
- - - "<"
77
- - !ruby/object:Gem::Version
78
- version: '8.1'
79
76
  type: :runtime
80
77
  prerelease: false
81
78
  version_requirements: !ruby/object:Gem::Requirement
@@ -83,9 +80,6 @@ dependencies:
83
80
  - - ">="
84
81
  - !ruby/object:Gem::Version
85
82
  version: '7.0'
86
- - - "<"
87
- - !ruby/object:Gem::Version
88
- version: '8.1'
89
83
  description: A gem that adds `as_gql` to easily serialize ActiveRecord objects
90
84
  email:
91
85
  - andrewsc32@protonmail.com