knife-api 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 158d503433c25d5538023b080a366051098ad155
4
- data.tar.gz: 4065edc3773299e2834ada16861d430d9c6250ac
3
+ metadata.gz: b4370de6d156d548e5cf1ebb5f42ece6682503ca
4
+ data.tar.gz: 76233ba0c36beb967d3d4082194a29a79192e763
5
5
  SHA512:
6
- metadata.gz: 42f944444499e3dfe47f0f1d939343b59c706ebb91778537c3e93077437708b90e97b524cbef25230c8646ccb48bf3fee9fc85a6edc5573d76a7746db0a853f8
7
- data.tar.gz: 2b646c315f0a6f055d2c45f49a8f3407eabe6c9dd808b6cf37626cb98fc2cca7a6b4b26874ead5ce474645b7cc9c94eafef31910887b8283e4e7ebd59a90c994
6
+ metadata.gz: 408296dce47fe9a4ee687b0010dbc4657f19ce02df3b47e4ee2cf83175baf262e37ce21fb9a7bf357dfdbfef87dbeb611ae46df5915f5076576d2c7d9746c7c3
7
+ data.tar.gz: 14d3e5eb32e1650e690ac0c73ab664eeac50463d40ab4a271f5c8247fb3dcf8d64b91fff898fac1ed82c4ce7a784de100571426c9493924920e9467b6f932a59
data/Gemfile CHANGED
@@ -1,8 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'chef-zero', '3.1.2'
4
+
3
5
  gem 'json', '1.8.1'
4
6
 
5
7
  gem 'ohai', '>= 6.0.0', '< 8.0.0'
6
8
 
9
+ gem 'rake', '~> 10.3.2'
10
+
7
11
  # Specify your gem's dependencies in knife-api.gemspec
8
- gemspec
data/README.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Knife-API
2
2
 
3
+ Erik Hollensbe first released knife-dsl in November of 2012. His last release took place in December of 2012. Today it
4
+ is September 2014. knife-dsl has 3 pull requests, each of which would relax the existing constraint on the chef version
5
+ so that knife-dsl could work with chef 11.
6
+
7
+ Rather than wait for Erik, I decided to take this on, and to indicate a change of ownership I changed the name of the
8
+ gem to knife-api as I explained below. I released 0.1.1 of knife-api on August 23 2014, and the only change besides the
9
+ name was to bump the compatible chef version to be less than chef 12. Chef 12 is the process of being released so I am
10
+ taking a proactive stance and pushing the chef version to any version less than chef 13 with the release of knife-api
11
+ 0.1.2.
12
+
3
13
  Decided to change the name of this gem from knife-dsl to knife-api because the gem exposes methods from knife, the
4
14
  workhorse command line tool from the chef system and makes the methods available to ruby code. A library that lets
5
15
  you drive a command line tool programmatically offers an API and is not a DSL.
data/knife-api.gemspec CHANGED
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'chef', '>= 10.0', '< 12.0.0'
21
- gem.add_development_dependency 'rake'
20
+ gem.add_dependency 'chef', '>= 10.0', '< 13.0.0'
21
+ gem.add_development_dependency 'rake', '~> 10.3.2'
22
22
  end
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  class Knife
3
3
  module API
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Hollensbe
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-23 00:00:00.000000000 Z
12
+ date: 2014-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '10.0'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: 12.0.0
23
+ version: 13.0.0
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,21 +30,21 @@ dependencies:
30
30
  version: '10.0'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: 12.0.0
33
+ version: 13.0.0
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rake
36
36
  requirement: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 10.3.2
41
41
  type: :development
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 10.3.2
48
48
  description: A small library that lets you drive Chef's 'knife' programmatically
49
49
  email:
50
50
  - andyglick@gmailcom
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  requirements: []
81
81
  rubyforge_project:
82
- rubygems_version: 2.2.1
82
+ rubygems_version: 2.4.1
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: A small library that lets you drive Chef's 'knife' programmatically