ironfan 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.0.1
1
+ 5.0.2
data/ironfan.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ironfan"
8
- s.version = "5.0.1"
8
+ s.version = "5.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Infochimps"]
@@ -94,9 +94,11 @@ module Ironfan
94
94
  if server_cluster
95
95
  wire_to(compute, full_server_cluster, facet_name, keys)
96
96
  else
97
- discover(announce_name) do |cluster_name, facet_name|
98
- wire_to(compute, cluster_name, facet_name, keys)
99
- end
97
+ # I'm defanging automatic discovery for now.
98
+ raise StandardError.new("must explicitly specify a server_cluster for discovery")
99
+ # discover(announce_name) do |cluster_name, facet_name|
100
+ # wire_to(compute, cluster_name, facet_name, keys)
101
+ # end
100
102
  end
101
103
  end
102
104
 
@@ -107,32 +107,5 @@ describe Ironfan::Dsl::Component do
107
107
 
108
108
  make_plugin_pair(:bam); make_plugin_pair(:pow)
109
109
  end
110
-
111
- it 'automatically discovers announcements within realms' do
112
- Ironfan.realm(:wap) do
113
- cluster(:foo){ bam_client; pow_server }
114
- cluster(:bar){ bam_server; pow_client }
115
-
116
- cluster(:foo).cluster_role.override_attributes[:discovers].should == {bam: :wap_bar}
117
- cluster(:bar).cluster_role.override_attributes[:discovers].should == {pow: :wap_foo}
118
- end
119
- end
120
-
121
- it 'automatically configures security groups during discovery' do
122
- Ironfan.realm(:wap) do
123
- cloud(:ec2)
124
-
125
- cluster(:foo){ bam_client; pow_server }
126
- cluster(:bar){ bam_server; pow_client }
127
- end.resolve!
128
-
129
- rspec = self
130
-
131
- foo_group = Ironfan.realm(:wap).cluster(:foo).cloud(:ec2).security_group('wap_foo')
132
- bar_group = Ironfan.realm(:wap).cluster(:bar).cloud(:ec2).security_group('wap_bar')
133
-
134
- foo_group.group_authorized.should include('wap_bar')
135
- bar_group.group_authorized.should include('wap_foo')
136
- end
137
110
  end
138
111
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ironfan
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -410,7 +410,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
410
410
  version: '0'
411
411
  segments:
412
412
  - 0
413
- hash: -3327629918889710157
413
+ hash: -4230075362252688655
414
414
  required_rubygems_version: !ruby/object:Gem::Requirement
415
415
  none: false
416
416
  requirements: