so_meta 0.8 → 0.9

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: f43b5a073b04004b774a38616bcc8d22f56c9ada0d3edaff102950113254be09
4
- data.tar.gz: 2fad48124a18e32a944e341ed3a66faad95e5e4f0c496bf6c7622bb1c4c8a07e
3
+ metadata.gz: f878dbf935b23485262a863aa6974778759d837c373be66936475cbe9f005c23
4
+ data.tar.gz: 3ea053ee973cf49f0587aa663ba8f567abedf5a04378795f62c79dce0638d628
5
5
  SHA512:
6
- metadata.gz: 8363fe990de3764680dba82a1bff3f649582122e3a665626ebdaa0d0fe47cdc16ac0a31c11999502b21d989cd99cf040e766776312abedb0a3e5ab427b583991
7
- data.tar.gz: e541b7e4e4d42903f279e9f2200efac8199fe53eb641bbb2922908d39edc11920829f2dea24584a355a90b225d1276c088c0ce2e8e815192b9db024f1727b92f
6
+ metadata.gz: 6ac6d9e36419581eea98388a3d455cc23060a7b5d876c8375a69dd2d07bc42c19b915429095c632e46eda97fad41db00f48472403cc3cb1cbff0b4b1b65beea6
7
+ data.tar.gz: b8740e0a09716a6cb271cfacad4551cfd6ed3e17ecd31de32c1c97b761be4376bd31b17620e65c77201c7b05ba5a725f5b861763755781513373f0aeb0333154
@@ -17,7 +17,9 @@ module SoMeta
17
17
  end
18
18
 
19
19
  def so_meta_interpolation(name, hash)
20
- instance_variable_set("@so_meta_#{name}_interpolation", hash)
20
+ variable_name = "@so_meta_#{name}_interpolation"
21
+ interpolation = instance_variable_get(variable_name) || {}
22
+ instance_variable_set(variable_name, interpolation.merge(hash))
21
23
  end
22
24
  end
23
25
  end
@@ -1,3 +1,3 @@
1
1
  module SoMeta
2
- VERSION = "0.8"
2
+ VERSION = "0.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: so_meta
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.8'
4
+ version: '0.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Hilkert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-10 00:00:00.000000000 Z
11
+ date: 2020-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubygems_version: 3.0.3
94
+ rubygems_version: 3.1.2
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: A gem to simply manage meta content (title, description, canonical url, etc.)