albacore 2.5.1 → 2.5.2

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: 4fd3ff9ec3194fa9be37b1c6d14c587f2259387e
4
- data.tar.gz: 9897cd7a1685e39db5a9f625e505f789f7cb9bb7
3
+ metadata.gz: d13287da5a0dcd058dba183d73448eca8c09a120
4
+ data.tar.gz: c53ddbf4bd3c74d8daf5f02a64e983c19f8397be
5
5
  SHA512:
6
- metadata.gz: 3229d518b1dc001258d4bed570d56d928868742660dbbebe98e20aa4244fc9314551de55f5539915cef7a590888a155a94d06f02fd8f16233dfd5e2af7e3d8e5
7
- data.tar.gz: d158465aebea3b14ee53fe2ae5dc6f55358543f3d1e18a497e66cb4ef5d345fb540ca632acb515e7c00cb68972dc21c0864664c878f80d64d9b341ccdb0387cf
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]" }
@@ -120,6 +120,10 @@ module Albacore
120
120
  add_parameter "-ExcludeVersion"
121
121
  end
122
122
 
123
+ def no_cache
124
+ add_parameter "-NoCache"
125
+ end
126
+
123
127
  def has_credentials?
124
128
  username && password && source
125
129
  end
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.5.1"
2
+ VERSION = "2.5.2"
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.1
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-07-30 00:00:00.000000000 Z
12
+ date: 2015-08-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake