rivet 1.0.7 → 1.0.8
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.md +5 -1
- data/lib/rivet/version.rb +1 -1
- data/spec/rivet_bootstrap_spec.rb +2 -2
- data/spec/rivet_spec_setup.rb +2 -0
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
1
|
Rivet CHANGELOG
|
2
2
|
===
|
3
3
|
|
4
|
+
1.0.8 - Released 11/12/13
|
5
|
+
---
|
6
|
+
* Fixes the unit tests which were incorrect.
|
7
|
+
|
4
8
|
1.0.7 - Released 11/12/13
|
5
9
|
---
|
6
10
|
* Fixes a bug where the run_list json was not rendered properly
|
7
|
-
* Adds the iam_instance_profile option to the launch config.
|
11
|
+
* Adds the iam_instance_profile option to the launch config.
|
8
12
|
|
9
13
|
1.0.6 - Released 11/11/2013
|
10
14
|
---
|
data/lib/rivet/version.rb
CHANGED
@@ -38,8 +38,8 @@ describe 'rivet bootstrap' do
|
|
38
38
|
end
|
39
39
|
|
40
40
|
it 'returns a string that contains the run_list as json' do
|
41
|
-
run_list = { :run_list => bootstrap_def['run_list'].
|
42
|
-
bootstrap.user_data.should =~ /#{run_list}/
|
41
|
+
run_list = { :run_list => bootstrap_def['run_list'].flatten }.to_json
|
42
|
+
bootstrap.user_data.should =~ /#{Regexp.escape(run_list)}/
|
43
43
|
end
|
44
44
|
|
45
45
|
it 'returns a string that contains each gem to install' do
|
data/spec/rivet_spec_setup.rb
CHANGED
@@ -27,6 +27,7 @@ module SpecHelpers
|
|
27
27
|
'instance_type' => 'm1.large',
|
28
28
|
'security_groups' => ['unit_tests1','unit_tests2'],
|
29
29
|
'image_id' => 'ami-12345678',
|
30
|
+
'iam_instance_profile' => 'unit_test_profile',
|
30
31
|
'bootstrap' => {
|
31
32
|
'chef_organization' => 'unit_tests',
|
32
33
|
'template' => 'default.erb',
|
@@ -41,6 +42,7 @@ module SpecHelpers
|
|
41
42
|
"image_id#{Base64.encode64(AUTOSCALE_DEF['image_id'])}"\
|
42
43
|
"instance_type#{Base64.encode64(AUTOSCALE_DEF['instance_type'])}"\
|
43
44
|
"security_groups#{Base64.encode64(AUTOSCALE_DEF['security_groups'].join("\t"))}"\
|
45
|
+
"iam_instance_profile#{Base64.encode64(AUTOSCALE_DEF['iam_instance_profile'])}"\
|
44
46
|
"bootstrap#{Base64.encode64('unit_test_user_data')}"\
|
45
47
|
|
46
48
|
def tempdir_context(name, &block)
|