rspec-request_snapshot 0.7.0 → 0.7.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: 5ba15dd1a24c663735cff748399371edcd987160
4
- data.tar.gz: 9c3c9529912b9fe6161c12174ee72ead76ddf7fd
3
+ metadata.gz: 09c7138ed0d2cc16c24f70630bbc6273edeb2db8
4
+ data.tar.gz: f934116a1e6a422ed3e9c28f35ec1456c6cc7eac
5
5
  SHA512:
6
- metadata.gz: 1d4d0e31e051360a7b123cdd2f7356209291b90405d7ba3372a704d20febf9911ca46183d91250c6c81abe2e3be54ec209f0d2b8bdb76497d44bd45c23234149
7
- data.tar.gz: f0b050f54ba17e8341ae4be7220e6a86f33db26e80a995b70eb344688bfae5726f7f3eed5cf7f9d6af721f8fa7a6fe610edd158bff0b20b04f1e32b9b6f08db5
6
+ metadata.gz: 68230cd9a9179e502e3c6faf2545b24b656c4da4f5333b29164a48acf9bb18fb432795db6db6b80266d52d944eaea6e83322a0dbde1bb4790b84e413ae86de9a
7
+ data.tar.gz: 6ef53440f944e881e39ff2bda36c7f4665f5ac49b3b118a232a8311fecc73f49a12ff20bbccfdd0acc328588a8eae500261b14ff14533c24bdd9ab6c545f00f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.7.1]
4
+
5
+ ### Fixed
6
+ - Fixed issue where updated snapshots would not use pretty format
7
+
3
8
  ## [v0.7.0]
4
9
 
5
10
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-request_snapshot (0.7.0)
4
+ rspec-request_snapshot (0.7.1)
5
5
  rspec (~> 3.0)
6
6
 
7
7
  GEM
@@ -7,7 +7,7 @@ class Rspec::RequestSnapshot::Updaters::JSON < Rspec::RequestSnapshot::Updaters:
7
7
 
8
8
  deep_update(expected_json, stored_json)
9
9
 
10
- File.write(snapshot_file_path, stored_json.to_json)
10
+ File.write(snapshot_file_path, JSON.pretty_generate(stored_json))
11
11
  end
12
12
 
13
13
  private
@@ -3,7 +3,7 @@
3
3
  # rubocop:disable Style/ClassAndModuleChildren
4
4
  module Rspec
5
5
  module RequestSnapshot
6
- VERSION = "0.7.0"
6
+ VERSION = "0.7.1"
7
7
  end
8
8
  end
9
9
  # rubocop:enable Style/ClassAndModuleChildren
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-request_snapshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Campos