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 +4 -4
- data/lib/so_meta/helper.rb +3 -1
- data/lib/so_meta/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f878dbf935b23485262a863aa6974778759d837c373be66936475cbe9f005c23
|
4
|
+
data.tar.gz: 3ea053ee973cf49f0587aa663ba8f567abedf5a04378795f62c79dce0638d628
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ac6d9e36419581eea98388a3d455cc23060a7b5d876c8375a69dd2d07bc42c19b915429095c632e46eda97fad41db00f48472403cc3cb1cbff0b4b1b65beea6
|
7
|
+
data.tar.gz: b8740e0a09716a6cb271cfacad4551cfd6ed3e17ecd31de32c1c97b761be4376bd31b17620e65c77201c7b05ba5a725f5b861763755781513373f0aeb0333154
|
data/lib/so_meta/helper.rb
CHANGED
@@ -17,7 +17,9 @@ module SoMeta
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def so_meta_interpolation(name, hash)
|
20
|
-
|
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
|
data/lib/so_meta/version.rb
CHANGED
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.
|
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-
|
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.
|
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.)
|