hubdown 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,8 @@ module Hubdown
15
15
  links = @scraper.get_css_links
16
16
  body = @body
17
17
  filename = @filename
18
- template = ERB.new( File.read("lib/hubdown/template.html.erb"), nil, "-" )
18
+ template_path = File.dirname(__FILE__) + "/template.html.erb"
19
+ template = ERB.new( File.read( template_path ), nil, "-" )
19
20
  page = template.result(binding)
20
21
  page
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module Hubdown
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: