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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gem-gratitude.rb +1 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1e533b8c2ffe83393954af861432a21259e3961
4
- data.tar.gz: 8b1083f4e873e4f9f5de7762e9bdf1211eb94cc1
3
+ metadata.gz: 0dbbcbbda7da647bb1f40dc16cb9764780dc23e2
4
+ data.tar.gz: 62d9257127184098344eb9c37d61a5e8c2155b60
5
5
  SHA512:
6
- metadata.gz: a6e0e4a38218671786171082a61aca6d06e9a8200eead298b57f418cc8c4bfc97f33787dc81b8cd5dc3ee92630731f884904aec2e064e0139a5a6588d4bedaa4
7
- data.tar.gz: d682844b5b13e1f4b29a10722c14b04f5aae96bffc81e2e297277df9b38c9e4970ff27e9ed91996b3874a0f8406be822b2aa428d9020a2253952ddd8a2367753
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__)) + '/template.erb'))
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-gratitude
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bartlett