albacore 2.0.9 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c37901d765902a9bac99144dc3050c7929781f2
4
- data.tar.gz: 3ec8ff7080793319b19b7f518759b50a2dd18f47
3
+ metadata.gz: 5a54136d8ddfcc5f989ed22bc5861633cba7c6e4
4
+ data.tar.gz: 88631f2a41d58d4371378cffc69f89928a9e237d
5
5
  SHA512:
6
- metadata.gz: 10604d00e5b439683e46ff300cce319e80de441e9a61afd450902335394e911c73eb70563d557ecdf6adac09ccb82f9b81b65504ef2e2331742ad221b3e55fd7
7
- data.tar.gz: 361b3a6a637174d56131cd3d5d305b4438a915ea0ddf081d5ea0038461478980e76e5669649ead018b4e97bfb46bd748a358d013d50c5c777e33644707f3839a
6
+ metadata.gz: f55ecffe6c6de57f1bdcf25456fcb2528ad88c825a2e551dbab671d669dca48e6a0ede8766460123808ae8e1aec9c6dad7ca66b626b083fa7f40b92f7e631bce
7
+ data.tar.gz: af6aa9a945778db05d54723f9f2843f3f9c352e3c03508ee5c2d7bb17e169ee40a987f678efb389f50dd17d48ff83637555a728c04d6e953172f8d138556c77b
@@ -21,6 +21,7 @@ module Albacore::Tools
21
21
  opts = opts.apply :extras => [],
22
22
  :silent => ENV.fetch('MIGRATE_SILENT', teamcity?),
23
23
  :conn => ENV['CONN'],
24
+ :timeout => 200,
24
25
  :direction => 'migrate:up',
25
26
  :dll => ENV.fetch('MIGRATE_DLL','src/migrations/Migrations/bin/Debug/Migrations.dll'),
26
27
  :db => ENV.fetch('MIGRATE_DB', 'SqlServer2008'),
@@ -53,7 +54,7 @@ module Albacore::Tools
53
54
  raise ArgumentError, 'cannot execute with empty connection string' if nil_or_white conn
54
55
  raise ArgumentError, 'cannot execute with no dll file specified' if nil_or_white(opts.get(:dll))
55
56
 
56
- @parameters = %W[-a #{opts.get(:dll)} -db #{opts.get(:db)} -conn #{conn} --timeout=200]
57
+ @parameters = %W[-a #{opts.get(:dll)} -db #{opts.get(:db)} -conn #{conn} --timeout=#{opts.get(:timeout)}]
57
58
 
58
59
  unless opts.get :task_override
59
60
  @parameters.push '--task'
@@ -1,3 +1,3 @@
1
1
  module Albacore
2
- VERSION = "2.0.9"
2
+ VERSION = "2.0.10"
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.0.9
4
+ version: 2.0.10
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: 2014-09-22 00:00:00.000000000 Z
12
+ date: 2014-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake