rivet 1.0.4 → 1.0.5
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/.gitignore +1 -0
- data/CHANGELOG.md +3 -0
- data/lib/rivet/launch_config.rb +1 -14
- data/lib/rivet/version.rb +1 -1
- metadata +1 -1
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/rivet/launch_config.rb
CHANGED
@@ -64,6 +64,7 @@ module Rivet
|
|
64
64
|
end
|
65
65
|
accum
|
66
66
|
end
|
67
|
+
Rivet::Log.debug("Pre SHA1 identity string is #{identity}")
|
67
68
|
identity
|
68
69
|
end
|
69
70
|
|
@@ -71,20 +72,6 @@ module Rivet
|
|
71
72
|
@id_prefix + Digest::SHA1.hexdigest(build_identity_string)
|
72
73
|
end
|
73
74
|
|
74
|
-
def old_generate_identity
|
75
|
-
identity = LC_ATTRIBUTES.inject({}) do |ident_hash,attribute|
|
76
|
-
if attribute != 'bootstrap'
|
77
|
-
Rivet::Log.debug("Adding #{attribute} : #{self.send(attribute.to_sym)} to identity hash for LaunchConfig")
|
78
|
-
ident_hash[attribute] = self.send(attribute.to_sym)
|
79
|
-
else
|
80
|
-
Rivet::Log.debug("Adding user_data to identity hash for LaunchConfig:\n#{user_data} ")
|
81
|
-
ident_hash[attribute] = user_data
|
82
|
-
end
|
83
|
-
ident_hash
|
84
|
-
end
|
85
|
-
@id_prefix + Digest::SHA1.hexdigest(Marshal::dump(identity))
|
86
|
-
end
|
87
|
-
|
88
75
|
def normalize_security_groups(groups)
|
89
76
|
groups.nil? ? groups : groups.sort
|
90
77
|
end
|
data/lib/rivet/version.rb
CHANGED