vcloud-box-spinner 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.2.2 2013-08-13
2
+
3
+ - Making --setup-script option while create action optional
4
+
1
5
  0.2.1 2013-08-09
2
6
 
3
7
  - Fixing the homepage url
data/LICENSE CHANGED
@@ -1,5 +1,5 @@
1
1
  The MIT License (MIT)
2
- Copyright (c) 2013 singhgarima
2
+ Copyright (c) 2013 Government Digital Service
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
@@ -2,7 +2,7 @@ module Provisioner
2
2
  module ComputeAction
3
3
  module Create
4
4
  def user_data_files
5
- [File.expand_path(options[:setup_script])]
5
+ options[:setup_script].nil? ? [] : [File.expand_path(options[:setup_script])]
6
6
  end
7
7
  private :user_data_files
8
8
 
@@ -1,3 +1,3 @@
1
1
  module Provisioner
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -1,8 +1,9 @@
1
1
  require 'spec_helper'
2
+ require 'provisioner/provisioner'
2
3
  require 'provisioner/compute_node'
3
4
 
4
5
  module Provisioner
5
- class DummyClass
6
+ class DummyClass < Provisioner
6
7
  include ComputeNode
7
8
  end
8
9
  end
@@ -16,4 +17,8 @@ describe 'Provisoner::ComputeNode' do
16
17
  it "should not undeploy the vApp is stopped while delete action" do
17
18
  pending "mock not supported in fog"
18
19
  end
20
+
21
+ it "should not error out if option setup_script not provided" do
22
+ pending "mocks not supported in fog"
23
+ end
19
24
  end
@@ -20,6 +20,8 @@ which enables you to be able to configure VMs with static IPs}
20
20
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
21
  s.require_paths = ["lib"]
22
22
 
23
+ s.license = 'MIT'
24
+
23
25
  s.add_development_dependency "rake"
24
26
  s.add_development_dependency "minitest"
25
27
  s.add_development_dependency "mocha"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vcloud-box-spinner
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Garima Singh
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-08-09 00:00:00 Z
13
+ date: 2013-08-13 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -177,8 +177,8 @@ files:
177
177
  - spec/test_data/org.json
178
178
  - vcloud-box-spinner.gemspec
179
179
  homepage: https://github.com/alphagov/vcloud-box-spinner
180
- licenses: []
181
-
180
+ licenses:
181
+ - MIT
182
182
  post_install_message:
183
183
  rdoc_options: []
184
184
 
@@ -189,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - ">="
191
191
  - !ruby/object:Gem::Version
192
- hash: 1394869752269119141
192
+ hash: -764948646320920490
193
193
  segments:
194
194
  - 0
195
195
  version: "0"
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - ">="
200
200
  - !ruby/object:Gem::Version
201
- hash: 1394869752269119141
201
+ hash: -764948646320920490
202
202
  segments:
203
203
  - 0
204
204
  version: "0"