test_data 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +35 -33
- data/README.md +7 -0
- data/example/Gemfile.lock +111 -115
- data/lib/test_data/config.rb +3 -1
- data/lib/test_data/configurators/cable_yaml.rb +3 -1
- data/lib/test_data/configurators/secrets_yaml.rb +3 -1
- data/lib/test_data/dumps_database.rb +1 -1
- data/lib/test_data/version.rb +1 -1
- data/lib/test_data/wrap/webpacker_config.rb +3 -1
- data/lib/test_data/yaml_loader.rb +11 -0
- data/test_data.gemspec +5 -0
- metadata +8 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07a33524dae4dd0de877d4a7abdbc549a2dfc44d3c7c2135bfb926fe06fa598f
|
|
4
|
+
data.tar.gz: 6dcb4cec0013f726fb45f1eafb1c813571d6c7816f3e2999560d8108d665d8e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe32388d16a613e3275b55359a8921366bafb4c0b7093298f9745acb94a61649e1b016fde7e78eb82b285a3aa002be3234e687302f8ff43e517737904b8f4891
|
|
7
|
+
data.tar.gz: 44889012a9b055e09c50328c163d3632e4d048578baa41d6218c1e38fe9952d87efa5d9d4c505ae6bdd09bb887189e21005eb64cfd9b8e2d85b1ebd5ca29a1a9
|
data/Gemfile.lock
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
test_data (0.
|
|
4
|
+
test_data (0.4.0)
|
|
5
5
|
railties (>= 6.0, < 8.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
actionpack (7.0.
|
|
11
|
-
actionview (= 7.0.
|
|
12
|
-
activesupport (= 7.0.
|
|
10
|
+
actionpack (7.0.4)
|
|
11
|
+
actionview (= 7.0.4)
|
|
12
|
+
activesupport (= 7.0.4)
|
|
13
13
|
rack (~> 2.0, >= 2.2.0)
|
|
14
14
|
rack-test (>= 0.6.3)
|
|
15
15
|
rails-dom-testing (~> 2.0)
|
|
16
16
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
17
|
-
actionview (7.0.
|
|
18
|
-
activesupport (= 7.0.
|
|
17
|
+
actionview (7.0.4)
|
|
18
|
+
activesupport (= 7.0.4)
|
|
19
19
|
builder (~> 3.1)
|
|
20
20
|
erubi (~> 1.4)
|
|
21
21
|
rails-dom-testing (~> 2.0)
|
|
22
22
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
23
|
-
activesupport (7.0.
|
|
23
|
+
activesupport (7.0.4)
|
|
24
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
25
25
|
i18n (>= 1.6, < 2)
|
|
26
26
|
minitest (>= 5.1)
|
|
@@ -30,67 +30,69 @@ GEM
|
|
|
30
30
|
coderay (1.1.3)
|
|
31
31
|
concurrent-ruby (1.1.10)
|
|
32
32
|
crass (1.0.6)
|
|
33
|
-
erubi (1.
|
|
34
|
-
i18n (1.
|
|
33
|
+
erubi (1.11.0)
|
|
34
|
+
i18n (1.12.0)
|
|
35
35
|
concurrent-ruby (~> 1.0)
|
|
36
|
-
|
|
36
|
+
json (2.6.2)
|
|
37
|
+
loofah (2.19.0)
|
|
37
38
|
crass (~> 1.0.2)
|
|
38
39
|
nokogiri (>= 1.5.9)
|
|
39
40
|
method_source (1.0.0)
|
|
40
41
|
mini_portile2 (2.8.0)
|
|
41
|
-
minitest (5.
|
|
42
|
-
nokogiri (1.13.
|
|
42
|
+
minitest (5.16.3)
|
|
43
|
+
nokogiri (1.13.9)
|
|
43
44
|
mini_portile2 (~> 2.8.0)
|
|
44
45
|
racc (~> 1.4)
|
|
45
46
|
parallel (1.22.1)
|
|
46
|
-
parser (3.1.1
|
|
47
|
+
parser (3.1.2.1)
|
|
47
48
|
ast (~> 2.4.1)
|
|
48
49
|
pry (0.14.1)
|
|
49
50
|
coderay (~> 1.1)
|
|
50
51
|
method_source (~> 1.0)
|
|
51
52
|
racc (1.6.0)
|
|
52
|
-
rack (2.2.
|
|
53
|
-
rack-test (
|
|
54
|
-
rack (>= 1.
|
|
53
|
+
rack (2.2.4)
|
|
54
|
+
rack-test (2.0.2)
|
|
55
|
+
rack (>= 1.3)
|
|
55
56
|
rails-dom-testing (2.0.3)
|
|
56
57
|
activesupport (>= 4.2.0)
|
|
57
58
|
nokogiri (>= 1.6)
|
|
58
|
-
rails-html-sanitizer (1.4.
|
|
59
|
+
rails-html-sanitizer (1.4.3)
|
|
59
60
|
loofah (~> 2.3)
|
|
60
|
-
railties (7.0.
|
|
61
|
-
actionpack (= 7.0.
|
|
62
|
-
activesupport (= 7.0.
|
|
61
|
+
railties (7.0.4)
|
|
62
|
+
actionpack (= 7.0.4)
|
|
63
|
+
activesupport (= 7.0.4)
|
|
63
64
|
method_source
|
|
64
65
|
rake (>= 12.2)
|
|
65
66
|
thor (~> 1.0)
|
|
66
67
|
zeitwerk (~> 2.5)
|
|
67
68
|
rainbow (3.1.1)
|
|
68
69
|
rake (13.0.6)
|
|
69
|
-
regexp_parser (2.
|
|
70
|
+
regexp_parser (2.6.0)
|
|
70
71
|
rexml (3.2.5)
|
|
71
|
-
rubocop (1.
|
|
72
|
+
rubocop (1.35.1)
|
|
73
|
+
json (~> 2.3)
|
|
72
74
|
parallel (~> 1.10)
|
|
73
|
-
parser (>= 3.1.
|
|
75
|
+
parser (>= 3.1.2.1)
|
|
74
76
|
rainbow (>= 2.2.2, < 4.0)
|
|
75
77
|
regexp_parser (>= 1.8, < 3.0)
|
|
76
|
-
rexml
|
|
77
|
-
rubocop-ast (>= 1.
|
|
78
|
+
rexml (>= 3.2.5, < 4.0)
|
|
79
|
+
rubocop-ast (>= 1.20.1, < 2.0)
|
|
78
80
|
ruby-progressbar (~> 1.7)
|
|
79
81
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
80
|
-
rubocop-ast (1.
|
|
82
|
+
rubocop-ast (1.23.0)
|
|
81
83
|
parser (>= 3.1.1.0)
|
|
82
|
-
rubocop-performance (1.
|
|
84
|
+
rubocop-performance (1.14.3)
|
|
83
85
|
rubocop (>= 1.7.0, < 2.0)
|
|
84
86
|
rubocop-ast (>= 0.4.0)
|
|
85
87
|
ruby-progressbar (1.11.0)
|
|
86
|
-
standard (1.
|
|
87
|
-
rubocop (= 1.
|
|
88
|
-
rubocop-performance (= 1.
|
|
88
|
+
standard (1.16.1)
|
|
89
|
+
rubocop (= 1.35.1)
|
|
90
|
+
rubocop-performance (= 1.14.3)
|
|
89
91
|
thor (1.2.1)
|
|
90
|
-
tzinfo (2.0.
|
|
92
|
+
tzinfo (2.0.5)
|
|
91
93
|
concurrent-ruby (~> 1.0)
|
|
92
|
-
unicode-display_width (2.
|
|
93
|
-
zeitwerk (2.
|
|
94
|
+
unicode-display_width (2.3.0)
|
|
95
|
+
zeitwerk (2.6.6)
|
|
94
96
|
|
|
95
97
|
PLATFORMS
|
|
96
98
|
ruby
|
data/README.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# ⛔ DEPRECATED ⛔
|
|
2
|
+
|
|
3
|
+
test_data is deprecated and unmaintained.
|
|
4
|
+
|
|
5
|
+
We have no plans to hand off the package or resurrect it, but you are of course
|
|
6
|
+
welcome to fork it.
|
|
7
|
+
|
|
1
8
|
# The `test_data` gem
|
|
2
9
|
|
|
3
10
|
`test_data` does what it says on the tin: it provides a fast & reliable system
|
data/example/Gemfile.lock
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ..
|
|
3
3
|
specs:
|
|
4
|
-
test_data (0.
|
|
4
|
+
test_data (0.4.0)
|
|
5
5
|
railties (>= 6.0, < 8.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
actioncable (7.0.
|
|
11
|
-
actionpack (= 7.0.
|
|
12
|
-
activesupport (= 7.0.
|
|
10
|
+
actioncable (7.0.4)
|
|
11
|
+
actionpack (= 7.0.4)
|
|
12
|
+
activesupport (= 7.0.4)
|
|
13
13
|
nio4r (~> 2.0)
|
|
14
14
|
websocket-driver (>= 0.6.1)
|
|
15
|
-
actionmailbox (7.0.
|
|
16
|
-
actionpack (= 7.0.
|
|
17
|
-
activejob (= 7.0.
|
|
18
|
-
activerecord (= 7.0.
|
|
19
|
-
activestorage (= 7.0.
|
|
20
|
-
activesupport (= 7.0.
|
|
15
|
+
actionmailbox (7.0.4)
|
|
16
|
+
actionpack (= 7.0.4)
|
|
17
|
+
activejob (= 7.0.4)
|
|
18
|
+
activerecord (= 7.0.4)
|
|
19
|
+
activestorage (= 7.0.4)
|
|
20
|
+
activesupport (= 7.0.4)
|
|
21
21
|
mail (>= 2.7.1)
|
|
22
22
|
net-imap
|
|
23
23
|
net-pop
|
|
24
24
|
net-smtp
|
|
25
|
-
actionmailer (7.0.
|
|
26
|
-
actionpack (= 7.0.
|
|
27
|
-
actionview (= 7.0.
|
|
28
|
-
activejob (= 7.0.
|
|
29
|
-
activesupport (= 7.0.
|
|
25
|
+
actionmailer (7.0.4)
|
|
26
|
+
actionpack (= 7.0.4)
|
|
27
|
+
actionview (= 7.0.4)
|
|
28
|
+
activejob (= 7.0.4)
|
|
29
|
+
activesupport (= 7.0.4)
|
|
30
30
|
mail (~> 2.5, >= 2.5.4)
|
|
31
31
|
net-imap
|
|
32
32
|
net-pop
|
|
33
33
|
net-smtp
|
|
34
34
|
rails-dom-testing (~> 2.0)
|
|
35
|
-
actionpack (7.0.
|
|
36
|
-
actionview (= 7.0.
|
|
37
|
-
activesupport (= 7.0.
|
|
35
|
+
actionpack (7.0.4)
|
|
36
|
+
actionview (= 7.0.4)
|
|
37
|
+
activesupport (= 7.0.4)
|
|
38
38
|
rack (~> 2.0, >= 2.2.0)
|
|
39
39
|
rack-test (>= 0.6.3)
|
|
40
40
|
rails-dom-testing (~> 2.0)
|
|
41
41
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
42
|
-
actiontext (7.0.
|
|
43
|
-
actionpack (= 7.0.
|
|
44
|
-
activerecord (= 7.0.
|
|
45
|
-
activestorage (= 7.0.
|
|
46
|
-
activesupport (= 7.0.
|
|
42
|
+
actiontext (7.0.4)
|
|
43
|
+
actionpack (= 7.0.4)
|
|
44
|
+
activerecord (= 7.0.4)
|
|
45
|
+
activestorage (= 7.0.4)
|
|
46
|
+
activesupport (= 7.0.4)
|
|
47
47
|
globalid (>= 0.6.0)
|
|
48
48
|
nokogiri (>= 1.8.5)
|
|
49
|
-
actionview (7.0.
|
|
50
|
-
activesupport (= 7.0.
|
|
49
|
+
actionview (7.0.4)
|
|
50
|
+
activesupport (= 7.0.4)
|
|
51
51
|
builder (~> 3.1)
|
|
52
52
|
erubi (~> 1.4)
|
|
53
53
|
rails-dom-testing (~> 2.0)
|
|
54
54
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
55
|
-
activejob (7.0.
|
|
56
|
-
activesupport (= 7.0.
|
|
55
|
+
activejob (7.0.4)
|
|
56
|
+
activesupport (= 7.0.4)
|
|
57
57
|
globalid (>= 0.3.6)
|
|
58
|
-
activemodel (7.0.
|
|
59
|
-
activesupport (= 7.0.
|
|
60
|
-
activerecord (7.0.
|
|
61
|
-
activemodel (= 7.0.
|
|
62
|
-
activesupport (= 7.0.
|
|
63
|
-
activestorage (7.0.
|
|
64
|
-
actionpack (= 7.0.
|
|
65
|
-
activejob (= 7.0.
|
|
66
|
-
activerecord (= 7.0.
|
|
67
|
-
activesupport (= 7.0.
|
|
58
|
+
activemodel (7.0.4)
|
|
59
|
+
activesupport (= 7.0.4)
|
|
60
|
+
activerecord (7.0.4)
|
|
61
|
+
activemodel (= 7.0.4)
|
|
62
|
+
activesupport (= 7.0.4)
|
|
63
|
+
activestorage (7.0.4)
|
|
64
|
+
actionpack (= 7.0.4)
|
|
65
|
+
activejob (= 7.0.4)
|
|
66
|
+
activerecord (= 7.0.4)
|
|
67
|
+
activesupport (= 7.0.4)
|
|
68
68
|
marcel (~> 1.0)
|
|
69
69
|
mini_mime (>= 1.1.0)
|
|
70
|
-
activesupport (7.0.
|
|
70
|
+
activesupport (7.0.4)
|
|
71
71
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
72
72
|
i18n (>= 1.6, < 2)
|
|
73
73
|
minitest (>= 5.1)
|
|
74
74
|
tzinfo (~> 2.0)
|
|
75
|
-
addressable (2.8.
|
|
76
|
-
public_suffix (>= 2.0.2, <
|
|
75
|
+
addressable (2.8.1)
|
|
76
|
+
public_suffix (>= 2.0.2, < 6.0)
|
|
77
77
|
ast (2.4.2)
|
|
78
|
-
bootsnap (1.
|
|
78
|
+
bootsnap (1.13.0)
|
|
79
79
|
msgpack (~> 1.2)
|
|
80
80
|
builder (3.2.4)
|
|
81
|
-
capybara (3.
|
|
81
|
+
capybara (3.38.0)
|
|
82
82
|
addressable
|
|
83
83
|
matrix
|
|
84
84
|
mini_mime (>= 0.1.3)
|
|
@@ -92,8 +92,7 @@ GEM
|
|
|
92
92
|
concurrent-ruby (1.1.10)
|
|
93
93
|
crass (1.0.6)
|
|
94
94
|
diff-lcs (1.5.0)
|
|
95
|
-
|
|
96
|
-
erubi (1.10.0)
|
|
95
|
+
erubi (1.11.0)
|
|
97
96
|
factory_bot (6.2.1)
|
|
98
97
|
activesupport (>= 5.0.0)
|
|
99
98
|
factory_bot_rails (6.2.0)
|
|
@@ -101,9 +100,10 @@ GEM
|
|
|
101
100
|
railties (>= 5.0.0)
|
|
102
101
|
globalid (1.0.0)
|
|
103
102
|
activesupport (>= 5.0)
|
|
104
|
-
i18n (1.
|
|
103
|
+
i18n (1.12.0)
|
|
105
104
|
concurrent-ruby (~> 1.0)
|
|
106
|
-
|
|
105
|
+
json (2.6.2)
|
|
106
|
+
loofah (2.19.0)
|
|
107
107
|
crass (~> 1.0.2)
|
|
108
108
|
nokogiri (>= 1.5.9)
|
|
109
109
|
mail (2.7.1)
|
|
@@ -113,129 +113,125 @@ GEM
|
|
|
113
113
|
method_source (1.0.0)
|
|
114
114
|
mini_mime (1.1.2)
|
|
115
115
|
mini_portile2 (2.8.0)
|
|
116
|
-
minitest (5.
|
|
117
|
-
msgpack (1.
|
|
118
|
-
net-imap (0.
|
|
119
|
-
digest
|
|
116
|
+
minitest (5.16.3)
|
|
117
|
+
msgpack (1.6.0)
|
|
118
|
+
net-imap (0.3.1)
|
|
120
119
|
net-protocol
|
|
121
|
-
|
|
122
|
-
net-pop (0.1.1)
|
|
123
|
-
digest
|
|
120
|
+
net-pop (0.1.2)
|
|
124
121
|
net-protocol
|
|
125
|
-
timeout
|
|
126
122
|
net-protocol (0.1.3)
|
|
127
123
|
timeout
|
|
128
|
-
net-smtp (0.3.
|
|
129
|
-
digest
|
|
124
|
+
net-smtp (0.3.3)
|
|
130
125
|
net-protocol
|
|
131
|
-
timeout
|
|
132
126
|
nio4r (2.5.8)
|
|
133
|
-
nokogiri (1.13.
|
|
127
|
+
nokogiri (1.13.9)
|
|
134
128
|
mini_portile2 (~> 2.8.0)
|
|
135
129
|
racc (~> 1.4)
|
|
136
130
|
noncommittal (0.2.0)
|
|
137
131
|
parallel (1.22.1)
|
|
138
|
-
parser (3.1.1
|
|
132
|
+
parser (3.1.2.1)
|
|
139
133
|
ast (~> 2.4.1)
|
|
140
|
-
pg (1.
|
|
134
|
+
pg (1.4.4)
|
|
141
135
|
pry (0.14.1)
|
|
142
136
|
coderay (~> 1.1)
|
|
143
137
|
method_source (~> 1.0)
|
|
144
138
|
pry-rails (0.3.9)
|
|
145
139
|
pry (>= 0.10.4)
|
|
146
|
-
public_suffix (
|
|
147
|
-
puma (
|
|
140
|
+
public_suffix (5.0.0)
|
|
141
|
+
puma (6.0.0)
|
|
148
142
|
nio4r (~> 2.0)
|
|
149
143
|
racc (1.6.0)
|
|
150
|
-
rack (2.2.
|
|
151
|
-
rack-test (
|
|
152
|
-
rack (>= 1.
|
|
153
|
-
rails (7.0.
|
|
154
|
-
actioncable (= 7.0.
|
|
155
|
-
actionmailbox (= 7.0.
|
|
156
|
-
actionmailer (= 7.0.
|
|
157
|
-
actionpack (= 7.0.
|
|
158
|
-
actiontext (= 7.0.
|
|
159
|
-
actionview (= 7.0.
|
|
160
|
-
activejob (= 7.0.
|
|
161
|
-
activemodel (= 7.0.
|
|
162
|
-
activerecord (= 7.0.
|
|
163
|
-
activestorage (= 7.0.
|
|
164
|
-
activesupport (= 7.0.
|
|
144
|
+
rack (2.2.4)
|
|
145
|
+
rack-test (2.0.2)
|
|
146
|
+
rack (>= 1.3)
|
|
147
|
+
rails (7.0.4)
|
|
148
|
+
actioncable (= 7.0.4)
|
|
149
|
+
actionmailbox (= 7.0.4)
|
|
150
|
+
actionmailer (= 7.0.4)
|
|
151
|
+
actionpack (= 7.0.4)
|
|
152
|
+
actiontext (= 7.0.4)
|
|
153
|
+
actionview (= 7.0.4)
|
|
154
|
+
activejob (= 7.0.4)
|
|
155
|
+
activemodel (= 7.0.4)
|
|
156
|
+
activerecord (= 7.0.4)
|
|
157
|
+
activestorage (= 7.0.4)
|
|
158
|
+
activesupport (= 7.0.4)
|
|
165
159
|
bundler (>= 1.15.0)
|
|
166
|
-
railties (= 7.0.
|
|
160
|
+
railties (= 7.0.4)
|
|
167
161
|
rails-dom-testing (2.0.3)
|
|
168
162
|
activesupport (>= 4.2.0)
|
|
169
163
|
nokogiri (>= 1.6)
|
|
170
|
-
rails-html-sanitizer (1.4.
|
|
164
|
+
rails-html-sanitizer (1.4.3)
|
|
171
165
|
loofah (~> 2.3)
|
|
172
|
-
railties (7.0.
|
|
173
|
-
actionpack (= 7.0.
|
|
174
|
-
activesupport (= 7.0.
|
|
166
|
+
railties (7.0.4)
|
|
167
|
+
actionpack (= 7.0.4)
|
|
168
|
+
activesupport (= 7.0.4)
|
|
175
169
|
method_source
|
|
176
170
|
rake (>= 12.2)
|
|
177
171
|
thor (~> 1.0)
|
|
178
172
|
zeitwerk (~> 2.5)
|
|
179
173
|
rainbow (3.1.1)
|
|
180
174
|
rake (13.0.6)
|
|
181
|
-
regexp_parser (2.
|
|
175
|
+
regexp_parser (2.6.0)
|
|
182
176
|
rexml (3.2.5)
|
|
183
|
-
rspec-core (3.
|
|
184
|
-
rspec-support (~> 3.
|
|
185
|
-
rspec-expectations (3.
|
|
177
|
+
rspec-core (3.12.0)
|
|
178
|
+
rspec-support (~> 3.12.0)
|
|
179
|
+
rspec-expectations (3.12.0)
|
|
186
180
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
187
|
-
rspec-support (~> 3.
|
|
188
|
-
rspec-mocks (3.
|
|
181
|
+
rspec-support (~> 3.12.0)
|
|
182
|
+
rspec-mocks (3.12.0)
|
|
189
183
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
190
|
-
rspec-support (~> 3.
|
|
191
|
-
rspec-rails (
|
|
192
|
-
actionpack (>=
|
|
193
|
-
activesupport (>=
|
|
194
|
-
railties (>=
|
|
195
|
-
rspec-core (~> 3.
|
|
196
|
-
rspec-expectations (~> 3.
|
|
197
|
-
rspec-mocks (~> 3.
|
|
198
|
-
rspec-support (~> 3.
|
|
199
|
-
rspec-support (3.
|
|
200
|
-
rubocop (1.
|
|
184
|
+
rspec-support (~> 3.12.0)
|
|
185
|
+
rspec-rails (6.0.1)
|
|
186
|
+
actionpack (>= 6.1)
|
|
187
|
+
activesupport (>= 6.1)
|
|
188
|
+
railties (>= 6.1)
|
|
189
|
+
rspec-core (~> 3.11)
|
|
190
|
+
rspec-expectations (~> 3.11)
|
|
191
|
+
rspec-mocks (~> 3.11)
|
|
192
|
+
rspec-support (~> 3.11)
|
|
193
|
+
rspec-support (3.12.0)
|
|
194
|
+
rubocop (1.35.1)
|
|
195
|
+
json (~> 2.3)
|
|
201
196
|
parallel (~> 1.10)
|
|
202
|
-
parser (>= 3.1.
|
|
197
|
+
parser (>= 3.1.2.1)
|
|
203
198
|
rainbow (>= 2.2.2, < 4.0)
|
|
204
199
|
regexp_parser (>= 1.8, < 3.0)
|
|
205
|
-
rexml
|
|
206
|
-
rubocop-ast (>= 1.
|
|
200
|
+
rexml (>= 3.2.5, < 4.0)
|
|
201
|
+
rubocop-ast (>= 1.20.1, < 2.0)
|
|
207
202
|
ruby-progressbar (~> 1.7)
|
|
208
203
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
209
|
-
rubocop-ast (1.
|
|
204
|
+
rubocop-ast (1.23.0)
|
|
210
205
|
parser (>= 3.1.1.0)
|
|
211
|
-
rubocop-performance (1.
|
|
206
|
+
rubocop-performance (1.14.3)
|
|
212
207
|
rubocop (>= 1.7.0, < 2.0)
|
|
213
208
|
rubocop-ast (>= 0.4.0)
|
|
214
209
|
ruby-progressbar (1.11.0)
|
|
215
210
|
rubyzip (2.3.2)
|
|
216
|
-
selenium-webdriver (4.1
|
|
211
|
+
selenium-webdriver (4.6.1)
|
|
217
212
|
childprocess (>= 0.5, < 5.0)
|
|
218
213
|
rexml (~> 3.2, >= 3.2.5)
|
|
219
|
-
rubyzip (>= 1.2.2)
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
rubocop
|
|
223
|
-
|
|
214
|
+
rubyzip (>= 1.2.2, < 3.0)
|
|
215
|
+
websocket (~> 1.0)
|
|
216
|
+
standard (1.16.1)
|
|
217
|
+
rubocop (= 1.35.1)
|
|
218
|
+
rubocop-performance (= 1.14.3)
|
|
224
219
|
thor (1.2.1)
|
|
225
|
-
timeout (0.
|
|
226
|
-
tzinfo (2.0.
|
|
220
|
+
timeout (0.3.0)
|
|
221
|
+
tzinfo (2.0.5)
|
|
227
222
|
concurrent-ruby (~> 1.0)
|
|
228
|
-
unicode-display_width (2.
|
|
229
|
-
webdrivers (5.
|
|
223
|
+
unicode-display_width (2.3.0)
|
|
224
|
+
webdrivers (5.2.0)
|
|
230
225
|
nokogiri (~> 1.6)
|
|
231
226
|
rubyzip (>= 1.3.0)
|
|
232
227
|
selenium-webdriver (~> 4.0)
|
|
228
|
+
websocket (1.2.9)
|
|
233
229
|
websocket-driver (0.7.5)
|
|
234
230
|
websocket-extensions (>= 0.1.0)
|
|
235
231
|
websocket-extensions (0.1.5)
|
|
236
232
|
xpath (3.2.0)
|
|
237
233
|
nokogiri (~> 1.8)
|
|
238
|
-
zeitwerk (2.
|
|
234
|
+
zeitwerk (2.6.6)
|
|
239
235
|
|
|
240
236
|
PLATFORMS
|
|
241
237
|
ruby
|
data/lib/test_data/config.rb
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require_relative "./yaml_loader"
|
|
2
|
+
|
|
1
3
|
module TestData
|
|
2
4
|
def self.config(pwd: Rails.root, &blk)
|
|
3
5
|
@configuration ||= Configuration.new(pwd: pwd)
|
|
@@ -95,7 +97,7 @@ module TestData
|
|
|
95
97
|
end
|
|
96
98
|
|
|
97
99
|
def database_yaml
|
|
98
|
-
|
|
100
|
+
YAMLLoader.load_file(database_yaml_full_path)
|
|
99
101
|
end
|
|
100
102
|
|
|
101
103
|
def database_name
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require_relative "../yaml_loader"
|
|
2
|
+
|
|
1
3
|
module TestData
|
|
2
4
|
module Configurators
|
|
3
5
|
class CableYaml
|
|
@@ -8,7 +10,7 @@ module TestData
|
|
|
8
10
|
|
|
9
11
|
def verify
|
|
10
12
|
if !File.exist?(@config.cable_yaml_full_path) ||
|
|
11
|
-
|
|
13
|
+
YAMLLoader.load_file(@config.cable_yaml_full_path).key?("test_data")
|
|
12
14
|
ConfigurationVerification.new(looks_good?: true)
|
|
13
15
|
else
|
|
14
16
|
ConfigurationVerification.new(problems: [
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require_relative "../yaml_loader"
|
|
2
|
+
|
|
1
3
|
module TestData
|
|
2
4
|
module Configurators
|
|
3
5
|
class SecretsYaml
|
|
@@ -8,7 +10,7 @@ module TestData
|
|
|
8
10
|
|
|
9
11
|
def verify
|
|
10
12
|
if !File.exist?(@config.secrets_yaml_full_path) ||
|
|
11
|
-
|
|
13
|
+
YAMLLoader.load_file(@config.secrets_yaml_full_path).key?("test_data")
|
|
12
14
|
ConfigurationVerification.new(looks_good?: true)
|
|
13
15
|
else
|
|
14
16
|
ConfigurationVerification.new(problems: [
|
|
@@ -80,7 +80,7 @@ module TestData
|
|
|
80
80
|
|
|
81
81
|
def log_size_info_and_warnings(before_size:, after_size:)
|
|
82
82
|
percent_change = percent_change(before_size, after_size)
|
|
83
|
-
TestData.log.info " Size: #{to_size(after_size)}#{" (#{percent_change}% #{before_size > after_size ? "decrease" : "increase"})" if percent_change}"
|
|
83
|
+
TestData.log.info " Size: #{to_size(after_size)}#{" (#{percent_change}% #{(before_size > after_size) ? "decrease" : "increase"})" if percent_change}"
|
|
84
84
|
if after_size > 5242880
|
|
85
85
|
TestData.log.warn " WARNING: file size exceeds 5MB. Be sure to only persist what data you need to sufficiently test your application"
|
|
86
86
|
end
|
data/lib/test_data/version.rb
CHANGED
data/test_data.gemspec
CHANGED
|
@@ -7,6 +7,11 @@ Gem::Specification.new do |spec|
|
|
|
7
7
|
spec.email = ["searls@gmail.com"]
|
|
8
8
|
|
|
9
9
|
spec.summary = "Dumps and Loads data for your Rails app's tests"
|
|
10
|
+
spec.description = <<~DESCRIPTION
|
|
11
|
+
DEPRECATED: test_data is deprecated and unmaintained. We have no plans to hand off the package or resurrect it, but you are of course welcome to fork it.
|
|
12
|
+
|
|
13
|
+
Dumps and Loads data for your Rails app's tests
|
|
14
|
+
DESCRIPTION
|
|
10
15
|
spec.homepage = "https://github.com/testdouble/test_data"
|
|
11
16
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
|
12
17
|
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test_data
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: railties
|
|
@@ -30,7 +29,10 @@ dependencies:
|
|
|
30
29
|
- - "<"
|
|
31
30
|
- !ruby/object:Gem::Version
|
|
32
31
|
version: '8.0'
|
|
33
|
-
description:
|
|
32
|
+
description: |
|
|
33
|
+
DEPRECATED: test_data is deprecated and unmaintained. We have no plans to hand off the package or resurrect it, but you are of course welcome to fork it.
|
|
34
|
+
|
|
35
|
+
Dumps and Loads data for your Rails app's tests
|
|
34
36
|
email:
|
|
35
37
|
- searls@gmail.com
|
|
36
38
|
executables: []
|
|
@@ -165,6 +167,7 @@ files:
|
|
|
165
167
|
- lib/test_data/warns_if_database_is_newer_than_dump.rb
|
|
166
168
|
- lib/test_data/warns_if_dump_is_newer_than_database.rb
|
|
167
169
|
- lib/test_data/wrap/webpacker_config.rb
|
|
170
|
+
- lib/test_data/yaml_loader.rb
|
|
168
171
|
- script/reset_example_app
|
|
169
172
|
- script/test
|
|
170
173
|
- test_data.gemspec
|
|
@@ -174,7 +177,6 @@ metadata:
|
|
|
174
177
|
homepage_uri: https://github.com/testdouble/test_data
|
|
175
178
|
source_code_uri: https://github.com/testdouble/test_data
|
|
176
179
|
changelog_uri: https://github.com/testdouble/test_data/blob/main/CHANGELOG.md
|
|
177
|
-
post_install_message:
|
|
178
180
|
rdoc_options: []
|
|
179
181
|
require_paths:
|
|
180
182
|
- lib
|
|
@@ -189,8 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
189
191
|
- !ruby/object:Gem::Version
|
|
190
192
|
version: '0'
|
|
191
193
|
requirements: []
|
|
192
|
-
rubygems_version:
|
|
193
|
-
signing_key:
|
|
194
|
+
rubygems_version: 4.0.21
|
|
194
195
|
specification_version: 4
|
|
195
196
|
summary: Dumps and Loads data for your Rails app's tests
|
|
196
197
|
test_files: []
|