buildrdeb 0.0.1 → 0.0.2

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.
data/buildrdeb.gemspec CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  Gem::Specification.new do |spec|
18
18
  spec.name = 'buildrdeb'
19
- spec.version = '0.0.1'
19
+ spec.version = '0.0.2'
20
20
  spec.author = 'Antoine Toulme'
21
21
  spec.email = "antoine@lunar-ocean.com"
22
22
  spec.homepage = "http://buildr.apache.org/"
@@ -17,7 +17,7 @@ module BuildrDeb
17
17
 
18
18
  class DebTask < Buildr::ArchiveTask
19
19
 
20
- attr_accessor :control, :prerm, :postinst, :postrm, :preinst, :version
20
+ attr_accessor :control, :prerm, :postinst, :postrm, :preinst, :triggers, :version
21
21
 
22
22
  # The ArchiveTask class delegates this method
23
23
  # so we can create the archive.
@@ -29,7 +29,7 @@ module BuildrDeb
29
29
  root = File.join("target", "_#{File.basename(name)}")
30
30
  mkpath File.join(root, "DEBIAN")
31
31
  #echo "THe version " + @version
32
- for file in ["control", "prerm", "postinst", "postrm", "preinst"]
32
+ for file in ["control", "prerm", "postinst", "postrm", "preinst", "triggers"]
33
33
  thefile = eval("self."+file)
34
34
  targetFile = File.join(root, "DEBIAN", file)
35
35
  if !thefile.nil? and File.exists? thefile
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildrdeb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Antoine Toulme
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-20 00:00:00 -07:00
18
+ date: 2010-09-08 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies: []
21
21