catsay 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/catsay.rb +1 -1
  2. metadata +1 -1
data/lib/catsay.rb CHANGED
@@ -87,7 +87,7 @@ module Catsay
87
87
  # in the cats/ directory minus the cats/ and
88
88
  # .erb extension
89
89
  def template_path_for(template_id)
90
- File.join('cats', "#{template_id}.erb")
90
+ File.join(File.expand_path(File.dirname(__FILE__)), '..', 'cats', "#{template_id}.erb")
91
91
  end
92
92
 
93
93
  # fetches the input by first looking for
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catsay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: