puppetlabs_spec_helper 2.1.4 → 2.1.5

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: 1889098dbf439ae7274e2b27fb3953d82a8c53a8
4
- data.tar.gz: dd27b2e161f3c4a7c77ba38e044f4a1a322bb3fd
3
+ metadata.gz: 8e3472ad77e608056f88474bab00098c3572c9d7
4
+ data.tar.gz: df118099df1ce052efcfa6be4a439b46af203375
5
5
  SHA512:
6
- metadata.gz: b6ae9d52ec46f3b3cf480b03a12491e79fe771b3f61b846da7b3fabd8a9a772783c61ec0c6c24552d68108be344958c37191af91f3081c79caa9317af9eae629
7
- data.tar.gz: 78c2779abc91960af397c0129249c4ea8e8724dfe60214e98014f1f0e0f0d5063c8039600bf2bb0bf37a3e1278b869aa11b0bcaa5b6da08064560fe19acc240a
6
+ metadata.gz: 0a093dfbc32ddf5b989121857bc08f17f265242d58ec04c2c071771bf361ee5dce912502e1b2997314a223d96666a14af26e7df22bb402a591f2ac48cd52567e
7
+ data.tar.gz: 0ffb1040801d8692fecacd7814ffa50169e95ffba49fb799870d116e14148a6fc1c164fd3a9a14e9f17461abc1bd5c045f8acc2b5620b9a308d7ab9088ac305a
@@ -2,6 +2,10 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [2.1.5]
6
+ ### Summary:
7
+ Fix symlinks fixtures code.
8
+
5
9
  ## [2.1.4]
6
10
  ### Summary:
7
11
  Better Windows support.
@@ -346,7 +350,9 @@ compatible yet.
346
350
  ### Added
347
351
  * Initial release
348
352
 
349
- [unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.3...master
353
+ [unreleased]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.5...master
354
+ [2.1.5]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.4...v2.1.5
355
+ [2.1.4]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.3...v2.1.4
350
356
  [2.1.3]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.2...v2.1.3
351
357
  [2.1.2]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.1...v2.1.2
352
358
  [2.1.1]: https://github.com/puppetlabs/puppetlabs_spec_helper/compare/v2.1.0...v2.1.1
@@ -283,17 +283,18 @@ task :spec_prep do
283
283
  # wait for all the threads to finish
284
284
  repositories.each {|remote, opts| opts[:thread].join }
285
285
 
286
- fixtures("symlinks").each do |source, target|
287
- unless File.symlink(target)
286
+ fixtures("symlinks").each do |target, link|
287
+ unless File.symlink?(link)
288
+ logger.info("Creating symlink from #{link} to #{target}")
288
289
  if is_windows
289
290
  if Dir.respond_to?(:create_junction)
290
- Dir.create_junction(target, source)
291
+ Dir.create_junction(link, target)
291
292
  else
292
- system("call mklink /J \"#{target.gsub('/', '\\')}\" \"#{source.gsub('/', '\\')}\"")
293
+ system("call mklink /J \"#{link.gsub('/', '\\')}\" \"#{target.gsub('/', '\\')}\"")
293
294
  end
295
+ else
296
+ FileUtils::ln_sf(target, link)
294
297
  end
295
- else
296
- FileUtils::ln_sf(source, target)
297
298
  end
298
299
  end
299
300
 
@@ -1,5 +1,5 @@
1
1
  module PuppetlabsSpecHelper
2
- VERSION = "2.1.4"
2
+ VERSION = "2.1.5"
3
3
 
4
4
  # compat for pre-1.2.0 users; deprecated
5
5
  module Version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetlabs_spec_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.