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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ca297b8510a9fa6d1f04eca08ca44e22f90e1c3
4
- data.tar.gz: ad8cd42af917f9af3c418229be4efc1e30eb6edd
3
+ metadata.gz: 878a47317dc728cc1510eb290b730d2c5a44f9ff
4
+ data.tar.gz: 77f12720849ff300686be6856d15272930c30459
5
5
  SHA512:
6
- metadata.gz: f3b2ca37ce0dd4a7d3f0d45074b99f990b10527456d9c2d81504f5998c7549adce3b9232072c9e8df1cba2fd14c2d668d8428a36304f836542c98916e948a228
7
- data.tar.gz: c0ed9136a3839e3ad59ff43f182afb4d1849c13847d798f29dff355a53ae12f2ba6e3b2f12dcced51d35ec9ee3f38dc4cde451ad942ca4b5f9b3c6fe519ed786
6
+ metadata.gz: 42ebb2f4624db7ffa0780cb2d6aacb4f69f74155a795d0091f0bc69aea95cc3a70d40f4189cf0664b4661fbe47eae907fdd5bb64284e5d530a8f74ca96ea334b
7
+ data.tar.gz: 8e99f5acbff73c03efe548a6c60fd730674b1c92c753f114433f0ffb21d8c16640d504881e90955fa2c297dfe5a1d1807bdf2234516451de1b93618d47bc0323
data/Gemfile CHANGED
@@ -2,3 +2,8 @@ source "http://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in knife-hp.gemspec
4
4
  gemspec
5
+
6
+ group :test do
7
+ gem 'webmock'
8
+ gem 'codeclimate-test-reporter'
9
+ end
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
@@ -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
- s.add_dependency "fog", ">= 1.20"
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
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Hp
3
- VERSION = "0.4.2rc1"
3
+ VERSION = "0.4.2"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
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.2rc1
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-09-25 00:00:00.000000000 Z
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: chef
43
+ name: rspec
30
44
  requirement: !ruby/object:Gem::Requirement
31
45
  requirements:
32
46
  - - ">="
33
47
  - !ruby/object:Gem::Version
34
- version: '11.0'
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: '11.0'
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: 1.3.1
112
+ version: '0'
85
113
  requirements: []
86
114
  rubyforge_project:
87
115
  rubygems_version: 2.2.2