albacore 2.5.11 → 2.5.13

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: 55c2b21b7c14ba0a4f008b7fb85917a185f67383
4
- data.tar.gz: bc81d7b567e096cb8274f31fecade00d24cecfb2
3
+ metadata.gz: dbf71906ea8eeab433592c854a403b97b1bcfaea
4
+ data.tar.gz: 980b27f70250bc60305ed328ffdb50e4227d2281
5
5
  SHA512:
6
- metadata.gz: ab46025d823c183cfc93371b081d064e87409929b3996302aa7ec21c46b7690824095f9b30ae846e0825f21f009c300d6868f46aa1400b33d149fbe1eb3b94d8
7
- data.tar.gz: a6b4b2d657f3f0067695c336a2093dbe830abdeb741bf33fb7a59b3ee381b68aaf1701445eaa2f940a56171ad32b79cc5f525325dd32fa59356e17a9f66875d4
6
+ metadata.gz: 9871075e9618870e8c3f740488ac5ab8a227a2fb71cd4966f69c8e07b2341c01d8592fa9139d26ada8316e01b7fff623e803d6b33c1cafb95de946c17dda1c0a
7
+ data.tar.gz: 0766247b5d3e4561f8ec0dd2545ba72e25e62beb9f92d86b05100fc69d2a3751608aa0f165496cebc54600bbea181eabeb8c5b26b476cdc80fc461f47dfaf095
@@ -12,18 +12,18 @@ module Albacore
12
12
  # a rake task type for outputting assembly versions
13
13
  def asmver *args, &block
14
14
  require 'albacore/task_types/asmver'
15
- Albacore.define_task *args do
15
+ Albacore.define_task *args do |task_name, own_args|
16
16
  c = Albacore::Asmver::Config.new
17
- yield c
17
+ yield c, own_args
18
18
  Albacore::Asmver::Task.new(c.opts).execute
19
19
  end
20
20
  end
21
21
 
22
22
  def asmver_files *args, &block
23
23
  require 'albacore/task_types/asmver'
24
- Albacore.define_task *args do
24
+ Albacore.define_task *args do |task_name, own_args|
25
25
  c = Albacore::Asmver::MultipleFilesConfig.new
26
- yield c
26
+ yield c, own_args
27
27
 
28
28
  c.configurations.each do |conf|
29
29
  trace { "generating asmver for #{conf}" }
@@ -36,9 +36,9 @@ module Albacore
36
36
  # with MsBuild
37
37
  def build *args, &block
38
38
  require 'albacore/task_types/build'
39
- Albacore.define_task *args do
39
+ Albacore.define_task *args do |task_name, own_args|
40
40
  c = Albacore::Build::Config.new
41
- yield c
41
+ yield c, own_args
42
42
 
43
43
  fail "unable to find MsBuild or XBuild" unless c.exe
44
44
  command = Albacore::Build::Cmd.new(c.work_dir, c.exe, c.parameters)
@@ -49,9 +49,9 @@ module Albacore
49
49
  # restore the nugets to the solution
50
50
  def nugets_restore *args, &block
51
51
  require 'albacore/task_types/nugets_restore'
52
- Albacore.define_task *args do
52
+ Albacore.define_task *args do |task_name, own_args|
53
53
  c = Albacore::NugetsRestore::Config.new
54
- yield c
54
+ yield c, own_args
55
55
 
56
56
  c.ensure_authentication!
57
57
 
@@ -65,9 +65,9 @@ module Albacore
65
65
  # pack nugets
66
66
  def nugets_pack *args, &block
67
67
  require 'albacore/task_types/nugets_pack'
68
- Albacore.define_task *args do
68
+ Albacore.define_task *args do |task_name, own_args|
69
69
  c = Albacore::NugetsPack::Config.new
70
- yield c
70
+ yield c, own_args
71
71
  Albacore::NugetsPack::ProjectTask.new(c.opts).execute
72
72
  end
73
73
  end
@@ -76,9 +76,9 @@ module Albacore
76
76
  # tests with albacore
