albacore 2.6.7 → 2.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/albacore/task_types/nugets_pack.rb +12 -5
- data/lib/albacore/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: bdd7da28f41d358858e327a54c3378cdf22778b8
|
4
|
+
data.tar.gz: 442052d33e2d352603046db85fa044d893eab437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53ebedaaeca50e8bddae319591ac688f79d7bb189ae45f23762b73efe328b15c5916462b97fdad4b1d6b405d0979969bc3b1fe4d16cdf9fa6dcb60658ec2d827
|
7
|
+
data.tar.gz: 083a1406657644e9ef0bc0df4369ad69da2aa71d6c63c9e184f6b926bd9f1175ec9b4b1805798ee21dd141bd69cd2f26d726b766e2707796ba6a2fdcda87921d
|
@@ -28,7 +28,7 @@ module Albacore
|
|
28
28
|
@parameters = [%W{Pack -OutputDirectory #{opts.get(:out)}}].flatten
|
29
29
|
@opts = opts
|
30
30
|
|
31
|
-
mono_command
|
31
|
+
mono_command unless opts.get(:mono_opt_out)
|
32
32
|
end
|
33
33
|
|
34
34
|
# run nuget on the nuspec to create a new package
|
@@ -73,11 +73,11 @@ module Albacore
|
|
73
73
|
# regexpes the package path from the output
|
74
74
|
def get_nuget_path_of
|
75
75
|
out = yield
|
76
|
-
out.match
|
76
|
+
out.match(/Successfully created package '([:\s\p{Word}\\\/\d\.\-]+\.symbols\.nupkg)'./iu) if out.respond_to? :match
|
77
77
|
trace "Got symbols return value: '#{out}', matched: '#{$1}'" if $1
|
78
78
|
return $1 if $1
|
79
79
|
|
80
|
-
out.match
|
80
|
+
out.match(/Successfully created package '([:\s\p{Word}\\\/\d\.\-]+\.nupkg)'./iu)if out.respond_to? :match
|
81
81
|
trace "Got NOT-symbols return value: '#{out}', matched: '#{$1}'"
|
82
82
|
|
83
83
|
unless $1
|
@@ -151,9 +151,14 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
151
151
|
@nuget_dependencies = true
|
152
152
|
@package_analysis = true
|
153
153
|
@leave_nuspec = false
|
154
|
+
@mono_opt_out = false
|
154
155
|
fill_required
|
155
156
|
end
|
156
157
|
|
158
|
+
def mono_opt_out
|
159
|
+
@mono_opt_out = true
|
160
|
+
end
|
161
|
+
|
157
162
|
def with_metadata &block
|
158
163
|
yield @package.metadata
|
159
164
|
end
|
@@ -214,11 +219,12 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
214
219
|
:symbols => @symbols,
|
215
220
|
:package => @package,
|
216
221
|
:target => @target,
|
217
|
-
:files =>
|
222
|
+
:files => files,
|
218
223
|
:configuration => @configuration,
|
219
224
|
:project_dependencies => @project_dependencies,
|
220
225
|
:nuget_dependencies => @nuget_dependencies,
|
221
226
|
:package_analysis => @package_analysis,
|
227
|
+
:mono_opt_out => @mono_opt_out,
|
222
228
|
:original_path => FileUtils.pwd,
|
223
229
|
:leave_nuspec => @leave_nuspec
|
224
230
|
})
|
@@ -384,7 +390,8 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
384
390
|
cmd = Albacore::NugetsPack::Cmd.new exe,
|
385
391
|
work_dir: cwd,
|
386
392
|
out: out,
|
387
|
-
package_analysis: @opts.get(:package_analysis)
|
393
|
+
package_analysis: @opts.get(:package_analysis),
|
394
|
+
mono_opt_out: @opts.get(:mono_opt_out)
|
388
395
|
|
389
396
|
|
390
397
|
# run any concerns that modify the command
|
data/lib/albacore/version.rb
CHANGED
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.6.
|
4
|
+
version: 2.6.8
|
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: 2017-05-
|
12
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|