albacore 2.5.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/albacore/task_types/nugets_pack.rb +13 -2
- data/lib/albacore/task_types/nugets_restore.rb +4 -0
- 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: d13287da5a0dcd058dba183d73448eca8c09a120
|
|
4
|
+
data.tar.gz: c53ddbf4bd3c74d8daf5f02a64e983c19f8397be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7535cfb3fbbf7149ae6351f47647af78e56b60a3cd28b94bb1e7fe894d66700d2249e8e34e2a9b6956cda01ee6773c156bf5d3027f8b2130a43d62fd0a6226b
|
|
7
|
+
data.tar.gz: 1e021047a2dc0b57fc4664bea53a1f8f21e03b45d343e4cb320e36403baa06b2fa83e700685a20a6afae3565f26d15d60bf32cfb9ea6f8fdbeececb7a9b02863
|
|
@@ -145,6 +145,7 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
|
145
145
|
@target = 'net40'
|
|
146
146
|
@symbols = false
|
|
147
147
|
@project_dependencies = true
|
|
148
|
+
@nuget_dependencies = true
|
|
148
149
|
@leave_nuspec = false
|
|
149
150
|
fill_required
|
|
150
151
|
end
|
|
@@ -176,6 +177,12 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
|
176
177
|
@project_dependencies = false
|
|
177
178
|
end
|
|
178
179
|
|
|
180
|
+
# call this if you want to cancel inclusion of package dependencies
|
|
181
|
+
# when creating the nuspec file
|
|
182
|
+
def no_nuget_dependencies
|
|
183
|
+
@nuget_dependencies = false
|
|
184
|
+
end
|
|
185
|
+
|
|
179
186
|
# gets the options specified for the task, used from the task
|
|
180
187
|
def opts
|
|
181
188
|
files = @files.respond_to?(:each) ? @files : [@files]
|
|
@@ -193,6 +200,7 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
|
193
200
|
:files => @files,
|
|
194
201
|
:configuration => @configuration,
|
|
195
202
|
:project_dependencies => @project_dependencies,
|
|
203
|
+
:nuget_dependencies => @nuget_dependencies,
|
|
196
204
|
:original_path => FileUtils.pwd,
|
|
197
205
|
:leave_nuspec => @leave_nuspec
|
|
198
206
|
})
|
|
@@ -286,6 +294,7 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
|
286
294
|
def create_nuspec proj, knowns
|
|
287
295
|
version = @opts.get(:package).metadata.version
|
|
288
296
|
project_dependencies = @opts.get(:project_dependencies, true)
|
|
297
|
+
nuget_dependencies = @opts.get(:nuget_dependencies, true)
|
|
289
298
|
target = @opts.get :target
|
|
290
299
|
|
|
291
300
|
trace "creating NON-SYMBOL package for '#{proj.name}', targeting '#{target}' [nugets pack: task]"
|
|
@@ -296,7 +305,8 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
|
296
305
|
known_projects: knowns,
|
|
297
306
|
version: version,
|
|
298
307
|
configuration: (@opts.get(:configuration)),
|
|
299
|
-
project_dependencies: project_dependencies
|
|
308
|
+
project_dependencies: project_dependencies,
|
|
309
|
+
nuget_dependencies: nuget_dependencies
|
|
300
310
|
|
|
301
311
|
# take data from package as configured in Rakefile, choosing what is in
|
|
302
312
|
# Rakefile over what is in projfile.
|
|
@@ -312,7 +322,8 @@ and report a bug to albacore with the full output. Here's the nuget process outp
|
|
|
312
322
|
known_projects: knowns,
|
|
313
323
|
version: version,
|
|
314
324
|
configuration: (@opts.get(:configuration)),
|
|
315
|
-
project_dependencies: project_dependencies
|
|
325
|
+
project_dependencies: project_dependencies,
|
|
326
|
+
nuget_dependencies: nuget_dependencies
|
|
316
327
|
|
|
317
328
|
nuspec_symbols = nuspec_symbols.merge_with @opts.get(:package)
|
|
318
329
|
trace { "nuspec symbols: #{nuspec_symbols.to_s} [nugets pack: task]" }
|
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.5.
|
|
4
|
+
version: 2.5.2
|
|
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: 2015-
|
|
12
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|