docker-build 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/symfony/doctrine.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2512d13661bee44e345a77d8f34bcd72326765df
4
- data.tar.gz: 6ac65443e6f4c7f5997743e1702d6e25ae0b4c0b
3
+ metadata.gz: 13094bf25d31153950a8ce1836c5cea44c936916
4
+ data.tar.gz: 2cb292051e8f2072ff6147f3fb4084b86e1b7cd1
5
5
  SHA512:
6
- metadata.gz: cc121dc63802a1218c8cffa6dea0560cab0d079bf4cf3e11ef73d81ddcdc4e1979faafc18f8701889f68f52feaaef48d45e722b9a002924b1441ec11bf25946e
7
- data.tar.gz: e83492dee06450ea8d918c182fbd28575775206aecc3f8769b22f4fd89a6c577da99a38fb753aa5be7e6e2e2c3f98180de830c2d35feed6835dc2247aa9a0800
6
+ metadata.gz: 4005092fe8464c333bc523426eb481cdda1b8c9eac45239c56c13148494a11454e6caf6034b4ced3bfc14d75f98dbcf628ea770e7f3b9673f8b2d24d9f22a5b7
7
+ data.tar.gz: 52baeb6f0000f745d52a9306a194019ce59e31c27cb3ea56cb20121ae1189428cb60efaf6aa56e088f7a1c2a3b21bf33e35cc3d227f717997dd06145970beac5
@@ -11,14 +11,14 @@ class Doctrine
11
11
 
12
12
  def self.run_migrations(data_container, db_container = nil)
13
13
  puts '-- Running Symfony Doctrine migrations'
14
- docker_command = self.get_docker_command(data_container, db_container) << 'doctine:migrations:migrate'
14
+ docker_command = self.get_docker_command(data_container, db_container) << 'doctine:migrations:migrate --no-interaction'
15
15
  puts '---- Running: ' << docker_command
16
16
  fail 'Database migrations failed!' unless system docker_command
17
17
  end
18
18
 
19
19
  private
20
20
  def self.get_docker_command(data_container, db_container = nil)
21
- docker_command = "docker run -it --rm --volumes-from #{data_container} "
21
+ docker_command = "docker run --rm --volumes-from #{data_container} "
22
22
  if db_container != nil
23
23
  docker_command << "--link #{db_container}:#{db_container} "
24
24
  end
@@ -27,4 +27,4 @@ class Doctrine
27
27
  return docker_command
28
28
  end
29
29
 
30
- end
30
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-build
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - VJ Patel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-28 00:00:00.000000000 Z
11
+ date: 2015-05-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Preset tasks for Rake when building projects with Docker
14
14
  email: meetthevj@gmail.com