knife-hp 0.4.2rc1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +5 -0
- data/Rakefile +30 -0
- data/knife-hp.gemspec +5 -1
- data/lib/knife-hp/version.rb +1 -1
- metadata +35 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 878a47317dc728cc1510eb290b730d2c5a44f9ff
|
4
|
+
data.tar.gz: 77f12720849ff300686be6856d15272930c30459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42ebb2f4624db7ffa0780cb2d6aacb4f69f74155a795d0091f0bc69aea95cc3a70d40f4189cf0664b4661fbe47eae907fdd5bb64284e5d530a8f74ca96ea334b
|
7
|
+
data.tar.gz: 8e99f5acbff73c03efe548a6c60fd730674b1c92c753f114433f0ffb21d8c16640d504881e90955fa2c297dfe5a1d1807bdf2234516451de1b93618d47bc0323
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -1,2 +1,32 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
Bundler::GemHelper.install_tasks
|
3
|
+
|
4
|
+
require 'rubygems'
|
5
|
+
require 'rubygems/package_task'
|
6
|
+
|
7
|
+
task :default => :all
|
8
|
+
task :all => [:spec, :uninstall, :install]
|
9
|
+
|
10
|
+
# Packaging
|
11
|
+
GEM_NAME = "knife-hp"
|
12
|
+
require File.dirname(__FILE__) + '/lib/knife-hp/version'
|
13
|
+
spec = eval(File.read("knife-hp.gemspec"))
|
14
|
+
Gem::PackageTask.new(spec) do |pkg|
|
15
|
+
pkg.gem_spec = spec
|
16
|
+
end
|
17
|
+
|
18
|
+
desc "uninstall #{GEM_NAME}-#{Knife::Hp::VERSION}.gem from system..."
|
19
|
+
task :uninstall do
|
20
|
+
sh %{gem uninstall #{GEM_NAME} -x -v #{Knife::Hp::VERSION} }
|
21
|
+
end
|
22
|
+
|
23
|
+
# rspec
|
24
|
+
begin
|
25
|
+
require 'rspec/core/rake_task'
|
26
|
+
desc "Run all specs in spec directory"
|
27
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
28
|
+
t.pattern = 'spec/unit/**/*_spec.rb'
|
29
|
+
end
|
30
|
+
rescue LoadError
|
31
|
+
STDERR.puts "\n*** RSpec not available. (sudo) gem install rspec to run unit tests. ***\n\n"
|
32
|
+
end
|
data/knife-hp.gemspec
CHANGED
@@ -19,7 +19,11 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
|
22
|
+
|
23
23
|
s.add_dependency "chef", ">= 11.0"
|
24
|
+
s.add_dependency "fog", ">= 1.20"
|
25
|
+
s.add_dependency "rspec"
|
26
|
+
s.add_dependency "rake"
|
27
|
+
|
24
28
|
|
25
29
|
end
|
data/lib/knife-hp/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-hp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Ray
|
@@ -9,8 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: chef
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '11.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '11.0'
|
14
28
|
- !ruby/object:Gem::Dependency
|
15
29
|
name: fog
|
16
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -26,19 +40,33 @@ dependencies:
|
|
26
40
|
- !ruby/object:Gem::Version
|
27
41
|
version: '1.20'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
43
|
+
name: rspec
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
31
45
|
requirements:
|
32
46
|
- - ">="
|
33
47
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
48
|
+
version: '0'
|
35
49
|
type: :runtime
|
36
50
|
prerelease: false
|
37
51
|
version_requirements: !ruby/object:Gem::Requirement
|
38
52
|
requirements:
|
39
53
|
- - ">="
|
40
54
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rake
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
42
70
|
description: HP Cloud Services Cloud support for Chef's Knife command
|
43
71
|
email:
|
44
72
|
- adam@opscode.com
|
@@ -79,9 +107,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
79
107
|
version: '0'
|
80
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
109
|
requirements:
|
82
|
-
- - "
|
110
|
+
- - ">="
|
83
111
|
- !ruby/object:Gem::Version
|
84
|
-
version:
|
112
|
+
version: '0'
|
85
113
|
requirements: []
|
86
114
|
rubyforge_project:
|
87
115
|
rubygems_version: 2.2.2
|