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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9604eb3cba629ceef8d7e57aa5009d0cbbca6b7e
4
- data.tar.gz: 7f8f7a795195719ad566edcb42df0486633236f0
3
+ metadata.gz: 2152f8be2d4b845b98f1d69f4ca8ceb17ac8b4d8
4
+ data.tar.gz: 7f45b1cebef250683f53f45b9fa9419cfa79117e
5
5
  SHA512:
6
- metadata.gz: acdaabb743e1003022f2282e041d0fdcccf7e8ed8c7ce7928b2dcf021ad51dfd9ad8fac9fca7d7a63ff910b9b933b9f0648c107b760716b61f06133869c92165
7
- data.tar.gz: d9280f736b9ad162c83da2a435a7f75edc3c45b26f37f975b0120017f65fe6f886c1f6f145bdb5c513c530057ea6fa5b170db67684aa27a3d37cd07b4890b3e1
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
@@ -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 'compat_resource'
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 'chef_compat/property'
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 < ChefCompat::Property
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 'chef_compat/mixin/properties'
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 ChefCompat::Mixin::Properties
7
+ include Chef::Mixin::Properties
8
8
 
9
9
  def initialize(*args)
10
10
  super
@@ -1,8 +1,8 @@
1
- require 'chef_compat/resource'
1
+ require 'chef/resource'
2
2
  require 'cheffish/base_properties'
3
3
 
4
4
  module Cheffish
5
- class BaseResource < ChefCompat::Resource
5
+ class BaseResource < Chef::Resource
6
6
  include Cheffish::BaseProperties
7
7
 
8
8
  declare_action_class.class_eval do
@@ -1,3 +1,3 @@
1
1
  module Cheffish
2
- VERSION = '2.0.5'
2
+ VERSION = '3.0.0'
3
3
  end
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: 2.0.5
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-03 00:00:00.000000000 Z
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: compat_resource
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.5.1
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.