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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cd35e28b2712a9897941ce6f8935e63dc6ae1c9
4
- data.tar.gz: 56837f74126c6304ab89015293d95f9190ec30e3
3
+ metadata.gz: b9c6bebfea543529b102adcdd385d1971599c97b
4
+ data.tar.gz: 78f21fbeeb39cb8ff6dd65d0040a4f6dd47a22b4
5
5
  SHA512:
6
- metadata.gz: 316f9bf3ca52b88c9c4952934e33bf8ea8395aa711feff7e65271edcc6749069fccfd0e8859d63b93f72e6856e1aa9d396d92327795ec087780107f658298107
7
- data.tar.gz: 05128230f0f14a59bdb27b4c0a637a17fd792408d49274cdc768f5fe63e0b595d32101e50507026827a4ac53aa9b8c6ffa1aa7ca9996cfbfc5eb10d88f79d54a
6
+ metadata.gz: 489c06ec29e867eb4026bc63eea6b4c6513dcd19ccf9c0932f30466374fb9fd3ff3e72fcd730e71a3f795114016191b10a4442150706aaa35c6edfba0bcab21c
7
+ data.tar.gz: 331613ad7d177c6c40a663e28cde2603dfd24333e69090702480ea2b0eb619b8f4cf4bf8c70bcd811e1627b041b7977f9bf148ddb7d05855778933bdeb3d6891
@@ -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\-]+)\)$/i)
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
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.3.22"
2
+ VERSION = "2.4.0"
3
3
  end
@@ -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.4.0.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.3.22
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-04-08 00:00:00.000000000 Z
12
+ date: 2015-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake