abiquo-chef-agent 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
- = abiquo-chef-agent
1
+ abiquo-chef-agent
2
+ =================
2
3
 
3
4
  A simple boot time execution daemon that allow to execute the Chef configuration of an Abiquo virtual machine.
4
5
 
5
- == Contributing to abiquo-chef-agent
6
+ ## Contributing to abiquo-chef-agent
6
7
 
7
8
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
9
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
@@ -12,8 +13,6 @@ A simple boot time execution daemon that allow to execute the Chef configuration
12
13
  * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
14
  * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
15
 
15
- == Copyright
16
-
17
- Copyright (c) 2011 Sergio Rubio. See LICENSE.txt for
18
- further details.
16
+ ## Copyright
19
17
 
18
+ See LICENSE.txt for further details.
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
3
  require './lib/abiquo-chef-agent.rb'
4
-
5
4
  require 'jeweler'
5
+
6
6
  Jeweler::Tasks.new do |gem|
7
7
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
8
8
  gem.version = Abiquo::Chef::VERSION
@@ -19,9 +19,9 @@ Jeweler::Tasks.new do |gem|
19
19
  gem.add_runtime_dependency 'daemons'
20
20
  gem.add_runtime_dependency 'rest-client'
21
21
  gem.add_runtime_dependency 'xml-simple'
22
- gem.files.exclude 'rubygem-abiquo-chef-agent.spec'
23
22
  # gem.add_development_dependency 'rspec', '> 1.2.3'
24
23
  end
24
+
25
25
  Jeweler::RubygemsDotOrgTasks.new
26
26
 
27
27
  task :default => :build
@@ -5,7 +5,7 @@ require 'time'
5
5
  module Abiquo
6
6
  module Chef
7
7
 
8
- VERSION="2.0.2"
8
+ VERSION="2.0.3"
9
9
 
10
10
  class Config
11
11
  def self.chef_config_dir
@@ -1,6 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'rspec/autorun'
3
3
  require 'simplecov'
4
+
4
5
  SimpleCov.start do
5
6
  add_filter '/spec/'
6
7
  end
@@ -31,5 +31,9 @@ describe Abiquo::Chef::Config do
31
31
  @config.client_cert_file.should be_a(String)
32
32
  end
33
33
 
34
+ it "should have a valid bootstrap xml mediatype" do
35
+ @config.bootstrap_mediatype.should match(/^application\/vnd.abiquo.[a-z]+\+xml(;version=[0-9](\.[0-9]+)+)?$/)
36
+ end
37
+
34
38
  end
35
39
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abiquo-chef-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: