parentry 1.2.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ruby.yml +58 -0
- data/.rubocop.yml +39 -0
- data/.tool-versions +1 -0
- data/Appraisals +14 -2
- data/README.md +19 -3
- data/Rakefile +1 -1
- data/gemfiles/activerecord_5.1.5.gemfile +1 -1
- data/gemfiles/activerecord_5.1.5.gemfile.lock +101 -68
- data/gemfiles/activerecord_5.2.0.gemfile +1 -1
- data/gemfiles/activerecord_5.2.0.gemfile.lock +102 -69
- data/gemfiles/activerecord_6.0.0.gemfile +8 -0
- data/gemfiles/activerecord_6.0.0.gemfile.lock +150 -0
- data/gemfiles/activerecord_6.1.0.gemfile +8 -0
- data/gemfiles/activerecord_6.1.0.gemfile.lock +149 -0
- data/gemfiles/activerecord_7.0.0.gemfile +8 -0
- data/gemfiles/activerecord_7.0.0.gemfile.lock +150 -0
- data/lib/parentry/class_methods.rb +4 -2
- data/lib/parentry/instance_methods.rb +1 -0
- data/lib/parentry/navigation.rb +4 -3
- data/lib/parentry/strategy/array/class_methods.rb +1 -1
- data/lib/parentry/strategy/array/instance_methods.rb +2 -1
- data/lib/parentry/strategy/ltree/class_methods.rb +1 -1
- data/lib/parentry/strategy/ltree/instance_methods.rb +3 -3
- data/lib/parentry/version.rb +1 -1
- data/lib/parentry.rb +39 -34
- data/parentry.gemspec +13 -10
- metadata +68 -33
- data/.travis.yml +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 61d7162155374b612b01ec0d2c5519ca49e94e8c793f843b6187148d67dc16d4
|
4
|
+
data.tar.gz: b1aea8a7225ff14ad890367d799171927eaaf99e262d3b9b4fcb52171f09d611
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e96ac1b93d29040797963e598976d3878b7852bbb564e5d0ebd5d1ec15ab4c0c4362a4c887b750a5d8467d8207e8f376facbe23396b24e1e33c209cc58240848
|
7
|
+
data.tar.gz: d6bdd03b87f6e35824e4b0cbb88a68fdaef2b81f9122a69ef211db4b1b064423af8a11017263cf6032c09076e7a5986dc598b6a1cde6d724fe821af86d2637e7
|
@@ -0,0 +1,58 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
|
10
|
+
strategy:
|
11
|
+
matrix:
|
12
|
+
ruby:
|
13
|
+
- '2.7'
|
14
|
+
- '3.0'
|
15
|
+
activerecord:
|
16
|
+
- 6.0.0
|
17
|
+
- 6.1.0
|
18
|
+
- 7.0.0
|
19
|
+
strategy:
|
20
|
+
- array
|
21
|
+
- ltree
|
22
|
+
|
23
|
+
env:
|
24
|
+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/activerecord_${{ matrix.activerecord }}.gemfile
|
25
|
+
|
26
|
+
services:
|
27
|
+
postgres:
|
28
|
+
image: postgres:12.4
|
29
|
+
env:
|
30
|
+
POSTGRES_USER: postgres
|
31
|
+
POSTGRES_PASSWORD: postgres
|
32
|
+
POSTGRES_DB: parentry_test
|
33
|
+
ports:
|
34
|
+
- 5432:5432
|
35
|
+
# needed because the postgres container does not provide a healthcheck
|
36
|
+
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
37
|
+
|
38
|
+
steps:
|
39
|
+
- uses: actions/checkout@v2
|
40
|
+
|
41
|
+
- name: Set up Ruby
|
42
|
+
uses: ruby/setup-ruby@v1
|
43
|
+
with:
|
44
|
+
ruby-version: ${{ matrix.ruby }}
|
45
|
+
bundler-cache: true
|
46
|
+
|
47
|
+
- name: Install PostgreSQL client
|
48
|
+
run: |
|
49
|
+
sudo apt-get -yqq install libpq-dev
|
50
|
+
|
51
|
+
- name: Run tests with RSpec
|
52
|
+
uses: paambaati/codeclimate-action@v2.7.5
|
53
|
+
env:
|
54
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
55
|
+
STRATEGY: ${{ matrix.strategy }}
|
56
|
+
with:
|
57
|
+
coverageCommand: bundle exec rspec
|
58
|
+
debug: false
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
inherit_mode:
|
2
|
+
merge:
|
3
|
+
- Exclude
|
4
|
+
|
5
|
+
AllCops:
|
6
|
+
NewCops: enable
|
7
|
+
TargetRubyVersion: 2.5
|
8
|
+
Exclude:
|
9
|
+
- gemfiles/**
|
10
|
+
|
11
|
+
Layout/LineLength:
|
12
|
+
Max: 120
|
13
|
+
|
14
|
+
Layout/MultilineMethodCallIndentation:
|
15
|
+
EnforcedStyle: indented_relative_to_receiver
|
16
|
+
|
17
|
+
Naming/PredicateName:
|
18
|
+
AllowedMethods:
|
19
|
+
- has_many
|
20
|
+
|
21
|
+
Style/Documentation:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Style/EmptyMethod:
|
25
|
+
EnforcedStyle: expanded
|
26
|
+
|
27
|
+
Style/FormatStringToken:
|
28
|
+
EnforcedStyle: template
|
29
|
+
|
30
|
+
Style/FrozenStringLiteralComment:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
Style/PercentLiteralDelimiters:
|
34
|
+
PreferredDelimiters:
|
35
|
+
default: ()
|
36
|
+
'%w': '()'
|
37
|
+
'%W': '()'
|
38
|
+
'%i': '()'
|
39
|
+
'%I': '()'
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.0.3
|
data/Appraisals
CHANGED
@@ -1,7 +1,19 @@
|
|
1
1
|
appraise 'activerecord-5.1.5' do
|
2
|
-
gem 'activerecord', '5.1.
|
2
|
+
gem 'activerecord', '~> 5.1', '< 5.2'
|
3
3
|
end
|
4
4
|
|
5
5
|
appraise 'activerecord-5.2.0' do
|
6
|
-
gem 'activerecord', '5.2
|
6
|
+
gem 'activerecord', '~> 5.2', '< 6'
|
7
|
+
end
|
8
|
+
|
9
|
+
appraise 'activerecord-6.0.0' do
|
10
|
+
gem 'activerecord', '~> 6.0', '< 6.1'
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise 'activerecord-6.1.0' do
|
14
|
+
gem 'activerecord', '~> 6.1', '< 6.2'
|
15
|
+
end
|
16
|
+
|
17
|
+
appraise 'activerecord-7.0.0' do
|
18
|
+
gem 'activerecord', '~> 7.0', '< 7.1'
|
7
19
|
end
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
![](https://github.com/hasghari/parentry/workflows/Ruby/badge.svg)
|
2
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/cc7180328fffcbdea2bb/maintainability)](https://codeclimate.com/github/hasghari/parentry/maintainability)
|
2
3
|
|
3
4
|
# Parentry
|
4
5
|
|
@@ -24,11 +25,26 @@ Or install it yourself as:
|
|
24
25
|
|
25
26
|
## Usage
|
26
27
|
|
27
|
-
This gem requires 2 columns for each table: `parentry` and `parent_id
|
28
|
+
This gem requires 2 columns for each table: `parentry` and `parent_id`, and can leverage either the `ltree` postgresql extension, or else postgres `array` columns. A sample migration would look like:
|
28
29
|
|
29
30
|
```ruby
|
30
|
-
|
31
|
+
enable_extension 'ltree' # ltree is not turned on by default; skip if you use the array strategy
|
32
|
+
|
31
33
|
add_column :my_table, :parent_id, :integer
|
34
|
+
|
35
|
+
add_column :my_table, :parentry, :ltree
|
36
|
+
add_column :my_table, :parentry_depth, :integer, default: 0 # optional
|
37
|
+
|
38
|
+
add_index :my_table, :parentry, using: :gist
|
39
|
+
```
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
class MyTable < ApplicationRecord
|
43
|
+
include Parentry
|
44
|
+
parentry cache_depth: true
|
45
|
+
# to change strategy to array, and avoid dependency on ltree
|
46
|
+
# parentry strategy: :array
|
47
|
+
end
|
32
48
|
```
|
33
49
|
|
34
50
|
## Contributing
|
data/Rakefile
CHANGED
@@ -1,117 +1,150 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
parentry (1.
|
5
|
-
activerecord (>= 5.1, <
|
4
|
+
parentry (1.6.0)
|
5
|
+
activerecord (>= 5.1, < 7.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (5.1.
|
11
|
-
actionview (= 5.1.
|
12
|
-
activesupport (= 5.1.
|
10
|
+
actionpack (5.1.7)
|
11
|
+
actionview (= 5.1.7)
|
12
|
+
activesupport (= 5.1.7)
|
13
13
|
rack (~> 2.0)
|
14
14
|
rack-test (>= 0.6.3)
|
15
15
|
rails-dom-testing (~> 2.0)
|
16
16
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
-
actionview (5.1.
|
18
|
-
activesupport (= 5.1.
|
17
|
+
actionview (5.1.7)
|
18
|
+
activesupport (= 5.1.7)
|
19
19
|
builder (~> 3.1)
|
20
20
|
erubi (~> 1.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
22
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
23
|
-
activemodel (5.1.
|
24
|
-
activesupport (= 5.1.
|
25
|
-
activerecord (5.1.
|
26
|
-
activemodel (= 5.1.
|
27
|
-
activesupport (= 5.1.
|
23
|
+
activemodel (5.1.7)
|
24
|
+
activesupport (= 5.1.7)
|
25
|
+
activerecord (5.1.7)
|
26
|
+
activemodel (= 5.1.7)
|
27
|
+
activesupport (= 5.1.7)
|
28
28
|
arel (~> 8.0)
|
29
|
-
activesupport (5.1.
|
29
|
+
activesupport (5.1.7)
|
30
30
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
31
|
-
i18n (
|
31
|
+
i18n (>= 0.7, < 2)
|
32
32
|
minitest (~> 5.1)
|
33
33
|
tzinfo (~> 1.1)
|
34
|
-
appraisal (2.
|
34
|
+
appraisal (2.3.0)
|
35
35
|
bundler
|
36
36
|
rake
|
37
37
|
thor (>= 0.14.0)
|
38
38
|
arel (8.0.0)
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
ast (2.4.1)
|
40
|
+
builder (3.2.4)
|
41
|
+
coderay (1.1.3)
|
42
|
+
combustion (1.3.1)
|
42
43
|
activesupport (>= 3.0.0)
|
43
44
|
railties (>= 3.0.0)
|
44
45
|
thor (>= 0.14.6)
|
45
|
-
concurrent-ruby (1.
|
46
|
-
crass (1.0.
|
47
|
-
database_cleaner (1.
|
48
|
-
diff-lcs (1.
|
49
|
-
|
50
|
-
|
46
|
+
concurrent-ruby (1.1.7)
|
47
|
+
crass (1.0.6)
|
48
|
+
database_cleaner (1.8.5)
|
49
|
+
diff-lcs (1.4.4)
|
50
|
+
docile (1.3.4)
|
51
|
+
erubi (1.10.0)
|
52
|
+
i18n (1.8.5)
|
51
53
|
concurrent-ruby (~> 1.0)
|
52
|
-
loofah (2.
|
54
|
+
loofah (2.8.0)
|
53
55
|
crass (~> 1.0.2)
|
54
56
|
nokogiri (>= 1.5.9)
|
55
|
-
method_source (0.
|
56
|
-
mini_portile2 (2.
|
57
|
-
minitest (5.
|
58
|
-
nokogiri (1.
|
59
|
-
mini_portile2 (~> 2.
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
57
|
+
method_source (1.0.0)
|
58
|
+
mini_portile2 (2.4.0)
|
59
|
+
minitest (5.14.2)
|
60
|
+
nokogiri (1.10.10)
|
61
|
+
mini_portile2 (~> 2.4.0)
|
62
|
+
parallel (1.20.1)
|
63
|
+
parser (3.0.0.0)
|
64
|
+
ast (~> 2.4.1)
|
65
|
+
pg (1.2.3)
|
66
|
+
pry (0.13.1)
|
67
|
+
coderay (~> 1.1)
|
68
|
+
method_source (~> 1.0)
|
69
|
+
rack (2.2.3)
|
70
|
+
rack-test (1.1.0)
|
66
71
|
rack (>= 1.0, < 3)
|
67
72
|
rails-dom-testing (2.0.3)
|
68
73
|
activesupport (>= 4.2.0)
|
69
74
|
nokogiri (>= 1.6)
|
70
|
-
rails-html-sanitizer (1.0
|
71
|
-
loofah (~> 2.
|
72
|
-
railties (5.1.
|
73
|
-
actionpack (= 5.1.
|
74
|
-
activesupport (= 5.1.
|
75
|
+
rails-html-sanitizer (1.3.0)
|
76
|
+
loofah (~> 2.3)
|
77
|
+
railties (5.1.7)
|
78
|
+
actionpack (= 5.1.7)
|
79
|
+
activesupport (= 5.1.7)
|
75
80
|
method_source
|
76
81
|
rake (>= 0.8.7)
|
77
82
|
thor (>= 0.18.1, < 2.0)
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
rainbow (3.0.0)
|
84
|
+
rake (13.0.3)
|
85
|
+
regexp_parser (2.0.3)
|
86
|
+
rexml (3.2.4)
|
87
|
+
rspec-core (3.10.1)
|
88
|
+
rspec-support (~> 3.10.0)
|
89
|
+
rspec-expectations (3.10.1)
|
82
90
|
diff-lcs (>= 1.2.0, < 2.0)
|
83
|
-
rspec-support (~> 3.
|
84
|
-
rspec-mocks (3.
|
91
|
+
rspec-support (~> 3.10.0)
|
92
|
+
rspec-mocks (3.10.1)
|
85
93
|
diff-lcs (>= 1.2.0, < 2.0)
|
86
|
-
rspec-support (~> 3.
|
87
|
-
rspec-rails (
|
88
|
-
actionpack (>=
|
89
|
-
activesupport (>=
|
90
|
-
railties (>=
|
91
|
-
rspec-core (~> 3.
|
92
|
-
rspec-expectations (~> 3.
|
93
|
-
rspec-mocks (~> 3.
|
94
|
-
rspec-support (~> 3.
|
95
|
-
rspec-support (3.
|
96
|
-
|
94
|
+
rspec-support (~> 3.10.0)
|
95
|
+
rspec-rails (4.0.2)
|
96
|
+
actionpack (>= 4.2)
|
97
|
+
activesupport (>= 4.2)
|
98
|
+
railties (>= 4.2)
|
99
|
+
rspec-core (~> 3.10)
|
100
|
+
rspec-expectations (~> 3.10)
|
101
|
+
rspec-mocks (~> 3.10)
|
102
|
+
rspec-support (~> 3.10)
|
103
|
+
rspec-support (3.10.1)
|
104
|
+
rubocop (1.7.0)
|
105
|
+
parallel (~> 1.10)
|
106
|
+
parser (>= 2.7.1.5)
|
107
|
+
rainbow (>= 2.2.2, < 4.0)
|
108
|
+
regexp_parser (>= 1.8, < 3.0)
|
109
|
+
rexml
|
110
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
111
|
+
ruby-progressbar (~> 1.7)
|
112
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
113
|
+
rubocop-ast (1.3.0)
|
114
|
+
parser (>= 2.7.1.5)
|
115
|
+
rubocop-rspec (2.1.0)
|
116
|
+
rubocop (~> 1.0)
|
117
|
+
rubocop-ast (>= 1.1.0)
|
118
|
+
ruby-progressbar (1.11.0)
|
119
|
+
simplecov (0.20.0)
|
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.2)
|
125
|
+
thor (1.0.1)
|
97
126
|
thread_safe (0.3.6)
|
98
|
-
tzinfo (1.2.
|
127
|
+
tzinfo (1.2.9)
|
99
128
|
thread_safe (~> 0.1)
|
129
|
+
unicode-display_width (1.7.0)
|
100
130
|
|
101
131
|
PLATFORMS
|
102
|
-
|
132
|
+
x86_64-darwin-20
|
133
|
+
x86_64-linux
|
103
134
|
|
104
135
|
DEPENDENCIES
|
105
|
-
activerecord (
|
136
|
+
activerecord (~> 5.1, < 5.2)
|
106
137
|
appraisal
|
107
|
-
bundler (~>
|
108
|
-
combustion (
|
138
|
+
bundler (~> 2)
|
139
|
+
combustion (~> 1.1)
|
109
140
|
database_cleaner (~> 1.6)
|
110
141
|
parentry!
|
111
|
-
pg (~>
|
112
|
-
pry (~> 0.
|
113
|
-
rake (~>
|
114
|
-
rspec-rails (~>
|
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)
|
115
148
|
|
116
149
|
BUNDLED WITH
|
117
|
-
|
150
|
+
2.2.32
|
@@ -1,117 +1,150 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
parentry (1.
|
5
|
-
activerecord (>= 5.1, <
|
4
|
+
parentry (1.6.0)
|
5
|
+
activerecord (>= 5.1, < 7.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (5.2.
|
11
|
-
actionview (= 5.2.
|
12
|
-
activesupport (= 5.2.
|
13
|
-
rack (~> 2.0)
|
10
|
+
actionpack (5.2.4.4)
|
11
|
+
actionview (= 5.2.4.4)
|
12
|
+
activesupport (= 5.2.4.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.0.2)
|
17
|
-
actionview (5.2.
|
18
|
-
activesupport (= 5.2.
|
17
|
+
actionview (5.2.4.4)
|
18
|
+
activesupport (= 5.2.4.4)
|
19
19
|
builder (~> 3.1)
|
20
20
|
erubi (~> 1.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
22
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
23
|
-
activemodel (5.2.
|
24
|
-
activesupport (= 5.2.
|
25
|
-
activerecord (5.2.
|
26
|
-
activemodel (= 5.2.
|
27
|
-
activesupport (= 5.2.
|
23
|
+
activemodel (5.2.4.4)
|
24
|
+
activesupport (= 5.2.4.4)
|
25
|
+
activerecord (5.2.4.4)
|
26
|
+
activemodel (= 5.2.4.4)
|
27
|
+
activesupport (= 5.2.4.4)
|
28
28
|
arel (>= 9.0)
|
29
|
-
activesupport (5.2.
|
29
|
+
activesupport (5.2.4.4)
|
30
30
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
31
31
|
i18n (>= 0.7, < 2)
|
32
32
|
minitest (~> 5.1)
|
33
33
|
tzinfo (~> 1.1)
|
34
|
-
appraisal (2.
|
34
|
+
appraisal (2.3.0)
|
35
35
|
bundler
|
36
36
|
rake
|
37
37
|
thor (>= 0.14.0)
|
38
38
|
arel (9.0.0)
|
39
|
-
|
40
|
-
|
41
|
-
|
39
|
+
ast (2.4.1)
|
40
|
+
builder (3.2.4)
|
41
|
+
coderay (1.1.3)
|
42
|
+
combustion (1.3.1)
|
42
43
|
activesupport (>= 3.0.0)
|
43
44
|
railties (>= 3.0.0)
|
44
45
|
thor (>= 0.14.6)
|
45
|
-
concurrent-ruby (1.
|
46
|
-
crass (1.0.
|
47
|
-
database_cleaner (1.
|
48
|
-
diff-lcs (1.
|
49
|
-
|
50
|
-
|
46
|
+
concurrent-ruby (1.1.7)
|
47
|
+
crass (1.0.6)
|
48
|
+
database_cleaner (1.8.5)
|
49
|
+
diff-lcs (1.4.4)
|
50
|
+
docile (1.3.4)
|
51
|
+
erubi (1.10.0)
|
52
|
+
i18n (1.8.5)
|
51
53
|
concurrent-ruby (~> 1.0)
|
52
|
-
loofah (2.
|
54
|
+
loofah (2.8.0)
|
53
55
|
crass (~> 1.0.2)
|
54
56
|
nokogiri (>= 1.5.9)
|
55
|
-
method_source (0.
|
56
|
-
mini_portile2 (2.
|
57
|
-
minitest (5.
|
58
|
-
nokogiri (1.
|
59
|
-
mini_portile2 (~> 2.
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
57
|
+
method_source (1.0.0)
|
58
|
+
mini_portile2 (2.4.0)
|
59
|
+
minitest (5.14.2)
|
60
|
+
nokogiri (1.10.10)
|
61
|
+
mini_portile2 (~> 2.4.0)
|
62
|
+
parallel (1.20.1)
|
63
|
+
parser (3.0.0.0)
|
64
|
+
ast (~> 2.4.1)
|
65
|
+
pg (1.2.3)
|
66
|
+
pry (0.13.1)
|
67
|
+
coderay (~> 1.1)
|
68
|
+
method_source (~> 1.0)
|
69
|
+
rack (2.2.3)
|
70
|
+
rack-test (1.1.0)
|
66
71
|
rack (>= 1.0, < 3)
|
67
72
|
rails-dom-testing (2.0.3)
|
68
73
|
activesupport (>= 4.2.0)
|
69
74
|
nokogiri (>= 1.6)
|
70
|
-
rails-html-sanitizer (1.0
|
71
|
-
loofah (~> 2.
|
72
|
-
railties (5.2.
|
73
|
-
actionpack (= 5.2.
|
74
|
-
activesupport (= 5.2.
|
75
|
+
rails-html-sanitizer (1.3.0)
|
76
|
+
loofah (~> 2.3)
|
77
|
+
railties (5.2.4.4)
|
78
|
+
actionpack (= 5.2.4.4)
|
79
|
+
activesupport (= 5.2.4.4)
|
75
80
|
method_source
|
76
81
|
rake (>= 0.8.7)
|
77
|
-
thor (>= 0.
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
+
thor (>= 0.19.0, < 2.0)
|
83
|
+
rainbow (3.0.0)
|
84
|
+
rake (13.0.3)
|
85
|
+
regexp_parser (2.0.3)
|
86
|
+
rexml (3.2.4)
|
87
|
+
rspec-core (3.10.1)
|
88
|
+
rspec-support (~> 3.10.0)
|
89
|
+
rspec-expectations (3.10.1)
|
82
90
|
diff-lcs (>= 1.2.0, < 2.0)
|
83
|
-
rspec-support (~> 3.
|
84
|
-
rspec-mocks (3.
|
91
|
+
rspec-support (~> 3.10.0)
|
92
|
+
rspec-mocks (3.10.1)
|
85
93
|
diff-lcs (>= 1.2.0, < 2.0)
|
86
|
-
rspec-support (~> 3.
|
87
|
-
rspec-rails (
|
88
|
-
actionpack (>=
|
89
|
-
activesupport (>=
|
90
|
-
railties (>=
|
91
|
-
rspec-core (~> 3.
|
92
|
-
rspec-expectations (~> 3.
|
93
|
-
rspec-mocks (~> 3.
|
94
|
-
rspec-support (~> 3.
|
95
|
-
rspec-support (3.
|
96
|
-
|
94
|
+
rspec-support (~> 3.10.0)
|
95
|
+
rspec-rails (4.0.2)
|
96
|
+
actionpack (>= 4.2)
|
97
|
+
activesupport (>= 4.2)
|
98
|
+
railties (>= 4.2)
|
99
|
+
rspec-core (~> 3.10)
|
100
|
+
rspec-expectations (~> 3.10)
|
101
|
+
rspec-mocks (~> 3.10)
|
102
|
+
rspec-support (~> 3.10)
|
103
|
+
rspec-support (3.10.1)
|
104
|
+
rubocop (1.7.0)
|
105
|
+
parallel (~> 1.10)
|
106
|
+
parser (>= 2.7.1.5)
|
107
|
+
rainbow (>= 2.2.2, < 4.0)
|
108
|
+
regexp_parser (>= 1.8, < 3.0)
|
109
|
+
rexml
|
110
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
111
|
+
ruby-progressbar (~> 1.7)
|
112
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
113
|
+
rubocop-ast (1.3.0)
|
114
|
+
parser (>= 2.7.1.5)
|
115
|
+
rubocop-rspec (2.1.0)
|
116
|
+
rubocop (~> 1.0)
|
117
|
+
rubocop-ast (>= 1.1.0)
|
118
|
+
ruby-progressbar (1.11.0)
|
119
|
+
simplecov (0.20.0)
|
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.2)
|
125
|
+
thor (1.0.1)
|
97
126
|
thread_safe (0.3.6)
|
98
|
-
tzinfo (1.2.
|
127
|
+
tzinfo (1.2.9)
|
99
128
|
thread_safe (~> 0.1)
|
129
|
+
unicode-display_width (1.7.0)
|
100
130
|
|
101
131
|
PLATFORMS
|
102
|
-
|
132
|
+
x86_64-darwin-20
|
133
|
+
x86_64-linux
|
103
134
|
|
104
135
|
DEPENDENCIES
|
105
|
-
activerecord (
|
136
|
+
activerecord (~> 5.2, < 6)
|
106
137
|
appraisal
|
107
|
-
bundler (~>
|
108
|
-
combustion (
|
138
|
+
bundler (~> 2)
|
139
|
+
combustion (~> 1.1)
|
109
140
|
database_cleaner (~> 1.6)
|
110
141
|
parentry!
|
111
|
-
pg (~>
|
112
|
-
pry (~> 0.
|
113
|
-
rake (~>
|
114
|
-
rspec-rails (~>
|
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)
|
115
148
|
|
116
149
|
BUNDLED WITH
|
117
|
-
|
150
|
+
2.2.32
|