make-rubygem-debs 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/make-rubygem-debs.rb +3 -2
  2. metadata +1 -1
@@ -1,4 +1,5 @@
1
- # Copyright (c) 2012, Christopher Mark Gore,
1
+ # Copyright (c) 2012-2013, Christopher Mark Gore,
2
+ # Soli Deo Gloria,
2
3
  # All rights reserved.
3
4
  #
4
5
  # 8729 Lower Marine Road, Saint Jacob, Illinois 62281 USA.
@@ -64,7 +65,7 @@ module MakeRubygemDebs
64
65
  `fpm -s gem -t deb -v #{version} #{name}`
65
66
  deb_name = "rubygem-" + name.gsub("_", "-")
66
67
  deb_file = "#{deb_name}_#{version}"
67
- deb = Dir.entries(debdir).select {|file| file.match deb_file}
68
+ deb = Dir.entries('.').select {|file| file.match deb_file}
68
69
  if not deb.empty?
69
70
  puts "Successfully created #{deb[0]}."
70
71
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: make-rubygem-debs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: