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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d075ef035a49147b6624dcfdcb9742ea1280dd81
4
- data.tar.gz: 7c2a8373eeff100276c7dbfd2f0440672b70ef39
3
+ metadata.gz: 867cf82cbbd20868948132aa249e0e0eab1f25ea
4
+ data.tar.gz: daf0cdefefac6be4c3620161c679f92ca12f83c8
5
5
  SHA512:
6
- metadata.gz: 7d622a0bbf4f226828dc9b63002f30047b56f058c2eaa5f5fb3a65415411621d1f049444c8146637b486d6c5cde0eb31581f57a5983fd6987b039838afd8a078
7
- data.tar.gz: 24e451eca4a10d8d8ad5e8e6a8ec548683cfd476030b3d11e181516b1f34a99d2bbdb46073af656e16d51f0818e624687094467bf8c9771f998773a296fb1015
6
+ metadata.gz: b9da0c0faad8363c035cacf9e34f041b30497608dabef4bde7f386bd470569fd1317194959383f21df2c555a36624edbc4f2ef8aa91dec294f99e45f98eac203
7
+ data.tar.gz: 6a796959f65942d34c424506483d4bf0d1788230ad8bcf43a34f734300a1c776c8cd2d03ed29b13f6d5e09a629d7579e0ad16a940716c8797d9e71c6be18226f
data/lib/cog/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Cog
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
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'][provider] ||= {}
19
- prev_content = config['templates'][provider][template]
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'][provider][template] = template_content
23
+ config['templates'][template][provider] = template_content
24
24
  end
25
25
  end
26
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cog-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Imbriaco