test_track_rails_client 4.0.0.alpha28 → 4.0.0.alpha29

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
- SHA1:
3
- metadata.gz: 29ba553d44c0215e82fb8af22e99d956ae3d52fa
4
- data.tar.gz: a0c8d8e99538c02f7bd8d1756b4e2dc747cd3aaf
2
+ SHA256:
3
+ metadata.gz: bd9ebe9de44fd28a8881162160fc6bdaa0b4a5285599d124d71e7541589544b2
4
+ data.tar.gz: 8fadbaec2b3fa4e3b16fb32e5b243cfc7eee49fd4d664feea0302f5d8ee92df8
5
5
  SHA512:
6
- metadata.gz: a90a41c9df4e0a5e570865be36dd10a75e367166a2bd8c9822b20166757b907f5928fd559c2fe9ce0f7de7deebfe31c27bddbcecb6eefc31b761e5adf402c30a
7
- data.tar.gz: 7a3c051b1b7a485d1a2c1ee1e716aa7dcfe1f52755b537090d039d71b2266456ff0bf00bb70d7529b7fc3a65bf6237973080157d688462a15a32e8d975e2e8c2
6
+ metadata.gz: 6554293a72b601f5a7920d03629d40fcf877ea1a07d4de11d43658ca9eb7091ee34ff4d66b04e48cdf9bf5ed03eb949feb7689c9a4f5d0cbe238e1d28477d059
7
+ data.tar.gz: 1908d9c4ab9dffb5cdb47885a7157794497f6d74c473e9219b2194395db096e700bbce8a5b9ebbe6961810e509f8c9cce52dbceea95f27c6fd89ec78a65969d6
@@ -3,6 +3,10 @@ require 'rbconfig'
3
3
  class TesttrackCli
4
4
  include Singleton
5
5
 
6
+ def skip_testtrack_cli?
7
+ Rails.env.test? || (Rails.env.development? && project_initialized?) || ENV.key?('SKIP_TESTTRACK_CLI')
8
+ end
9
+
6
10
  def project_initialized?
7
11
  File.exist?(File.join('testtrack', 'schema.yml'))
8
12
  end
@@ -2,6 +2,7 @@ namespace :test_track do
2
2
  desc 'Run outstanding TestTrack migrations'
3
3
  task migrate: :environment do
4
4
  cli = TesttrackCli.instance
5
+ next if cli.skip_testtrack_cli?
5
6
 
6
7
  if cli.project_initialized?
7
8
  result = cli.call('migrate')
@@ -13,6 +14,7 @@ namespace :test_track do
13
14
  desc 'Load schema.yml state into TestTrack server'
14
15
  task load: :environment do
15
16
  cli = TesttrackCli.instance
17
+ next if cli.skip_testtrack_cli?
16
18
 
17
19
  if cli.project_initialized?
18
20
  result = cli.call('schema', 'load')
@@ -26,8 +28,6 @@ namespace :test_track do
26
28
  end
27
29
  end
28
30
 
29
- if !Rails.env.test? && !(Rails.env.development? && File.exist?(File.join('testtrack', 'schema.yml')))
30
- task 'db:schema:load' => ['test_track:schema:load']
31
- task 'db:structure:load' => ['test_track:schema:load']
32
- task 'db:migrate' => ['test_track:migrate']
33
- end
31
+ task 'db:schema:load' => ['test_track:schema:load']
32
+ task 'db:structure:load' => ['test_track:schema:load']
33
+ task 'db:migrate' => ['test_track:migrate']
@@ -1,3 +1,3 @@
1
1
  module TestTrackRailsClient
2
- VERSION = "4.0.0.alpha28" # rubocop:disable Style/MutableConstant
2
+ VERSION = "4.0.0.alpha29" # rubocop:disable Style/MutableConstant
3
3
  end
@@ -0,0 +1,82 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ her (0.8.6)
5
+ activemodel (>= 3.0.0, <= 6.0.0)
6
+ activesupport (>= 3.0.0, <= 6.0.0)
7
+ faraday (>= 0.8, < 1.0)
8
+ multi_json (~> 1.7)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activemodel (5.1.2)
14
+ activesupport (= 5.1.2)
15
+ activesupport (5.1.2)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (~> 0.7)
18
+ minitest (~> 5.1)
19
+ tzinfo (~> 1.1)
20
+ appraisal (2.2.0)
21
+ bundler
22
+ rake
23
+ thor (>= 0.14.0)
24
+ coderay (1.1.2)
25
+ concurrent-ruby (1.0.5)
26
+ concurrent-ruby (1.0.5-java)
27
+ diff-lcs (1.3)
28
+ faraday (0.14.0)
29
+ multipart-post (>= 1.2, < 3)
30
+ ffi (1.9.23-java)
31
+ i18n (0.8.6)
32
+ json (1.8.6)
33
+ json (1.8.6-java)
34
+ method_source (0.9.0)
35
+ minitest (5.10.3)
36
+ multi_json (1.13.1)
37
+ multipart-post (2.0.0)
38
+ pry (0.11.3)
39
+ coderay (~> 1.1.0)
40
+ method_source (~> 0.9.0)
41
+ pry (0.11.3-java)
42
+ coderay (~> 1.1.0)
43
+ method_source (~> 0.9.0)
44
+ spoon (~> 0.0)
45
+ rake (10.5.0)
46
+ rspec (3.6.0)
47
+ rspec-core (~> 3.6.0)
48
+ rspec-expectations (~> 3.6.0)
49
+ rspec-mocks (~> 3.6.0)
50
+ rspec-core (3.6.0)
51
+ rspec-support (~> 3.6.0)
52
+ rspec-expectations (3.6.0)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.6.0)
55
+ rspec-mocks (3.6.0)
56
+ diff-lcs (>= 1.2.0, < 2.0)
57
+ rspec-support (~> 3.6.0)
58
+ rspec-support (3.6.0)
59
+ spoon (0.0.6)
60
+ ffi
61
+ thor (0.20.0)
62
+ thread_safe (0.3.6)
63
+ thread_safe (0.3.6-java)
64
+ tzinfo (1.2.3)
65
+ thread_safe (~> 0.1)
66
+
67
+ PLATFORMS
68
+ java
69
+ ruby
70
+
71
+ DEPENDENCIES
72
+ activemodel (>= 3.2.0)
73
+ activesupport (>= 3.2.0)
74
+ appraisal (~> 2.2.0)
75
+ her!
76
+ json (~> 1.8)
77
+ pry
78
+ rake (~> 10.0)
79
+ rspec (~> 3.5)
80
+
81
+ BUNDLED WITH
82
+ 1.16.1
@@ -0,0 +1,81 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ her (1.0.3)
5
+ activemodel (>= 4.2.1)
6
+ faraday (>= 0.8, < 1.0)
7
+ multi_json (~> 1.7)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activemodel (5.2.1)
13
+ activesupport (= 5.2.1)
14
+ activesupport (5.2.1)
15
+ concurrent-ruby (~> 1.0, >= 1.0.2)
16
+ i18n (>= 0.7, < 2)
17
+ minitest (~> 5.1)
18
+ tzinfo (~> 1.1)
19
+ ast (2.4.0)
20
+ coderay (1.1.2)
21
+ concurrent-ruby (1.0.5)
22
+ diff-lcs (1.3)
23
+ faraday (0.15.3)
24
+ multipart-post (>= 1.2, < 3)
25
+ i18n (1.1.1)
26
+ concurrent-ruby (~> 1.0)
27
+ json (1.8.6)
28
+ method_source (0.9.0)
29
+ minitest (5.11.3)
30
+ multi_json (1.13.1)
31
+ multipart-post (2.0.0)
32
+ parallel (1.12.1)
33
+ parser (2.5.3.0)
34
+ ast (~> 2.4.0)
35
+ powerpack (0.1.2)
36
+ pry (0.11.3)
37
+ coderay (~> 1.1.0)
38
+ method_source (~> 0.9.0)
39
+ rainbow (3.0.0)
40
+ rake (10.5.0)
41
+ rspec (3.8.0)
42
+ rspec-core (~> 3.8.0)
43
+ rspec-expectations (~> 3.8.0)
44
+ rspec-mocks (~> 3.8.0)
45
+ rspec-core (3.8.0)
46
+ rspec-support (~> 3.8.0)
47
+ rspec-expectations (3.8.2)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.8.0)
50
+ rspec-mocks (3.8.0)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.8.0)
53
+ rspec-support (3.8.0)
54
+ rubocop (0.54.0)
55
+ parallel (~> 1.10)
56
+ parser (>= 2.5)
57
+ powerpack (~> 0.1)
58
+ rainbow (>= 2.2.2, < 4.0)
59
+ ruby-progressbar (~> 1.7)
60
+ unicode-display_width (~> 1.0, >= 1.0.1)
61
+ ruby-progressbar (1.10.0)
62
+ thread_safe (0.3.6)
63
+ tzinfo (1.2.5)
64
+ thread_safe (~> 0.1)
65
+ unicode-display_width (1.4.0)
66
+
67
+ PLATFORMS
68
+ ruby
69
+
70
+ DEPENDENCIES
71
+ activemodel (>= 3.2.0)
72
+ activesupport (>= 3.2.0)
73
+ her!
74
+ json (~> 1.8)
75
+ pry
76
+ rake (~> 10.0)
77
+ rspec (~> 3.5)
78
+ rubocop (= 0.54.0)
79
+
80
+ BUNDLED WITH
81
+ 1.17.1
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.alpha28
4
+ version: 4.0.0.alpha29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan O'Neill
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2019-07-15 00:00:00.000000000 Z
16
+ date: 2019-07-22 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: delayed_job
@@ -295,12 +295,14 @@ files:
295
295
  - lib/test_track_rails_client/engine.rb
296
296
  - lib/test_track_rails_client/rspec_helpers.rb
297
297
  - lib/test_track_rails_client/version.rb
298
+ - vendor/Gemfile.lock
298
299
  - vendor/bin/testtrack-cli/testtrack.darwin
299
300
  - vendor/bin/testtrack-cli/testtrack.linux
300
301
  - vendor/gems/fakeable_her/fakeable_her.gemspec
301
302
  - vendor/gems/fakeable_her/lib/fakeable_her.rb
302
303
  - vendor/gems/fakeable_her/lib/fakeable_her/model.rb
303
304
  - vendor/gems/fakeable_her/lib/fakeable_her/version.rb
305
+ - vendor/gems/her/Gemfile.lock
304
306
  - vendor/gems/her/LICENSE
305
307
  - vendor/gems/her/her.gemspec
306
308
  - vendor/gems/her/lib/her.rb
@@ -353,8 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
353
355
  - !ruby/object:Gem::Version
354
356
  version: 1.3.1
355
357
  requirements: []
356
- rubyforge_project:
357
- rubygems_version: 2.5.1
358
+ rubygems_version: 3.0.4
358
359
  signing_key:
359
360
  specification_version: 4
360
361
  summary: Rails client for TestTrack