merge_plist 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/merge_plist.rb +3 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c66c5b2fc8d3cccb5bf14a0e6bbcf5c1c2b283c4
4
- data.tar.gz: 1b859fb324d0914e7dc5f05214c2495a3d1082f1
3
+ metadata.gz: 7b43a0fabc25072e62c78f6dd319a2eae16a5c97
4
+ data.tar.gz: 7e76895a2ba419f96a619e9ad5691071c917bd54
5
5
  SHA512:
6
- metadata.gz: 7b6316556d6d66700c50942545371d3aa0976c5901f02e3f7241ecd26b4fd69e701b3c53ae6457c045e1bfb5bfbf62de3b57a4f8c7dce7ed9dd229342f50f1f1
7
- data.tar.gz: d6fc46db2bb186dbef145d199aac5ca0ed63ce656e2503307d5dc5be927379cec349565d02a9f660443cc2078b8e8cdaa24f203299cc7f7e3abde1125681af4a
6
+ metadata.gz: d5ee19f8b96818c5fe2050d719bfa8ce5ae9e46b7a839cbbf56ee6e674f441228ce45aade4327c0115210d4194d96edf8eaa7816b0990ea29e26b47fe5305a0d
7
+ data.tar.gz: df916425964006097358d778f525bbc3f0c52f9ae9574f0dfc85876545a23f387a62fca7281afc5dca07e0ea54a846d298ce8e07e71559698f1a88bfb70a072c
data/lib/merge_plist.rb CHANGED
@@ -13,6 +13,9 @@ module MergePlist
13
13
  end
14
14
 
15
15
  def self.merge *targets
16
+ return merge_raw.to_plist
17
+ end
18
+ def self.merge_raw *targets
16
19
  if targets.count == 2
17
20
  return ensure_plist(targets[0])
18
21
  .deep_merge(ensure_plist(targets[1]))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merge_plist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - pjc0247