debstep 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/debstep/package.rb +3 -3
  2. metadata +1 -1
@@ -24,7 +24,7 @@ module Debstep
24
24
 
25
25
  instance_eval(&block)
26
26
 
27
- save("#{@workspace}.deb")
27
+ save
28
28
  end
29
29
 
30
30
  def install(path, &block)
@@ -80,7 +80,7 @@ module Debstep
80
80
  instance_variable_get(:"@#{script}")
81
81
  end
82
82
 
83
- def save(path)
83
+ def save
84
84
  @@required_control_fields.each do |field|
85
85
  raise Exception.new("#{field} is required") unless control_field_specified?(field)
86
86
  end
@@ -105,7 +105,7 @@ module Debstep
105
105
  write_script(script) if script_given?(script)
106
106
  end
107
107
 
108
- `dpkg-deb --build #{@workspace}`
108
+ `dpkg-deb --build #{@workspace} .`
109
109
  end
110
110
  end
111
111
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debstep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: