boxgrinder-build 0.9.5.2 → 0.9.5.3
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/CHANGELOG +4 -0
- data/boxgrinder-build.gemspec +1 -1
- data/rubygem-boxgrinder-build.spec +4 -1
- data/spec/plugins/delivery/s3/s3-plugin-spec.rb +5 -3
- metadata +3 -3
data/CHANGELOG
CHANGED
data/boxgrinder-build.gemspec
CHANGED
|
@@ -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.
|
|
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!(:
|
|
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:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 9
|
|
9
9
|
- 5
|
|
10
|
-
-
|
|
11
|
-
version: 0.9.5.
|
|
10
|
+
- 3
|
|
11
|
+
version: 0.9.5.3
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Marek Goldmann
|