test_track_rails_client 4.0.0.alpha21 → 4.0.0.alpha22

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 131a9a7fc14f702a6651cdf1a4ab5506997eb5d6
4
- data.tar.gz: 925a764d036bc0d6782bf01147aa4c478c70394a
3
+ metadata.gz: 3dfcb06b82a4dde27f4e0d5237399e3e5ad5a014
4
+ data.tar.gz: ac1ffd9164aaadbd8f21e27c6dd97ff1a8c4375c
5
5
  SHA512:
6
- metadata.gz: f850778b5c08f04e22d8284e2be7d921b09329deb453efcc6999265970cf310c438986e6d47b1f1d84c9b623e0a3aa941020a930523bd359d2efd2bd3003faea
7
- data.tar.gz: 3a1d44073812b4c17b27074957f002db7fdecc87d8749a92468a2a255217e0dde44b8625be19b8bad69d3a78a49a10d414dd57a016688f06c8ac8bbd802296f2
6
+ metadata.gz: 6e7ac5454a61f970ef354055dd1e25b91fefe3769f3dea52879ec54fb50e90954f7df221b61561c9214b3cd3812add6493c4b290710d53977cb251c70761a1bb
7
+ data.tar.gz: 128e7d688e98d3223d2d1f0c5fd1fb12daff8aa052b42f9f4252dce131e5de8a97bd12525bb4da5550e6308140c212b3ccf784fc5fd8db3c4abc70db72ed29ce
@@ -26,7 +26,7 @@ namespace :test_track do
26
26
  end
27
27
  end
28
28
 
29
- unless Rails.env.test? || (Rails.env.development? || !TesttrackCli.instance.project_initialized?)
29
+ if !Rails.env.test? && !(Rails.env.development? && File.exist?(File.join('testtrack', 'schema.yml')))
30
30
  task 'db:schema:load' => ['test_track:schema:load']
31
31
  task 'db:structure:load' => ['test_track:schema:load']
32
32
  task 'db:migrate' => ['test_track:migrate']
@@ -1,3 +1,3 @@
1
1
  module TestTrackRailsClient
2
- VERSION = "4.0.0.alpha21" # rubocop:disable Style/MutableConstant
2
+ VERSION = "4.0.0.alpha22" # rubocop:disable Style/MutableConstant
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test_track_rails_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.alpha21
4
+ version: 4.0.0.alpha22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan O'Neill