thecore 1.7.3 → 1.7.5

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
  SHA256:
3
- metadata.gz: ce18dbd1120cd983e242bc6f0c9cc0f7c93be605ac48d9605fd779ed3d25b8ae
4
- data.tar.gz: fc6f3c86866e30cf675e1526313eaf3a530025719c986bbfb54c48f89aefd43c
3
+ metadata.gz: ef01dc088309b3ec1fe8b9acf3c661166be22adc54fd63d653aabf5d4548d11a
4
+ data.tar.gz: 88d04f04385d88c0bc79f0e127d8fb86435f1344454a9276ab3f446251fac2d9
5
5
  SHA512:
6
- metadata.gz: e8b380af9b5c5c195d086eef8f5cd0c7685cb8a3b48e1bbbdbe45fc991b0f051102b007586728d4147088f4e786e7141a41dfb03a0bf5182a2a32ac2c7288aed
7
- data.tar.gz: 20c26bdce8f60b0f61988d0217f529c615f28cf686f9823fc71d076aae6594582582282346f0e3355929352fcf20bcf0d1e7bdf47c60fbcd7bec3eb8cbe64d5b
6
+ metadata.gz: 609edde6d036ce64f7f123762b6240edec534912a1a48eee7932b1fc468d714ccaa1eb6edcb5178b99d97c35346303373653e81fa47de17a32306e420da43b4c
7
+ data.tar.gz: 79474766f9c2d16242df3ca105e30ff12fbd3bba736393cb3224ae49dfb699bd2a9eef4e8b2fcc23a969dcbda0af83b0a18ca59c8cba6dc9e7e625c1046daa23
@@ -1,3 +1,3 @@
1
1
  module Thecore
2
- VERSION = '1.7.3'.freeze
2
+ VERSION = '1.7.5'.freeze
3
3
  end
data/lib/thecore.rb CHANGED
@@ -46,5 +46,14 @@ require "webpacker"
46
46
 
47
47
  require 'thecore/engine'
48
48
 
49
+ require 'deep_merge/rails_compat'
50
+
49
51
  module Thecore
52
+ def self.smart_merge src, dest
53
+ src.deeper_merge! dest, {
54
+ extend_existing_arrays: true,
55
+ merge_hash_arrays: true
56
+ }
57
+ src
58
+ end
50
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -318,6 +318,20 @@ dependencies:
318
318
  - - "~>"
319
319
  - !ruby/object:Gem::Version
320
320
  version: '4.9'
321
+ - !ruby/object:Gem::Dependency
322
+ name: deep_merge
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - "~>"
326
+ - !ruby/object:Gem::Version
327
+ version: '1.2'
328
+ type: :runtime
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - "~>"
333
+ - !ruby/object:Gem::Version
334
+ version: '1.2'
321
335
  description: Start from here and build whatever you want to.
322
336
  email:
323
337
  - gabriele.tassoni@gmail.com