logandk-capistrano-ec2group 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. data/Rakefile +2 -2
  2. data/test/ec2group_test.rb +18 -0
  3. metadata +2 -1
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/rdoctask'
5
5
  desc 'Default: run unit tests.'
6
6
  task :default => :test
7
7
 
8
- desc 'Test the sprockets_compressor plugin.'
8
+ desc 'Test the capistrano-ec2group plugin.'
9
9
  Rake::TestTask.new(:test) do |t|
10
10
  t.libs << 'lib'
11
11
  t.libs << 'test'
@@ -13,7 +13,7 @@ Rake::TestTask.new(:test) do |t|
13
13
  t.verbose = true
14
14
  end
15
15
 
16
- desc 'Generate documentation for the sprockets_compressor plugin.'
16
+ desc 'Generate documentation for the capistrano-ec2group plugin.'
17
17
  Rake::RDocTask.new(:rdoc) do |rdoc|
18
18
  rdoc.rdoc_dir = 'rdoc'
19
19
  rdoc.title = 'capistrano-ec2group'
@@ -0,0 +1,18 @@
1
+ require 'test/unit'
2
+ require 'yaml'
3
+ require 'rubygems/specification'
4
+
5
+ class CapistranoTest < Test::Unit::TestCase
6
+ def test_build_gem
7
+ data = File.read(File.join(File.dirname(__FILE__), '..', 'capistrano-ec2group.gemspec'))
8
+ spec = nil
9
+
10
+ if data !~ %r{!ruby/object:Gem::Specification}
11
+ Thread.new { spec = eval("$SAFE = 3\n#{data}") }.join
12
+ else
13
+ spec = YAML.load(data)
14
+ end
15
+
16
+ assert spec.validate
17
+ end
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logandk-capistrano-ec2group
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Raarup
@@ -45,6 +45,7 @@ files:
45
45
  - Rakefile
46
46
  - README.markdown
47
47
  - lib/capistrano/ec2group.rb
48
+ - test/ec2group_test.rb
48
49
  has_rdoc: true
49
50
  homepage: http://github.com/logandk/capistrano-ec2group
50
51
  post_install_message: