rspec-request_snapshot 0.6.0 → 0.6.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
  SHA1:
3
- metadata.gz: 8f2c9dc8612a821675811ac7621e84a9da8bb54d
4
- data.tar.gz: d09a1183cc112880e8f4fbb61fd34a6be5d6dd91
3
+ metadata.gz: c5bffec0454199a549825263f59398d7e9c0f47f
4
+ data.tar.gz: f1f1bbf6607178b0645c96f2256379d143adedd7
5
5
  SHA512:
6
- metadata.gz: ea9601e44240f191364333687fc2e3541887d01ca7e965b488d58a3ed62048747bcaa08104a338397e3fffb6101a8330d8fef2fcc5a172acf71d69971640aa10
7
- data.tar.gz: 2f2cb89d4effa9f238d112f19743c81ec7bbef73ee55123574398130c906fb4059c8e6540019fb8eedd9357a8379e9b14a27ef5384d4b87810ae3d042e0da464
6
+ metadata.gz: 10f841bec8937ad4e04ad1717c3ed438a70e9bdf446f17292fb48ecf4c9a41f987b30269b9299a3be9cd4cd610db336c06f34ee6f0192c86b321a5a1e876ee9a
7
+ data.tar.gz: c969d609dbbf508d04ed51d3c57e72150914c54411ac795b9530cff145f223629d886a56409738001baf1a0e2dc743a323e6e877d2dda2b91460694d760e43cc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.6.1]
4
+
5
+ ### Fixed
6
+ - Fixed bug where using ignore_order for nodes with boolean values would raise an exception
7
+
3
8
  ## [v0.6.0]
4
9
 
5
10
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-request_snapshot (0.6.0)
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.2)
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].sort!
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)
@@ -3,7 +3,7 @@
3
3
  # rubocop:disable Style/ClassAndModuleChildren
4
4
  module Rspec
5
5
  module RequestSnapshot
6
- VERSION = "0.6.0"
6
+ VERSION = "0.6.1"
7
7
  end
8
8
  end
9
9
  # rubocop:enable Style/ClassAndModuleChildren
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.0
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-13 00:00:00.000000000 Z
11
+ date: 2019-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec