ironfan 4.4.0 → 4.4.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v4.4.1:
2
+ * Re-enables integration specs, explicitly excluding them from "rake spec" (@nickmarden)
3
+
1
4
  # v4.4.0: @nickmarden adds ELB support, broader spec coverage
2
5
  * Security groups: removing ensured field (never set, causing bug), making selection use VPC if applicable
3
6
  * Spec coverage for full cluster launch process
data/Rakefile CHANGED
@@ -64,7 +64,9 @@ Jeweler::RubygemsDotOrgTasks.new
64
64
  #
65
65
  # RSpec -- testing
66
66
  #
67
- RSpec::Core::RakeTask.new(:spec)
67
+ RSpec::Core::RakeTask.new(:spec) do |spec|
68
+ spec.pattern = 'spec/{ironfan,chef,ironfan/*}/*_spec.rb'
69
+ end
68
70
 
69
71
  RSpec::Core::RakeTask.new(:rcov) do |spec|
70
72
  spec.pattern = 'spec/**/*_spec.rb'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.4.0
1
+ 4.4.1
data/ironfan.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ironfan"
8
- s.version = "4.4.0"
8
+ s.version = "4.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Infochimps"]
12
- s.date = "2012-10-22"
12
+ s.date = "2012-10-23"
13
13
  s.description = "Ironfan allows you to orchestrate not just systems but clusters of machines. It includes a powerful layer on top of knife and a collection of cloud cookbooks."
14
14
  s.email = "coders@infochimps.com"
15
15
  s.extra_rdoc_files = [
@@ -47,26 +47,23 @@ end
47
47
  launch_cluster 'elb' do |cluster, computers|
48
48
  describe "the elb cluster" do
49
49
 
50
- it "should have the correct number of running computers"
51
- # it "should have the correct number of running computers" do
52
- # computers.size.should == cluster.facets[:web].instances
53
- # computers.values.reject { |c| c.running? }.should be_empty
54
- # end
50
+ it "should have the correct number of running computers" do
51
+ computers.size.should == cluster.facets[:web].instances
52
+ computers.values.reject { |c| c.running? }.should be_empty
53
+ end
55
54
 
56
55
  describe "the snake-oil certificate" do
57
56
  before :each do
58
57
  @iss = Ironfan::Provider::Ec2::IamServerCertificate.recall('ironfan-elb-snake-oil')
59
58
  end
60
59
 
61
- it "should exist"
62
- # it "should exist" do
63
- # @iss.should_not be_nil
64
- # end
60
+ it "should exist" do
61
+ @iss.should_not be_nil
62
+ end
65
63
 
66
- it "should be retrievable by ARN"
67
- # it "should be retrievable by ARN" do
68
- # @iss.should == Ironfan::Provider::Ec2::IamServerCertificate.recall("#{Ironfan::Provider::Ec2::IamServerCertificate::ARN_PREFIX}:#{@iss['Arn']}")
69
- # end
64
+ it "should be retrievable by ARN" do
65
+ @iss.should == Ironfan::Provider::Ec2::IamServerCertificate.recall("#{Ironfan::Provider::Ec2::IamServerCertificate::ARN_PREFIX}:#{@iss['Arn']}")
66
+ end
70
67
 
71
68
  end
72
69
 
@@ -75,20 +72,18 @@ launch_cluster 'elb' do |cluster, computers|
75
72
  @elb = Ironfan::Provider::Ec2::ElasticLoadBalancer.recall('ironfan-elb-simple-elb')
76
73
  end
77
74
 
78
- it "should exist"
79
- # it "should exist" do
80
- # @elb.should_not be_nil
81
- # end
75
+ it "should exist" do
76
+ @elb.should_not be_nil
77
+ end
82
78
 
83
- it "should have two instances"
84
- # @elb.instances.size.should == cluster.facets[:web].instances
85
- # end
79
+ it "should have two instances" do
80
+ @elb.instances.size.should == cluster.facets[:web].instances
81
+ end
86
82
 
87
- it "should use the snake-oil certificate"
88
- # it "should use the snake-oil certificate" do
89
- # iss = Ironfan::Provider::Ec2::IamServerCertificate.recall('ironfan-elb-snake-oil')
90
- # @elb.listeners.map(&:ssl_id).include?(iss['Arn']).should be_true
91
- # end
83
+ it "should use the snake-oil certificate" do
84
+ iss = Ironfan::Provider::Ec2::IamServerCertificate.recall('ironfan-elb-snake-oil')
85
+ @elb.listeners.map(&:ssl_id).include?(iss['Arn']).should be_true
86
+ end
92
87
  end
93
88
 
94
89
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ironfan
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 4.4.0
5
+ version: 4.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Infochimps
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-10-22 00:00:00 Z
13
+ date: 2012-10-23 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: chef
@@ -278,7 +278,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
278
278
  requirements:
279
279
  - - ">="
280
280
  - !ruby/object:Gem::Version
281
- hash: -2859463116680425852
281
+ hash: 688283162375062517
282
282
  segments:
283
283
  - 0
284
284
  version: "0"