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 +4 -4
- data/lib/thecore/version.rb +1 -1
- data/lib/thecore.rb +9 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef01dc088309b3ec1fe8b9acf3c661166be22adc54fd63d653aabf5d4548d11a
|
4
|
+
data.tar.gz: 88d04f04385d88c0bc79f0e127d8fb86435f1344454a9276ab3f446251fac2d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 609edde6d036ce64f7f123762b6240edec534912a1a48eee7932b1fc468d714ccaa1eb6edcb5178b99d97c35346303373653e81fa47de17a32306e420da43b4c
|
7
|
+
data.tar.gz: 79474766f9c2d16242df3ca105e30ff12fbd3bba736393cb3224ae49dfb699bd2a9eef4e8b2fcc23a969dcbda0af83b0a18ca59c8cba6dc9e7e625c1046daa23
|
data/lib/thecore/version.rb
CHANGED
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.
|
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-
|
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
|