cheffish 2.0.5 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -5
- data/cheffish.gemspec +1 -2
- data/lib/cheffish/array_property.rb +2 -2
- data/lib/cheffish/base_properties.rb +2 -2
- data/lib/cheffish/base_resource.rb +2 -2
- data/lib/cheffish/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2152f8be2d4b845b98f1d69f4ca8ceb17ac8b4d8
|
4
|
+
data.tar.gz: 7f45b1cebef250683f53f45b9fa9419cfa79117e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14050a662521eafe35e8ddf0dc229b28005a4a53a4518cf4a26076206d56b1a5ed90ae3070560cd363450053fce5a0007ff50e51bb72b6179e5a4d21ccb6d98d
|
7
|
+
data.tar.gz: 412c5d1682b9fadb7742a102ac886a89198d181c012752e3fd350e6d5145a9016aded49f48f0d5863985a4f8d19e4bd857482a9895ae688f7a775869d040ac3c
|
data/Gemfile
CHANGED
@@ -1,19 +1,22 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in ruby-project-template.gemspec
|
4
3
|
gemspec
|
5
4
|
|
5
|
+
group :changelog do
|
6
|
+
gem 'github_changelog_generator'
|
7
|
+
end
|
8
|
+
|
6
9
|
group :development do
|
7
10
|
gem 'rake'
|
8
11
|
gem 'rspec', '~> 3.0'
|
9
12
|
end
|
10
13
|
|
11
|
-
group :changelog do
|
12
|
-
gem 'github_changelog_generator'
|
13
|
-
end
|
14
|
-
|
15
14
|
# Allow Travis to run tests with different dependency versions
|
16
15
|
if ENV['GEMFILE_MOD']
|
17
16
|
puts ENV['GEMFILE_MOD']
|
18
17
|
instance_eval(ENV['GEMFILE_MOD'])
|
18
|
+
else
|
19
|
+
group :development do
|
20
|
+
gem 'chef', '~> 12.6'
|
21
|
+
end
|
19
22
|
end
|
data/cheffish.gemspec
CHANGED
@@ -13,9 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'http://github.com/chef/cheffish'
|
14
14
|
|
15
15
|
s.add_dependency 'chef-zero', '~> 4.3'
|
16
|
-
s.add_dependency '
|
16
|
+
s.add_dependency 'net-ssh'
|
17
17
|
|
18
|
-
s.add_development_dependency 'chef', '~> 12.2'
|
19
18
|
s.bindir = "bin"
|
20
19
|
s.executables = %w( )
|
21
20
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
require '
|
1
|
+
require 'chef/property'
|
2
2
|
|
3
3
|
module Cheffish
|
4
4
|
# A typical array property. Defaults to [], accepts multiple args to setter, accumulates values.
|
5
|
-
class ArrayProperty <
|
5
|
+
class ArrayProperty < Chef::Property
|
6
6
|
def initialize(**options)
|
7
7
|
options[:is] ||= Array
|
8
8
|
options[:default] ||= []
|
@@ -1,10 +1,10 @@
|
|
1
|
-
require '
|
1
|
+
require 'chef/mixin/properties'
|
2
2
|
require 'cheffish/array_property'
|
3
3
|
require 'cheffish'
|
4
4
|
|
5
5
|
module Cheffish
|
6
6
|
module BaseProperties
|
7
|
-
include
|
7
|
+
include Chef::Mixin::Properties
|
8
8
|
|
9
9
|
def initialize(*args)
|
10
10
|
super
|
@@ -1,8 +1,8 @@
|
|
1
|
-
require '
|
1
|
+
require 'chef/resource'
|
2
2
|
require 'cheffish/base_properties'
|
3
3
|
|
4
4
|
module Cheffish
|
5
|
-
class BaseResource <
|
5
|
+
class BaseResource < Chef::Resource
|
6
6
|
include Cheffish::BaseProperties
|
7
7
|
|
8
8
|
declare_action_class.class_eval do
|
data/lib/cheffish/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cheffish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-zero
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: net-ssh
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: chef
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '12.2'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '12.2'
|
55
41
|
description: A library to manipulate Chef in Chef.
|
56
42
|
email: jkeiser@chef.io
|
57
43
|
executables: []
|
@@ -144,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
130
|
version: '0'
|
145
131
|
requirements: []
|
146
132
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.
|
133
|
+
rubygems_version: 2.4.8
|
148
134
|
signing_key:
|
149
135
|
specification_version: 4
|
150
136
|
summary: A library to manipulate Chef in Chef.
|