gem-gratitude 0.1.7 → 0.1.8
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 +1 -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: 0dbbcbbda7da647bb1f40dc16cb9764780dc23e2
|
4
|
+
data.tar.gz: 62d9257127184098344eb9c37d61a5e8c2155b60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aab49dae19ec278d9ce349e921b7e8c0391abbb55f272a005c8abc0e4ffdbe39ad3460bfae6983d8702ae4d9cdadc5b014923159a79690fa8d6addb57167604b
|
7
|
+
data.tar.gz: 20f834d22319c5a708ab7e32e4b4a1b7dae21df0d958fa6d94a1a71aefc14a45a3355d2334a5d1bbcf7c1c3857fd3c871383eb0516ea22cd1d543df65410213e
|
data/lib/gem-gratitude.rb
CHANGED
@@ -33,7 +33,6 @@ 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 File.expand_path(File.dirname(__FILE__))
|
37
36
|
@gem_list << {name: gem_name, homepage: gem_spec.homepage} if gem_spec.homepage
|
38
37
|
rescue Gem::LoadError
|
39
38
|
puts "Could not find gem '#{gem_name}'"
|
@@ -74,7 +73,7 @@ class Issue
|
|
74
73
|
|
75
74
|
# Write to ERB template
|
76
75
|
puts 'Generating HTML...'
|
77
|
-
erb = ERB.new(File.read(File.expand_path(File.dirname(__FILE__)) + '
|
76
|
+
erb = ERB.new(File.read(File.expand_path(File.dirname(__FILE__)) + '../template.erb'))
|
78
77
|
file.write erb.result(binding)
|
79
78
|
|
80
79
|
# Open up the resulting HTML file
|