rspec-request_snapshot 0.6.0 → 0.6.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 +5 -0
- data/Gemfile.lock +2 -2
- data/lib/rspec/request_snapshot/handlers/json.rb +1 -1
- data/lib/rspec/request_snapshot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5bffec0454199a549825263f59398d7e9c0f47f
|
4
|
+
data.tar.gz: f1f1bbf6607178b0645c96f2256379d143adedd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f841bec8937ad4e04ad1717c3ed438a70e9bdf446f17292fb48ecf4c9a41f987b30269b9299a3be9cd4cd610db336c06f34ee6f0192c86b321a5a1e876ee9a
|
7
|
+
data.tar.gz: c969d609dbbf508d04ed51d3c57e72150914c54411ac795b9530cff145f223629d886a56409738001baf1a0e2dc743a323e6e877d2dda2b91460694d760e43cc
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rspec-request_snapshot (0.6.
|
4
|
+
rspec-request_snapshot (0.6.1)
|
5
5
|
rspec (~> 3.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
rspec-mocks (~> 3.8.0)
|
18
18
|
rspec-core (3.8.0)
|
19
19
|
rspec-support (~> 3.8.0)
|
20
|
-
rspec-expectations (3.8.
|
20
|
+
rspec-expectations (3.8.3)
|
21
21
|
diff-lcs (>= 1.2.0, < 2.0)
|
22
22
|
rspec-support (~> 3.8.0)
|
23
23
|
rspec-mocks (3.8.0)
|
@@ -40,7 +40,7 @@ class Rspec::RequestSnapshot::Handlers::JSON < Rspec::RequestSnapshot::Handlers:
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def sort_elements(hash, key)
|
43
|
-
hash[key].first.is_a?(Hash) ? hash[key].sort_by! { |e| e.keys.map { |k| e[k] } } : hash[key].
|
43
|
+
hash[key].first.is_a?(Hash) ? hash[key].sort_by! { |e| e.keys.map { |k| e[k] } } : hash[key].sort_by!(&:to_s)
|
44
44
|
end
|
45
45
|
|
46
46
|
def handle_dynamic_attribute(hash, key)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-request_snapshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Campos
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|