perf_check 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/perf_check.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91e2d21b9cdd0bc7563541f3ba663b3d0b3c2aec
|
4
|
+
data.tar.gz: 58e23ccccd65260a6f13b65408dd1a0eb2764f1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5583890d0bf9d29d83c84d289738a2b3875d08560b1c40482935a91d32c67d634a11b7c831059288e8f35e924abd25847e29ffd9941aff86af3fd6b4273d2eac
|
7
|
+
data.tar.gz: 97ef4e0ec1d45adaf2934cf21fb3be117ad6763d5d3df0357216d621190dff0e1b3bc395c740838f821e860b8402f74ac09f0299150bcc9f98e2b8d74b94d4b4
|
data/lib/perf_check.rb
CHANGED
@@ -121,13 +121,15 @@ class PerfCheck
|
|
121
121
|
end
|
122
122
|
|
123
123
|
def run_migrations_up
|
124
|
-
|
124
|
+
logger.info "Running db:migrate"
|
125
|
+
logger.info `cd #{app_root} && bundle exec rake db:migrate`
|
125
126
|
git.clean_db
|
126
127
|
end
|
127
128
|
|
128
129
|
def run_migrations_down
|
129
130
|
git.migrations_to_run_down.each do |version|
|
130
|
-
|
131
|
+
logger.info "Running db:migrate:down VERSION=#{version}"
|
132
|
+
logger.info `cd #{app_root} && bundle exec rake db:migrate:down VERSION=#{version}`
|
131
133
|
end
|
132
134
|
git.clean_db
|
133
135
|
end
|