graphiti_spec_helpers 1.2.0 → 1.2.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: d80a7dede9b7175fe93dadb5423e427702e13859ac0e2720aff2d5e9b66108fc
4
- data.tar.gz: 46d2b838e2e7bcf860230d9445576da82b67217eeaf3c36fc9fe8f7fd75bec01
3
+ metadata.gz: 43dd11cb4400aec41c9a7013c755d24396866d1d62817b127dae4d36475e9606
4
+ data.tar.gz: 2303af152ed9d8fbbf065fa3b4b60fb8d48c69505507649d52c5a090e21a1cf1
5
5
  SHA512:
6
- metadata.gz: 4fa59b61a9154c01644e4cd7511c509707b6b6ba4128282a64598902ef9fb82ee7f6057628d38e9024814e8acb8afde88ea0a1b2f7bc14db0d751eb94aa4fc1a
7
- data.tar.gz: 7b7b9415a22b0672c71d04801c3d4e97e1555edb0b6ce2357ab12a14df22a454d74b1abb3027f529af98f1a873115022f13727ad98fd67688bbf584e79bc547c
6
+ metadata.gz: 469b7d05f8aca9bbb20d4ead66ecc387c983fbbb6e5a877afd3fbe7e3dd44594e5135283ba1968add3ac91f9d8d623206a62280e72b18cea0422d920e07fd6a4
7
+ data.tar.gz: 48ceb92f4b45580be992d41f09e0f173b5bc96524892131a5ba250da3bd9214c9f7c9f9c6b0eaf0a6664c2eb5f96d6b30e6da4c8b3bcd1aff6bb83cd14bf6020
@@ -1,5 +1,14 @@
1
1
  name: Test
2
- on: [ push, pull_request, workflow_dispatch ]
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request: {}
7
+ workflow_dispatch: {}
8
+
9
+ concurrency:
10
+ group: ci-${{ github.head_ref || github.ref }}
11
+ cancel-in-progress: true
3
12
 
4
13
  jobs:
5
14
  test:
@@ -20,7 +29,7 @@ jobs:
20
29
  publish:
21
30
  name: Release
22
31
  runs-on: ubuntu-latest
23
- if: github.ref == 'refs/heads/master'
32
+ if: github.ref == 'refs/heads/main'
24
33
  needs: [test]
25
34
  steps:
26
35
  - name: Dispatch Release
data/CHANGELOG.md ADDED
@@ -0,0 +1,24 @@
1
+ graphiti changelog
2
+
3
+ ## [1.2.1](https://github.com/graphiti-api/graphiti_spec_helpers/compare/v1.2.0...v1.2.1) (2026-08-07)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * cap the graphiti dependency below 2.0 ([99db596](https://github.com/graphiti-api/graphiti_spec_helpers/commit/99db5964c1eb6fef583922c03df5ab951a7c1eb4))
9
+
10
+ # [1.2.0](https://github.com/graphiti-api/graphiti_spec_helpers/compare/v1.1.0...v1.2.0) (2025-03-18)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * allow current_user and params to remain lazy in rspec contexts ([#25](https://github.com/graphiti-api/graphiti_spec_helpers/issues/25)) ([6ce1e07](https://github.com/graphiti-api/graphiti_spec_helpers/commit/6ce1e07bbbcfd8d692d496f2acc6a740ebf9812c))
16
+ * jsonapi_included helper may accept symbol keys ([#20](https://github.com/graphiti-api/graphiti_spec_helpers/issues/20)) ([cc3cb2d](https://github.com/graphiti-api/graphiti_spec_helpers/commit/cc3cb2d2dfacad323ae7107b0392c03ebf12e2eb))
17
+ * require rspec-core as a dependency of the matchers ([0ea2a92](https://github.com/graphiti-api/graphiti_spec_helpers/commit/0ea2a92d9c8f035c45558f79caaf96737959bfef))
18
+
19
+
20
+ ### Features
21
+
22
+ * alias Node#key? to Node#has_key? ([#24](https://github.com/graphiti-api/graphiti_spec_helpers/issues/24)) ([202aecb](https://github.com/graphiti-api/graphiti_spec_helpers/commit/202aecb6f4637d6f7e3d370e0b5d28a275b7ec1a))
23
+ * Allow passing AR records to jsonapi_* http operations ([#22](https://github.com/graphiti-api/graphiti_spec_helpers/issues/22)) ([c5e4b23](https://github.com/graphiti-api/graphiti_spec_helpers/commit/c5e4b235e79a663014e11720c764992d25caceff))
24
+ * Support matching against RSpec's`include` builtin ([#23](https://github.com/graphiti-api/graphiti_spec_helpers/issues/23)) ([1ed6fd0](https://github.com/graphiti-api/graphiti_spec_helpers/commit/1ed6fd0a561a43af604821821c569d819e6dff5f))
@@ -13,12 +13,20 @@ Gem::Specification.new do |spec|
13
13
  spec.description = %q{Easily test JSONAPIs and Graphiti Resources}
14
14
  spec.license = "MIT"
15
15
 
16
+ spec.post_install_message = <<~MESSAGE
17
+ graphiti_spec_helpers is part of graphiti as of 2.0 and is no longer released separately.
18
+
19
+ Remove it from your Gemfile. The "graphiti_spec_helpers/rspec" require and the GraphitiSpecHelpers namespace are unchanged.
20
+
21
+ https://graphiti.dev/upgrading
22
+ MESSAGE
23
+
16
24
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
25
  spec.bindir = "exe"
18
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
27
  spec.require_paths = ["lib"]
20
28
 
21
- spec.add_dependency "graphiti", '>= 1.0.alpha.1'
29
+ spec.add_dependency "graphiti", '>= 1.0.alpha.1', '< 2'
22
30
  spec.add_dependency "rspec", "~> 3.0"
23
31
 
24
32
  spec.add_development_dependency "pry"
@@ -1,3 +1,3 @@
1
1
  module GraphitiSpecHelpers
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
data/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "release": {
23
23
  "branches": [
24
- "master",
24
+ "main",
25
25
  {
26
26
  "name": "beta",
27
27
  "prerelease": true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti_spec_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-18 00:00:00.000000000 Z
11
+ date: 2026-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphiti
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.0.alpha.1
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 1.0.alpha.1
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rspec
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -105,6 +111,7 @@ files:
105
111
  - ".github/workflows/release.yml"
106
112
  - ".gitignore"
107
113
  - ".rspec"
114
+ - CHANGELOG.md
108
115
  - Gemfile
109
116
  - LICENSE.txt
110
117
  - README.md
@@ -125,7 +132,12 @@ homepage:
125
132
  licenses:
126
133
  - MIT
127
134
  metadata: {}
128
- post_install_message:
135
+ post_install_message: |
136
+ graphiti_spec_helpers is part of graphiti as of 2.0 and is no longer released separately.
137
+
138
+ Remove it from your Gemfile. The "graphiti_spec_helpers/rspec" require and the GraphitiSpecHelpers namespace are unchanged.
139
+
140
+ https://graphiti.dev/upgrading
129
141
  rdoc_options: []
130
142
  require_paths:
131
143
  - lib