albacore 2.0.0.rc.14 → 2.0.0.rc.15

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -200,6 +200,7 @@ nugets_restore :restore do |p|
200
200
  p.out = 'src/packages' # required
201
201
  p.exe = 'buildsupport/NuGet.exe' # required
202
202
  p.list_spec = '**/packages.config' # optional
203
+ p.exclude_version # exclude version number in directory name where NuGet package will be restored
203
204
  end
204
205
  ```
205
206
 
@@ -222,7 +223,7 @@ end
222
223
 
223
224
  ### Docs: asmver_files
224
225
 
225
- ```
226
+ ``` ruby
226
227
  desc 'create assembly infos'
227
228
  asmver_files :assembly_info do |a|
228
229
  a.files = FileList['**/*proj'] # optional, will find all projects recursively by default
@@ -102,6 +102,10 @@ module Albacore
102
102
  # defaults to true
103
103
  attr_accessor :include_official
104
104
 
105
+ def exclude_version
106
+ add_parameter "-ExcludeVersion"
107
+ end
108
+
105
109
  def has_credentials?
106
110
  username && password && source
107
111
  end
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.0.0.rc.14"
2
+ VERSION = "2.0.0.rc.15"
3
3
  end
@@ -121,6 +121,7 @@ project_path: spec/testdata/Project/Project.fsproj
121
121
  end
122
122
 
123
123
  it 'should raise InvalidAppSpecError' do
124
+ pending 'to be done'
124
125
  expect { ::Albacore::FpmAppSpec.new spec }.to raise_error ::Albacore::InvalidAppSpecError
125
126
  end
126
127
  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.0.0.rc.14
4
+ version: 2.0.0.rc.15
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-04-24 00:00:00.000000000 Z
13
+ date: 2014-06-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -322,7 +322,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
322
322
  version: '0'
323
323
  segments:
324
324
  - 0
325
- hash: -504786499595810367
325
+ hash: -1784303495648256003
326
326
  required_rubygems_version: !ruby/object:Gem::Requirement
327
327
  none: false
328
328
  requirements: