system-builder 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest.txt CHANGED
@@ -25,7 +25,7 @@ script/destroy
25
25
  script/generate
26
26
  spec/spec.opts
27
27
  spec/spec_helper.rb
28
- spec/system-builder_cli_spec.rb
29
- spec/system-builder_spec.rb
28
+ spec/system_builder/boot_spec.rb
29
+ spec/system_builder/cli_spec.rb
30
30
  system-builder.gemspec
31
31
  tasks/rspec.rake
data/Rakefile CHANGED
@@ -10,10 +10,11 @@ Hoe.plugin :cucumberfeatures
10
10
 
11
11
  # Generate all the Rake tasks
12
12
  # Run 'rake -T' to see list of generated tasks (from gem root directory)
13
- $hoe = Hoe.spec 'system-builder' do
13
+ Hoe.spec 'system-builder' do
14
14
  self.version = SystemBuilder::VERSION
15
- self.developer 'Alban Peignier', 'alban.peignier@free.fr'
15
+ self.developer 'Alban Peignier', 'alban@tryphon.eu'
16
16
  self.rubyforge_name = self.name # TODO this is default value
17
+ self.url = "http://projects.tryphon.eu/system-builder"
17
18
  # self.extra_deps = [['activesupport','>= 2.0.2']]
18
19
  end
19
20
 
@@ -18,7 +18,7 @@ class SystemBuilder::DebianBoot
18
18
  @mirror = @@default_mirror
19
19
  @architecture = :i386
20
20
  @exclude = []
21
- @include = []
21
+ @include = [ "debian-archive-keyring" ]
22
22
 
23
23
  # kernel can't be installed by debootstrap
24
24
  @configurators =
@@ -98,8 +98,6 @@ class SystemBuilder::DebianBoot
98
98
  def apt_configurator
99
99
  # TODO see if this step is really needed
100
100
  SystemBuilder::ProcConfigurator.new do |chroot|
101
- puts "* install apt keys"
102
- chroot.image.install "/etc/apt", "/etc/apt/trusted.gpg"
103
101
  chroot.sudo "apt-get update"
104
102
  end
105
103
  end
@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module SystemBuilder
5
- VERSION = '0.0.4'
5
+ VERSION = '0.0.5'
6
6
 
7
7
  @@configurations = {}
8
8
 
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ describe SystemBuilder::DebianBoot do
4
+
5
+ it "should include debian-archive-keyring package by default" do
6
+ SystemBuilder::DebianBoot.new("/dummy").include.should include("debian-archive-keyring")
7
+ end
8
+
9
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
1
+ require 'spec_helper'
2
2
  require 'system_builder/cli'
3
3
 
4
4
  describe SystemBuilder::CLI, "execute" do
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{system-builder}
5
- s.version = "0.0.2"
5
+ s.version = "0.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Alban Peignier"]
9
- s.date = %q{2009-09-02}
9
+ s.date = %q{2010-01-10}
10
10
  s.default_executable = %q{system-builder}
11
11
  s.description = %q{FIX (describe your package)}
12
12
  s.email = ["alban.peignier@free.fr"]
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.rdoc_options = ["--main", "README.rdoc"]
18
18
  s.require_paths = ["lib"]
19
19
  s.rubyforge_project = %q{system-builder}
20
- s.rubygems_version = %q{1.3.4}
20
+ s.rubygems_version = %q{1.3.5}
21
21
  s.summary = %q{FIX (describe your package)}
22
22
 
23
23
  if s.respond_to? :specification_version then
@@ -25,11 +25,17 @@ Gem::Specification.new do |s|
25
25
  s.specification_version = 3
26
26
 
27
27
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28
- s.add_development_dependency(%q<hoe>, [">= 2.3.3"])
28
+ s.add_development_dependency(%q<rubyforge>, [">= 2.0.3"])
29
+ s.add_development_dependency(%q<gemcutter>, [">= 0.3.0"])
30
+ s.add_development_dependency(%q<hoe>, [">= 2.5.0"])
29
31
  else
30
- s.add_dependency(%q<hoe>, [">= 2.3.3"])
32
+ s.add_dependency(%q<rubyforge>, [">= 2.0.3"])
33
+ s.add_dependency(%q<gemcutter>, [">= 0.3.0"])
34
+ s.add_dependency(%q<hoe>, [">= 2.5.0"])
31
35
  end
32
36
  else
33
- s.add_dependency(%q<hoe>, [">= 2.3.3"])
37
+ s.add_dependency(%q<rubyforge>, [">= 2.0.3"])
38
+ s.add_dependency(%q<gemcutter>, [">= 0.3.0"])
39
+ s.add_dependency(%q<hoe>, [">= 2.5.0"])
34
40
  end
35
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: system-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alban Peignier
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-10 00:00:00 +01:00
12
+ date: 2010-01-23 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -44,7 +44,7 @@ dependencies:
44
44
  version:
45
45
  description: FIX (describe your package)
46
46
  email:
47
- - alban.peignier@free.fr
47
+ - alban@tryphon.eu
48
48
  executables:
49
49
  - system-builder
50
50
  extensions: []
@@ -81,12 +81,12 @@ files:
81
81
  - script/generate
82
82
  - spec/spec.opts
83
83
  - spec/spec_helper.rb
84
- - spec/system-builder_cli_spec.rb
85
- - spec/system-builder_spec.rb
84
+ - spec/system_builder/boot_spec.rb
85
+ - spec/system_builder/cli_spec.rb
86
86
  - system-builder.gemspec
87
87
  - tasks/rspec.rake
88
88
  has_rdoc: true
89
- homepage: http://github.com/#{github_username}/#{project_name}
89
+ homepage: http://projects.tryphon.eu/system-builder
90
90
  licenses: []
91
91
 
92
92
  post_install_message:
@@ -1,11 +0,0 @@
1
- require File.dirname(__FILE__) + '/spec_helper.rb'
2
-
3
- # Time to add your specs!
4
- # http://rspec.info/
5
- describe "Place your specs here" do
6
-
7
- it "find this spec in spec directory" do
8
- # violated "Be sure to write your specs"
9
- end
10
-
11
- end