cog 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,7 +86,7 @@ module Cog
86
86
  def stamp(template_path, destination, opt={})
87
87
  t = get_template template_path, :absolute => opt[:absolute_template_path]
88
88
  b = opt[:binding] || binding
89
- dest = opt[:absolute_destination] ? dest : File.join(Config.instance.project_source_path, destination)
89
+ dest = opt[:absolute_destination] ? destination : File.join(Config.instance.project_source_path, destination)
90
90
  FileUtils.mkpath File.dirname(dest) unless File.exists? dest
91
91
  scratch = "#{dest}.scratch"
92
92
  File.open(scratch, 'w') {|file| file.write t.result(b)}
@@ -1,3 +1,3 @@
1
1
  module Cog
2
- VERSION = '0.0.14' unless const_defined? :VERSION
2
+ VERSION = '0.0.15' unless const_defined? :VERSION
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cog
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 14
10
- version: 0.0.14
9
+ - 15
10
+ version: 0.0.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kevin Tonon