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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/perf_check.rb +4 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb44924865dcae6f7d575c2e103c6b4bdfbed211
4
- data.tar.gz: 9054301c33fa709b1392483903833f5692b7acce
3
+ metadata.gz: 91e2d21b9cdd0bc7563541f3ba663b3d0b3c2aec
4
+ data.tar.gz: 58e23ccccd65260a6f13b65408dd1a0eb2764f1c
5
5
  SHA512:
6
- metadata.gz: 4e34560dde5989e873d2f8d760a61a84fa075491a1def4a65cf41dbf70b656a5a9454373e49647ac27584d3271ca2504916f9b6d2108ad95ef2143452938ae96
7
- data.tar.gz: d6a00b3d913dd33cdf3d1b5f1c8a11468f5338e2839f9d3b530ff08de997c2d7576d78171ca4e4ced36a81bd295fd6ed99f8679d886367e9808906f7e7d398e9
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
- Bundler.with_clean_env{ puts `bundle exec rake db:migrate` }
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
- Bundler.with_clean_env{ puts `bundle exec rake db:migrate:down VERSION=#{version}` }
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perf_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubytune