albacore 2.3.22 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/albacore/paket.rb +2 -2
- data/lib/albacore/version.rb +1 -1
- data/spec/paket_spec.rb +12 -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: b9c6bebfea543529b102adcdd385d1971599c97b
|
4
|
+
data.tar.gz: 78f21fbeeb39cb8ff6dd65d0040a4f6dd47a22b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 489c06ec29e867eb4026bc63eea6b4c6513dcd19ccf9c0932f30466374fb9fd3ff3e72fcd730e71a3f795114016191b10a4442150706aaa35c6edfba0bcab21c
|
7
|
+
data.tar.gz: 331613ad7d177c6c40a663e28cde2603dfd24333e69090702480ea2b0eb619b8f4cf4bf8c70bcd811e1627b041b7977f9bf148ddb7d05855778933bdeb3d6891
|
data/lib/albacore/paket.rb
CHANGED
@@ -4,11 +4,11 @@ require 'albacore/semver'
|
|
4
4
|
module Albacore
|
5
5
|
module Paket
|
6
6
|
def self.parse_line line
|
7
|
-
if (m = line.match /^\s*(?<id>[\w\-\.]+) \((?<ver>[\.\d\w\-]+)\)
|
7
|
+
if (m = line.match /^\s*(?<id>[\w\-\.]+) \((?<ver>[\.\d\w\-]+)\)( - framework: >= (?<tf>\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
|
-
:target_framework => 'net40',
|
11
|
+
:target_framework => m[:tf] || 'net40',
|
12
12
|
:semver => ver)
|
13
13
|
end
|
14
14
|
end
|
data/lib/albacore/version.rb
CHANGED
data/spec/paket_spec.rb
CHANGED
@@ -11,8 +11,9 @@ describe Albacore::Paket do
|
|
11
11
|
FParsec (>= 1.0.1)
|
12
12
|
FSharp.Core (>= 3.1.2.1)
|
13
13
|
FParsec (1.0.1)
|
14
|
+
FsCheck (1.0.4) - framework: >= net45
|
14
15
|
FSharp.Core (3.1.2.1)
|
15
|
-
Fuchu (0.
|
16
|
+
Fuchu (0.6.0.0) - framework: >= net40
|
16
17
|
Http.fs-prerelease (2.0.0-alpha1)
|
17
18
|
FSharp.Core (>= 3.1.2.1)
|
18
19
|
NodaTime (1.3.1)
|
@@ -30,5 +31,15 @@ describe Albacore::Paket do
|
|
30
31
|
expect(references['Http.fs-prerelease']).to_not be_nil
|
31
32
|
expect(references['Http.fs-prerelease'].version).to eq '2.0.0-alpha1'
|
32
33
|
end
|
34
|
+
it 'has FsCheck' do
|
35
|
+
expect(references['FsCheck']).to_not be_nil
|
36
|
+
expect(references['FsCheck'].version).to eq '1.0.4'
|
37
|
+
expect(references['FsCheck'].target_framework).to eq 'net45'
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'has Fuchu' do
|
41
|
+
expect(references['Fuchu']).to_not be_nil
|
42
|
+
expect(references['Fuchu'].target_framework).to eq 'net40'
|
43
|
+
end
|
33
44
|
end
|
34
45
|
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.
|
4
|
+
version: 2.4.0
|
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-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|