dpkg-tools 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ describe DpkgTools::Package::Rails::Data, "base dependencies" do
18
18
  end
19
19
 
20
20
  it "should return a sensible list of base package dependencies" do
21
- DpkgTools::Package::Rails::Data.base_deps.
21
+ DpkgTools::Package::Rails::Data.base_package_deps.
22
22
  should == [{:name => 'mysql-client'}, {:name => 'mysql-server'}, {:name => 'apache2'},
23
23
  {:name => 'ruby', :requirements => ['>= 1.8.2']}]
24
24
  end
@@ -77,11 +77,17 @@ describe DpkgTools::Package::BuildTasks, "instances" do
77
77
  @rake['build'].invoke
78
78
  end
79
79
 
80
- it "should call the correct reset methods on a setup instance from dpkg:setup:reset" do
80
+ it "should call the correct reset methods on a setup instance from dpkg:reset" do
81
81
  @mock_setup.expects(:reset_maintainer_script_templates)
82
82
  @mock_setup.expects(:reset_control_files)
83
83
  @mock_setup.expects(:reset_package_resource_files)
84
84
 
85
- @rake['dpkg:setup:reset'].invoke
85
+ @rake['dpkg:reset'].invoke
86
+ end
87
+
88
+ it "should be able regenerate control files from dpkg:control" do
89
+ @mock_setup.expects(:reset_control_files)
90
+
91
+ @rake['dpkg:control'].invoke
86
92
  end
87
93
  end
data/tasks/dist.rake CHANGED
@@ -12,7 +12,8 @@ PKG_FILES = FileList[
12
12
  'lib/**/*.rb',
13
13
  'spec/**/*',
14
14
  'stories/**/*',
15
- 'tasks/**/*'
15
+ 'tasks/**/*',
16
+ 'resources/**/*'
16
17
  ]
17
18
 
18
19
  desc 'Generate RDoc'
@@ -35,6 +36,7 @@ spec = Gem::Specification.new do |s|
35
36
  s.require_path = 'lib'
36
37
 
37
38
  s.has_rdoc = true
39
+ puts "rd.options: #{rd.options.inspect}"
38
40
  s.rdoc_options = rd.options
39
41
 
40
42
  s.bindir = 'bin'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dpkg-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Patterson
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-06 00:00:00 +01:00
12
+ date: 2008-06-25 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -130,6 +130,23 @@ files:
130
130
  - spec/spec_helper.rb
131
131
  - tasks/dist.rake
132
132
  - tasks/rspec.rake
133
+ - resources/etc
134
+ - resources/etc/changelog.yml
135
+ - resources/etc/deb.yml
136
+ - resources/etc/postinst.erb
137
+ - resources/etc/prerm.erb
138
+ - resources/gem
139
+ - resources/gem/gems_to_deps.yml
140
+ - resources/rails
141
+ - resources/rails/apache.conf.erb
142
+ - resources/rails/deb.yml
143
+ - resources/rails/deploy.rb
144
+ - resources/rails/logrotate.conf.erb
145
+ - resources/rails/mongrel_cluster.yml
146
+ - resources/rails/mongrel_cluster_init.erb
147
+ - resources/rails/postinst.erb
148
+ - resources/rails/postrm.erb
149
+ - resources/rails/preinst.erb
133
150
  has_rdoc: true
134
151
  homepage: http://dpkg-tools.rubyforge.org/
135
152
  post_install_message:
@@ -160,6 +177,6 @@ rubyforge_project: dpkg-tools
160
177
  rubygems_version: 1.1.1
161
178
  signing_key:
162
179
  specification_version: 2
163
- summary: dpkg-tools-0.3.3 (build 2008-06-06T12:49:00+01:00) - Painless OS package building http://dpkg-tools.rubyforge.org/
180
+ summary: dpkg-tools-0.3.4 (build 2008-06-25T11:26:00+01:00) - Painless OS package building http://dpkg-tools.rubyforge.org/
164
181
  test_files: []
165
182