flexite 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c136597e3c97592ea1555128f809beae001cf2b
4
- data.tar.gz: 8c4a631cf73c5a7a02b7d7bcd9386b1c2fac39e4
3
+ metadata.gz: ed23176c081950c0ae03eb1c1bab3e2bfb041a38
4
+ data.tar.gz: c40136eb805603ca819ebead4988c6894806541d
5
5
  SHA512:
6
- metadata.gz: bee19d71654a6c931aae345aaece682bf4866c612da8717d48ca2f6312453e24beeec3b4bc6b77585c97f2eca63f1c4614a53e99e805fd65291b58ee6d38f843
7
- data.tar.gz: a162319d032dfcc7c0dc74eb421760334387ee3cc43a446a82ca6eef345adac4d2030146955a4feb530026e6242c9cf7878aaa13260d11b7f711958b4966794a
6
+ metadata.gz: 1e2884e198f7180e94d1f119b365ac4f4738817b634aedb47c17f240004774dd26f63328264442801c91e45ee9e9e1b69c819a7f529a7636363541ec191eeb58
7
+ data.tar.gz: 9c8c6ed9d2b90893af525dcd721f28140d5978069628ca73111638515d26857a7755cfbb01921f73efd8e39c21fd621ec19ad22865371fbf355974624e28e06d
@@ -27,6 +27,7 @@ module Flexite
27
27
  end
28
28
  end
29
29
 
30
+ Flexite.reload_root_cache
30
31
  { message: 'Difference was applied', code: 200 }
31
32
  rescue => exc
32
33
  { error: exc.message, code: 500 }
@@ -20,7 +20,7 @@ module Flexite
20
20
  return { error: 'Invalid token', code: 401 }
21
21
  end
22
22
 
23
- diffs = HashDiff.diff(@current_tree, @other_tree, array_path: true)
23
+ diffs = HashDiff.diff(@current_tree, @other_tree, array_path: true, use_lcs: false)
24
24
 
25
25
  if diffs.blank?
26
26
  return {}
@@ -1,3 +1,3 @@
1
1
  module Flexite
2
- VERSION = '0.0.19'
2
+ VERSION = '0.0.20'
3
3
  end
Binary file