chef-config 12.4.0.rc.0 → 12.4.0.rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +11 -1
  3. data/lib/chef-config/version.rb +1 -1
  4. metadata +4 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47261ae6b047e19623d6d7a6ce2d6d591f0a6bcf
4
- data.tar.gz: 6412fc7b6d5c90b1517b82362ccedf52542ff910
3
+ metadata.gz: 95aaf6b21ba23f9040a048d84633118c17a2d71b
4
+ data.tar.gz: f8480cc9a76dd31404954f9f9a5ef83b3ba2f616
5
5
  SHA512:
6
- metadata.gz: a1aeadc54e73f8e5f48d136f79a0cbf2d4d8d9d784557602f44a70918eceee7f26d9e95f62ba0872e729aa6beee7d99958a09f7fe457af52d9c66b8842497347
7
- data.tar.gz: 387d9ee9742dde18cb99735ac2b8e2803442d4a5958ab0cc02e9080230e2b49e2a2e66b534dc8fc572704b13dda8f186c65efcd582084bc4f9e792a9264211ae
6
+ metadata.gz: bfdea311458339cb869aa46b4aff085d2c3072b81a8b8b805fd8de0efec857a15848ec44cf299c4768ad7b850950c56a074f9728bf7a3a9c59852365ea92fde4
7
+ data.tar.gz: a399462f0b72653529eaa287857417d8d85b92df3155567149aef7e1324f4ca5d2b3e3cede82f91603988b6151d5342959ddd48d1f58c3cbcf1760f7719d09cf
data/Rakefile CHANGED
@@ -8,9 +8,19 @@ Dir[File.expand_path("../*gemspec", __FILE__)].reverse.each do |gemspec_path|
8
8
  Gem::PackageTask.new(gemspec).define
9
9
  end
10
10
 
11
+ def with_clean_env(&block)
12
+ if defined?(Bundler)
13
+ Bundler.with_clean_env(&block)
14
+ else
15
+ block.call
16
+ end
17
+ end
18
+
11
19
  desc "Build and install a chef-config gem"
12
20
  task :install => [:package] do
13
- sh %{gem install pkg/chef-config-#{ChefConfig::VERSION}.gem --no-rdoc --no-ri}
21
+ with_clean_env do
22
+ sh(%{gem install pkg/chef-config-#{ChefConfig::VERSION}.gem --no-rdoc --no-ri}, verbose: true)
23
+ end
14
24
  end
15
25
 
16
26
  task :default => :spec
@@ -20,6 +20,6 @@
20
20
  #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
21
21
 
22
22
  module ChefConfig
23
- VERSION = '12.4.0.rc.0'
23
+ VERSION = '12.4.0.rc.2'
24
24
  end
25
25
 
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: 12.4.0.rc.0
4
+ version: 12.4.0.rc.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-22 00:00:00.000000000 Z
11
+ date: 2015-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -99,9 +99,7 @@ email:
99
99
  - adam@chef.io
100
100
  executables: []
101
101
  extensions: []
102
- extra_rdoc_files:
103
- - README.md
104
- - LICENSE
102
+ extra_rdoc_files: []
105
103
  files:
106
104
  - LICENSE
107
105
  - README.md
@@ -116,7 +114,7 @@ files:
116
114
  - spec/spec_helper.rb
117
115
  - spec/unit/config_spec.rb
118
116
  - spec/unit/path_helper_spec.rb
119
- homepage: http://www.chef.io
117
+ homepage: https://github.com/chef/chef
120
118
  licenses:
121
119
  - Apache-2.0
122
120
  metadata: {}