parentry 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,143 +1,150 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- parentry (1.3.0)
5
- activerecord (>= 5.1, < 6.2)
4
+ parentry (1.5.0)
5
+ activerecord (>= 5.1, < 7.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (6.0.0)
11
- actionview (= 6.0.0)
12
- activesupport (= 6.0.0)
13
- rack (~> 2.0)
10
+ actionpack (6.0.3.4)
11
+ actionview (= 6.0.3.4)
12
+ activesupport (= 6.0.3.4)
13
+ rack (~> 2.0, >= 2.0.8)
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 (6.0.0)
18
- activesupport (= 6.0.0)
17
+ actionview (6.0.3.4)
18
+ activesupport (= 6.0.3.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
- activemodel (6.0.0)
24
- activesupport (= 6.0.0)
25
- activerecord (6.0.0)
26
- activemodel (= 6.0.0)
27
- activesupport (= 6.0.0)
28
- activesupport (6.0.0)
23
+ activemodel (6.0.3.4)
24
+ activesupport (= 6.0.3.4)
25
+ activerecord (6.0.3.4)
26
+ activemodel (= 6.0.3.4)
27
+ activesupport (= 6.0.3.4)
28
+ activesupport (6.0.3.4)
29
29
  concurrent-ruby (~> 1.0, >= 1.0.2)
30
30
  i18n (>= 0.7, < 2)
31
31
  minitest (~> 5.1)
32
32
  tzinfo (~> 1.1)
33
- zeitwerk (~> 2.1, >= 2.1.8)
34
- appraisal (2.2.0)
33
+ zeitwerk (~> 2.2, >= 2.2.2)
34
+ appraisal (2.3.0)
35
35
  bundler
36
36
  rake
37
37
  thor (>= 0.14.0)
38
- ast (2.4.0)
39
- builder (3.2.3)
40
- coderay (1.1.2)
41
- combustion (1.1.1)
38
+ ast (2.4.1)
39
+ builder (3.2.4)
40
+ coderay (1.1.3)
41
+ combustion (1.3.1)
42
42
  activesupport (>= 3.0.0)
43
43
  railties (>= 3.0.0)
44
44
  thor (>= 0.14.6)
45
- concurrent-ruby (1.1.5)
46
- crass (1.0.4)
47
- database_cleaner (1.7.0)
48
- diff-lcs (1.3)
49
- docile (1.3.2)
50
- erubi (1.8.0)
51
- i18n (1.6.0)
45
+ concurrent-ruby (1.1.7)
46
+ crass (1.0.6)
47
+ database_cleaner (1.8.5)
48
+ diff-lcs (1.4.4)
49
+ docile (1.3.4)
50
+ erubi (1.10.0)
51
+ i18n (1.8.5)
52
52
  concurrent-ruby (~> 1.0)
53
- jaro_winkler (1.5.4)
54
- json (2.3.1)
55
- loofah (2.2.3)
53
+ loofah (2.8.0)
56
54
  crass (~> 1.0.2)
57
55
  nokogiri (>= 1.5.9)
58
- method_source (0.9.2)
56
+ method_source (1.0.0)
59
57
  mini_portile2 (2.4.0)
60
- minitest (5.11.3)
61
- nokogiri (1.10.7)
58
+ minitest (5.14.2)
59
+ nokogiri (1.10.10)
62
60
  mini_portile2 (~> 2.4.0)
63
- parallel (1.19.1)
64
- parser (2.7.0.2)
65
- ast (~> 2.4.0)
66
- pg (1.2.2)
67
- pry (0.12.2)
68
- coderay (~> 1.1.0)
69
- method_source (~> 0.9.0)
70
- rack (2.0.7)
61
+ parallel (1.20.1)
62
+ parser (3.0.0.0)
63
+ ast (~> 2.4.1)
64
+ pg (1.2.3)
65
+ pry (0.13.1)
66
+ coderay (~> 1.1)
67
+ method_source (~> 1.0)
68
+ rack (2.2.3)
71
69
  rack-test (1.1.0)
72
70
  rack (>= 1.0, < 3)
73
71
  rails-dom-testing (2.0.3)
74
72
  activesupport (>= 4.2.0)
75
73
  nokogiri (>= 1.6)
76
- rails-html-sanitizer (1.2.0)
77
- loofah (~> 2.2, >= 2.2.2)
78
- railties (6.0.0)
79
- actionpack (= 6.0.0)
80
- activesupport (= 6.0.0)
74
+ rails-html-sanitizer (1.3.0)
75
+ loofah (~> 2.3)
76
+ railties (6.0.3.4)
77
+ actionpack (= 6.0.3.4)
78
+ activesupport (= 6.0.3.4)
81
79
  method_source
82
80
  rake (>= 0.8.7)
83
81
  thor (>= 0.20.3, < 2.0)
84
82
  rainbow (3.0.0)
85
- rake (12.3.3)
86
- rspec-core (3.8.2)
87
- rspec-support (~> 3.8.0)
88
- rspec-expectations (3.8.4)
83
+ rake (13.0.3)
84
+ regexp_parser (2.0.3)
85
+ rexml (3.2.4)
86
+ rspec-core (3.10.1)
87
+ rspec-support (~> 3.10.0)
88
+ rspec-expectations (3.10.1)
89
89
  diff-lcs (>= 1.2.0, < 2.0)
90
- rspec-support (~> 3.8.0)
91
- rspec-mocks (3.8.1)
90
+ rspec-support (~> 3.10.0)
91
+ rspec-mocks (3.10.1)
92
92
  diff-lcs (>= 1.2.0, < 2.0)
93
- rspec-support (~> 3.8.0)
94
- rspec-rails (3.8.2)
95
- actionpack (>= 3.0)
96
- activesupport (>= 3.0)
97
- railties (>= 3.0)
98
- rspec-core (~> 3.8.0)
99
- rspec-expectations (~> 3.8.0)
100
- rspec-mocks (~> 3.8.0)
101
- rspec-support (~> 3.8.0)
102
- rspec-support (3.8.2)
103
- rubocop (0.79.0)
104
- jaro_winkler (~> 1.5.1)
93
+ rspec-support (~> 3.10.0)
94
+ rspec-rails (4.0.2)
95
+ actionpack (>= 4.2)
96
+ activesupport (>= 4.2)
97
+ railties (>= 4.2)
98
+ rspec-core (~> 3.10)
99
+ rspec-expectations (~> 3.10)
100
+ rspec-mocks (~> 3.10)
101
+ rspec-support (~> 3.10)
102
+ rspec-support (3.10.1)
103
+ rubocop (1.7.0)
105
104
  parallel (~> 1.10)
106
- parser (>= 2.7.0.1)
105
+ parser (>= 2.7.1.5)
107
106
  rainbow (>= 2.2.2, < 4.0)
107
+ regexp_parser (>= 1.8, < 3.0)
108
+ rexml
109
+ rubocop-ast (>= 1.2.0, < 2.0)
108
110
  ruby-progressbar (~> 1.7)
109
- unicode-display_width (>= 1.4.0, < 1.7)
110
- rubocop-rspec (1.37.1)
111
- rubocop (>= 0.68.1)
112
- ruby-progressbar (1.10.1)
113
- simplecov (0.17.0)
111
+ unicode-display_width (>= 1.4.0, < 2.0)
112
+ rubocop-ast (1.3.0)
113
+ parser (>= 2.7.1.5)
114
+ rubocop-rspec (2.1.0)
115
+ rubocop (~> 1.0)
116
+ rubocop-ast (>= 1.1.0)
117
+ ruby-progressbar (1.11.0)
118
+ simplecov (0.20.0)
114
119
  docile (~> 1.1)
115
- json (>= 1.8, < 3)
116
- simplecov-html (~> 0.10.0)
117
- simplecov-html (0.10.2)
118
- thor (0.20.3)
120
+ simplecov-html (~> 0.11)
121
+ simplecov_json_formatter (~> 0.1)
122
+ simplecov-html (0.12.3)
123
+ simplecov_json_formatter (0.1.2)
124
+ thor (1.0.1)
119
125
  thread_safe (0.3.6)
120
- tzinfo (1.2.8)
126
+ tzinfo (1.2.9)
121
127
  thread_safe (~> 0.1)
122
- unicode-display_width (1.6.1)
123
- zeitwerk (2.1.9)
128
+ unicode-display_width (1.7.0)
129
+ zeitwerk (2.4.2)
124
130
 
125
131
  PLATFORMS
126
- ruby
132
+ x86_64-darwin-20
133
+ x86_64-linux
127
134
 
128
135
  DEPENDENCIES
129
- activerecord (= 6.0.0)
136
+ activerecord (~> 6.0, < 6.1)
130
137
  appraisal
131
- bundler (~> 2.1)
138
+ bundler (~> 2)
132
139
  combustion (~> 1.1)
133
140
  database_cleaner (~> 1.6)
134
141
  parentry!
135
142
  pg (~> 1.2)
136
- pry (~> 0.10)
137
- rake (~> 12.3)
138
- rspec-rails (~> 3.7)
139
- rubocop-rspec (~> 1.37)
140
- simplecov (~> 0.16)
143
+ pry (~> 0.13)
144
+ rake (~> 13)
145
+ rspec-rails (~> 4.0)
146
+ rubocop-rspec (~> 2.1)
147
+ simplecov (~> 0.20)
141
148
 
142
149
  BUNDLED WITH
143
- 2.1.4
150
+ 2.2.32
@@ -3,6 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
- gem "activerecord", "6.0.0"
6
+ gem "activerecord", "~> 6.1", "< 6.2"
7
7
 
8
8
  gemspec path: "../"
@@ -1,36 +1,36 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- parentry (1.3.0)
5
- activerecord (>= 5.1, < 6.2)
4
+ parentry (1.5.0)
5
+ activerecord (>= 5.1, < 7.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (6.0.0)
11
- actionview (= 6.0.0)
12
- activesupport (= 6.0.0)
13
- rack (~> 2.0)
10
+ actionpack (6.1.0)
11
+ actionview (= 6.1.0)
12
+ activesupport (= 6.1.0)
13
+ rack (~> 2.0, >= 2.0.9)
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 (6.0.0)
18
- activesupport (= 6.0.0)
17
+ actionview (6.1.0)
18
+ activesupport (= 6.1.0)
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
- activemodel (6.0.0)
24
- activesupport (= 6.0.0)
25
- activerecord (6.0.0)
26
- activemodel (= 6.0.0)
27
- activesupport (= 6.0.0)
28
- activesupport (6.0.0)
23
+ activemodel (6.1.0)
24
+ activesupport (= 6.1.0)
25
+ activerecord (6.1.0)
26
+ activemodel (= 6.1.0)
27
+ activesupport (= 6.1.0)
28
+ activesupport (6.1.0)
29
29
  concurrent-ruby (~> 1.0, >= 1.0.2)
30
- i18n (>= 0.7, < 2)
31
- minitest (~> 5.1)
32
- tzinfo (~> 1.1)
33
- zeitwerk (~> 2.1, >= 2.1.8)
30
+ i18n (>= 1.6, < 2)
31
+ minitest (>= 5.1)
32
+ tzinfo (~> 2.0)
33
+ zeitwerk (~> 2.3)
34
34
  appraisal (2.3.0)
35
35
  bundler
36
36
  rake
@@ -46,11 +46,11 @@ GEM
46
46
  crass (1.0.6)
47
47
  database_cleaner (1.8.5)
48
48
  diff-lcs (1.4.4)
49
- docile (1.3.2)
49
+ docile (1.3.4)
50
50
  erubi (1.10.0)
51
51
  i18n (1.8.5)
52
52
  concurrent-ruby (~> 1.0)
53
- loofah (2.7.0)
53
+ loofah (2.8.0)
54
54
  crass (~> 1.0.2)
55
55
  nokogiri (>= 1.5.9)
56
56
  method_source (1.0.0)
@@ -58,8 +58,8 @@ GEM
58
58
  minitest (5.14.2)
59
59
  nokogiri (1.10.10)
60
60
  mini_portile2 (~> 2.4.0)
61
- parallel (1.20.0)
62
- parser (2.7.2.0)
61
+ parallel (1.20.1)
62
+ parser (3.0.0.0)
63
63
  ast (~> 2.4.1)
64
64
  pg (1.2.3)
65
65
  pry (0.13.1)
@@ -73,75 +73,77 @@ GEM
73
73
  nokogiri (>= 1.6)
74
74
  rails-html-sanitizer (1.3.0)
75
75
  loofah (~> 2.3)
76
- railties (6.0.0)
77
- actionpack (= 6.0.0)
78
- activesupport (= 6.0.0)
76
+ railties (6.1.0)
77
+ actionpack (= 6.1.0)
78
+ activesupport (= 6.1.0)
79
79
  method_source
80
80
  rake (>= 0.8.7)
81
- thor (>= 0.20.3, < 2.0)
81
+ thor (~> 1.0)
82
82
  rainbow (3.0.0)
83
- rake (12.3.3)
84
- regexp_parser (1.8.2)
83
+ rake (13.0.3)
84
+ regexp_parser (2.0.3)
85
85
  rexml (3.2.4)
86
- rspec-core (3.9.3)
87
- rspec-support (~> 3.9.3)
88
- rspec-expectations (3.9.3)
86
+ rspec-core (3.10.1)
87
+ rspec-support (~> 3.10.0)
88
+ rspec-expectations (3.10.1)
89
89
  diff-lcs (>= 1.2.0, < 2.0)
90
- rspec-support (~> 3.9.0)
91
- rspec-mocks (3.9.1)
90
+ rspec-support (~> 3.10.0)
91
+ rspec-mocks (3.10.1)
92
92
  diff-lcs (>= 1.2.0, < 2.0)
93
- rspec-support (~> 3.9.0)
94
- rspec-rails (3.9.1)
95
- actionpack (>= 3.0)
96
- activesupport (>= 3.0)
97
- railties (>= 3.0)
98
- rspec-core (~> 3.9.0)
99
- rspec-expectations (~> 3.9.0)
100
- rspec-mocks (~> 3.9.0)
101
- rspec-support (~> 3.9.0)
102
- rspec-support (3.9.4)
103
- rubocop (0.93.1)
93
+ rspec-support (~> 3.10.0)
94
+ rspec-rails (4.0.2)
95
+ actionpack (>= 4.2)
96
+ activesupport (>= 4.2)
97
+ railties (>= 4.2)
98
+ rspec-core (~> 3.10)
99
+ rspec-expectations (~> 3.10)
100
+ rspec-mocks (~> 3.10)
101
+ rspec-support (~> 3.10)
102
+ rspec-support (3.10.1)
103
+ rubocop (1.7.0)
104
104
  parallel (~> 1.10)
105
105
  parser (>= 2.7.1.5)
106
106
  rainbow (>= 2.2.2, < 4.0)
107
- regexp_parser (>= 1.8)
107
+ regexp_parser (>= 1.8, < 3.0)
108
108
  rexml
109
- rubocop-ast (>= 0.6.0)
109
+ rubocop-ast (>= 1.2.0, < 2.0)
110
110
  ruby-progressbar (~> 1.7)
111
111
  unicode-display_width (>= 1.4.0, < 2.0)
112
- rubocop-ast (1.1.1)
112
+ rubocop-ast (1.3.0)
113
113
  parser (>= 2.7.1.5)
114
- rubocop-rspec (1.44.1)
115
- rubocop (~> 0.87)
116
- rubocop-ast (>= 0.7.1)
117
- ruby-progressbar (1.10.1)
118
- simplecov (0.19.1)
114
+ rubocop-rspec (2.1.0)
115
+ rubocop (~> 1.0)
116
+ rubocop-ast (>= 1.1.0)
117
+ ruby-progressbar (1.11.0)
118
+ simplecov (0.20.0)
119
119
  docile (~> 1.1)
120
120
  simplecov-html (~> 0.11)
121
+ simplecov_json_formatter (~> 0.1)
121
122
  simplecov-html (0.12.3)
123
+ simplecov_json_formatter (0.1.2)
122
124
  thor (1.0.1)
123
- thread_safe (0.3.6)
124
- tzinfo (1.2.8)
125
- thread_safe (~> 0.1)
125
+ tzinfo (2.0.4)
126
+ concurrent-ruby (~> 1.0)
126
127
  unicode-display_width (1.7.0)
127
128
  zeitwerk (2.4.2)
128
129
 
129
130
  PLATFORMS
130
- ruby
131
+ x86_64-darwin-20
132
+ x86_64-linux
131
133
 
132
134
  DEPENDENCIES
133
- activerecord (= 6.0.0)
135
+ activerecord (~> 6.1, < 6.2)
134
136
  appraisal
135
- bundler (~> 2.1)
137
+ bundler (~> 2)
136
138
  combustion (~> 1.1)
137
139
  database_cleaner (~> 1.6)
138
140
  parentry!
139
141
  pg (~> 1.2)
140
- pry (~> 0.10)
141
- rake (~> 12.3)
142
- rspec-rails (~> 3.7)
143
- rubocop-rspec (~> 1.37)
144
- simplecov (~> 0.16)
142
+ pry (~> 0.13)
143
+ rake (~> 13)
144
+ rspec-rails (~> 4.0)
145
+ rubocop-rspec (~> 2.1)
146
+ simplecov (~> 0.20)
145
147
 
146
148
  BUNDLED WITH
147
- 2.1.4
149
+ 2.2.32
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "activerecord", "~> 7.0", "< 7.1"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,150 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ parentry (1.5.0)
5
+ activerecord (>= 5.1, < 7.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actionpack (7.0.0)
11
+ actionview (= 7.0.0)
12
+ activesupport (= 7.0.0)
13
+ rack (~> 2.0, >= 2.2.0)
14
+ rack-test (>= 0.6.3)
15
+ rails-dom-testing (~> 2.0)
16
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
+ actionview (7.0.0)
18
+ activesupport (= 7.0.0)
19
+ builder (~> 3.1)
20
+ erubi (~> 1.4)
21
+ rails-dom-testing (~> 2.0)
22
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
+ activemodel (7.0.0)
24
+ activesupport (= 7.0.0)
25
+ activerecord (7.0.0)
26
+ activemodel (= 7.0.0)
27
+ activesupport (= 7.0.0)
28
+ activesupport (7.0.0)
29
+ concurrent-ruby (~> 1.0, >= 1.0.2)
30
+ i18n (>= 1.6, < 2)
31
+ minitest (>= 5.1)
32
+ tzinfo (~> 2.0)
33
+ appraisal (2.3.0)
34
+ bundler
35
+ rake
36
+ thor (>= 0.14.0)
37
+ ast (2.4.2)
38
+ builder (3.2.4)
39
+ coderay (1.1.3)
40
+ combustion (1.3.5)
41
+ activesupport (>= 3.0.0)
42
+ railties (>= 3.0.0)
43
+ thor (>= 0.14.6)
44
+ concurrent-ruby (1.1.9)
45
+ crass (1.0.6)
46
+ database_cleaner (1.8.5)
47
+ diff-lcs (1.4.4)
48
+ docile (1.4.0)
49
+ erubi (1.10.0)
50
+ i18n (1.8.11)
51
+ concurrent-ruby (~> 1.0)
52
+ loofah (2.13.0)
53
+ crass (~> 1.0.2)
54
+ nokogiri (>= 1.5.9)
55
+ method_source (1.0.0)
56
+ minitest (5.15.0)
57
+ nokogiri (1.12.5-x86_64-darwin)
58
+ racc (~> 1.4)
59
+ nokogiri (1.12.5-x86_64-linux)
60
+ racc (~> 1.4)
61
+ parallel (1.21.0)
62
+ parser (3.0.3.1)
63
+ ast (~> 2.4.1)
64
+ pg (1.2.3)
65
+ pry (0.14.0)
66
+ coderay (~> 1.1)
67
+ method_source (~> 1.0)
68
+ racc (1.6.0)
69
+ rack (2.2.3)
70
+ rack-test (1.1.0)
71
+ rack (>= 1.0, < 3)
72
+ rails-dom-testing (2.0.3)
73
+ activesupport (>= 4.2.0)
74
+ nokogiri (>= 1.6)
75
+ rails-html-sanitizer (1.4.2)
76
+ loofah (~> 2.3)
77
+ railties (7.0.0)
78
+ actionpack (= 7.0.0)
79
+ activesupport (= 7.0.0)
80
+ method_source
81
+ rake (>= 12.2)
82
+ thor (~> 1.0)
83
+ zeitwerk (~> 2.5)
84
+ rainbow (3.0.0)
85
+ rake (13.0.6)
86
+ regexp_parser (2.1.1)
87
+ rexml (3.2.5)
88
+ rspec-core (3.10.1)
89
+ rspec-support (~> 3.10.0)
90
+ rspec-expectations (3.10.1)
91
+ diff-lcs (>= 1.2.0, < 2.0)
92
+ rspec-support (~> 3.10.0)
93
+ rspec-mocks (3.10.2)
94
+ diff-lcs (>= 1.2.0, < 2.0)
95
+ rspec-support (~> 3.10.0)
96
+ rspec-rails (4.0.2)
97
+ actionpack (>= 4.2)
98
+ activesupport (>= 4.2)
99
+ railties (>= 4.2)
100
+ rspec-core (~> 3.10)
101
+ rspec-expectations (~> 3.10)
102
+ rspec-mocks (~> 3.10)
103
+ rspec-support (~> 3.10)
104
+ rspec-support (3.10.3)
105
+ rubocop (1.22.3)
106
+ parallel (~> 1.10)
107
+ parser (>= 3.0.0.0)
108
+ rainbow (>= 2.2.2, < 4.0)
109
+ regexp_parser (>= 1.8, < 3.0)
110
+ rexml
111
+ rubocop-ast (>= 1.12.0, < 2.0)
112
+ ruby-progressbar (~> 1.7)
113
+ unicode-display_width (>= 1.4.0, < 3.0)
114
+ rubocop-ast (1.12.0)
115
+ parser (>= 3.0.1.1)
116
+ rubocop-rspec (2.5.0)
117
+ rubocop (~> 1.19)
118
+ ruby-progressbar (1.11.0)
119
+ simplecov (0.21.2)
120
+ docile (~> 1.1)
121
+ simplecov-html (~> 0.11)
122
+ simplecov_json_formatter (~> 0.1)
123
+ simplecov-html (0.12.3)
124
+ simplecov_json_formatter (0.1.3)
125
+ thor (1.1.0)
126
+ tzinfo (2.0.4)
127
+ concurrent-ruby (~> 1.0)
128
+ unicode-display_width (2.1.0)
129
+ zeitwerk (2.5.1)
130
+
131
+ PLATFORMS
132
+ x86_64-darwin-20
133
+ x86_64-linux
134
+
135
+ DEPENDENCIES
136
+ activerecord (~> 7.0, < 7.1)
137
+ appraisal
138
+ bundler (~> 2)
139
+ combustion (~> 1.1)
140
+ database_cleaner (~> 1.6)
141
+ parentry!
142
+ pg (~> 1.2)
143
+ pry (~> 0.13)
144
+ rake (~> 13)
145
+ rspec-rails (~> 4.0)
146
+ rubocop-rspec (~> 2.1)
147
+ simplecov (~> 0.20)
148
+
149
+ BUNDLED WITH
150
+ 2.2.32
@@ -15,7 +15,7 @@ module Parentry
15
15
  def cascade_parentry
16
16
  old_path, new_path = saved_changes[parentry_column]
17
17
  parentry_scope.where(
18
- ["#{parentry_column} @> ARRAY[:tree] AND id != :id", tree: old_path, id: id]
18
+ ["#{parentry_column} @> ARRAY[:tree] AND id != :id", { tree: old_path, id: id }]
19
19
  ).update_all(
20
20
  [
21
21
  "#{parentry_column} = array_cat(ARRAY[?], #{parentry_column}[?:array_length(#{parentry_column}, 1)])",
@@ -13,11 +13,11 @@ module Parentry
13
13
  def cascade_parentry
14
14
  old_path, new_path = saved_changes[parentry_column]
15
15
  parentry_scope.where(
16
- ["#{parentry_column} <@ :tree AND id != :id", tree: old_path, id: id]
16
+ ["#{parentry_column} <@ :tree AND id != :id", { tree: old_path, id: id }]
17
17
  ).update_all(
18
18
  [
19
19
  "#{parentry_column} = :new_path || subpath(#{parentry_column}, nlevel(:old_path))",
20
- new_path: new_path, old_path: old_path
20
+ { new_path: new_path, old_path: old_path }
21
21
  ]
22
22
  )
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module Parentry
2
- VERSION = '1.4.0'.freeze
2
+ VERSION = '1.5.0'.freeze
3
3
  end
data/lib/parentry.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  require 'parentry/version'
2
2
  require 'parentry/strategy'
3
3
 
4
+ require 'active_support/concern'
5
+
4
6
  module Parentry
5
7
  autoload :InstanceMethods, 'parentry/instance_methods'
6
8
  autoload :Navigation, 'parentry/navigation'
data/parentry.gemspec CHANGED
@@ -15,15 +15,17 @@ Gem::Specification.new do |spec|
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
16
  spec.require_paths = ['lib']
17
17
 
18
- spec.add_dependency 'activerecord', '>= 5.1', '< 6.2'
18
+ spec.required_ruby_version = '>= 2.5'
19
19
 
20
- spec.add_development_dependency 'bundler', '~> 2.1'
20
+ spec.add_dependency 'activerecord', '>= 5.1', '< 7.1'
21
+
22
+ spec.add_development_dependency 'bundler', '~> 2'
21
23
  spec.add_development_dependency 'combustion', '~> 1.1'
22
24
  spec.add_development_dependency 'database_cleaner', '~> 1.6'
23
25
  spec.add_development_dependency 'pg', '~> 1.2'
24
- spec.add_development_dependency 'pry', '~> 0.10'
25
- spec.add_development_dependency 'rake', '~> 12.3'
26
- spec.add_development_dependency 'rspec-rails', '~> 3.7'
27
- spec.add_development_dependency 'rubocop-rspec', '~> 1.37'
28
- spec.add_development_dependency 'simplecov', '~> 0.16'
26
+ spec.add_development_dependency 'pry', '~> 0.13'
27
+ spec.add_development_dependency 'rake', '~> 13'
28
+ spec.add_development_dependency 'rspec-rails', '~> 4.0'
29
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.1'
30
+ spec.add_development_dependency 'simplecov', '~> 0.20'
29
31
  end