nephophobia 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/nephophobia/image.rb +3 -1
- data/lib/nephophobia/version.rb +1 -1
- data/test/lib/nephophobia/image_test.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/lib/nephophobia/image.rb
CHANGED
@@ -72,7 +72,9 @@ module Nephophobia
|
|
72
72
|
# Images which do not have a valid kernel_id are not runnable.
|
73
73
|
|
74
74
|
def public? image
|
75
|
-
image.is_public == "true" &&
|
75
|
+
image.is_public == "true" &&
|
76
|
+
image.kernel_id != "true" &&
|
77
|
+
image.image_type == "machine"
|
76
78
|
end
|
77
79
|
end
|
78
80
|
end
|
data/lib/nephophobia/version.rb
CHANGED