discotheque 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,7 @@
1
1
  module Discotheque
2
+ # something something darkside
2
3
  end
3
4
 
4
5
  require File.join(File.dirname(__FILE__), 'discotheque', 'version')
5
6
  require File.join(File.dirname(__FILE__), 'discotheque', 'metadata')
7
+ require File.join(File.dirname(__FILE__), 'discotheque', 'discover')
@@ -14,7 +14,7 @@ module Discotheque
14
14
  begin
15
15
  %w[instance-id ami-id security-groups availability-zone].each do |datum|
16
16
  datum == "availability-zone" ? url="#{base_url}/placement/#{datum}" : url="#{base_url}#{datum}"
17
- d = HTTParty.get("#{url}").parsed_response
17
+ d = ::HTTParty.get("#{url}").parsed_response
18
18
  if datum == "security-groups"
19
19
  instance_variable_set "@group_name", d
20
20
  elsif datum == "ami-id"
@@ -1,3 +1,3 @@
1
1
  module Discotheque
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: discotheque
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - John E. Vincent