knife-spork 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/knife-spork.gemspec +1 -1
- data/lib/chef/knife/spork-promote.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/knife-spork.gemspec
CHANGED
@@ -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.0.
|
5
|
+
gem.version = '1.0.13'
|
6
6
|
gem.authors = ["Jon Cowie"]
|
7
7
|
gem.email = 'jonlives@gmail.com'
|
8
8
|
gem.homepage = 'https://github.com/jonlives/knife-spork'
|
@@ -122,7 +122,7 @@ module KnifeSpork
|
|
122
122
|
end
|
123
123
|
|
124
124
|
def save_environment_changes(environment, json)
|
125
|
-
environments_path = cookbook_path.gsub('cookbooks', 'environments')
|
125
|
+
environments_path = spork_config[:environment_path] || cookbook_path.gsub('cookbooks', 'environments')
|
126
126
|
environment_path = File.expand_path( File.join(environments_path, "#{environment}.json") )
|
127
127
|
|
128
128
|
File.open(environment_path, 'w'){ |f| f.puts(json) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-spork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chef
|