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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gem-gratitude.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89b218056f499f2065ef3e5a576772cd32458f15
4
- data.tar.gz: e15963511b1e7aa5eee0d4e67440d1c99d289cc9
3
+ metadata.gz: d1e533b8c2ffe83393954af861432a21259e3961
4
+ data.tar.gz: 8b1083f4e873e4f9f5de7762e9bdf1211eb94cc1
5
5
  SHA512:
6
- metadata.gz: 946a977c23cb1f881b3bfe03d52999ffb7ca6b6b2bb1acaa89376e16a8b7b4ed47c87b7f4a8a509fba0f39eaf69899eccd20e1e3cc66ebbe6ec26e0462bddcb3
7
- data.tar.gz: f6b141c59bf52ae5b716751f228c5be4ae8344cbe04f8bce275f25d9893c262e18c0daf93e00c53d84bf5d0130a0791f1a62ac19d63f0ab2a875da511bbbeeb4
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 "#{gem_name}"
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('../template.erb'))
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
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.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Bartlett