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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53ced93b35089677baf1534b1e90fb75d8518b23
4
- data.tar.gz: d779cc06e0d14c63473378e690545da2d97f2b13
3
+ metadata.gz: b4e44a93a7dacdca19f58010aefe79865c4794e1
4
+ data.tar.gz: ffb0346b88082ac652fa93db8b322e10f956e96f
5
5
  SHA512:
6
- metadata.gz: 4258d4cb751e50d31a4e935b281475ade95a00fb59e28347d231d94cd8cabab8491f746fc5bc96c6a7142a1103f8b002d32f45d9ea4e6484093443a2edf2f063
7
- data.tar.gz: 70feb57c25d85d44c8fb639b74b6409dd837743f0808e17f9e2510ef90194e23958c97fec434287f78373fa5dbe9449f3ff1e0b0778f1ac2f2722c1017d9b756
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 'Regenerate lib/#{@module_path}/version.rb from VERSION file'
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
  #
@@ -21,7 +21,7 @@
21
21
 
22
22
  module ChefConfig
23
23
  CHEFCONFIG_ROOT = File.expand_path("../..", __FILE__)
24
- VERSION = "13.1.31"
24
+ VERSION = "13.2.20"
25
25
  end
26
26
 
27
27
  #
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.1.31
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-05-30 00:00:00.000000000 Z
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout