kstrano 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/kstrano_symfony2.rb +10 -13
  2. metadata +2 -2
@@ -114,19 +114,6 @@ module KStrano
114
114
  end
115
115
  end
116
116
 
117
- # make it possible to run schema:update and migrations:migrate at the right place in the flow
118
- after "symfony:bootstrap:build" do
119
- if model_manager == "doctrine"
120
- if force_schema
121
- symfony.doctrine.schema.update
122
- end
123
-
124
- if force_migrations
125
- symfony.doctrine.migrations.migrate
126
- end
127
- end
128
- end
129
-
130
117
  # set the right permissions on the vendor folder ...
131
118
  after "symfony:composer:copy_vendors" do
132
119
  sudo "sh -c 'if [ -d #{latest_release}/vendor ] ; then chown -R #{application}:#{application} #{latest_release}/vendor; fi'"
@@ -149,6 +136,16 @@ module KStrano
149
136
  if grunt_build
150
137
  frontend.grunt.build
151
138
  end
139
+
140
+ if model_manager == "doctrine"
141
+ if force_schema
142
+ symfony.doctrine.schema.update
143
+ end
144
+
145
+ if force_migrations
146
+ symfony.doctrine.migrations.migrate
147
+ end
148
+ end
152
149
  end
153
150
  end
154
151
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kstrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-01 00:00:00.000000000 Z
12
+ date: 2013-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capifony