boxgrinder-build 0.9.5.2 → 0.9.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ v0.9.5.3
2
+
3
+ * What a shame, fixing the mocks again...
4
+
1
5
  v0.9.5.2
2
6
 
3
7
  * More mocking in specs preventing remote calls - now for real
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{boxgrinder-build}
5
- s.version = "0.9.5.2"
5
+ s.version = "0.9.5.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Marek Goldmann"]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Summary: A tool for creating appliances from simple plain text files
7
7
  Name: rubygem-%{gemname}
8
- Version: 0.9.5.2
8
+ Version: 0.9.5.3
9
9
  Release: 1%{?dist}
10
10
  Group: Development/Languages
11
11
  License: LGPLv3+
@@ -130,6 +130,9 @@ popd
130
130
  %{gemdir}/doc/%{gemname}-%{version}
131
131
 
132
132
  %changelog
133
+ * Sat Aug 27 2011 Marek Goldmann <mgoldman@redhat.com> - 0.9.5.3-1
134
+ - Upstream release: 0.9.5.3
135
+
133
136
  * Sat Aug 27 2011 Marek Goldmann <mgoldman@redhat.com> - 0.9.5.2-1
134
137
  - Upstream release: 0.9.5.2
135
138
  - More mocking in specs preventing remote calls - now for real
@@ -50,7 +50,7 @@ module BoxGrinder
50
50
  @appliance_config.stub!(:hardware).and_return(OpenCascade.new({:arch => 'x86_64', :base_arch => 'x86_64'}))
51
51
 
52
52
  @plugin = S3Plugin.new
53
- @plugin.stub!(:validate)
53
+ @plugin.stub!(:asset_bucket)
54
54
  @plugin.init(@config, @appliance_config, {:class => BoxGrinder::S3Plugin, :type => :delivery, :name => :s3, :full_name => "Amazon Simple Storage Service (Amazon S3)", :types => [:s3, :cloudfront, :ami]}, :log => LogHelper.new(:level => :trace, :type => :stdout), :type => :s3)
55
55
 
56
56
  #Set convenient dummies
@@ -66,7 +66,6 @@ module BoxGrinder
66
66
  @plugin.instance_variable_set(:@s3helper, @s3helper)
67
67
  @plugin.instance_variable_set(:@bucket, @bucket)
68
68
 
69
-
70
69
  @appliance_config = @plugin.instance_variable_get(:@appliance_config)
71
70
  @exec_helper = @plugin.instance_variable_get(:@exec_helper)
72
71
  @log = @plugin.instance_variable_get(:@log)
@@ -241,7 +240,6 @@ module BoxGrinder
241
240
 
242
241
  describe ".validate" do
243
242
  before(:each) do
244
- @plugin.unstub!(:validate)
245
243
  @plugin.stub!(:asset_bucket).and_return(nil)
246
244
  @plugin.stub!(:asset_bucket).and_return(@bucket)
247
245
  end
@@ -371,6 +369,10 @@ module BoxGrinder
371
369
  end
372
370
 
373
371
  describe ".bucket" do
372
+ before(:each) do
373
+ @plugin.unstub!(:asset_bucket)
374
+ end
375
+
374
376
  it "should create the asset bucket by default" do
375
377
  @config.plugins['s3'].merge!('region' => 'ap-southeast-1')
376
378
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxgrinder-build
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 5
10
- - 2
11
- version: 0.9.5.2
10
+ - 3
11
+ version: 0.9.5.3
12
12
  platform: ruby
13
13
  authors:
14
14
  - Marek Goldmann