boxgrinder-build 0.9.5 → 0.9.5.1

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.1
2
+
3
+ * More mocking in specs preventing remote calls
4
+
1
5
  v0.9.5
2
6
 
3
7
  * [BGBUILD-294] Package aws-sdk 1.1.1 and update dependency
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{boxgrinder-build}
5
- s.version = "0.9.5"
5
+ s.version = "0.9.5.1"
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"]
9
- s.date = %q{2011-08-26}
9
+ s.date = %q{2011-08-27}
10
10
  s.default_executable = %q{boxgrinder-build}
11
11
  s.description = %q{A tool for creating appliances from simple plain text files for various virtual environments.}
12
12
  s.email = %q{info@boxgrinder.org}
@@ -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.1
9
9
  Release: 1%{?dist}
10
10
  Group: Development/Languages
11
11
  License: LGPLv3+
@@ -130,8 +130,12 @@ 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.1-1
134
+ - Upstream release: 0.9.5.1
135
+ - More mocking in specs preventing remote calls
136
+
133
137
  * Thu Aug 23 2011 Marek Goldmann <mgoldman@redhat.com> - 0.9.5-1
134
- - Upstream release: 0.9.
138
+ - Upstream release: 0.9.5
135
139
  - [BGBUILD-294] Package aws-sdk 1.1.1 and update dependency
136
140
  - [BGBUILD-277] When delivering as AMI, the EC2 region should match S3 bucket's region (location constraint)
137
141
  - [BGBUILD-297] Cannot create EBS appliances when using overwrite parameter
@@ -27,9 +27,8 @@ module BoxGrinder
27
27
  FAST_TO = 1
28
28
 
29
29
  before(:each) do
30
- AWS.stub!
31
- AWS.config({:access_key_id => '', :secret_access_key => ''})
32
- @ec2 = AWS::EC2.new()
30
+ AWS::stub!
31
+ @ec2 = mock(AWS::EC2)
33
32
  @ec2helper = EC2Helper.new(@ec2, :log => LogHelper.new(:level => :trace, :type => :stdout))
34
33
  @ami = mock(AWS::EC2::Image)
35
34
  @instance = mock(AWS::EC2::Instance)
@@ -25,10 +25,9 @@ module BoxGrinder
25
25
  describe S3Helper do
26
26
 
27
27
  before(:each) do
28
- AWS.stub!
29
- AWS.config({:access_key_id => '', :secret_access_key => ''})
30
- @ec2 = AWS::EC2.new
31
- @s3 = AWS::S3.new
28
+ AWS::stub!
29
+ @ec2 = mock(AWS::EC2)
30
+ @s3 = mock(AWS::S3)
32
31
  @s3helper = S3Helper.new(@ec2, @s3, :log => LogHelper.new(:level => :trace, :type => :stdout))
33
32
  @s3obj = mock(AWS::S3::S3Object)
34
33
  @bucket = mock(AWS::S3::Bucket)
@@ -60,9 +60,8 @@ module BoxGrinder
60
60
  )
61
61
 
62
62
  #Set convenient dummies
63
- AWS.config({:access_key_id => '', :secret_access_key => ''})
64
- @ec2 = AWS::EC2.new
65
- @s3 = AWS::S3.new
63
+ @ec2 = mock(AWS::EC2)
64
+ @s3 = mock(AWS::S3)
66
65
  @s3helper = S3Helper.new(@ec2, @s3, :log => LogHelper.new(:level => :trace, :type => :stdout))
67
66
  @ec2helper = EC2Helper.new(@ec2, :log => LogHelper.new(:level => :trace, :type => :stdout))
68
67
 
@@ -53,10 +53,8 @@ module BoxGrinder
53
53
  @plugin.stub!(:validate)
54
54
 
55
55
  #Set convenient dummies
56
- AWS.stub!
57
- AWS.config({:access_key_id => '', :secret_access_key => ''})
58
- @ec2 = AWS::EC2.new
59
- @s3 = AWS::S3.new
56
+ @ec2 = mock(AWS::EC2)
57
+ @s3 = mock(AWS::S3)
60
58
  @s3helper = S3Helper.new(@ec2, @s3, :log => LogHelper.new(:level => :trace, :type => :stdout))
61
59
  @ec2helper = EC2Helper.new(@ec2, :log => LogHelper.new(:level => :trace, :type => :stdout))
62
60
  @bucket = mock(AWS::S3::Bucket)
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boxgrinder-build
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 5
10
- version: 0.9.5
10
+ - 1
11
+ version: 0.9.5.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - Marek Goldmann
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2011-08-26 00:00:00 +02:00
19
+ date: 2011-08-27 00:00:00 +02:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency