graphiti_spec_helpers 1.2.0 → 1.2.2
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 +4 -4
- data/.github/workflows/ci.yml +11 -2
- data/CHANGELOG.md +31 -0
- data/graphiti_spec_helpers.gemspec +2 -2
- data/lib/graphiti_spec_helpers/version.rb +1 -1
- data/package.json +1 -1
- metadata +10 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1587ea46cd7a51225339e7f76d67770507f2942b7593801f870b39a15d611c4
|
|
4
|
+
data.tar.gz: 3aaa2ed6429e896df2ae516dacbcf51154b782fbf8848c47c880bbc4b8dc50ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23fc1ad50ea21515b9c43e5c38405c1768bb5232d77bc7bc6f0ece0b5cfd095e6e5000a82b7df727102ae9c2474523182c14c5e4057873e05794992027af4b7c
|
|
7
|
+
data.tar.gz: f57dd253275dd36c841cce0fb2114ffa94ce0c08dc8b2d63e3ba6e610cd9138d629c742241359db04f7f2da5a26c358f73cbf1ccc061031d543ce9779df5cf05
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
name: Test
|
|
2
|
-
|
|
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/
|
|
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,31 @@
|
|
|
1
|
+
graphiti changelog
|
|
2
|
+
|
|
3
|
+
## [1.2.2](https://github.com/graphiti-api/graphiti_spec_helpers/compare/v1.2.1...v1.2.2) (2026-08-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* also exclude the graphiti 2.0 prereleases ([f12a6b3](https://github.com/graphiti-api/graphiti_spec_helpers/commit/f12a6b3c94fa5b0da3cc6aa4c6ae9af92866c42d))
|
|
9
|
+
|
|
10
|
+
## [1.2.1](https://github.com/graphiti-api/graphiti_spec_helpers/compare/v1.2.0...v1.2.1) (2026-08-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* cap the graphiti dependency below 2.0 ([99db596](https://github.com/graphiti-api/graphiti_spec_helpers/commit/99db5964c1eb6fef583922c03df5ab951a7c1eb4))
|
|
16
|
+
|
|
17
|
+
# [1.2.0](https://github.com/graphiti-api/graphiti_spec_helpers/compare/v1.1.0...v1.2.0) (2025-03-18)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* 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))
|
|
23
|
+
* 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))
|
|
24
|
+
* require rspec-core as a dependency of the matchers ([0ea2a92](https://github.com/graphiti-api/graphiti_spec_helpers/commit/0ea2a92d9c8f035c45558f79caaf96737959bfef))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* 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))
|
|
30
|
+
* 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))
|
|
31
|
+
* 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))
|
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["Lee Richmond"]
|
|
10
10
|
spec.email = ["lrichmond1@bloomberg.net"]
|
|
11
11
|
|
|
12
|
-
spec.summary = %q{
|
|
12
|
+
spec.summary = %q{Deprecated - part of graphiti itself as of graphiti 2.0}
|
|
13
13
|
spec.description = %q{Easily test JSONAPIs and Graphiti Resources}
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
19
19
|
spec.require_paths = ["lib"]
|
|
20
20
|
|
|
21
|
-
spec.add_dependency "graphiti", '>= 1.0.alpha.1'
|
|
21
|
+
spec.add_dependency "graphiti", '>= 1.0.alpha.1', '< 2.a'
|
|
22
22
|
spec.add_dependency "rspec", "~> 3.0"
|
|
23
23
|
|
|
24
24
|
spec.add_development_dependency "pry"
|
data/package.json
CHANGED
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.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lee Richmond
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
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.a
|
|
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.a
|
|
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
|
|
@@ -143,5 +150,5 @@ requirements: []
|
|
|
143
150
|
rubygems_version: 3.3.27
|
|
144
151
|
signing_key:
|
|
145
152
|
specification_version: 4
|
|
146
|
-
summary:
|
|
153
|
+
summary: Deprecated - part of graphiti itself as of graphiti 2.0
|
|
147
154
|
test_files: []
|