nephophobia 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nephophobia (0.0.2)
4
+ nephophobia (0.0.3)
5
5
  hugs (~> 2.5.0)
6
6
 
7
7
  GEM
@@ -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" && image.kernel_id != "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
@@ -1,3 +1,3 @@
1
1
  module Nephophobia
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -61,7 +61,7 @@ describe Nephophobia::Image do
61
61
  VCR.use_cassette "image_all" do
62
62
  response = @image.public
63
63
 
64
- response.size.must_equal 2
64
+ response.size.must_equal 1
65
65
  end
66
66
  end
67
67
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: nephophobia
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Dewey