test_track_rails_client 4.0.0.alpha15 → 4.0.0.alpha16
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49815444ee65041c24e60a13a0020f73b8de1347
|
4
|
+
data.tar.gz: 1eb1bb655b9388afb11180d1dbfe4dbd398b6c09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0893ea3bd2f299d232cedf0ad3af18f83a048c67fe1354f9fda5aafaf060f40d6e4a3c62fa7e8b5b409bd91f83ca601ab91d3767a341422ba97df75b795ba1ab
|
7
|
+
data.tar.gz: 287113c58d8fc39862500542bc2f5dd91c8f60823aed18e059de03cb4f4717664478d23cd390322446356c04f29e0d2a5994aff71ca9f4492dfd4d1a4fc9f0e3
|
@@ -15,7 +15,7 @@ module TestTrack
|
|
15
15
|
|
16
16
|
def create_migration_file
|
17
17
|
create_file full_file_path, <<-FILE.strip_heredoc
|
18
|
-
class #{split_class_name} <
|
18
|
+
class #{split_class_name} < #{migration_class}
|
19
19
|
def change
|
20
20
|
TestTrack.update_config do |c|
|
21
21
|
#{split_command_line}
|
@@ -25,6 +25,14 @@ module TestTrack
|
|
25
25
|
FILE
|
26
26
|
end
|
27
27
|
|
28
|
+
def migration_class
|
29
|
+
if ActiveRecord::VERSION::MAJOR >= 5
|
30
|
+
ActiveRecord::Migration[5.0]
|
31
|
+
else
|
32
|
+
ActiveRecord::Migration
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
28
36
|
def split_command_line
|
29
37
|
"#{split_command} :#{split_name}#{split_variants}"
|
30
38
|
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.
|
4
|
+
version: 4.0.0.alpha16
|
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-02-
|
16
|
+
date: 2019-02-06 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: airbrake
|