chef-config 13.1.31 → 13.2.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef-config/package_task.rb +6 -3
- data/lib/chef-config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4e44a93a7dacdca19f58010aefe79865c4794e1
|
4
|
+
data.tar.gz: ffb0346b88082ac652fa93db8b322e10f956e96f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f713f080887f2f0484e6988682e87be035eb8bb181501682e36836aa32765e042332ea9d4977bceb551116c7563b241e74d92a02a671141ab2f36a4a3b48dfce
|
7
|
+
data.tar.gz: 7f8ca4cb9dc825dcbfd02d0e06d0374ed8dc0fbc78b40c4579a807dbbabe87266683a85aacc08ab3c9a2e0709f946f81015b71984a0468eca69f88742adfb88f
|
@@ -59,6 +59,9 @@ module ChefConfig
|
|
59
59
|
# Name of git remote used to push tags during a release. Default is origin.
|
60
60
|
attr_accessor :git_remote
|
61
61
|
|
62
|
+
# True if should use Chef::VersionString.
|
63
|
+
attr_accessor :use_versionstring
|
64
|
+
|
62
65
|
def initialize(root_path = nil, module_name = nil, gem_name = nil)
|
63
66
|
init(root_path, module_name, gem_name)
|
64
67
|
yield self if block_given?
|
@@ -162,7 +165,7 @@ module ChefConfig
|
|
162
165
|
end
|
163
166
|
|
164
167
|
namespace :version do
|
165
|
-
desc
|
168
|
+
desc "Regenerate lib/#{module_path}/version.rb from VERSION file"
|
166
169
|
task :update => :update_components_versions do
|
167
170
|
update_version_rb
|
168
171
|
update_gemfile_lock
|
@@ -219,10 +222,10 @@ module ChefConfig
|
|
219
222
|
# this repo. Do not edit this manually. Edit the VERSION file and run the rake
|
220
223
|
# task instead.
|
221
224
|
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
222
|
-
|
225
|
+
#{"\nrequire \"chef/version_string\"\n" if use_versionstring}
|
223
226
|
#{class_or_module} #{module_name}
|
224
227
|
#{module_name.upcase}_ROOT = File.expand_path("../..", __FILE__)
|
225
|
-
VERSION = "#{version}"
|
228
|
+
VERSION = #{use_versionstring ? "Chef::VersionString.new(\"#{version}\")" : "\"#{version}\""}
|
226
229
|
end
|
227
230
|
|
228
231
|
#
|
data/lib/chef-config/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.
|
4
|
+
version: 13.2.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|