knife-spork 1.6.1 → 1.6.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: 93e752d2fef0d00b90070917a9cacf6c8a76b7ef
4
- data.tar.gz: de4e76be38ac6164362b384f6c84a63949caa525
3
+ metadata.gz: 26313008b7f03c5acecc0d2b2970fb06a77065b8
4
+ data.tar.gz: ca8484028045757341ce88915ede0fd19369f795
5
5
  SHA512:
6
- metadata.gz: 2bbc27290cb40cc10b110f01df391530076f7c470ed7706c78782f038bbdfbe2af658296dc030972e23c42a68da0a52db38170f9bc619d4d68e4c95366626286
7
- data.tar.gz: f423f662b3dec1c37efd56718345b3aacb8f62ced62f2aeb68971fcbebe0b6661a42841f836c0333dcf4c0935f13e36485c6145040e1b5b34ba3b48f6caaea50
6
+ metadata.gz: fb63fa4406cbaa4528de24fe0f7b348f307583e364bda31ff8bd65360018b20d5a168ecbf73cebe577132f8fc89be40edbb8cdc5ffb86e4b83a1cad24e08d94c
7
+ data.tar.gz: 8da3b9ff746dffb31df03926a3f5e288c7b0b6c92cc5db4a9c55a28980d598995d6a3e7710a7682b279abd222844f974fd1406198791c7766522829ac34f2e98
@@ -1 +1 @@
1
- ruby-2.1.1
1
+ ruby-2.1.4
@@ -1,3 +1,13 @@
1
+ ## 1.6.2(13th June, 2016)
2
+
3
+ Features:
4
+
5
+ - Search for spork config file in .chef directory under current working dir (Thansk to jgoulah https://github.com/jonlives/knife-spork/pull/203)
6
+
7
+ Bugfixes:
8
+
9
+ - Typo fix in documentation (Thanks to @gregkare https://github.com/jonlives/knife-spork/pull/199)
10
+
1
11
  ## 1.6.1(18th August, 2015)
2
12
 
3
13
  Bugfixes:
data/README.md CHANGED
@@ -33,6 +33,7 @@ KnifeSpork will look for a configuration file in the following locations, in asc
33
33
  - `config/spork-config.yml`
34
34
  - `/etc/spork-config.yml`
35
35
  - `~/.chef/spork-config.yml`
36
+ - `.chef/spork-config.yml`
36
37
 
37
38
  Anything set in the configuration file in your home directory for example, will override options set in your Chef repository or `/etc`.
38
39
 
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = 'knife-spork'
5
- gem.version = '1.6.1'
5
+ gem.version = '1.6.2'
6
6
  gem.authors = ["Jon Cowie"]
7
7
  gem.email = 'jonlives@gmail.com'
8
8
  gem.homepage = 'https://github.com/jonlives/knife-spork'
@@ -190,7 +190,7 @@ module KnifeSpork
190
190
  cb_latest = Chef::CookbookVersion.load(cookbook_name).metadata.version
191
191
  # ui.msg "server: #{cb_latest} -- local: #{version}"
192
192
  if cb_latest > version
193
- ui.confirm "There is a later verison of #{cookbook_name} on the chef server. Would you still like to promote version #{version}?"
193
+ ui.confirm "There is a later version of #{cookbook_name} on the chef server. Would you still like to promote version #{version}"
194
194
  end
195
195
  end
196
196
  end
@@ -17,7 +17,7 @@ module KnifeSpork
17
17
  return @spork_config unless @spork_config.nil?
18
18
 
19
19
  @spork_config = AppConf.new
20
- load_paths = [ File.expand_path("#{cookbook_path.gsub('cookbooks','')}/config/spork-config.yml"), File.expand_path('config/spork-config.yml'), '/etc/spork-config.yml', File.expand_path('~/.chef/spork-config.yml') ]
20
+ load_paths = [ File.expand_path("#{cookbook_path.gsub('cookbooks','')}/config/spork-config.yml"), File.expand_path('config/spork-config.yml'), '/etc/spork-config.yml', File.expand_path('~/.chef/spork-config.yml'), File.expand_path("#{cookbook_path.gsub('cookbooks','')}/.chef/spork-config.yml") ]
21
21
  load_paths.each do |load_path|
22
22
  if File.exists?(load_path)
23
23
  @spork_config.load(load_path)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-spork
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Cowie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-18 00:00:00.000000000 Z
11
+ date: 2016-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  requirements: []
218
218
  rubyforge_project:
219
- rubygems_version: 2.2.2
219
+ rubygems_version: 2.4.6
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: A workflow plugin to help many devs work with the same chef repo/server
@@ -232,4 +232,3 @@ test_files:
232
232
  - spec/unit/spork_info_spec.rb
233
233
  - spec/unit/spork_promote_spec.rb
234
234
  - spec/unit/spork_upload_spec.rb
235
- has_rdoc: