albacore 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/albacore/cli.rb +1 -1
- data/lib/albacore/paket.rb +2 -1
- data/lib/albacore/version.rb +1 -1
- data/spec/paket_spec.rb +7 -2
- 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: ab4259ac72f44a242c23d1451a737051b85d5614
|
4
|
+
data.tar.gz: 7e8c10bdc394b660b41af760b148fdb39328296d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2b5814a9886957b05939037231cee9dc2eaf9ab61600707615180f274c31bb7b735ae02a4b06b14e247985f6b5a4c1bd8df974d2a0017134f203c97d67fedd6
|
7
|
+
data.tar.gz: e5a394f19408934e9f33344a1b225cffbaff8ae5fafb61596558751d44c69e6b71b62b9d2408829e1690916b2579c5dd955585aafc0c2b3049ded60e9109cc62
|
data/lib/albacore/cli.rb
CHANGED
@@ -196,7 +196,7 @@ task :default => :create_nugets #, :tests ]
|
|
196
196
|
end
|
197
197
|
|
198
198
|
def download_paket
|
199
|
-
download_tool 'https://github.com/fsprojects/Paket/releases/download/
|
199
|
+
download_tool 'https://github.com/fsprojects/Paket/releases/download/3.10.0/paket.bootstrapper.exe', 'paket.bootstrapper.exe' unless File.exists? './tools/paket.bootstrapper.exe'
|
200
200
|
end
|
201
201
|
|
202
202
|
def download_tool uri, file_name
|
data/lib/albacore/paket.rb
CHANGED
@@ -4,11 +4,12 @@ require 'albacore/semver'
|
|
4
4
|
module Albacore
|
5
5
|
module Paket
|
6
6
|
def self.parse_line line
|
7
|
-
if (m = line.match
|
7
|
+
if (m = line.match(/^\s*(?<id>[\w\-\.]+) \((?<ver>[\.\d\w\-]+)\)( - )?((framework: >= (?<tf>\w+))|(redirects: (?<redir>\w+)))?$/i))
|
8
8
|
ver = Albacore::SemVer.parse(m[:ver], '%M.%m.%p', false)
|
9
9
|
OpenStruct.new(:id => m[:id],
|
10
10
|
:version => m[:ver],
|
11
11
|
:target_framework => m[:tf] || 'net40',
|
12
|
+
:redirects => m[:redir] || nil,
|
12
13
|
:semver => ver)
|
13
14
|
end
|
14
15
|
end
|
data/lib/albacore/version.rb
CHANGED
data/spec/paket_spec.rb
CHANGED
@@ -12,7 +12,7 @@ describe Albacore::Paket do
|
|
12
12
|
FSharp.Core (>= 3.1.2.1)
|
13
13
|
FParsec (1.0.1)
|
14
14
|
FsCheck (1.0.4) - framework: >= net45
|
15
|
-
FSharp.Core (
|
15
|
+
FSharp.Core (4.0.0.1) - redirects: force
|
16
16
|
Fuchu (0.6.0.0) - framework: >= net40
|
17
17
|
Http.fs-prerelease (2.0.0-alpha1)
|
18
18
|
FSharp.Core (>= 3.1.2.1)
|
@@ -36,10 +36,15 @@ describe Albacore::Paket do
|
|
36
36
|
expect(references['FsCheck'].version).to eq '1.0.4'
|
37
37
|
expect(references['FsCheck'].target_framework).to eq 'net45'
|
38
38
|
end
|
39
|
-
|
40
39
|
it 'has Fuchu' do
|
41
40
|
expect(references['Fuchu']).to_not be_nil
|
42
41
|
expect(references['Fuchu'].target_framework).to eq 'net40'
|
43
42
|
end
|
43
|
+
it 'has FSharp.Core' do
|
44
|
+
ref = references['FSharp.Core']
|
45
|
+
expect(ref).to_not be_nil
|
46
|
+
expect(ref.version).to eq '4.0.0.1'
|
47
|
+
expect(ref.redirects).to eq 'force'
|
48
|
+
end
|
44
49
|
end
|
45
50
|
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.6.
|
4
|
+
version: 2.6.1
|
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-
|
12
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|