graphql-hive 0.6.3 → 0.6.4

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: 2cf410f1800f75af985d27140faf45c5f4eca2e7e6bca1fb3d3a05e8e314b67b
4
- data.tar.gz: e8ae997467fd04277bc8214a5bb1762434479590597c7382b288a76de5aaccae
3
+ metadata.gz: fdf8bbcc4676ce4b0cebd4c2deb071fe065cda4d325e9c1cafb4b6781dfb2651
4
+ data.tar.gz: 5eee4c6d212c8b5461ac20fb68ccb35236e3e2f31c446faad1dd8e99980e6e71
5
5
  SHA512:
6
- metadata.gz: bb40cea5888f1c421a0d2350918e8bd912fc68a51866d9c8a98fb72ed01a7e34a5178492ad83a36578bf944060620eaa1c5e5e655fa991e65cdc7291ff7e8fb6
7
- data.tar.gz: e6a9163d636050151fe3ba9d72e530ad9e0dd2cb8686779fb408f6b57b58cb62d606ea4fc38e19c98036520dda0663000f1f86e5411b3fe46985d4c6f7802a4a
6
+ metadata.gz: 640103e353f961efe91e91ce005089670fa7ac1df9bbec11f78b1a8e51a2b9528977519e9281e91e8a6778309d8033ac3d043fdcc93aad375a58a8aee2d9bbbc
7
+ data.tar.gz: b8ffc2808008d65f1295b8ff4c2c3198f051808e2bd4b53cc3919d895782d124c29ad0a763079e9a34095a7e9cdbf3bcde7048da39fa0210c83863fb7fbdf882
@@ -0,0 +1 @@
1
+ * @wealthsimple-community/oss-maintainers-graphql-ruby-hive @wealthsimple-community/oss-admins
@@ -1,10 +1,6 @@
1
1
  version: 2
2
2
  updates:
3
3
  - package-ecosystem: bundler
4
- registries:
5
- - rubygems-public-reposerver
6
- - rubygems-internal-reposerver
7
- - rubygems-sidekiq-reposerver
8
4
  directories:
9
5
  - /
10
6
  schedule:
@@ -18,7 +14,6 @@ updates:
18
14
  separator: '-'
19
15
  open-pull-requests-limit: 10
20
16
  rebase-strategy: disabled
21
- insecure-external-code-execution: allow
22
17
  groups:
23
18
  development-dependencies:
24
19
  dependency-type: 'development'
@@ -30,19 +25,3 @@ updates:
30
25
  update-types:
31
26
  - 'patch'
32
27
  - 'minor'
33
- registries:
34
- rubygems-public-reposerver:
35
- type: rubygems-server
36
- url: https://reposerver.w10external.com/repository/gems
37
- username: ${{ secrets.REPOSERVER_CI_READ_USERNAME }}
38
- password: ${{ secrets.REPOSERVER_CI_READ_PASSWORD }}
39
- rubygems-internal-reposerver:
40
- type: rubygems-server
41
- url: https://reposerver.w10external.com/repository/gems-internal
42
- username: ${{ secrets.REPOSERVER_CI_READ_USERNAME }}
43
- password: ${{ secrets.REPOSERVER_CI_READ_PASSWORD }}
44
- rubygems-sidekiq-reposerver:
45
- type: rubygems-server
46
- url: https://reposerver.w10external.com/repository/gems-sidekiq
47
- username: ${{ secrets.REPOSERVER_CI_READ_USERNAME }}
48
- password: ${{ secrets.REPOSERVER_CI_READ_PASSWORD }}
@@ -1,31 +1,39 @@
1
1
  name: CI
2
+
2
3
  on:
3
4
  push:
4
5
  branches:
5
- - master
6
+ - main
6
7
  pull_request:
7
8
  branches:
8
- - master
9
+ - main
9
10
 
10
11
  jobs:
11
- standard:
12
+ lint:
12
13
  runs-on: ubuntu-latest
13
14
  steps:
15
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16
+
17
+ - uses: ruby/setup-ruby@89f90524b88a01fe6e0b732220432cc6142926af # v1.313.0
18
+ with:
19
+ bundler-cache: true
20
+
14
21
  - name: Standard Ruby
15
- uses: standardrb/standard-ruby-action@v1
22
+ run: bundle exec standardrb --format github
23
+
16
24
  test:
17
25
  strategy:
18
26
  fail-fast: false
19
27
  matrix:
20
28
  ruby-version:
21
- - "3.1"
22
- - "3.2"
23
29
  - "3.3"
30
+ - "3.4"
31
+ - "4.0"
24
32
  runs-on: ubuntu-latest
25
33
  steps:
26
- - uses: actions/checkout@v4
34
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27
35
 
28
- - uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
36
+ - uses: ruby/setup-ruby@89f90524b88a01fe6e0b732220432cc6142926af # v1.313.0
29
37
  with:
30
38
  ruby-version: ${{ matrix.ruby-version }}
31
39
  bundler-cache: true
@@ -0,0 +1,23 @@
1
+ name: CodeQL
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+ schedule:
9
+ - cron: '30 4 * * 1' # weekly, Monday 04:30 UTC
10
+
11
+ permissions:
12
+ contents: read
13
+ security-events: write
14
+
15
+ jobs:
16
+ codeql:
17
+ permissions:
18
+ contents: read
19
+ security-events: write
20
+ actions: read
21
+ uses: wealthsimple-community/.github/.github/workflows/codeql.yml@main
22
+ with:
23
+ languages: '["ruby"]'
@@ -0,0 +1,14 @@
1
+ name: Lint PR Title
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, edited, reopened, synchronize]
6
+
7
+ permissions:
8
+ pull-requests: read
9
+
10
+ jobs:
11
+ lint-pr-title:
12
+ permissions:
13
+ pull-requests: read
14
+ uses: wealthsimple-community/.github/.github/workflows/lint-pr-title.yml@main
@@ -0,0 +1,54 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ permissions:
9
+ contents: write
10
+ pull-requests: write
11
+ id-token: write
12
+
13
+ concurrency:
14
+ group: release-${{ github.ref }}
15
+ cancel-in-progress: false
16
+
17
+ jobs:
18
+ release-please:
19
+ runs-on: ubuntu-latest
20
+ outputs:
21
+ releases_created: ${{ steps.release.outputs.releases_created }}
22
+ tag_name: ${{ steps.release.outputs.tag_name }}
23
+ steps:
24
+ - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
25
+ id: release
26
+
27
+ publish:
28
+ needs: release-please
29
+ if: needs.release-please.outputs.releases_created == 'true'
30
+ runs-on: ubuntu-latest
31
+ environment: release
32
+ permissions:
33
+ contents: read
34
+ id-token: write
35
+ attestations: write
36
+ steps:
37
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38
+ with:
39
+ ref: ${{ needs.release-please.outputs.tag_name }}
40
+ persist-credentials: false
41
+
42
+ - uses: ruby/setup-ruby@89f90524b88a01fe6e0b732220432cc6142926af # v1.313.0
43
+ with:
44
+ bundler-cache: true
45
+
46
+ - name: Build gem
47
+ run: gem build graphql-hive.gemspec
48
+
49
+ - name: Generate GitHub build provenance attestation
50
+ uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2.4.0
51
+ with:
52
+ subject-path: "*.gem"
53
+
54
+ - uses: rubygems/release-gem@052cc82692552de3ef2b81fd670e41d13cba8092 # v1.4.0
data/.gitignore CHANGED
@@ -1,3 +1,5 @@
1
+ .DS_Store
2
+
1
3
  /.bundle/
2
4
  /.yardoc
3
5
  /_yardoc/
@@ -10,10 +12,3 @@
10
12
  # rspec failure tracking
11
13
  .rspec_status
12
14
  *.gem
13
- k6/node_modules/
14
-
15
- # IDEs
16
- .idea
17
-
18
- # k6
19
- node_modules
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.6.4"
3
+ }
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.5
1
+ 3.4.9
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
3
+ ## [0.6.4](https://github.com/wealthsimple-community/graphql-ruby-hive/compare/v0.6.3...v0.6.4) (2026-08-17)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **gemspec:** raise required_ruby_version to 2.7.0 ([#4](https://github.com/wealthsimple-community/graphql-ruby-hive/issues/4)) ([e85343b](https://github.com/wealthsimple-community/graphql-ruby-hive/commit/e85343b8870fcdde4fcdc1f5594c9ac209916641))
9
+ * **release:** stop expecting component-prefixed release tags ([#3](https://github.com/wealthsimple-community/graphql-ruby-hive/issues/3)) ([bd8d30f](https://github.com/wealthsimple-community/graphql-ruby-hive/commit/bd8d30f703f6fe67bb67349871a8f10f1bec59e7))
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,29 @@
1
+ # Contributing
2
+
3
+ ## Development
4
+
5
+ ```
6
+ bundle install
7
+ bundle exec rake spec
8
+ bundle exec rubocop
9
+ ```
10
+
11
+ ## Commit messages
12
+
13
+ This repo uses [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`,
14
+ `chore:`, etc.) for PR titles. [release-please](https://github.com/googleapis/release-please)
15
+ parses these to determine the next version and generate `CHANGELOG.md`, so PR titles matter more
16
+ than individual commit messages on branches merged via squash.
17
+
18
+ ## Releasing
19
+
20
+ Releases are automated:
21
+
22
+ 1. Merging a PR to `main` triggers [release-please](https://github.com/googleapis/release-please),
23
+ which opens or updates a "release PR" bumping `lib/graphql-hive/version.rb` and `CHANGELOG.md`
24
+ based on Conventional Commits merged since the last release.
25
+ 2. Merging that release PR creates a git tag and GitHub Release, which triggers the `publish` job
26
+ in [`.github/workflows/release.yml`](.github/workflows/release.yml) to build and push the gem to
27
+ [RubyGems.org](https://rubygems.org/gems/graphql-hive) via OIDC trusted publishing.
28
+
29
+ No manual `gem push` or version bump is needed — don't edit `version.rb` by hand.
data/Gemfile CHANGED
@@ -9,7 +9,9 @@ gemspec
9
9
 
10
10
  group :development do
11
11
  gem "bundler", "~> 2"
12
+ gem "cgi"
12
13
  gem "debug", ">= 1.0.0"
14
+ gem "ostruct"
13
15
  gem "rack-test", "~> 2"
14
16
  gem "rake", "~> 13"
15
17
  gem "rspec", "~> 3"
data/Gemfile.lock CHANGED
@@ -1,17 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql-hive (0.6.3)
4
+ graphql-hive (0.6.4)
5
5
  graphql (>= 2.4.12, < 3)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.8.7)
11
- public_suffix (>= 2.0.2, < 7.0)
10
+ addressable (2.9.0)
11
+ public_suffix (>= 2.0.2, < 8.0)
12
12
  ast (2.4.2)
13
- base64 (0.2.0)
13
+ base64 (0.3.0)
14
14
  bigdecimal (3.1.8)
15
+ cgi (0.5.2)
15
16
  crack (1.0.0)
16
17
  bigdecimal
17
18
  rexml
@@ -20,7 +21,7 @@ GEM
20
21
  reline (>= 0.3.8)
21
22
  diff-lcs (1.5.1)
22
23
  fiber-storage (1.0.0)
23
- graphql (2.4.14)
24
+ graphql (2.4.18)
24
25
  base64
25
26
  fiber-storage
26
27
  logger
@@ -32,18 +33,19 @@ GEM
32
33
  json (2.7.2)
33
34
  language_server-protocol (3.17.0.3)
34
35
  lint_roller (1.1.0)
35
- logger (1.6.6)
36
+ logger (1.7.0)
36
37
  mustermann (2.0.2)
37
38
  ruby2_keywords (~> 0.0.1)
39
+ ostruct (0.6.3)
38
40
  parallel (1.26.3)
39
41
  parser (3.3.5.0)
40
42
  ast (~> 2.4.1)
41
43
  racc
42
44
  psych (5.1.2)
43
45
  stringio
44
- public_suffix (6.0.1)
46
+ public_suffix (5.1.1)
45
47
  racc (1.8.1)
46
- rack (2.2.10)
48
+ rack (2.2.23)
47
49
  rack-protection (2.2.4)
48
50
  rack
49
51
  rack-test (2.1.0)
@@ -55,7 +57,7 @@ GEM
55
57
  regexp_parser (2.9.2)
56
58
  reline (0.5.10)
57
59
  io-console (~> 0.5)
58
- rexml (3.3.8)
60
+ rexml (3.4.2)
59
61
  rspec (3.13.0)
60
62
  rspec-core (~> 3.13.0)
61
63
  rspec-expectations (~> 3.13.0)
@@ -122,8 +124,10 @@ PLATFORMS
122
124
 
123
125
  DEPENDENCIES
124
126
  bundler (~> 2)
127
+ cgi
125
128
  debug (>= 1.0.0)
126
129
  graphql-hive!
130
+ ostruct
127
131
  rack-test (~> 2)
128
132
  rake (~> 13)
129
133
  rspec (~> 3)
data/LICENSE CHANGED
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Charly POLY
3
+ Copyright (c) 2022 Charly Poly
4
+ Copyright (c) 2022-2026 Wealthsimple Technologies Inc.
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
data/NOTICE ADDED
@@ -0,0 +1,6 @@
1
+ graphql-ruby-hive
2
+ Copyright (c) 2022 Charly Poly
3
+ Copyright (c) 2022-2026 Wealthsimple Technologies Inc.
4
+
5
+ Originally authored by Charly Poly in 2022. Maintained by Wealthsimple
6
+ Technologies Inc. since 2022. Published in coordination with The Guild.
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # GraphQL Hive: `graphql-ruby` integration
2
- [![CI Suite](https://github.com/charlypoly/graphql-ruby-hive/actions/workflows/ci.yml/badge.svg)](https://github.com/charlypoly/graphql-ruby-hive/actions)
2
+ [![CI Suite](https://github.com/wealthsimple-community/graphql-ruby-hive/actions/workflows/ci.yml/badge.svg)](https://github.com/wealthsimple-community/graphql-ruby-hive/actions)
3
3
  [![Gem Version](https://badge.fury.io/rb/graphql-hive.svg)](https://rubygems.org/gems/graphql-hive)
4
4
 
5
5
  <p align="center">
@@ -214,7 +214,7 @@ class MySchema < GraphQL::Schema
214
214
  end
215
215
  ```
216
216
 
217
- See default options for the optional parameters [here](https://github.com/rperryng/graphql-ruby-hive/blob/master/lib/graphql-hive.rb#L31-L41).
217
+ See default options for the optional parameters [here](https://github.com/wealthsimple-community/graphql-ruby-hive/blob/master/lib/graphql-hive.rb#L32-L46).
218
218
 
219
219
  <br/>
220
220
 
data/graphql-hive.gemspec CHANGED
@@ -7,17 +7,22 @@ require "graphql-hive/version"
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = "graphql-hive"
9
9
  spec.version = Graphql::Hive::VERSION
10
- spec.authors = ["Charly POLY"]
11
- spec.email = ["cpoly55@gmail.com"]
10
+ spec.authors = ["Charly Poly", "Wealthsimple"]
11
+ spec.email = ["foss@wealthsimple.com"]
12
12
 
13
13
  spec.summary = '"GraphQL Hive integration for `graphql-ruby`"'
14
14
  spec.description = '"Monitor operations, inspect your queries and publish your GraphQL schema with GraphQL Hive"'
15
15
  spec.homepage = "https://docs.graphql-hive.com/specs/integrations"
16
16
  spec.license = "MIT"
17
17
 
18
- spec.metadata = {"rubygems_mfa_required" => "true"}
18
+ spec.metadata = {
19
+ "rubygems_mfa_required" => "true",
20
+ "source_code_uri" => "https://github.com/wealthsimple-community/graphql-ruby-hive",
21
+ "changelog_uri" => "https://github.com/wealthsimple-community/graphql-ruby-hive/blob/master/CHANGELOG.md",
22
+ "bug_tracker_uri" => "https://github.com/wealthsimple-community/graphql-ruby-hive/issues"
23
+ }
19
24
 
20
- spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
25
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
21
26
 
22
27
  spec.require_paths = ["lib"]
23
28
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Graphql
4
4
  module Hive
5
- VERSION = "0.6.3"
5
+ VERSION = "0.6.4"
6
6
  end
7
7
  end
@@ -0,0 +1,13 @@
1
+ {
2
+ "bootstrap-sha": "d0fcb04b04e867ec57a2d5328a7b3b141e014ce5",
3
+ "include-component-in-tag": false,
4
+ "packages": {
5
+ ".": {
6
+ "release-type": "ruby",
7
+ "package-name": "graphql-hive",
8
+ "version-file": "lib/graphql-hive/version.rb",
9
+ "bump-minor-pre-major": true,
10
+ "bump-patch-for-minor-pre-major": true
11
+ }
12
+ }
13
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-hive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
- - Charly POLY
8
- autorequire:
7
+ - Charly Poly
8
+ - Wealthsimple
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-04 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -33,23 +33,29 @@ dependencies:
33
33
  description: '"Monitor operations, inspect your queries and publish your GraphQL schema
34
34
  with GraphQL Hive"'
35
35
  email:
36
- - cpoly55@gmail.com
36
+ - foss@wealthsimple.com
37
37
  executables: []
38
38
  extensions: []
39
39
  extra_rdoc_files: []
40
40
  files:
41
+ - ".github/CODEOWNERS"
41
42
  - ".github/dependabot.yml"
42
43
  - ".github/workflows/ci.yml"
43
- - ".github/workflows/guardrails.yml"
44
+ - ".github/workflows/codeql.yml"
45
+ - ".github/workflows/lint-pr-title.yml"
46
+ - ".github/workflows/release.yml"
44
47
  - ".gitignore"
48
+ - ".release-please-manifest.json"
45
49
  - ".rspec"
46
50
  - ".rubocop.yml"
47
51
  - ".ruby-version"
52
+ - CHANGELOG.md
53
+ - CONTRIBUTING.md
48
54
  - Gemfile
49
55
  - Gemfile.lock
50
56
  - LICENSE
57
+ - NOTICE
51
58
  - README.md
52
- - RELEASING.md
53
59
  - Rakefile
54
60
  - cover.png
55
61
  - graphql-hive.gemspec
@@ -64,12 +70,15 @@ files:
64
70
  - lib/graphql-hive/usage_reporter.rb
65
71
  - lib/graphql-hive/version.rb
66
72
  - operations-dashboard.png
73
+ - release-please-config.json
67
74
  homepage: https://docs.graphql-hive.com/specs/integrations
68
75
  licenses:
69
76
  - MIT
70
77
  metadata:
71
78
  rubygems_mfa_required: 'true'
72
- post_install_message:
79
+ source_code_uri: https://github.com/wealthsimple-community/graphql-ruby-hive
80
+ changelog_uri: https://github.com/wealthsimple-community/graphql-ruby-hive/blob/master/CHANGELOG.md
81
+ bug_tracker_uri: https://github.com/wealthsimple-community/graphql-ruby-hive/issues
73
82
  rdoc_options: []
74
83
  require_paths:
75
84
  - lib
@@ -77,15 +86,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
86
  requirements:
78
87
  - - ">="
79
88
  - !ruby/object:Gem::Version
80
- version: 2.6.0
89
+ version: 2.7.0
81
90
  required_rubygems_version: !ruby/object:Gem::Requirement
82
91
  requirements:
83
92
  - - ">="
84
93
  - !ruby/object:Gem::Version
85
94
  version: '0'
86
95
  requirements: []
87
- rubygems_version: 3.5.16
88
- signing_key:
96
+ rubygems_version: 3.6.9
89
97
  specification_version: 4
90
98
  summary: '"GraphQL Hive integration for `graphql-ruby`"'
91
99
  test_files: []
@@ -1,15 +0,0 @@
1
- name: Guardrails
2
- on:
3
- workflow_dispatch:
4
- merge_group:
5
- pull_request:
6
- types:
7
- - edited
8
- - synchronize
9
- - opened
10
- - reopened
11
-
12
- jobs:
13
- run_guardrails:
14
- uses: wealthsimple/github-workflows/.github/workflows/guardrails.yml@v1
15
- secrets: inherit
data/RELEASING.md DELETED
@@ -1,10 +0,0 @@
1
- ## Releasing `graphql-hive` on RubyGems
2
-
3
-
4
- 1. Ensure dependencies are properly installed: `bundle`
5
- 1. Ensure the is working as expected: `bundle exec rspec`
6
- 1. **Make sure to manually bump the version in `lib/graphql-hive/version.rb`**
7
- 1. Build the gem: `gem build graphql-hive`
8
- 1. A new file should have been created, ex: `graphql-hive-0.3.0.gem`
9
- 1. Then, login to RubyGems: `gem login`
10
- 1. And publish the new version: `gem push <path_to_gem_file>` (ex: `gem push graphql-hive-0.3.0.gem`)