gem-gratitude 0.1.5 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gem-gratitude.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1e533b8c2ffe83393954af861432a21259e3961
|
4
|
+
data.tar.gz: 8b1083f4e873e4f9f5de7762e9bdf1211eb94cc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6e0e4a38218671786171082a61aca6d06e9a8200eead298b57f418cc8c4bfc97f33787dc81b8cd5dc3ee92630731f884904aec2e064e0139a5a6588d4bedaa4
|
7
|
+
data.tar.gz: d682844b5b13e1f4b29a10722c14b04f5aae96bffc81e2e297277df9b38c9e4970ff27e9ed91996b3874a0f8406be822b2aa428d9020a2253952ddd8a2367753
|
data/lib/gem-gratitude.rb
CHANGED
@@ -33,7 +33,7 @@ class Issue
|
|
33
33
|
next if parts[2] == 'github:'
|
34
34
|
begin
|
35
35
|
gem_spec = Gem::Specification.find_by_name(gem_name)
|
36
|
-
puts
|
36
|
+
puts File.expand_path(File.dirname(__FILE__))
|
37
37
|
@gem_list << {name: gem_name, homepage: gem_spec.homepage} if gem_spec.homepage
|
38
38
|
rescue Gem::LoadError
|
39
39
|
puts "Could not find gem '#{gem_name}'"
|
@@ -74,7 +74,7 @@ class Issue
|
|
74
74
|
|
75
75
|
# Write to ERB template
|
76
76
|
puts 'Generating HTML...'
|
77
|
-
erb = ERB.new(File.read('
|
77
|
+
erb = ERB.new(File.read(File.expand_path(File.dirname(__FILE__)) + '/template.erb'))
|
78
78
|
file.write erb.result(binding)
|
79
79
|
|
80
80
|
# Open up the resulting HTML file
|