safe_monkey_patching 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/safe_monkey_patching.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3011e79963b972c0759911d87a80ea71ea4520594b2e7588c9841192d1e144ce
4
- data.tar.gz: b2599a2b0bb5d6954558c055e861b226c9a507f18ad19a88dc0e83efe90d710e
3
+ metadata.gz: e4a3336fc1da84f401d73ae885fc745c522bececa36fd6a0a7f0dfb689b33440
4
+ data.tar.gz: d7c81740653d36ca6d5beb3020fe09413b4a666dc11641c10788a4455b39613b
5
5
  SHA512:
6
- metadata.gz: a674b202dcd4c2c0aa5b3f130d10aa58d26bc92094d63066fd4205c2c45e32666a0d0576894c5b50a3e7eea27e105d6a2fd1918152f20e941055307c57afd849
7
- data.tar.gz: 813decb2f01177084b4f63861fd0f82cd4282877c421c3227e6d3b919877218ffcef882540c369929aa24d64af3e7a899f8376a31a5da2ac45d88a52086895ce
6
+ metadata.gz: d11cf7ef416f9da99151eb68ec3a74a2fbdca2d22f52673edfc9c33676732ceb813c0c81d96d13cb599d080b3e68477b9acf7ab81bc159e83b46ec7c677217ec
7
+ data.tar.gz: a6c5f033ea691de80411152de82273b2d48bd7429ed617fd3702d0b235c1ccd3585d0a67cca5d9946d84eba48b47c521067f04ee45517b93f55d1a9ab5f2e3e3
@@ -60,8 +60,8 @@ end
60
60
  at_exit do
61
61
  break unless Rails.env.test?
62
62
  SafeMonkeyPatching::Behavior.gems_with_patches.each do |gem_path|
63
- old_patches = SafeMonkeyPatching::Behavior.load_store(File.join(gem_path, "monkey_patches-old.yml")).to_yaml
64
- new_patches = SafeMonkeyPatching::Behavior.load_store(File.join(gem_path, "monkey_patches-new.yml")).to_yaml
63
+ old_patches = SafeMonkeyPatching::Behavior.load_store(File.join(gem_path, "monkey_patches-old.yml").sort.to_h).to_yaml
64
+ new_patches = SafeMonkeyPatching::Behavior.load_store(File.join(gem_path, "monkey_patches-new.yml").sort.to_h).to_yaml
65
65
 
66
66
  FileUtils.mv(File.join(gem_path, "monkey_patches-new.yml"),
67
67
  File.join(gem_path, "monkey_patches-old.yml"))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safe_monkey_patching
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrzej Bisewski