cog-rb 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cog/version.rb +1 -1
- data/lib/tasks/cog.rake +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 867cf82cbbd20868948132aa249e0e0eab1f25ea
|
4
|
+
data.tar.gz: daf0cdefefac6be4c3620161c679f92ca12f83c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9da0c0faad8363c035cacf9e34f041b30497608dabef4bde7f386bd470569fd1317194959383f21df2c555a36624edbc4f2ef8aa91dec294f99e45f98eac203
|
7
|
+
data.tar.gz: 6a796959f65942d34c424506483d4bf0d1788230ad8bcf43a34f734300a1c776c8cd2d03ed29b13f6d5e09a629d7579e0ad16a940716c8797d9e71c6be18226f
|
data/lib/cog/version.rb
CHANGED
data/lib/tasks/cog.rake
CHANGED
@@ -15,12 +15,12 @@ namespace :template do
|
|
15
15
|
template.gsub!(/\.mustache\z/, '')
|
16
16
|
template_content = File.read(file)
|
17
17
|
|
18
|
-
config['templates'][
|
19
|
-
prev_content = config['templates'][
|
18
|
+
config['templates'][template] ||= {}
|
19
|
+
prev_content = config['templates'][template][provider]
|
20
20
|
|
21
21
|
if template_content != prev_content
|
22
22
|
puts "Updating bundle configuration for template #{provider}/#{template}."
|
23
|
-
config['templates'][
|
23
|
+
config['templates'][template][provider] = template_content
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|