link_to_profile 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,11 @@ class ProfileLinkGenerator
26
26
  end
27
27
 
28
28
  def templates_path
29
- options[:templates_path] ||= 'lib/link_to_profile/profile_link_templates.yml'
29
+ options[:templates_path] ||= relative_path
30
+ end
31
+
32
+ def relative_path
33
+ File.join(File.dirname(File.expand_path(__FILE__)), 'profile_link_templates.yml')
30
34
  end
31
35
 
32
36
  class ArgumentError < StandardError; end
@@ -1,3 +1,3 @@
1
1
  module LinkToProfile
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: link_to_profile
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Devon Blandin