active_record_schema_scrapper 0.6.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +6 -7
- data/Appraisals +8 -10
- data/Gemfile +0 -1
- data/active_record_schema_scrapper.gemspec +2 -2
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/activerecord_4.2.gemfile +1 -2
- data/gemfiles/activerecord_4.2.gemfile.lock +42 -42
- data/gemfiles/activerecord_5.gemfile +3 -4
- data/gemfiles/activerecord_5.gemfile.lock +46 -46
- data/gemfiles/activerecord_6.gemfile +9 -0
- data/gemfiles/activerecord_6.gemfile.lock +91 -0
- data/lib/active_record_schema_scrapper/associations.rb +2 -2
- data/lib/active_record_schema_scrapper/attributes.rb +2 -2
- data/lib/active_record_schema_scrapper/version.rb +1 -1
- metadata +19 -20
- data/gemfiles/activerecord_4.0.gemfile +0 -8
- data/gemfiles/activerecord_4.0.gemfile.lock +0 -92
- data/gemfiles/activerecord_4.1.gemfile +0 -8
- data/gemfiles/activerecord_4.1.gemfile.lock +0 -92
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: eb3bb47498a9f4f22a3ac90af33218190819f18562df419bd5eee456ea808f13
|
4
|
+
data.tar.gz: 846d25a1f1689d5d8d0716bee3b853c7eb25943ed4442a7d9665adf8a72fae7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb320e336b34e5d0d2d8b37b2731c6dca16e77f54615c2a27f1b9d240fde230dd07232f53171cf98898c7629d47b45fb85e46ac6340fd9055e8d52e20a238c1f
|
7
|
+
data.tar.gz: 439804024d053072b053754420604360c29abb3c0f34ab9bb15a23306661ef6e51c91b99c964fbf7f02cf0a612a87469dc92a0ddce5b8ebe8fe3c3661794cd1d
|
data/.travis.yml
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
4
|
-
- 2.
|
5
|
-
- 2.3
|
3
|
+
- 2.3.8
|
4
|
+
- 2.5.4
|
5
|
+
- 2.6.3
|
6
6
|
gemfile:
|
7
|
-
- gemfiles/activerecord_4.0.gemfile
|
8
|
-
- gemfiles/activerecord_4.1.gemfile
|
9
7
|
- gemfiles/activerecord_4.2.gemfile
|
10
8
|
- gemfiles/activerecord_5.gemfile
|
9
|
+
- gemfiles/activerecord_6.gemfile
|
11
10
|
matrix:
|
12
11
|
exclude:
|
13
|
-
- rvm: 2.
|
14
|
-
gemfile: gemfiles/
|
12
|
+
- rvm: 2.3.8
|
13
|
+
gemfile: gemfiles/activerecord_6.gemfile
|
data/Appraisals
CHANGED
@@ -1,16 +1,14 @@
|
|
1
|
-
appraise "activerecord-4.0" do
|
2
|
-
gem "activerecord", "~> 4.0"
|
3
|
-
end
|
4
|
-
|
5
|
-
appraise "activerecord-4.1" do
|
6
|
-
gem "activerecord", "~>4.1"
|
7
|
-
end
|
8
|
-
|
9
1
|
appraise "activerecord-4.2" do
|
10
2
|
gem "activerecord", "~>4.2"
|
11
3
|
end
|
12
4
|
|
13
5
|
appraise "activerecord-5" do
|
14
|
-
gem "activesupport", '5.
|
15
|
-
gem "activerecord", "5.
|
6
|
+
gem "activesupport", '5.2.3'
|
7
|
+
gem "activerecord", "5.2.3"
|
8
|
+
end
|
9
|
+
|
10
|
+
appraise "activerecord-6" do
|
11
|
+
gem "sqlite3", "~> 1.4.0"
|
12
|
+
gem "activesupport", '6.0.0.rc2'
|
13
|
+
gem "activerecord", "6.0.0.rc2"
|
16
14
|
end
|
data/Gemfile
CHANGED
@@ -19,12 +19,12 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_runtime_dependency "activerecord", ">= 4.
|
22
|
+
spec.add_runtime_dependency "activerecord", ">= 4.2", "<= 6.9"
|
23
23
|
spec.add_runtime_dependency "virtus", "~> 1.0"
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.9"
|
25
25
|
spec.add_development_dependency "rake", ">= 10.0"
|
26
26
|
spec.add_development_dependency "rspec", "~> 3.4"
|
27
|
-
spec.add_development_dependency "sqlite3", "~>1.3"
|
28
27
|
spec.add_development_dependency "appraisal", "~> 2.0"
|
29
28
|
spec.add_development_dependency "codeclimate-test-reporter", "~> 0.5"
|
29
|
+
spec.add_development_dependency "sqlite3", "~> 1.3.13"
|
30
30
|
end
|
@@ -1,72 +1,73 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ..
|
3
3
|
specs:
|
4
|
-
active_record_schema_scrapper (0.
|
5
|
-
activerecord (>= 4.
|
4
|
+
active_record_schema_scrapper (0.8.0)
|
5
|
+
activerecord (>= 4.2, <= 6.9)
|
6
6
|
virtus (~> 1.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (4.2.
|
12
|
-
activesupport (= 4.2.
|
11
|
+
activemodel (4.2.10)
|
12
|
+
activesupport (= 4.2.10)
|
13
13
|
builder (~> 3.1)
|
14
|
-
activerecord (4.2.
|
15
|
-
activemodel (= 4.2.
|
16
|
-
activesupport (= 4.2.
|
14
|
+
activerecord (4.2.10)
|
15
|
+
activemodel (= 4.2.10)
|
16
|
+
activesupport (= 4.2.10)
|
17
17
|
arel (~> 6.0)
|
18
|
-
activesupport (4.2.
|
18
|
+
activesupport (4.2.10)
|
19
19
|
i18n (~> 0.7)
|
20
|
-
json (~> 1.7, >= 1.7.7)
|
21
20
|
minitest (~> 5.1)
|
22
21
|
thread_safe (~> 0.3, >= 0.3.4)
|
23
22
|
tzinfo (~> 1.1)
|
24
|
-
appraisal (2.
|
23
|
+
appraisal (2.2.0)
|
25
24
|
bundler
|
26
25
|
rake
|
27
26
|
thor (>= 0.14.0)
|
28
|
-
arel (6.0.
|
27
|
+
arel (6.0.4)
|
29
28
|
axiom-types (0.1.1)
|
30
29
|
descendants_tracker (~> 0.0.4)
|
31
30
|
ice_nine (~> 0.11.0)
|
32
31
|
thread_safe (~> 0.3, >= 0.3.1)
|
33
|
-
builder (3.2.
|
34
|
-
codeclimate-test-reporter (0.
|
32
|
+
builder (3.2.3)
|
33
|
+
codeclimate-test-reporter (0.6.0)
|
35
34
|
simplecov (>= 0.7.1, < 1.0.0)
|
36
35
|
coercible (1.0.0)
|
37
36
|
descendants_tracker (~> 0.0.1)
|
37
|
+
concurrent-ruby (1.1.5)
|
38
38
|
descendants_tracker (0.0.4)
|
39
39
|
thread_safe (~> 0.3, >= 0.3.1)
|
40
|
-
diff-lcs (1.
|
41
|
-
docile (1.
|
40
|
+
diff-lcs (1.3)
|
41
|
+
docile (1.3.2)
|
42
42
|
equalizer (0.0.11)
|
43
|
-
i18n (0.
|
43
|
+
i18n (0.9.5)
|
44
|
+
concurrent-ruby (~> 1.0)
|
44
45
|
ice_nine (0.11.2)
|
45
|
-
json (
|
46
|
-
minitest (5.
|
47
|
-
rake (
|
48
|
-
rspec (3.
|
49
|
-
rspec-core (~> 3.
|
50
|
-
rspec-expectations (~> 3.
|
51
|
-
rspec-mocks (~> 3.
|
52
|
-
rspec-core (3.
|
53
|
-
rspec-support (~> 3.
|
54
|
-
rspec-expectations (3.4
|
46
|
+
json (2.2.0)
|
47
|
+
minitest (5.11.3)
|
48
|
+
rake (12.3.2)
|
49
|
+
rspec (3.8.0)
|
50
|
+
rspec-core (~> 3.8.0)
|
51
|
+
rspec-expectations (~> 3.8.0)
|
52
|
+
rspec-mocks (~> 3.8.0)
|
53
|
+
rspec-core (3.8.2)
|
54
|
+
rspec-support (~> 3.8.0)
|
55
|
+
rspec-expectations (3.8.4)
|
55
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
-
rspec-support (~> 3.
|
57
|
-
rspec-mocks (3.
|
57
|
+
rspec-support (~> 3.8.0)
|
58
|
+
rspec-mocks (3.8.1)
|
58
59
|
diff-lcs (>= 1.2.0, < 2.0)
|
59
|
-
rspec-support (~> 3.
|
60
|
-
rspec-support (3.
|
61
|
-
simplecov (0.
|
62
|
-
docile (~> 1.1
|
63
|
-
json (
|
60
|
+
rspec-support (~> 3.8.0)
|
61
|
+
rspec-support (3.8.2)
|
62
|
+
simplecov (0.17.0)
|
63
|
+
docile (~> 1.1)
|
64
|
+
json (>= 1.8, < 3)
|
64
65
|
simplecov-html (~> 0.10.0)
|
65
|
-
simplecov-html (0.10.
|
66
|
-
sqlite3 (1.3.
|
67
|
-
thor (0.
|
68
|
-
thread_safe (0.3.
|
69
|
-
tzinfo (1.2.
|
66
|
+
simplecov-html (0.10.2)
|
67
|
+
sqlite3 (1.3.13)
|
68
|
+
thor (0.20.3)
|
69
|
+
thread_safe (0.3.6)
|
70
|
+
tzinfo (1.2.5)
|
70
71
|
thread_safe (~> 0.1)
|
71
72
|
virtus (1.0.5)
|
72
73
|
axiom-types (~> 0.1)
|
@@ -85,8 +86,7 @@ DEPENDENCIES
|
|
85
86
|
codeclimate-test-reporter (~> 0.5)
|
86
87
|
rake (>= 10.0)
|
87
88
|
rspec (~> 3.4)
|
88
|
-
sqlite3 (~> 1.3)
|
89
|
-
virtus (~> 1.0)
|
89
|
+
sqlite3 (~> 1.3.13)
|
90
90
|
|
91
91
|
BUNDLED WITH
|
92
|
-
1.
|
92
|
+
1.17.2
|
@@ -1,70 +1,71 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ..
|
3
3
|
specs:
|
4
|
-
active_record_schema_scrapper (0.
|
5
|
-
activerecord (>= 4.
|
4
|
+
active_record_schema_scrapper (0.8.0)
|
5
|
+
activerecord (>= 4.2, <= 6.9)
|
6
6
|
virtus (~> 1.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (5.
|
12
|
-
activesupport (= 5.
|
13
|
-
activerecord (5.
|
14
|
-
activemodel (= 5.
|
15
|
-
activesupport (= 5.
|
16
|
-
arel (
|
17
|
-
activesupport (5.
|
18
|
-
concurrent-ruby (~> 1.0)
|
19
|
-
i18n (
|
11
|
+
activemodel (5.2.3)
|
12
|
+
activesupport (= 5.2.3)
|
13
|
+
activerecord (5.2.3)
|
14
|
+
activemodel (= 5.2.3)
|
15
|
+
activesupport (= 5.2.3)
|
16
|
+
arel (>= 9.0)
|
17
|
+
activesupport (5.2.3)
|
18
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
19
|
+
i18n (>= 0.7, < 2)
|
20
20
|
minitest (~> 5.1)
|
21
21
|
tzinfo (~> 1.1)
|
22
|
-
appraisal (2.
|
22
|
+
appraisal (2.2.0)
|
23
23
|
bundler
|
24
24
|
rake
|
25
25
|
thor (>= 0.14.0)
|
26
|
-
arel (
|
26
|
+
arel (9.0.0)
|
27
27
|
axiom-types (0.1.1)
|
28
28
|
descendants_tracker (~> 0.0.4)
|
29
29
|
ice_nine (~> 0.11.0)
|
30
30
|
thread_safe (~> 0.3, >= 0.3.1)
|
31
|
-
codeclimate-test-reporter (0.
|
31
|
+
codeclimate-test-reporter (0.6.0)
|
32
32
|
simplecov (>= 0.7.1, < 1.0.0)
|
33
33
|
coercible (1.0.0)
|
34
34
|
descendants_tracker (~> 0.0.1)
|
35
|
-
concurrent-ruby (1.
|
35
|
+
concurrent-ruby (1.1.5)
|
36
36
|
descendants_tracker (0.0.4)
|
37
37
|
thread_safe (~> 0.3, >= 0.3.1)
|
38
|
-
diff-lcs (1.
|
39
|
-
docile (1.
|
38
|
+
diff-lcs (1.3)
|
39
|
+
docile (1.3.2)
|
40
40
|
equalizer (0.0.11)
|
41
|
-
i18n (
|
41
|
+
i18n (1.6.0)
|
42
|
+
concurrent-ruby (~> 1.0)
|
42
43
|
ice_nine (0.11.2)
|
43
|
-
json (
|
44
|
-
minitest (5.
|
45
|
-
rake (
|
46
|
-
rspec (3.
|
47
|
-
rspec-core (~> 3.
|
48
|
-
rspec-expectations (~> 3.
|
49
|
-
rspec-mocks (~> 3.
|
50
|
-
rspec-core (3.
|
51
|
-
rspec-support (~> 3.
|
52
|
-
rspec-expectations (3.4
|
44
|
+
json (2.2.0)
|
45
|
+
minitest (5.11.3)
|
46
|
+
rake (12.3.2)
|
47
|
+
rspec (3.8.0)
|
48
|
+
rspec-core (~> 3.8.0)
|
49
|
+
rspec-expectations (~> 3.8.0)
|
50
|
+
rspec-mocks (~> 3.8.0)
|
51
|
+
rspec-core (3.8.2)
|
52
|
+
rspec-support (~> 3.8.0)
|
53
|
+
rspec-expectations (3.8.4)
|
53
54
|
diff-lcs (>= 1.2.0, < 2.0)
|
54
|
-
rspec-support (~> 3.
|
55
|
-
rspec-mocks (3.
|
55
|
+
rspec-support (~> 3.8.0)
|
56
|
+
rspec-mocks (3.8.1)
|
56
57
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
|
-
rspec-support (~> 3.
|
58
|
-
rspec-support (3.
|
59
|
-
simplecov (0.
|
60
|
-
docile (~> 1.1
|
61
|
-
json (
|
58
|
+
rspec-support (~> 3.8.0)
|
59
|
+
rspec-support (3.8.2)
|
60
|
+
simplecov (0.17.0)
|
61
|
+
docile (~> 1.1)
|
62
|
+
json (>= 1.8, < 3)
|
62
63
|
simplecov-html (~> 0.10.0)
|
63
|
-
simplecov-html (0.10.
|
64
|
-
sqlite3 (1.3.
|
65
|
-
thor (0.
|
66
|
-
thread_safe (0.3.
|
67
|
-
tzinfo (1.2.
|
64
|
+
simplecov-html (0.10.2)
|
65
|
+
sqlite3 (1.3.13)
|
66
|
+
thor (0.20.3)
|
67
|
+
thread_safe (0.3.6)
|
68
|
+
tzinfo (1.2.5)
|
68
69
|
thread_safe (~> 0.1)
|
69
70
|
virtus (1.0.5)
|
70
71
|
axiom-types (~> 0.1)
|
@@ -77,15 +78,14 @@ PLATFORMS
|
|
77
78
|
|
78
79
|
DEPENDENCIES
|
79
80
|
active_record_schema_scrapper!
|
80
|
-
activerecord (= 5.
|
81
|
-
activesupport (= 5.
|
81
|
+
activerecord (= 5.2.3)
|
82
|
+
activesupport (= 5.2.3)
|
82
83
|
appraisal (~> 2.0)
|
83
84
|
bundler (~> 1.9)
|
84
85
|
codeclimate-test-reporter (~> 0.5)
|
85
86
|
rake (>= 10.0)
|
86
87
|
rspec (~> 3.4)
|
87
|
-
sqlite3 (~> 1.3)
|
88
|
-
virtus (~> 1.0)
|
88
|
+
sqlite3 (~> 1.3.13)
|
89
89
|
|
90
90
|
BUNDLED WITH
|
91
|
-
1.
|
91
|
+
1.17.2
|
@@ -0,0 +1,91 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
active_record_schema_scrapper (0.8.0)
|
5
|
+
activerecord (>= 4.2, <= 6.9)
|
6
|
+
virtus (~> 1.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (6.0.0.rc2)
|
12
|
+
activesupport (= 6.0.0.rc2)
|
13
|
+
activerecord (6.0.0.rc2)
|
14
|
+
activemodel (= 6.0.0.rc2)
|
15
|
+
activesupport (= 6.0.0.rc2)
|
16
|
+
activesupport (6.0.0.rc2)
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
i18n (>= 0.7, < 2)
|
19
|
+
minitest (~> 5.1)
|
20
|
+
tzinfo (~> 1.1)
|
21
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
22
|
+
appraisal (2.2.0)
|
23
|
+
bundler
|
24
|
+
rake
|
25
|
+
thor (>= 0.14.0)
|
26
|
+
axiom-types (0.1.1)
|
27
|
+
descendants_tracker (~> 0.0.4)
|
28
|
+
ice_nine (~> 0.11.0)
|
29
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
30
|
+
codeclimate-test-reporter (0.6.0)
|
31
|
+
simplecov (>= 0.7.1, < 1.0.0)
|
32
|
+
coercible (1.0.0)
|
33
|
+
descendants_tracker (~> 0.0.1)
|
34
|
+
concurrent-ruby (1.1.5)
|
35
|
+
descendants_tracker (0.0.4)
|
36
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
37
|
+
diff-lcs (1.3)
|
38
|
+
docile (1.3.2)
|
39
|
+
equalizer (0.0.11)
|
40
|
+
i18n (1.6.0)
|
41
|
+
concurrent-ruby (~> 1.0)
|
42
|
+
ice_nine (0.11.2)
|
43
|
+
json (2.2.0)
|
44
|
+
minitest (5.11.3)
|
45
|
+
rake (12.3.3)
|
46
|
+
rspec (3.8.0)
|
47
|
+
rspec-core (~> 3.8.0)
|
48
|
+
rspec-expectations (~> 3.8.0)
|
49
|
+
rspec-mocks (~> 3.8.0)
|
50
|
+
rspec-core (3.8.2)
|
51
|
+
rspec-support (~> 3.8.0)
|
52
|
+
rspec-expectations (3.8.4)
|
53
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
54
|
+
rspec-support (~> 3.8.0)
|
55
|
+
rspec-mocks (3.8.1)
|
56
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
57
|
+
rspec-support (~> 3.8.0)
|
58
|
+
rspec-support (3.8.2)
|
59
|
+
simplecov (0.17.0)
|
60
|
+
docile (~> 1.1)
|
61
|
+
json (>= 1.8, < 3)
|
62
|
+
simplecov-html (~> 0.10.0)
|
63
|
+
simplecov-html (0.10.2)
|
64
|
+
sqlite3 (1.4.1)
|
65
|
+
thor (0.20.3)
|
66
|
+
thread_safe (0.3.6)
|
67
|
+
tzinfo (1.2.5)
|
68
|
+
thread_safe (~> 0.1)
|
69
|
+
virtus (1.0.5)
|
70
|
+
axiom-types (~> 0.1)
|
71
|
+
coercible (~> 1.0)
|
72
|
+
descendants_tracker (~> 0.0, >= 0.0.3)
|
73
|
+
equalizer (~> 0.0, >= 0.0.9)
|
74
|
+
zeitwerk (2.1.9)
|
75
|
+
|
76
|
+
PLATFORMS
|
77
|
+
ruby
|
78
|
+
|
79
|
+
DEPENDENCIES
|
80
|
+
active_record_schema_scrapper!
|
81
|
+
activerecord (= 6.0.0.rc2)
|
82
|
+
activesupport (= 6.0.0.rc2)
|
83
|
+
appraisal (~> 2.0)
|
84
|
+
bundler (~> 1.9)
|
85
|
+
codeclimate-test-reporter (~> 0.5)
|
86
|
+
rake (>= 10.0)
|
87
|
+
rspec (~> 3.4)
|
88
|
+
sqlite3 (~> 1.4.0)
|
89
|
+
|
90
|
+
BUNDLED WITH
|
91
|
+
1.17.2
|
@@ -25,8 +25,8 @@ class ActiveRecordSchemaScrapper
|
|
25
25
|
dependent: a.delegate_reflection.options[:dependent],
|
26
26
|
}
|
27
27
|
else
|
28
|
-
{ source: a.try(:delegate_reflection).try(:name),
|
29
|
-
through: a.try(:through),
|
28
|
+
{ source: (a.try(:delegate_reflection) || a.try(:source_reflection)).try(:name),
|
29
|
+
through: a.try(:through) || a.try(:through_reflection).try(:name),
|
30
30
|
dependent: a.options[:dependent] }
|
31
31
|
end.merge(name: a.name,
|
32
32
|
foreign_key: a.foreign_key,
|
@@ -13,8 +13,8 @@ class ActiveRecordSchemaScrapper
|
|
13
13
|
].freeze
|
14
14
|
|
15
15
|
DEFAULT_REGISTERED_DEFAULTS = [
|
16
|
-
{ default: Proc.new { |d| d
|
17
|
-
{ default: Proc.new { |d| d
|
16
|
+
{ default: Proc.new { |d| %w(t 1).include?(d) }, replacement_default: true },
|
17
|
+
{ default: Proc.new { |d| %w(f 0).include?(d) }, replacement_default: false }
|
18
18
|
].freeze
|
19
19
|
|
20
20
|
class << self
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_schema_scrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Zeisler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4.
|
19
|
+
version: '4.2'
|
20
20
|
- - "<="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.9'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '4.
|
29
|
+
version: '4.2'
|
30
30
|
- - "<="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.9'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: virtus
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,47 +87,47 @@ dependencies:
|
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '3.4'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
90
|
+
name: appraisal
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
95
|
+
version: '2.0'
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
102
|
+
version: '2.0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
104
|
+
name: codeclimate-test-reporter
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '0.5'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '
|
116
|
+
version: '0.5'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
118
|
+
name: sqlite3
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
123
|
+
version: 1.3.13
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version:
|
130
|
+
version: 1.3.13
|
131
131
|
description: A supporting library for active_mocker and wrapper around an active_record
|
132
132
|
model.
|
133
133
|
email:
|
@@ -148,14 +148,13 @@ files:
|
|
148
148
|
- active_record_schema_scrapper.gemspec
|
149
149
|
- bin/console
|
150
150
|
- bin/setup
|
151
|
-
- gemfiles/
|
152
|
-
- gemfiles/activerecord_4.0.gemfile.lock
|
153
|
-
- gemfiles/activerecord_4.1.gemfile
|
154
|
-
- gemfiles/activerecord_4.1.gemfile.lock
|
151
|
+
- gemfiles/.bundle/config
|
155
152
|
- gemfiles/activerecord_4.2.gemfile
|
156
153
|
- gemfiles/activerecord_4.2.gemfile.lock
|
157
154
|
- gemfiles/activerecord_5.gemfile
|
158
155
|
- gemfiles/activerecord_5.gemfile.lock
|
156
|
+
- gemfiles/activerecord_6.gemfile
|
157
|
+
- gemfiles/activerecord_6.gemfile.lock
|
159
158
|
- lib/active_record_schema_scrapper.rb
|
160
159
|
- lib/active_record_schema_scrapper/association.rb
|
161
160
|
- lib/active_record_schema_scrapper/associations.rb
|
@@ -183,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
182
|
version: '0'
|
184
183
|
requirements: []
|
185
184
|
rubyforge_project:
|
186
|
-
rubygems_version: 2.
|
185
|
+
rubygems_version: 2.7.7
|
187
186
|
signing_key:
|
188
187
|
specification_version: 4
|
189
188
|
summary: A wrapper around an active_record model.
|
@@ -1,92 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
active_record_schema_scrapper (0.2.2)
|
5
|
-
activerecord (>= 4.0, <= 5.9)
|
6
|
-
virtus (~> 1.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activemodel (4.2.6)
|
12
|
-
activesupport (= 4.2.6)
|
13
|
-
builder (~> 3.1)
|
14
|
-
activerecord (4.2.6)
|
15
|
-
activemodel (= 4.2.6)
|
16
|
-
activesupport (= 4.2.6)
|
17
|
-
arel (~> 6.0)
|
18
|
-
activesupport (4.2.6)
|
19
|
-
i18n (~> 0.7)
|
20
|
-
json (~> 1.7, >= 1.7.7)
|
21
|
-
minitest (~> 5.1)
|
22
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
23
|
-
tzinfo (~> 1.1)
|
24
|
-
appraisal (2.1.0)
|
25
|
-
bundler
|
26
|
-
rake
|
27
|
-
thor (>= 0.14.0)
|
28
|
-
arel (6.0.3)
|
29
|
-
axiom-types (0.1.1)
|
30
|
-
descendants_tracker (~> 0.0.4)
|
31
|
-
ice_nine (~> 0.11.0)
|
32
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
33
|
-
builder (3.2.2)
|
34
|
-
codeclimate-test-reporter (0.5.0)
|
35
|
-
simplecov (>= 0.7.1, < 1.0.0)
|
36
|
-
coercible (1.0.0)
|
37
|
-
descendants_tracker (~> 0.0.1)
|
38
|
-
descendants_tracker (0.0.4)
|
39
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
40
|
-
diff-lcs (1.2.5)
|
41
|
-
docile (1.1.5)
|
42
|
-
equalizer (0.0.11)
|
43
|
-
i18n (0.7.0)
|
44
|
-
ice_nine (0.11.2)
|
45
|
-
json (1.8.3)
|
46
|
-
minitest (5.8.4)
|
47
|
-
rake (11.1.2)
|
48
|
-
rspec (3.4.0)
|
49
|
-
rspec-core (~> 3.4.0)
|
50
|
-
rspec-expectations (~> 3.4.0)
|
51
|
-
rspec-mocks (~> 3.4.0)
|
52
|
-
rspec-core (3.4.4)
|
53
|
-
rspec-support (~> 3.4.0)
|
54
|
-
rspec-expectations (3.4.0)
|
55
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
-
rspec-support (~> 3.4.0)
|
57
|
-
rspec-mocks (3.4.1)
|
58
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
59
|
-
rspec-support (~> 3.4.0)
|
60
|
-
rspec-support (3.4.1)
|
61
|
-
simplecov (0.11.2)
|
62
|
-
docile (~> 1.1.0)
|
63
|
-
json (~> 1.8)
|
64
|
-
simplecov-html (~> 0.10.0)
|
65
|
-
simplecov-html (0.10.0)
|
66
|
-
sqlite3 (1.3.11)
|
67
|
-
thor (0.19.1)
|
68
|
-
thread_safe (0.3.5)
|
69
|
-
tzinfo (1.2.2)
|
70
|
-
thread_safe (~> 0.1)
|
71
|
-
virtus (1.0.5)
|
72
|
-
axiom-types (~> 0.1)
|
73
|
-
coercible (~> 1.0)
|
74
|
-
descendants_tracker (~> 0.0, >= 0.0.3)
|
75
|
-
equalizer (~> 0.0, >= 0.0.9)
|
76
|
-
|
77
|
-
PLATFORMS
|
78
|
-
ruby
|
79
|
-
|
80
|
-
DEPENDENCIES
|
81
|
-
active_record_schema_scrapper!
|
82
|
-
activerecord (~> 4.0)
|
83
|
-
appraisal (~> 2.0)
|
84
|
-
bundler (~> 1.9)
|
85
|
-
codeclimate-test-reporter (~> 0.5)
|
86
|
-
rake (>= 10.0)
|
87
|
-
rspec (~> 3.4)
|
88
|
-
sqlite3 (~> 1.3)
|
89
|
-
virtus (~> 1.0)
|
90
|
-
|
91
|
-
BUNDLED WITH
|
92
|
-
1.11.2
|
@@ -1,92 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
active_record_schema_scrapper (0.2.2)
|
5
|
-
activerecord (>= 4.0, <= 5.9)
|
6
|
-
virtus (~> 1.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activemodel (4.2.6)
|
12
|
-
activesupport (= 4.2.6)
|
13
|
-
builder (~> 3.1)
|
14
|
-
activerecord (4.2.6)
|
15
|
-
activemodel (= 4.2.6)
|
16
|
-
activesupport (= 4.2.6)
|
17
|
-
arel (~> 6.0)
|
18
|
-
activesupport (4.2.6)
|
19
|
-
i18n (~> 0.7)
|
20
|
-
json (~> 1.7, >= 1.7.7)
|
21
|
-
minitest (~> 5.1)
|
22
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
23
|
-
tzinfo (~> 1.1)
|
24
|
-
appraisal (2.1.0)
|
25
|
-
bundler
|
26
|
-
rake
|
27
|
-
thor (>= 0.14.0)
|
28
|
-
arel (6.0.3)
|
29
|
-
axiom-types (0.1.1)
|
30
|
-
descendants_tracker (~> 0.0.4)
|
31
|
-
ice_nine (~> 0.11.0)
|
32
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
33
|
-
builder (3.2.2)
|
34
|
-
codeclimate-test-reporter (0.5.0)
|
35
|
-
simplecov (>= 0.7.1, < 1.0.0)
|
36
|
-
coercible (1.0.0)
|
37
|
-
descendants_tracker (~> 0.0.1)
|
38
|
-
descendants_tracker (0.0.4)
|
39
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
40
|
-
diff-lcs (1.2.5)
|
41
|
-
docile (1.1.5)
|
42
|
-
equalizer (0.0.11)
|
43
|
-
i18n (0.7.0)
|
44
|
-
ice_nine (0.11.2)
|
45
|
-
json (1.8.3)
|
46
|
-
minitest (5.8.4)
|
47
|
-
rake (11.1.2)
|
48
|
-
rspec (3.4.0)
|
49
|
-
rspec-core (~> 3.4.0)
|
50
|
-
rspec-expectations (~> 3.4.0)
|
51
|
-
rspec-mocks (~> 3.4.0)
|
52
|
-
rspec-core (3.4.4)
|
53
|
-
rspec-support (~> 3.4.0)
|
54
|
-
rspec-expectations (3.4.0)
|
55
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
-
rspec-support (~> 3.4.0)
|
57
|
-
rspec-mocks (3.4.1)
|
58
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
59
|
-
rspec-support (~> 3.4.0)
|
60
|
-
rspec-support (3.4.1)
|
61
|
-
simplecov (0.11.2)
|
62
|
-
docile (~> 1.1.0)
|
63
|
-
json (~> 1.8)
|
64
|
-
simplecov-html (~> 0.10.0)
|
65
|
-
simplecov-html (0.10.0)
|
66
|
-
sqlite3 (1.3.11)
|
67
|
-
thor (0.19.1)
|
68
|
-
thread_safe (0.3.5)
|
69
|
-
tzinfo (1.2.2)
|
70
|
-
thread_safe (~> 0.1)
|
71
|
-
virtus (1.0.5)
|
72
|
-
axiom-types (~> 0.1)
|
73
|
-
coercible (~> 1.0)
|
74
|
-
descendants_tracker (~> 0.0, >= 0.0.3)
|
75
|
-
equalizer (~> 0.0, >= 0.0.9)
|
76
|
-
|
77
|
-
PLATFORMS
|
78
|
-
ruby
|
79
|
-
|
80
|
-
DEPENDENCIES
|
81
|
-
active_record_schema_scrapper!
|
82
|
-
activerecord (~> 4.1)
|
83
|
-
appraisal (~> 2.0)
|
84
|
-
bundler (~> 1.9)
|
85
|
-
codeclimate-test-reporter (~> 0.5)
|
86
|
-
rake (>= 10.0)
|
87
|
-
rspec (~> 3.4)
|
88
|
-
sqlite3 (~> 1.3)
|
89
|
-
virtus (~> 1.0)
|
90
|
-
|
91
|
-
BUNDLED WITH
|
92
|
-
1.11.2
|