albacore 2.5.13 → 2.5.14

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: dbf71906ea8eeab433592c854a403b97b1bcfaea
4
- data.tar.gz: 980b27f70250bc60305ed328ffdb50e4227d2281
3
+ metadata.gz: 5504fa88181023236c6e51b93d975ef953f36ae8
4
+ data.tar.gz: e019e93bb5c942f574d41679ac57164599eb6c04
5
5
  SHA512:
6
- metadata.gz: 9871075e9618870e8c3f740488ac5ab8a227a2fb71cd4966f69c8e07b2341c01d8592fa9139d26ada8316e01b7fff623e803d6b33c1cafb95de946c17dda1c0a
7
- data.tar.gz: 0766247b5d3e4561f8ec0dd2545ba72e25e62beb9f92d86b05100fc69d2a3751608aa0f165496cebc54600bbea181eabeb8c5b26b476cdc80fc461f47dfaf095
6
+ metadata.gz: 138d9e0ab76538cfe63613b21f53f77f6321a8a5afcc0c4ecc994c899a547c63f4053b79acdb4ad1dd879d10f8a5a4c15990d86e760cb78ba8f50b26823e4497
7
+ data.tar.gz: 7d878c75fd44c9881716a06cfa910a134df35920ffe9b04f721e571439e5ee409c3798988e226a81ab255f793fd84132da4f91f7bfeccbbc1248db2db1f7f387
@@ -1,5 +1,5 @@
1
1
  require 'albacore/app_spec'
2
-
2
+ require 'albacore/paths'
3
3
  # note: this is a Windows provider
4
4
 
5
5
  module Albacore
@@ -17,10 +17,9 @@ module Albacore
17
17
 
18
18
  # Where to copy contents from
19
19
  def source_dir app_spec, configuration = 'Release'
20
- File.join(app_spec.proj.proj_path_base,
20
+ Paths.normalise_slashes( File.join(app_spec.proj.proj_path_base,
21
21
  app_spec.bin_folder(configuration),
22
- '.').
23
- gsub(/\//, '\\')
22
+ '.'))
24
23
  end
25
24
 
26
25
  # create a chocolatey install script for a topshelf service on windows
@@ -42,8 +42,8 @@ module Albacore
42
42
 
43
43
  w = lambda { |e| CrossPlatformCmd.which(e) ? e : nil }
44
44
 
45
- @exe = w.call( "msbuild" ) ||
46
- w.call( "xbuild" ) ||
45
+ @exe = w.call( "xbuild" ) ||
46
+ w.call( "msbuild" ) ||
47
47
  heuristic_executable
48
48
 
49
49
  debug { "build using '#{@exe}'" }
@@ -5,6 +5,7 @@ require 'fileutils'
5
5
  require 'pathname'
6
6
  require 'albacore/cmd_config'
7
7
  require 'albacore/cross_platform_cmd'
8
+ require 'albacore/paths'
8
9
 
9
10
  module Albacore
10
11
  module TestRunner
@@ -151,7 +152,7 @@ module Albacore
151
152
  [Pathname.new(File.absolute_path(dll)), Pathname.new(File.absolute_path(exe))]
152
153
  else
153
154
  # otherwise, please continue with the basics
154
- [Pathname.new(File.dirname(dll)).sub("/", "\\"), Pathname.new(exe)]
155
+ [Paths.normalise_slashes(Pathname.new(File.dirname(dll))), Pathname.new(exe)]
155
156
  end
156
157
 
157
158
  exe_rel = exe.relative_path_from dir
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.5.13"
2
+ VERSION = "2.5.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: albacore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.13
4
+ version: 2.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrik Feldt
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-06 00:00:00.000000000 Z
12
+ date: 2016-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake