rspec-rails-api 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/lib/rspec/rails/api/entity_config.rb +5 -3
- data/lib/rspec/rails/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f3ec1cf7d649accd5699f84d2f2e7162e830bc4071b50433dc179d69028451d
|
4
|
+
data.tar.gz: b612884d3574e170f737fc080e58b19f7ca4485104b14a3ca884570e5e3ac0a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35cd6e4ed48cd3cf05e950c8a98dcc030efdf82da422803818082d4af7eeb936bac6a6ae6341fc6495dbc944797212750fc14384d3aa73e78e81e0588724d01f
|
7
|
+
data.tar.gz: 01daf64801e027024566367126f4f2a3767be1957932d540384517e9a1369296bfa649b5473badab670969416e380f8ab6532f88c2deffb4790b6e750d7afbda
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -41,9 +41,11 @@ module RSpec
|
|
41
41
|
next unless %i[array object].include? config[:type]
|
42
42
|
|
43
43
|
attribute = config[:attributes]
|
44
|
-
|
45
|
-
|
46
|
-
|
44
|
+
hash[field][:attributes] = if attribute.is_a? Symbol
|
45
|
+
expand_attribute attribute, entities
|
46
|
+
elsif @fields[field].attributes
|
47
|
+
@fields[field].attributes.expand_with entities
|
48
|
+
end
|
47
49
|
end
|
48
50
|
end
|
49
51
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-rails-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Tancoigne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
Create acceptance tests to check the Rails API responses and generate
|