77
77
  def test_runner *args, &block
78
78
  require 'albacore/task_types/test_runner'
79
- Albacore.define_task *args do
79
+ Albacore.define_task *args do |task_name, own_args|
80
80
  c = Albacore::TestRunner::Config.new
81
- yield c
81
+ yield c, own_args
82
82
  Albacore::TestRunner::Task.new(c.opts).execute
83
83
  end
84
84
  end
@@ -86,9 +86,9 @@ module Albacore
86
86
  # Restore hint paths to registered nugets
87
87
  def restore_hint_paths *args, &block
88
88
  require 'albacore/tools/restore_hint_paths'
89
- Albacore.define_task *args do
89
+ Albacore.define_task *args do |task_name, own_args|
90
90
  c = Albacore::RestoreHintPaths::Config.new
91
- yield c
91
+ yield c, own_args
92
92
 
93
93
  t = Albacore::RestoreHintPaths::Task.new c
94
94
  t.execute
@@ -99,16 +99,16 @@ module Albacore
99
99
  def appspecs *args, &block
100
100
  if Albacore.windows?
101
101
  require 'albacore/cpack_app_spec'
102
- Albacore.define_task *args do
102
+ Albacore.define_task *args do |task_name, own_args|
103
103
  c = ::Albacore::CpackAppSpec::Config.new
104
- yield c
104
+ yield c, own_args
105
105
  ::Albacore::CpackAppSpec::Task.new(c.opts).execute
106
106
  end
107
107
  else
108
108
  require 'albacore/fpm_app_spec'
109
- Albacore.define_task *args do
109
+ Albacore.define_task *args do |task_name, own_args|
110
110
  c = ::Albacore::FpmAppSpec::Config.new
111
- yield c
111
+ yield c, own_args
112
112
  ::Albacore::FpmAppSpec::Task.new(c.opts).execute
113
113
  end
114
114
  end
@@ -118,9 +118,9 @@ module Albacore
118
118
  # with SqlPackage
119
119
  def sql_package *args, &block
120
120
  require 'albacore/task_types/sql_package'
121
- Albacore.define_task *args do
121
+ Albacore.define_task *args do |task_name, own_args|
122
122
  c = Albacore::SqlPackage::Config.new
123
- yield c
123
+ yield c, own_args
124
124
 
125
125
  fail "SqlPackage.exe is not installed.\nPlease download and install Microsoft SSDT: https://msdn.microsoft.com/en-us/library/mt204009.aspx\nAnd add the location of SqlPackage.exe to the PATH system varible." unless c.exe
126
126
 
@@ -133,9 +133,9 @@ module Albacore
133
133
  # with Sql
134
134
  def sql_cmd *args, &block
135
135
  require 'albacore/task_types/sql_cmd'
136
- Albacore.define_task *args do
136
+ Albacore.define_task *args do |task_name, own_args|
137
137
  c = Albacore::Sql::Config.new
138
- yield c
138
+ yield c, own_args
139
139
  Albacore::Sql::SqlTask.new(c.work_dir, c.opts).execute
140
140
  end
141
141
  end
@@ -144,9 +144,9 @@ module Albacore
144
144
  # with IsPackage
145
145
  def is_package *args, &block
146
146
  require 'albacore/task_types/is_package'
147
- Albacore.define_task *args do
147
+ Albacore.define_task *args do |task_name, own_args|
148
148
  c = Albacore::IsPackage::Config.new
149
- yield c
149
+ yield c, own_args
150
150
 
151
151
  fail "IsPackage.exe is not installed.\nPlease download and install Microsoft SSDT-BI: https://msdn.microsoft.com/en-us/library/mt674919.aspx\nAnd add the location of IsPackage.exe to the PATH system varible." unless c.exe
152
152
 
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.5.11"
2
+ VERSION = "2.5.13"
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.11
4
+ version: 2.5.13
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-05-23 00:00:00.000000000 Z
12
+ date: 2016-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake