lol_dba 2.2.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,100 +1,103 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.2.0)
5
- actionpack (>= 3.0, < 7.0)
6
- activerecord (>= 3.0, < 7.0)
7
- railties (>= 3.0, < 7.0)
4
+ lol_dba (2.4.0)
5
+ actionpack
6
+ activerecord
7
+ railties
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (6.0.2.2)
13
- actionview (= 6.0.2.2)
14
- activesupport (= 6.0.2.2)
15
- rack (~> 2.0, >= 2.0.8)
12
+ actionpack (6.1.6.1)
13
+ actionview (= 6.1.6.1)
14
+ activesupport (= 6.1.6.1)
15
+ rack (~> 2.0, >= 2.0.9)
16
16
  rack-test (>= 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
19
- actionview (6.0.2.2)
20
- activesupport (= 6.0.2.2)
19
+ actionview (6.1.6.1)
20
+ activesupport (= 6.1.6.1)
21
21
  builder (~> 3.1)
22
22
  erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
25
- activemodel (6.0.2.2)
26
- activesupport (= 6.0.2.2)
27
- activerecord (6.0.2.2)
28
- activemodel (= 6.0.2.2)
29
- activesupport (= 6.0.2.2)
30
- activesupport (6.0.2.2)
25
+ activemodel (6.1.6.1)
26
+ activesupport (= 6.1.6.1)
27
+ activerecord (6.1.6.1)
28
+ activemodel (= 6.1.6.1)
29
+ activesupport (= 6.1.6.1)
30
+ activesupport (6.1.6.1)
31
31
  concurrent-ruby (~> 1.0, >= 1.0.2)
32
- i18n (>= 0.7, < 2)
33
- minitest (~> 5.1)
34
- tzinfo (~> 1.1)
35
- zeitwerk (~> 2.2)
36
- appraisal (2.2.0)
32
+ i18n (>= 1.6, < 2)
33
+ minitest (>= 5.1)
34
+ tzinfo (~> 2.0)
35
+ zeitwerk (~> 2.3)
36
+ appraisal (2.4.1)
37
37
  bundler
38
38
  rake
39
39
  thor (>= 0.14.0)
40
40
  builder (3.2.4)
41
- concurrent-ruby (1.1.6)
41
+ concurrent-ruby (1.1.10)
42
42
  crass (1.0.6)
43
- diff-lcs (1.3)
44
- docile (1.3.2)
45
- erubi (1.9.0)
46
- i18n (1.8.2)
43
+ diff-lcs (1.5.0)
44
+ docile (1.4.0)
45
+ erubi (1.11.0)
46
+ i18n (1.12.0)
47
47
  concurrent-ruby (~> 1.0)
48
- loofah (2.4.0)
48
+ loofah (2.18.0)
49
49
  crass (~> 1.0.2)
50
50
  nokogiri (>= 1.5.9)
51
51
  method_source (1.0.0)
52
- mini_portile2 (2.4.0)
53
- minitest (5.14.0)
54
- nokogiri (1.10.9)
55
- mini_portile2 (~> 2.4.0)
56
- rack (2.2.2)
57
- rack-test (1.1.0)
58
- rack (>= 1.0, < 3)
52
+ mini_portile2 (2.8.0)
53
+ minitest (5.16.2)
54
+ nokogiri (1.13.8)
55
+ mini_portile2 (~> 2.8.0)
56
+ racc (~> 1.4)
57
+ racc (1.6.0)
58
+ rack (2.2.4)
59
+ rack-test (2.0.2)
60
+ rack (>= 1.3)
59
61
  rails-dom-testing (2.0.3)
60
62
  activesupport (>= 4.2.0)
61
63
  nokogiri (>= 1.6)
62
- rails-html-sanitizer (1.3.0)
64
+ rails-html-sanitizer (1.4.3)
63
65
  loofah (~> 2.3)
64
- railties (6.0.2.2)
65
- actionpack (= 6.0.2.2)
66
- activesupport (= 6.0.2.2)
66
+ railties (6.1.6.1)
67
+ actionpack (= 6.1.6.1)
68
+ activesupport (= 6.1.6.1)
67
69
  method_source
68
- rake (>= 0.8.7)
69
- thor (>= 0.20.3, < 2.0)
70
- rake (13.0.1)
71
- rspec-core (3.9.1)
72
- rspec-support (~> 3.9.1)
73
- rspec-expectations (3.9.1)
70
+ rake (>= 12.2)
71
+ thor (~> 1.0)
72
+ rake (13.0.6)
73
+ rspec-core (3.11.0)
74
+ rspec-support (~> 3.11.0)
75
+ rspec-expectations (3.11.0)
74
76
  diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.9.0)
76
- rspec-mocks (3.9.1)
77
+ rspec-support (~> 3.11.0)
78
+ rspec-mocks (3.11.1)
77
79
  diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.9.0)
79
- rspec-rails (4.0.0)
80
- actionpack (>= 4.2)
81
- activesupport (>= 4.2)
82
- railties (>= 4.2)
83
- rspec-core (~> 3.9)
84
- rspec-expectations (~> 3.9)
85
- rspec-mocks (~> 3.9)
86
- rspec-support (~> 3.9)
87
- rspec-support (3.9.2)
88
- simplecov (0.18.5)
80
+ rspec-support (~> 3.11.0)
81
+ rspec-rails (5.1.2)
82
+ actionpack (>= 5.2)
83
+ activesupport (>= 5.2)
84
+ railties (>= 5.2)
85
+ rspec-core (~> 3.10)
86
+ rspec-expectations (~> 3.10)
87
+ rspec-mocks (~> 3.10)
88
+ rspec-support (~> 3.10)
89
+ rspec-support (3.11.0)
90
+ simplecov (0.21.2)
89
91
  docile (~> 1.1)
90
92
  simplecov-html (~> 0.11)
91
- simplecov-html (0.12.2)
92
- sqlite3 (1.4.2)
93
- thor (1.0.1)
94
- thread_safe (0.3.6)
95
- tzinfo (1.2.6)
96
- thread_safe (~> 0.1)
97
- zeitwerk (2.3.0)
93
+ simplecov_json_formatter (~> 0.1)
94
+ simplecov-html (0.12.3)
95
+ simplecov_json_formatter (0.1.4)
96
+ sqlite3 (1.4.4)
97
+ thor (1.2.1)
98
+ tzinfo (2.0.5)
99
+ concurrent-ruby (~> 1.0)
100
+ zeitwerk (2.6.0)
98
101
 
99
102
  PLATFORMS
100
103
  ruby
@@ -109,5 +112,8 @@ DEPENDENCIES
109
112
  simplecov
110
113
  sqlite3 (~> 1.4)
111
114
 
115
+ RUBY VERSION
116
+ ruby 3.1.1p18
117
+
112
118
  BUNDLED WITH
113
- 2.1.4
119
+ 2.3.19
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 7.0"
6
+ gem "actionpack", "~> 7.0"
7
+ gem "railties", "~> 7.0"
8
+ gem "sqlite3"
9
+ gem "bigdecimal"
10
+
11
+ gemspec path: "../"
@@ -0,0 +1,116 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ lol_dba (2.4.0)
5
+ actionpack
6
+ activerecord
7
+ railties
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionpack (7.0.3.1)
13
+ actionview (= 7.0.3.1)
14
+ activesupport (= 7.0.3.1)
15
+ rack (~> 2.0, >= 2.2.0)
16
+ rack-test (>= 0.6.3)
17
+ rails-dom-testing (~> 2.0)
18
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
19
+ actionview (7.0.3.1)
20
+ activesupport (= 7.0.3.1)
21
+ builder (~> 3.1)
22
+ erubi (~> 1.4)
23
+ rails-dom-testing (~> 2.0)
24
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
25
+ activemodel (7.0.3.1)
26
+ activesupport (= 7.0.3.1)
27
+ activerecord (7.0.3.1)
28
+ activemodel (= 7.0.3.1)
29
+ activesupport (= 7.0.3.1)
30
+ activesupport (7.0.3.1)
31
+ concurrent-ruby (~> 1.0, >= 1.0.2)
32
+ i18n (>= 1.6, < 2)
33
+ minitest (>= 5.1)
34
+ tzinfo (~> 2.0)
35
+ appraisal (2.4.1)
36
+ bundler
37
+ rake
38
+ thor (>= 0.14.0)
39
+ bigdecimal (3.1.2)
40
+ builder (3.2.4)
41
+ concurrent-ruby (1.1.10)
42
+ crass (1.0.6)
43
+ diff-lcs (1.5.0)
44
+ docile (1.4.0)
45
+ erubi (1.11.0)
46
+ i18n (1.12.0)
47
+ concurrent-ruby (~> 1.0)
48
+ loofah (2.18.0)
49
+ crass (~> 1.0.2)
50
+ nokogiri (>= 1.5.9)
51
+ method_source (1.0.0)
52
+ minitest (5.16.2)
53
+ nokogiri (1.13.8-arm64-darwin)
54
+ racc (~> 1.4)
55
+ racc (1.6.0)
56
+ rack (2.2.4)
57
+ rack-test (2.0.2)
58
+ rack (>= 1.3)
59
+ rails-dom-testing (2.0.3)
60
+ activesupport (>= 4.2.0)
61
+ nokogiri (>= 1.6)
62
+ rails-html-sanitizer (1.4.3)
63
+ loofah (~> 2.3)
64
+ railties (7.0.3.1)
65
+ actionpack (= 7.0.3.1)
66
+ activesupport (= 7.0.3.1)
67
+ method_source
68
+ rake (>= 12.2)
69
+ thor (~> 1.0)
70
+ zeitwerk (~> 2.5)
71
+ rake (13.0.6)
72
+ rspec-core (3.11.0)
73
+ rspec-support (~> 3.11.0)
74
+ rspec-expectations (3.11.0)
75
+ diff-lcs (>= 1.2.0, < 2.0)
76
+ rspec-support (~> 3.11.0)
77
+ rspec-mocks (3.11.1)
78
+ diff-lcs (>= 1.2.0, < 2.0)
79
+ rspec-support (~> 3.11.0)
80
+ rspec-rails (5.1.2)
81
+ actionpack (>= 5.2)
82
+ activesupport (>= 5.2)
83
+ railties (>= 5.2)
84
+ rspec-core (~> 3.10)
85
+ rspec-expectations (~> 3.10)
86
+ rspec-mocks (~> 3.10)
87
+ rspec-support (~> 3.10)
88
+ rspec-support (3.11.0)
89
+ simplecov (0.21.2)
90
+ docile (~> 1.1)
91
+ simplecov-html (~> 0.11)
92
+ simplecov_json_formatter (~> 0.1)
93
+ simplecov-html (0.12.3)
94
+ simplecov_json_formatter (0.1.4)
95
+ sqlite3 (1.4.4)
96
+ thor (1.2.1)
97
+ tzinfo (2.0.5)
98
+ concurrent-ruby (~> 1.0)
99
+ zeitwerk (2.6.0)
100
+
101
+ PLATFORMS
102
+ arm64-darwin-21
103
+
104
+ DEPENDENCIES
105
+ actionpack (~> 7.0)
106
+ activerecord (~> 7.0)
107
+ appraisal
108
+ bigdecimal
109
+ lol_dba!
110
+ railties (~> 7.0)
111
+ rspec-rails
112
+ simplecov
113
+ sqlite3
114
+
115
+ BUNDLED WITH
116
+ 2.3.19
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LolDba
4
- VERSION = '2.2.0' unless defined? LolDba::VERSION
4
+ VERSION = '2.4.0' unless defined? LolDba::VERSION
5
5
  end
data/lol_dba.gemspec CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |s|
21
21
  s.require_paths = ['lib', 'lib/lol_dba']
22
22
 
23
23
  s.required_ruby_version = '>= 2.0.0'
24
- s.add_dependency 'actionpack', '>= 3.0', '< 7.0'
25
- s.add_dependency 'activerecord', '>= 3.0', '< 7.0'
26
- s.add_dependency 'railties', '>= 3.0', '< 7.0'
24
+ s.add_dependency 'actionpack'
25
+ s.add_dependency 'activerecord'
26
+ s.add_dependency 'railties'
27
27
 
28
28
  s.add_development_dependency 'appraisal'
29
29
  s.add_development_dependency 'rspec-rails'
data/spec/spec_helper.rb CHANGED
@@ -17,7 +17,7 @@ module Rails
17
17
  'spec/fixtures'
18
18
  end
19
19
  end
20
- Dir.glob("#{Rails.root}/app/models/*.rb").sort.each { |file| require_dependency file }
20
+ Dir.glob("#{Rails.root}/app/models/*.rb").sort.each { |file| load file }
21
21
 
22
22
  ActiveRecord::Schema.verbose = false
23
23
  load 'fixtures/schema.rb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lol_dba
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Plentz
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-29 00:00:00.000000000 Z
11
+ date: 2022-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -16,60 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '7.0'
19
+ version: '0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '3.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '7.0'
26
+ version: '0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: activerecord
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - ">="
38
32
  - !ruby/object:Gem::Version
39
- version: '3.0'
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: '7.0'
33
+ version: '0'
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
46
37
  requirements:
47
38
  - - ">="
48
39
  - !ruby/object:Gem::Version
49
- version: '3.0'
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: '7.0'
40
+ version: '0'
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: railties
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
45
  - - ">="
58
46
  - !ruby/object:Gem::Version
59
- version: '3.0'
60
- - - "<"
61
- - !ruby/object:Gem::Version
62
- version: '7.0'
47
+ version: '0'
63
48
  type: :runtime
64
49
  prerelease: false
65
50
  version_requirements: !ruby/object:Gem::Requirement
66
51
  requirements:
67
52
  - - ">="
68
53
  - !ruby/object:Gem::Version
69
- version: '3.0'
70
- - - "<"
71
- - !ruby/object:Gem::Version
72
- version: '7.0'
54
+ version: '0'
73
55
  - !ruby/object:Gem::Dependency
74
56
  name: appraisal
75
57
  requirement: !ruby/object:Gem::Requirement
@@ -123,6 +105,8 @@ extensions: []
123
105
  extra_rdoc_files: []
124
106
  files:
125
107
  - ".codeclimate.yml"
108
+ - ".github/dependabot.yml"
109
+ - ".github/workflows/rubyonrails.yml"
126
110
  - ".gitignore"
127
111
  - ".rspec"
128
112
  - ".rubocop.yml"
@@ -149,6 +133,8 @@ files:
149
133
  - gemfiles/rails_5_2.gemfile.lock
150
134
  - gemfiles/rails_6.gemfile
151
135
  - gemfiles/rails_6.gemfile.lock
136
+ - gemfiles/rails_7.gemfile
137
+ - gemfiles/rails_7.gemfile.lock
152
138
  - lib/lol_dba.rb
153
139
  - lib/lol_dba/cli.rb
154
140
  - lib/lol_dba/index_finding/belongs_to.rb
@@ -200,7 +186,7 @@ homepage: https://github.com/plentz/lol_dba
200
186
  licenses:
201
187
  - MIT
202
188
  metadata: {}
203
- post_install_message:
189
+ post_install_message:
204
190
  rdoc_options: []
205
191
  require_paths:
206
192
  - lib
@@ -216,8 +202,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
202
  - !ruby/object:Gem::Version
217
203
  version: '0'
218
204
  requirements: []
219
- rubygems_version: 3.1.2
220
- signing_key:
205
+ rubygems_version: 3.3.7
206
+ signing_key:
221
207
  specification_version: 4
222
208
  summary: A small package of rake tasks to track down missing database indexes and
223
209
  generate sql migration scripts