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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: cddb11f2548d91fb54cccaff6ce0434e028d3e8f
4
- data.tar.gz: 009c1beac90124f23ebb274ffb9241ce0e526bb2
2
+ SHA256:
3
+ metadata.gz: eb3bb47498a9f4f22a3ac90af33218190819f18562df419bd5eee456ea808f13
4
+ data.tar.gz: 846d25a1f1689d5d8d0716bee3b853c7eb25943ed4442a7d9665adf8a72fae7d
5
5
  SHA512:
6
- metadata.gz: 21f441dca9a3ad5b21638ab281d48d928f6bce68dcf6b4bcc811686bd1ca8336dec7b1f6c8669c915760a43132ae72f39ad699479af01f12d5d5954d439c36b1
7
- data.tar.gz: ae484569ef3a54d0e3ad428022341d1830c5a2bad414f6923a1d00aab566e8af0584bd7c09135a1405ff24b3a31a577d4562de29742edb9713bd3e3e3212b620
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.1.8
4
- - 2.2.5
5
- - 2.3.1
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.1.8
14
- gemfile: gemfiles/activerecord_5.gemfile
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.0.0.beta4'
15
- gem "activerecord", "5.0.0.beta4"
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
@@ -1,4 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
  # Specify your gem's dependencies in active_record_schema_scrapper.gemspec
3
3
  gemspec
4
- gem "virtus", "~> 1.0"
@@ -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.0", "<= 5.9"
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
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -2,7 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "virtus", "~> 1.0"
6
5
  gem "activerecord", "~>4.2"
7
6
 
8
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -1,72 +1,73 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- active_record_schema_scrapper (0.2.2)
5
- activerecord (>= 4.0, <= 5.9)
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.6)
12
- activesupport (= 4.2.6)
11
+ activemodel (4.2.10)
12
+ activesupport (= 4.2.10)
13
13
  builder (~> 3.1)
14
- activerecord (4.2.6)
15
- activemodel (= 4.2.6)
16
- activesupport (= 4.2.6)
14
+ activerecord (4.2.10)
15
+ activemodel (= 4.2.10)
16
+ activesupport (= 4.2.10)
17
17
  arel (~> 6.0)
18
- activesupport (4.2.6)
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.1.0)
23
+ appraisal (2.2.0)
25
24
  bundler
26
25
  rake
27
26
  thor (>= 0.14.0)
28
- arel (6.0.3)
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.2)
34
- codeclimate-test-reporter (0.5.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.2.5)
41
- docile (1.1.5)
40
+ diff-lcs (1.3)
41
+ docile (1.3.2)
42
42
  equalizer (0.0.11)
43
- i18n (0.7.0)
43
+ i18n (0.9.5)
44
+ concurrent-ruby (~> 1.0)
44
45
  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)
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.4.0)
57
- rspec-mocks (3.4.1)
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.4.0)
60
- rspec-support (3.4.1)
61
- simplecov (0.11.2)
62
- docile (~> 1.1.0)
63
- json (~> 1.8)
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.0)
66
- sqlite3 (1.3.11)
67
- thor (0.19.1)
68
- thread_safe (0.3.5)
69
- tzinfo (1.2.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.11.2
92
+ 1.17.2
@@ -2,8 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "virtus", "~> 1.0"
6
- gem "activesupport", "5.0.0.beta4"
7
- gem "activerecord", "5.0.0.beta4"
5
+ gem "activesupport", "5.2.3"
6
+ gem "activerecord", "5.2.3"
8
7
 
9
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -1,70 +1,71 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- active_record_schema_scrapper (0.2.2)
5
- activerecord (>= 4.0, <= 5.9)
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.0.0.beta4)
12
- activesupport (= 5.0.0.beta4)
13
- activerecord (5.0.0.beta4)
14
- activemodel (= 5.0.0.beta4)
15
- activesupport (= 5.0.0.beta4)
16
- arel (~> 7.0)
17
- activesupport (5.0.0.beta4)
18
- concurrent-ruby (~> 1.0)
19
- i18n (~> 0.7)
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.1.0)
22
+ appraisal (2.2.0)
23
23
  bundler
24
24
  rake
25
25
  thor (>= 0.14.0)
26
- arel (7.0.0)
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.5.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.0.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.2.5)
39
- docile (1.1.5)
38
+ diff-lcs (1.3)
39
+ docile (1.3.2)
40
40
  equalizer (0.0.11)
41
- i18n (0.7.0)
41
+ i18n (1.6.0)
42
+ concurrent-ruby (~> 1.0)
42
43
  ice_nine (0.11.2)
43
- json (1.8.3)
44
- minitest (5.8.4)
45
- rake (11.1.2)
46
- rspec (3.4.0)
47
- rspec-core (~> 3.4.0)
48
- rspec-expectations (~> 3.4.0)
49
- rspec-mocks (~> 3.4.0)
50
- rspec-core (3.4.4)
51
- rspec-support (~> 3.4.0)
52
- rspec-expectations (3.4.0)
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.4.0)
55
- rspec-mocks (3.4.1)
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.4.0)
58
- rspec-support (3.4.1)
59
- simplecov (0.11.2)
60
- docile (~> 1.1.0)
61
- json (~> 1.8)
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.0)
64
- sqlite3 (1.3.11)
65
- thor (0.19.1)
66
- thread_safe (0.3.5)
67
- tzinfo (1.2.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.0.0.beta4)
81
- activesupport (= 5.0.0.beta4)
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.11.2
91
+ 1.17.2
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "sqlite3", "~> 1.4.0"
6
+ gem "activesupport", "6.0.0.rc2"
7
+ gem "activerecord", "6.0.0.rc2"
8
+
9
+ gemspec path: "../"
@@ -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 == "t" }, replacement_default: true },
17
- { default: Proc.new { |d| d == "f" }, replacement_default: false }
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
@@ -1,3 +1,3 @@
1
1
  class ActiveRecordSchemaScrapper
2
- VERSION = "0.6.1"
2
+ VERSION = "0.8.0".freeze
3
3
  end
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.6.1
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: 2018-04-02 00:00:00.000000000 Z
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.0'
19
+ version: '4.2'
20
20
  - - "<="
21
21
  - !ruby/object:Gem::Version
22
- version: '5.9'
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.0'
29
+ version: '4.2'
30
30
  - - "<="
31
31
  - !ruby/object:Gem::Version
32
- version: '5.9'
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: sqlite3
90
+ name: appraisal
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '1.3'
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: '1.3'
102
+ version: '2.0'
103
103
  - !ruby/object:Gem::Dependency
104
- name: appraisal
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: '2.0'
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: '2.0'
116
+ version: '0.5'
117
117
  - !ruby/object:Gem::Dependency
118
- name: codeclimate-test-reporter
118
+ name: sqlite3
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '0.5'
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: '0.5'
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/activerecord_4.0.gemfile
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.5.1
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,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "virtus", "~> 1.0"
6
- gem "activerecord", "~> 4.0"
7
-
8
- gemspec :path => "../"
@@ -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,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "virtus", "~> 1.0"
6
- gem "activerecord", "~>4.1"
7
-
8
- gemspec :path => "../"
@@ -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